LLMs Guide Scientific Equation Discovery via Search Control

Zikai Xie, Wenmei Li, Man Luo, Jun Jiang, Linjiang Chen· July 7, 2026 View original

Summary

This paper proposes LLM-PySR, a novel approach where language models control the search process for symbolic regression to discover scientific equations, rather than directly proposing or selecting formulas. This method achieved a strong balance of accuracy, complexity, stability, and cost across various tasks, outperforming end-to-end LLM and purely numerical baselines.

Scientific equation discovery traditionally struggles with combining broad domain knowledge with strict numerical validation. This research explores a new division of labor, where large language models (LLMs) are used not to directly generate or choose equations, but to guide the search process for symbolic regression. The proposed system, LLM-PySR, allows LLMs to specify variables, operators, transformations, and search depth. Symbolic regression then enumerates and fits expressions, with deterministic metrics governing which equations are retained. This "search controller" approach was tested against various baselines, including end-to-end LLM systems and purely numerical methods, across 74 AI-Feynman equations and other complex formula-recovery tasks. LLM-PySR demonstrated superior balance in terms of accuracy, complexity, stability, and cost, even identifying a compact piecewise-linear relationship in an independent battery dataset.

Why it matters

This method could significantly accelerate scientific discovery and engineering by making the process of finding accurate and interpretable physical laws or system models more efficient and robust.

How to implement this in your domain

  1. 1Investigate LLM-PySR or similar frameworks for symbolic regression in R&D.
  2. 2Apply this approach to discover governing equations in complex engineering systems.
  3. 3Collaborate with data scientists to integrate LLMs into existing scientific modeling pipelines.
  4. 4Explore how LLMs can define search parameters for other optimization problems.

Who benefits

Scientific ResearchEngineeringMaterials SciencePhysicsChemistry

Key takeaways

  • LLMs can effectively control the search for symbolic equation discovery.
  • This "search controller" role outperforms direct equation generation by LLMs.
  • The LLM-PySR system balances accuracy, complexity, stability, and cost.
  • It offers a robust method for finding interpretable scientific formulas.

Original post by Zikai Xie, Wenmei Li, Man Luo, Jun Jiang, Linjiang Chen

"arXiv:2607.04156v1 Announce Type: new Abstract: Scientific equation discovery must combine broad domain priors with strict numerical testing. Symbolic regression supplies numerical grounding but faces a combinatorial search space, whereas many language-model systems ask the model…"

View on X

Originally posted by Zikai Xie, Wenmei Li, Man Luo, Jun Jiang, Linjiang Chen on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses