cs.AIOct 14, 2026

L2G-SR: Learning to Guide LLM-based Symbolic Regression

Authors: Letian Huang, Xiangyu Wang, Haowei Lin, Di He

Organizations: Peking University

Abstract

Symbolic regression searches for an equation that explains observed data. Numerical error is commonly used to guide the search, but it alone can favor an accurate surrogate over a candidate with the right structure. We propose L2G-SR, a framework for LLM-based symbolic regression that guides search with a learned structural verifier. We construct structural supervision signal using tree edit distance (TED), accounting for commutative operators and alternative expression forms. A verifier first aligns numerical observations with the formulas, then learns to score a candidate's structural similarity to the target formula. At search time, the target formula is hidden and the verifier complements numerical error in parent selection. An analyst then uses verifier feedback and diagnostic tools to propose revisions, which a generator converts into refined expressions. On LLM-SRBench, L2G-SR achieves state-of-the-art numerical fit, equation level accuracy and TED across the evaluated LLM backbones and domains. L2G-SR demonstrates the value of learned structural guidance for LLM-based symbolic regression.

Figures & tables

Appendix figures & tables25 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. DIGEST: Discovery-Guided LLM Tuning for Symbolic Regression

    Oct 24, 2026Kaifeng Jin, Ruizhong Qiu, Zihao Li +5Symbolic RegressionLarge Language Model-Guided Optimization

  2. FunctionEvolve: Structure-Guided Symbolic Regression with LLMs

    Jun 5, 2026Zeyu Xia, Jun Zhu, Dong YanGenetic ProgrammingLarge Language Model-Guided Scientific Discovery