[Paper Review] Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
The paper presents Deep Symbolic Regression (DSR), a framework that uses an autoregressive RNN to generate symbolic expressions and trains it with a novel risk-seeking policy gradient to recover exact mathematical expressions from data, outperforming several baselines.
Discovering the underlying mathematical expressions describing a dataset is a core challenge for artificial intelligence. This is the problem of $\ extit{symbolic regression}$. 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.
Motivation & Objective
- Motivate symbolic regression as a means to identify concise mathematical relations in data.
- Introduce a neural autoregressive framework to search the space of symbolic expressions.
- Develop a risk-seeking policy gradient objective for optimizing best-case performance in expression discovery.
- Incorporate in situ constraints and constant optimization to improve tractability and interpretability.
- Empirically evaluate recovery performance against strong baselines on Nguyen benchmark problems.
Proposed method
- Represent mathematical expressions as pre-order traversals of expression trees and generate tokens with an autoregressive RNN.
- Provide the RNN with hierarchical inputs by including parent and sibling information when sampling tokens.
- Constrain the search space with domain-agnostic rules (e.g., length limits, operator constraints) applied during sampling.
- Evaluate candidate expressions with a reward function based on normalized RMSE (NRMSE) on training data, followed by inner optimization of constants.
- Train the RNN via policy gradients using a risk-seeking objective that optimizes the top fraction of rewards, plus an entropy bonus.
- Compare against multiple baselines including PQT, VPG, GP, Eureqa, and Wolfram on Nguyen symbolic regression benchmarks.
Experimental results
Research questions
- RQ1Can a neural autoregressive model efficiently search the space of symbolic expressions to recover exact mathematical forms?
- RQ2Does a risk-seeking policy gradient improve best-case recovery performance over standard policy gradient or GP baselines?
- RQ3How do in situ constraints and constant optimization affect the search quality and tractability of symbolic regression?
- RQ4How robust is the method to noisy data and varying dataset sizes in recovering expressions?
Key findings
- DSR achieves higher exact recovery rates than all baselines across the Nguyen benchmarks (e.g., Nguyen-1 to Nguyen-12).
- DSR's risk-seeking objective improves best-case performance, producing the best expression more often than standard policy gradient methods.
- Incorporating hierarchical RNN inputs and in situ constraints enhances recovery performance compared to ablations.
- DSR remains robust to noise and benefits from larger training data, outperforming baselines under noisy conditions.
- Compared with Eureqa and Wolfram, DSR demonstrates superior exact symbolic recovery on the benchmark suite.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.