atlas

Research map / Large language models / Agents, code and math

LLM-SR: Scientific Equation Discovery via Programming with Large Language Models

ICLR 2025 · Large language models › Agents, code and math · approach: LLMs for scientific discovery · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces LLM-SR, which treats equations as Python programs proposed by LLMs and refined via an islands-based evolutionary buffer and parameter optimization, evaluated on four new benchmarks designed to avoid LLM recitation.

Problem

Symbolic regression / data-driven equation discovery is combinatorially hard and existing methods ignore domain prior knowledge and use restricted representations such as expression trees; Feynman benchmarks may be memorized by LLMs.

Approach

Represent equations as Python program skeletons with a params vector, have an LLM propose hypotheses using scientific problem descriptions and in-context experience from an islands-based evolutionary buffer, and fit parameters with BFGS or Adam against data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LLM-SR with Mixtral instead of the strongest reported SR baselineSymbolic regression on Oscillation 1 · Oscillation 1 IDNMSE: 0.0003 -> 7.89e-8Helped
Use LLM-SR with Mixtral instead of the strongest reported SR baselineSymbolic regression on Oscillation 1 · Oscillation 1 OODNMSE: 0.0007 -> 0.0002Helped
Use LLM-SR with GPT-3.5 instead of the strongest reported SR baselineSymbolic regression on Oscillation 2 · Oscillation 2 IDNMSE: 0.0002 -> 2.12e-7Helped
Use LLM-SR with GPT-3.5 instead of the strongest reported SR baselineSymbolic regression on Oscillation 2 · Oscillation 2 OODNMSE: 0.0015 -> 3.81e-5Helped
Use LLM-SR with Mixtral instead of the strongest reported SR baselineSymbolic regression on E. coli growth · E. coli growth IDNMSE: 0.0376 -> 0.0026Helped
Use LLM-SR with Mixtral instead of the strongest reported SR baselineSymbolic regression on E. coli growth · E. coli growth OODNMSE: 1.0141 -> 0.0037Helped
Use LLM-SR with Mixtral instead of the strongest reported SR baselineSymbolic regression on Stress-Strain · Stress-Strain IDNMSE: 0.0331 -> 0.0162Helped
Use LLM-SR with GPT-3.5 instead of the strongest reported SR baselineSymbolic regression on Stress-Strain · Stress-Strain OODNMSE: 0.1304 -> 0.0516Helped
Add the natural-language scientific problem and variable description (ablation)LLM-SR on Oscillation 2 · Oscillation 2NMSEHelped
Use flexible program representation rather than single-line mathematical expressions (ablation)LLM-SR on Oscillation 2 · Oscillation 2NMSEHelped
Add iterative refinement and the optimization loop (ablation)LLM-SR on Oscillation 2 · Oscillation 2 IDNMSE: 1.01e-1 -> 2.12e-7Helped
Add iterative refinement and the optimization loop (ablation)LLM-SR on Oscillation 2 · Oscillation 2 OODNMSE: 1.81e-1 -> 3.81e-5Helped

Surprising findings

Limitations

Experimental setup

Datasets: Feynman benchmark Aluminum 6061-T651 stress-strain data (Mendeley)

Benchmarks: Oscillation 1 Oscillation 2 E. coli growth Stress-Strain

Metrics: NMSE perplexity

Baselines: GPlearn PySR DSR uDSR NeSymReS E2E

Builds on: FunSearch PySR DSR uDSR

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy