Deep symbolic regression for recurrence prediction
Stéphane d'Ascoli, Pierre-Alexandre Kamienny, Guillaume Lample, François Charton
Abstract
Symbolic regression, i.e. predicting a function from the observation of its values, is well-known to be a challenging task. In this paper, we train Transformers to infer the function or recurrence relation underlying sequences of integers or floats, a typical task in human IQ tests which has hardly been tackled in the machine learning literature. We evaluate our integer model on a subset of OEIS sequences, and show that it outperforms built-in Mathematica functions for recurrence prediction. We also demonstrate that our float model is able to yield informative approximations of out-of-vocabulary functions and constants, e.g. bessel0(x) ≈ sin(x)+cos(x) √ πx and 1.644934 ≈ π 2 /6.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers11
- Transformer-based Planning for Symbolic RegressionParshin Shojaee, Kazem Meidani, Amir Barati Farimani, Chandan K. ReddyNeurIPS 2023 · 116 citations
- SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingKazem Meidani, Parshin Shojaee, Chandan K. Reddy, Amir Barati FarimaniICLR 2024 · 37 citations
- Marrying Causal Representation Learning with Dynamical Systems for ScienceDingling Yao, Caroline Muller, Francesco LocatelloNeurIPS 2024 · 29 citations
- Predicting Ordinary Differential Equations with TransformersSören Becker, Michal Klein, Alexander Neitz, Giambattista Parascandolo et al.ICML 2023 · 28 citations
- Learning to compute Gröbner basesHiroshi Kera, Yuki Ishihara, Yuta Kambe, Tristan Vaccon et al.NeurIPS 2024 · 9 citations
Builds on5
- 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
- End-to-end Symbolic Regression with TransformersPierre-Alexandre Kamienny, Stéphane d'Ascoli, Guillaume Lample, François ChartonNeurIPS 2022 · 320 citations
- Neural Symbolic Regression that scalesLuca Biggio, Tommaso Bendinelli, Alexander Neitz, Aurélien Lucchi et al.ICML 2021 · 251 citations
- Learning advanced mathematical computations from examplesFrançois Charton, Amaury Hayat, Guillaume LampleICLR 2021 · 7 citations
Related papers
- Progressive Self-Learning for Domain Adaptation on Symbolic Regression of Integer SequencesYaohui Zhu, Kaiming Sun, Zhengdong Luo, Lingfeng WangAAAI 2025
- Transformer-based model for symbolic regression via joint supervised learningWenqiang Li, Weijun Li, Linjun Sun, Min Wu et al.ICLR 2023
- ParFam - (Neural Guided) Symbolic Regression via Continuous Global OptimizationPhilipp Scholl, Katharina Bieker, Hillary Hauger, Gitta KutyniokICLR 2025 · 1 citation
- In-context Learning on Function Classes Unveiled for TransformersZhijie Wang, Bo Jiang, Shuai LiICML 2024 · 8 citations
- Symbolic Brittleness in Sequence Models: On Systematic Generalization in Symbolic MathematicsSean Welleck, Peter West, Jize Cao, Yejin ChoiAAAI 2022 · 32 citations
