Deep Symbolic Regression for Recurrence Prediction

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. $\operatorname{bessel0}(x)\approx \frac{\sin(x)+\cos(x)}{\sqrt{\pi x}}$ and $1.644934\approx \pi^2/6$.

Cite

Text

D’Ascoli et al. "Deep Symbolic Regression for Recurrence Prediction." International Conference on Machine Learning, 2022.

Markdown

[D’Ascoli et al. "Deep Symbolic Regression for Recurrence Prediction." International Conference on Machine Learning, 2022.](https://mlanthology.org/icml/2022/dascoli2022icml-deep/)

BibTeX

@inproceedings{dascoli2022icml-deep,
  title     = {{Deep Symbolic Regression for Recurrence Prediction}},
  author    = {D’Ascoli, Stéphane and Kamienny, Pierre-Alexandre and Lample, Guillaume and Charton, Francois},
  booktitle = {International Conference on Machine Learning},
  year      = {2022},
  pages     = {4520-4536},
  volume    = {162},
  url       = {https://mlanthology.org/icml/2022/dascoli2022icml-deep/}
}