Transformer-based Planning for Symbolic Regression
Parshin Shojaee, Kazem Meidani, Amir Barati Farimani, Chandan K. Reddy
Abstract
Symbolic regression (SR) is a challenging task in machine learning that involves finding a mathematical expression for a function based on its values. Recent advancements in SR have demonstrated the effectiveness of pre-trained transformerbased models in generating equations as sequences, leveraging large-scale pretraining on synthetic datasets and offering notable advantages in terms of inference time over classical Genetic Programming (GP) methods. However, these models primarily rely on supervised pre-training goals borrowed from text generation and overlook equation discovery objectives like accuracy and complexity. To address this, we propose TPSR, a Transformer-based Planning strategy for Symbolic Regression that incorporates Monte Carlo Tree Search into the transformer decoding process. Unlike conventional decoding strategies, TPSR enables the integration of non-differentiable feedback, such as fitting accuracy and complexity, as external sources of knowledge into the transformer-based equation generation process. Extensive experiments on various datasets show that our approach outperforms state-of-the-art methods, enhancing the model's fitting-complexity trade-off, extrapolation abilities, and robustness to noise 2 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Improving Monte Carlo Tree Search for Symbolic Regression cites Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
- GenSR: Symbolic regression based on equation generative space cites Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
- GenSR: Symbolic regression based on equation generative space cites SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-training
- GenSR: Symbolic regression based on equation generative space cites Deep Learning For Symbolic Mathematics
- SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-training cites Discovering Symbolic Models from Deep Learning with Inductive Biases
- SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-training cites Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
- SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-training cites Deep Learning For Symbolic Mathematics
- Graph-based Symbolic Regression with Invariance and Constraint Encoding cites Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
Cited by top-tier papers21
- SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingKazem Meidani, Parshin Shojaee, Chandan K. Reddy, Amir Barati FarimaniICLR 2024 · 37 citations
- Improving Monte Carlo Tree Search for Symbolic RegressionZhengyao Huang, Daniel Huang, Tiannan Xiao, Dina Ma et al.NeurIPS 2025 · 9 citations
- GenSR: Symbolic regression based on equation generative spaceQian Li, Yuxiao Hu, Juncheng Liu, Yuntian ChenICLR 2026 · 7 citations
- Graph-based Symbolic Regression with Invariance and Constraint EncodingZiyu Xiang, Kenna Ashen, Xiaofeng Qian, Xiaoning QianNeurIPS 2025 · 5 citations
- Modeling Latent Non-Linear Dynamical System over Time SeriesRen Fujiwara, Yasuko Matsubara, Yasushi SakuraiAAAI 2025 · 3 citations
Builds on19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and GenerationYue Wang, Weishi Wang, Shafiq R. Joty, Steven C. H. HoiEMNLP 2021 · 1,224 citations
- Discovering Symbolic Models from Deep Learning with Inductive BiasesMiles D. Cranmer, Alvaro Sanchez-Gonzalez, Peter W. Battaglia, Rui Xu et al.NeurIPS 2020 · 736 citations
- Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 citations
- Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradientsBrenden K. Petersen, Mikel Landajuela, T. Nathan Mundhenk, Cláudio Prata Santiago et al.ICLR 2021 · 444 citations
Related papers
- Neural Symbolic Regression that scalesLuca Biggio, Tommaso Bendinelli, Alexander Neitz, Aurélien Lucchi et al.ICML 2021 · 251 citations
- Deep Generative Symbolic Regression with Monte-Carlo-Tree-SearchPierre-Alexandre Kamienny, Guillaume Lample, Sylvain Lamprier, Marco VirgolinICML 2023 · 50 citations
- End-to-end Symbolic Regression with TransformersPierre-Alexandre Kamienny, Stéphane d'Ascoli, Guillaume Lample, François ChartonNeurIPS 2022 · 320 citations
- Transformer-based model for symbolic regression via joint supervised learningWenqiang Li, Weijun Li, Linjun Sun, Min Wu et al.ICLR 2023
- Deep Generative Symbolic RegressionSamuel Holt, Zhaozhi Qian, Mihaela van der SchaarICLR 2023 · 4 citations
