Scaling Up Unbiased Search-based Symbolic Regression

Paul Kahlmeyer, Joachim Giesen, Michael Habeck, Henrik Voigt · DOI

Symbolic Regression (SR) represents a unique frontier in machine learning. Unlike "black box" models such as deep neural networks, which prioritize predictive accuracy at the cost of interpretability, SR seeks to discover the underlying mathematical equations that govern a dataset. The ultimate goal is to find concise, human-readable formulas—like $F = ma$ or $E = mc^2$—that offer both predictive power and scientific insight.

However, the search space for mathematical expressions is infinite and discrete, making it notoriously difficult to navigate. A recent paper from researchers at Friedrich Schiller University Jena, titled "Scaling Up Unbiased Search-based Symbolic Regression," introduces a novel framework called UDFS (Unbiased DAG Frame Search) to address these challenges through structural efficiency and systematic search.

Most modern SR tools rely on "biased" search strategies, such as Genetic Programming (GP), Reinforcement Learning (RL), or Transformer-based architectures. While these heuristics make the search manageable, they often impose implicit priors on what a "good" formula looks like. This bias can lead the search to overlook the true physical law if it doesn't align with the algorithm's assumptions.

Furthermore, traditional SR methods represent formulas as expression trees. This representation is inherently redundant; if a subexpression appears multiple times in a formula, it must be redefined each time, unnecessarily inflating the search space.

Structural Innovation: From Trees to DAGs

To overcome the inefficiencies of tree representations, the authors propose using Directed Acyclic Graphs (DAGs). In a DAG, multiple nodes can point to the same subexpression, allowing for "structural reuse."

Comparison between a traditional expression tree (left) and a more efficient Directed Acyclic Graph (right) for the same mathematical expression.

As shown in the figure above, a formula like $x^2(x^2 + x)$ requires five nodes in a tree but can be represented with only three nodes in a DAG by reusing the $x^2$ component. This succinctness significantly reduces the complexity of the search space.

The UDFS Algorithm and Variable Augmentation

The core of the proposed method is UDFS, which operates in two distinct phases:

  1. Skeleton Sampling: The algorithm randomly samples "skeletons"—the structural layout of the DAG without specific mathematical operators assigned to the nodes.
  2. Exhaustive Labeling: For each skeleton, UDFS systematically tests every possible combination of operators (e.g., $+$, $\times$, $\sin$, $\exp$). This "unbiased" approach ensures that no potential solution is ignored due to heuristic preferences.

To scale this systematic search to more complex formulas, the researchers introduce Variable Augmentation. When a problem is too complex to solve in a single pass, the algorithm identifies promising subexpressions and promotes them to new input variables. By breaking a large problem into smaller, nested sub-problems, UDFS can solve complex equations that were previously computationally out of reach for unbiased methods.

Performance and Robustness

The authors evaluated UDFS on SRBench, a comprehensive suite of 252 problems, including ground-truth laws from the Feynman Symbolic Regression Database.

A comparison of the symbolic model found by UDFS versus a standard cosine expansion. The symbolic model (orange) accurately captures the underlying function, even in extrapolation regions (shaded).

Key results from their experiments include:

  • State-of-the-Art Recovery: UDFS with augmentation (UDFS+Aug) outperformed leading models like AIFeynman and Deep Symbolic Regression (DSR) in recovering the exact symbolic form of physical laws.
  • Noise Tolerance: By adhering to Occam’s Razor—searching for the simplest possible systematic fit—UDFS proved remarkably robust to noise, avoiding the overfitting common in more flexible, biased models.
  • Pareto Dominance: In the trade-off between model complexity and accuracy, UDFS+Aug consistently identified models on the Pareto front, providing the most accurate descriptions for any given level of complexity.

Conclusion

By shifting from trees to DAGs and employing a systematic, unbiased search strategy augmented by variable promotion, this work demonstrates that "brute-force" search can be made intelligent and scalable. UDFS offers a powerful tool for scientists looking to rediscover the fundamental laws of nature from data, proving that sometimes a thorough, organized search is superior to complex AI heuristics.

Summary updated

BibTeX
@inproceedings{kahlmeyer2024scaling,
  author = {Paul Kahlmeyer and Joachim Giesen and Michael Habeck and Henrik Voigt},
  title = {{Scaling Up Unbiased Search-based Symbolic Regression}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=36l0ScX7F3},
}
Figure