Generative Pre-Trained Transformer for Symbolic Regression Base In-Context Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
The mathematical formula is the human language to describe nature and is the essence of scientific research. Finding mathematical formulas from observational data is a major demand of scientific research and a major challenge of artificial intelligence. This area is called symbolic regression. Originally symbolic regression was often formulated as a combinatorial optimization problem and solved using GP or reinforcement learning algorithms. These two kinds of algorithms have strong noise robustness ability and good Versatility. However, inference time usually takes a long time, so the search efficiency is relatively low. Later, based on large-scale pre-training data proposed, such methods use a large number of synthetic data points and expression pairs to train a Generative Pre-Trained Transformer(GPT). Then this GPT can only need to perform one forward propagation to obtain the results, the advantage is that the inference speed is very fast. However, its performance is very dependent on the training data and performs poorly on data outside the training set, which leads to poor noise robustness and Versatility of such methods. So, can we combine the advantages of the above two categories of SR algorithms? In this paper, we propose FormulaGPT, which trains a GPT using massive sparse reward learning histories of reinforcement learning-based SR algorithms as training data. After training, the SR algorithm based on reinforcement learning is distilled into a Transformer. When new test data comes, FormulaGPT can directly generate a "reinforcement learning process" and automatically update the learning policy in context. Tested on more than ten datasets including SRBench, formulaGPT achieves the state-of-the-art performance in fitting ability compared with four baselines. In addition, it achieves satisfactory results in noise robustness, versatility, and inference efficiency.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 22 of its 41 references that are in the map. First posted on arXiv 9 Apr 2024.
Builds on
22 of 41 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
- 2019AI Feynman: a Physics-Inspired Method for Symbolic Regressioncited by 536
- 2017A Brief Survey of Deep Reinforcement Learningcited by 466
- 2018Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Networkcited by 415
- 2017Deep Reinforcement Learning: An Overviewcited by 327
- 2019Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradientscited by 294
- 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
- 2022End-to-end symbolic regression with transformerscited by 195
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
- 2021Neural Symbolic Regression that Scalescited by 185
- 2017Optimizing the Latent Space of Generative Networkscited by 157
10 more
- 2021SymbolicGPT: A Generative Transformer Model for Symbolic Regressioncited by 101
- 2021Symbolic Regression via Neural-Guided Genetic Programming Population Seedingcited by 97
- 2019Integration of Neural Network-Based Symbolic Regression in Deep Learning for Scientific Discoverycited by 93
- 2023Transformer-based Planning for Symbolic Regressioncited by 72
- 2022Symbolic Physics Learner: Discovering governing equations via Monte Carlo tree searchcited by 61
- 2022SymFormer: End-to-end symbolic regression using transformer-based architecturecited by 56
- 2023SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingcited by 41
- 2023Deep Generative Symbolic Regression with Monte-Carlo-Tree-Searchcited by 40
- 2024MMSR: Symbolic Regression is a Multi-Modal Information Fusion Taskcited by 13
- 2024Discovering Mathematical Formulas from Data via GPT-guided Monte Carlo Tree Searchcited by 10
Built on by
Citing papers per year: 2025: 2.
2 papers.