Overview
Symbolic Regression (SR) is the quest to find a human-readable mathematical equation that perfectly describes a set of data. It is considered a "holy grail" for automating scientific discovery. However, it is notoriously difficult (NP-hard) because the space of possible equations is infinite.
Current approaches generally fall into two camps: search-based methods (like genetic programming), which can be slow and prone to "bloat," and mapping-based methods (using Transformers), which are fast but brittle when encountering data outside their training set. Recently, researchers have used Large Language Models (LLMs) to "guess" equations, but these methods often lack a systematic way to learn from their mistakes. They follow a "guess and check" loop but skip the crucial "analysis" step that a human scientist uses to understand why a model failed and how to fix its structure.
To address this, researchers introduce RESTART (Robust Equation STructure learning with Adaptive Refinement), a new symbolic regression framework that completes the "hypothesize-experiment-analyze" cycle. By combining short-term error analysis with a long-term library of successful mathematical motifs, RESTART guides LLMs to discover scientific equations that are more accurate, concise, and generalizable than previous state-of-the-art methods.
The RESTART Framework
RESTART explicitly instantiates the full scientific cycle by adding a principled analysis stage to equation discovery:
- Informative Initialization: Instead of starting from scratch, the system uses a pre-trained Transformer to generate a strong initial hypothesis.
- Short-term Guidance (Targeted Refinement): This represents the "Analyze" stage. When a hypothesis fails, RESTART doesn't just tell the LLM the error was high. It solves a "symbolic subproblem" to find an exploration function that explains the residual error. This provides the LLM with specific mathematical feedback (e.g., identifying a missing periodic sine component).
- Long-term Guidance (Cumulative Knowledge): Successful structural refinements are distilled into a Structure Library. These are reusable code snippets of mathematical motifs that worked well in the past, mimicking how scientific fields develop standard motifs (like the logistic growth term in biology).
- Adaptive Prompting: The LLM is prompted with the current best equations, the analysis of the remaining error, and suggested motifs from the library. This "meta-optimization" shifts the LLM's focus toward more promising regions of the equation space.
Key Insights and Performance
The framework was evaluated on LLM-SRBench, a rigorous benchmark designed to test scientific discovery rather than rote memorization. This includes datasets derived from classical physics, synthetic problems across various scientific domains, and a real-world case study using experimental data from a recent Nature paper.
Superior Accuracy and Efficiency
RESTART achieved the best or near-best performance across all benchmark datasets. In the Biology category, it reached an accuracy of 77.08%, significantly outperforming the previous state-of-the-art (LLMSR) at 70.83%. Furthermore, the system converges much faster than baselines; in many cases, RESTART found a better solution in 100 iterations than LLMSR found in 1,000.
Robustness to Distribution Shift
Because RESTART focuses on finding the correct structure rather than just over-fitting the numbers, it performs exceptionally well on out-of-distribution (OOD) data.
On unseen data ranges, RESTART maintained high accuracy (e.g., 100% accuracy in Materials Science OOD) where other models' predictions diverged wildly. In the physics case study, RESTART successfully rediscovered complex physical laws from just 46 noisy data points, even identifying potential systematic corrections to published formulas.
Limitations and Future Work
While RESTART represents a significant advance toward fully automated scientific discovery, it has limitations. The framework requires repeated queries to an LLM and a subproblem solver, which can be computationally expensive compared to simple "single-shot" models. Additionally, there is currently no automated way to verify if a stored "structure" is physically meaningful beyond its statistical fit, relying heavily on the LLM's internal priors.
Future work may involve integrating auxiliary models to "pre-filter" the most promising structures and incorporating hard domain constraints (like physical units or symmetry) to ensure the discovered equations obey the laws of physics by design.
Summary updated