Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients

Brenden K. Petersen, Mikel Landajuela, T. Nathan Mundhenk, Claudio P. Santiago, Soo K. Kim +1 more
12/10/2019
cs.LGstat.ML
rl

Official code: dso-org/deep-symbolic-optimization (740 stars, Python, BSD-3-Clause, last commit 2026-01-23).

Abstract

Discovering the underlying mathematical expressions describing a dataset is a core challenge for artificial intelligence. This is the problem of $\textit{symbolic regression}$.

Show full abstract

Despite recent advances in training neural networks to solve complex tasks, deep learning approaches to symbolic regression are underexplored. We propose a framework that leverages deep learning for symbolic regression via a simple idea: use a large model to search the space of small models. Specifically, we use a recurrent neural network to emit a distribution over tractable mathematical expressions and employ a novel risk-seeking policy gradient to train the network to generate better-fitting expressions. Our algorithm outperforms several baseline methods (including Eureqa, the gold standard for symbolic regression) in its ability to exactly recover symbolic expressions on a series of benchmark problems, both with and without added noise. More broadly, our contributions include a framework that can be applied to optimize hierarchical, variable-length objects under a black-box performance metric, with the ability to incorporate constraints in situ, and a risk-seeking policy gradient formulation that optimizes for best-case performance instead of expected performance.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

A deep learning framework for symbolic optimization.

740153Python, CythonFeb 19, 202010 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{petersen2019deep,
  title  = {Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients},
  author = {Brenden K. Petersen and Mikel Landajuela and T. Nathan Mundhenk and Claudio P. Santiago and Soo K. Kim and Joanne T. Kim},
  year   = {2019},
  eprint = {1912.04871},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.04871}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.04871.svg)](https://codeofpaper.com/paper/1912.04871)

Discussion