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

ParFam -- (Neural Guided) Symbolic Regression via Continuous Global Optimization

Philipp Scholl, Katharina Bieker, Hillary Hauger, Gitta Kutyniok

Symbolic Regression (SR) is often considered a "holy grail" of data science. Given a set of data points, the goal is to find the exact mathematical formula—like $F = G \frac{m_1 m_2}{r^2}$—that generated them. Unlike standard machine learning models that act as opaque "black boxes," SR provides interpretable, concise equations that can reveal underlying physical laws.

Traditionally, SR has been treated as a discrete search problem, frequently solved using Genetic Programming (GP). GP essentially "evolves" formulas through mutation and crossover. However, it is notoriously slow, highly sensitive to hyperparameters, and cannot easily leverage the gradient-based optimization that powers modern deep learning.

A recent paper, "ParFam — (Neural Guided) Symbolic Regression via Continuous Global Optimization," proposes a paradigm shift. The authors transform the discrete search for formulas into a continuous optimization problem, achieving state-of-the-art results with massive speedups.

TL;DR

ParFam translates the discrete challenge of symbolic regression into a continuous optimization task using parametric families of rational functions. By adding a neural-guided transformer (DL-ParFam) to predict model structures, the system achieves state-of-the-art accuracy on physics benchmarks while running up to 100 times faster than traditional methods.

The Challenge of Combinatorial Explosion

The core difficulty of SR is the "combinatorial explosion." The number of ways to combine variables ($x, y, z$) with operators ($+, \sin, \exp, \sqrt{\cdot}$) is virtually infinite. Most current methods struggle to find accurate solutions consistently on complex benchmarks like SRBench.

Furthermore, many "neural" SR methods only predict the "skeleton" of a function and then use local optimization to find constants. If the predicted skeleton is slightly off, the entire approach fails. ParFam aims to create a more robust, straightforward setup that leverages the power of global continuous optimizers.

Methods: From Trees to Tensors

The authors introduce two main components: ParFam and its neural-guided extension, DL-ParFam.

1. ParFam (Parametric Families)

Instead of searching through discrete expression trees, ParFam uses a fixed, neural-network-like architecture with one hidden layer.

  • Rational Layers: Instead of standard linear weights, it uses rational functions $Q_i(\cdot) = \frac{p_1(\cdot)}{p_2(\cdot)}$, where $p_1$ and $p_2$ are polynomials.
  • Unary Functions: The hidden layer applies physically relevant functions like $\sin$, $\exp$, or $\sqrt{\cdot}$.
  • Continuous Optimization: Because the structure is fixed, the "search" for the formula becomes a search for the coefficients of those polynomials. This allows the use of basin-hopping, a global optimization algorithm that combines local gradient-based search (BFGS) with random "hops" to escape local minima.
The architecture of ParFam: a single hidden layer using rational functions and unary operators.

2. DL-ParFam (Deep Learning Guided)

While ParFam is effective, iterating through every possible combination of polynomial degrees and unary functions is slow. DL-ParFam solves this by using a Set Transformer. This pre-trained neural network looks at the raw data points and predicts the most likely "model parameters" (e.g., "this data looks like it needs a $\sin$ function and a 2nd-degree polynomial"). This "neural guidance" narrows the search space significantly.

The DL-ParFam pipeline: A neural network predicts model parameters, which are then refined by the ParFam optimizer.

Datasets and Evaluation

The researchers evaluated their approach on several rigorous benchmarks:

  • SRBench (Ground-Truth): Includes the Feynman dataset (119 physical laws) and the Strogatz dataset (14 ODE systems).
  • Black-Box Datasets: 77 real-world datasets where the underlying formula is unknown.
  • Synthetic Training Data: For DL-ParFam, the authors generated a massive dataset of 4 million functions to train the transformer.

Key Insights and Results

  • Rational Functions are Expressive: The authors theoretically prove that even with a single hidden layer, ParFam can represent a vast majority of the formulas found in nature. They estimate it covers over 90% of formulas with a complexity of 5.
  • Differentiability is Key: By turning SR into a continuous problem, the authors can use gradients. This is much more efficient than the "guess and check" nature of genetic algorithms.
  • Guidance, Not Replacement: DL-ParFam doesn't try to output the final formula. It just points the optimizer in the right direction, combining the pattern-recognition strengths of neural networks with the precision of classical optimization.
  • State-of-the-Art Accuracy & Speed: ParFam and DL-ParFam outperformed nearly all competitors (including popular tools like PySR and AI Feynman) on the Feynman and Strogatz benchmarks. DL-ParFam achieved these results up to 100 times faster than the standard ParFam approach.
  • Noise Robustness: ParFam proved to be highly resilient to noise in the data, often outperforming other methods when data was "messy."

Limitations and Future Work

Despite its success, ParFam has some hurdles:

  • High Dimensionality: The number of parameters grows rapidly with the number of input variables. Currently, it is best suited for problems with 10 or fewer variables.
  • Pre-training Cost: Training the Set Transformer is computationally expensive (taking ~93 hours on a high-end GPU), though this is a one-time "offline" cost.
  • Fixed Structure: While expressive, the one-hidden-layer structure might struggle with extremely nested functions (e.g., $\sin(\exp(\sin(x)))$).

Future work could explore more complex regularizations or alternative parametrizations to push the boundaries of high-dimensional symbolic regression even further.

Summary updated

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