NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ParFam - Symbolic Regression Based on Continuous Global Optimization

Philipp Scholl, Katharina Bieker, Hillary Hauger, Gitta Kutyniok · OpenReview

Abstract

The problem of symbolic regression (SR) arises in many different applications, such as identifying physical laws or deriving mathematical equations describing the behavior of financial markets from given data. Various methods exist to address the problem of SR, often based on genetic programming. However, these methods are usually complicated and involve various hyperparameters. In this paper, we present our new approach ParFam that utilizes parametric families of suitable symbolic functions to translate the discrete symbolic regression problem into a continuous one, resulting in a more straightforward setup compared to current state-of-the-art methods. In combination with a global optimizer, this approach results in a highly effective method to tackle the problem of SR. We theoretically analyze the expressivity of ParFam and demonstrate its performance with extensive numerical experiments based on the common SR benchmark suit SRBench, showing that we achieve state-of-the-art results. Moreover, we present an extension incorporating a pre-trained transformer network DL-ParFam to guide ParFam, accelerating the optimization process by up to two magnitudes.

Introduction

Symbolic Regression (SR) is the quest to find a simple, human-readable equation (like $F=ma$) that describes a dataset. Unlike standard deep learning, which produces "black box" models, SR provides interpretability and trust—essential for fields like physics, finance, and robotics. However, SR is notoriously difficult. Traditionally, it relies on Genetic Programming, which treats equations like trees and "evolves" them. This is a discrete, combinatorial search that is computationally expensive and doesn't easily benefit from the powerful gradient-based optimization tools used in modern AI. While some "continuous" alternatives exist, they often struggle with numerical instability or lack the flexibility to represent complex physical laws.

Methodology

The authors introduce ParFam (Parametric Families), which bridges the gap between discrete symbolic search and continuous optimization.

The Architecture

ParFam uses a neural-network-like structure with a single hidden layer. Instead of standard linear weights, it uses rational functions (the ratio of two polynomials). The "activation functions" are physically relevant unary operators like $\sin$, $\exp$, and $\sqrt{\cdot}$. By fixing the structure but leaving the coefficients of the polynomials as learnable parameters, the problem of "finding the right equation" becomes a problem of "finding the right numbers."

The ParFam architecture utilizing rational functions $Q_i$ and unary operators $g_i$ to represent symbolic expressions.

Global Optimization and Neural Guidance

To avoid getting stuck in local mathematical dead-ends, ParFam uses basin-hopping—a global optimization technique that "hops" between different regions of the loss landscape—followed by L-BFGS for high-precision fine-tuning.

Searching through every possible combination of polynomial degrees and unary functions is still slow. To address this, the authors developed DL-ParFam. This extension uses a Set Transformer trained on millions of synthetic equations to look at raw data and instantly predict the most likely mathematical template (e.g., "this looks like a combination of a sine wave and a quotient"), narrowing the search space by orders of magnitude.

Experimental Setup

The researchers evaluated ParFam using the gold standards of the field:

  • SRBench: A comprehensive suite including the Feynman dataset (119 formulas from the Feynman Lectures on Physics) and the Strogatz dataset (nonlinear differential equations).
  • Black-box Datasets: 77 real-world datasets where the underlying formula is unknown.
  • Nguyen Benchmark: A classic set of 12 functions used to compare against other recent deep-learning-based SR methods.
  • SRSD-Feynman: A more challenging version of the Feynman set with realistic physical parameter ranges.

Key Insights and Results

One of the most significant findings is that a single hidden layer of rational functions is incredibly expressive. The authors mathematically prove that this structure can recover a vast majority of common physical laws while avoiding the numerical instability of deeply nested functions.

Comparison of expression trees: (a) binary, (b) unary-binary representable by ParFam, and (c) unary-binary not representable by ParFam.

As shown in the figure above, ParFam can represent complex unary-binary trees (b) but is limited in representing deeply nested unary operations (c). This trade-off allows for a smoother optimization landscape compared to traditional tree-based methods.

Performance Highlights

  • State-of-the-Art Performance: ParFam and DL-ParFam matched or outperformed top-tier genetic programming methods like PySR on the Feynman and Strogatz benchmarks.
  • Massive Speedups: DL-ParFam achieved these results up to 100 times faster than the standard ParFam search, often finding the correct formula in seconds.
  • Superiority over EQL: In direct comparisons, ParFam achieved 93.8% accuracy on a subset of SRBench, compared to just 75% for EQL, proving that rational layers are significantly more effective than standard linear layers for symbolic tasks.

Conclusion and Future Work

ParFam demonstrates that deep learning's best role in SR isn't necessarily to write the equation, but to point the way. The Transformer handles the intuition (pattern recognition), while the continuous optimizer handles the precision (fitting the constants).

Despite its success, ParFam is currently limited to problems with 9 or fewer independent variables. Scaling this to high-dimensional "big data" remains a challenge. Future work will explore more sophisticated regularization techniques to encourage even simpler formulas and adapt the architecture to handle even more diverse mathematical operators.

Paper Citation: Scholl, P., Bieker, K., Hauger, H., & Kutyniok, G. (2025). ParFam – (Neural Guided) Symbolic Regression via Continuous Global Optimization. arXiv:2310.05537v4.

Summary updated

BibTeX
@inproceedings{scholl2025parfam,
  author = {Philipp Scholl and Katharina Bieker and Hillary Hauger and Gitta Kutyniok},
  title = {{ParFam - Symbolic Regression Based on Continuous Global Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=8y5Uf6oEiB},
}
Figure