Abstract
Symbolic Regression (SR) is a fundamental task in scientific discovery, aiming to identify the exact mathematical expressions that govern observed data. While traditional methods often rely on complex heuristics or genetic algorithms that introduce search biases, we propose UDFS + Aug, a framework that combines an unbiased systematic search with efficient data structures. By representing mathematical expressions as Directed Acyclic Graphs (DAGs) rather than traditional trees, we significantly reduce the search space complexity. Furthermore, we introduce Variable Augmentation, a novel technique that iteratively simplifies complex regression targets by integrating discovered subexpressions as new input variables. Our evaluation on the SRBench suite demonstrates that UDFS + Aug achieves state-of-the-art recovery rates for physical laws, maintaining high performance even in the presence of significant noise.
Introduction
The goal of Symbolic Regression is to find a functional form $f(x)$ that not only fits a dataset but also provides physical insight into the underlying process. Unlike standard regression techniques that optimize parameters for a fixed model structure, SR must navigate the infinitely large space of all possible mathematical expressions. Current state-of-the-art approaches often struggle with this complexity, either by making restrictive assumptions about the function's form or by using heuristics that may overlook simple, elegant solutions in favor of overfitted models.
Methodology: DAGs and Unbiased Search
The UDFS + Aug framework introduces two primary innovations to address the scalability and bias issues in SR.
Directed Acyclic Graphs (DAGs) over Trees
Most symbolic regression tools represent formulas as expression trees. However, trees are often redundant when a subexpression appears multiple times. UDFS + Aug utilizes Directed Acyclic Graphs (DAGs), which allow for subexpression reuse. This structural shift makes the representation of complex formulas much more compact, effectively shrinking the search space.
Unbiased Deep-First Search (UDFS)
Instead of relying on evolutionary heuristics, the framework employs a two-phase random search:
- Skeleton Sampling: Randomly generating the structural "shape" of the DAG.
- Exhaustive Labeling: For each sampled skeleton, the algorithm exhaustively tests all combinations of mathematical operators (e.g., $+$, $\times$, $\sin$, $\exp$).
Variable Augmentation
To handle functions of high complexity, we introduce Variable Augmentation. If a target expression is too deep to be found in a single search pass, the algorithm identifies promising subexpressions, adds them to the dataset as new "augmented" input variables, and restarts the search. This "divide and conquer" approach allows the systematic search to reach much deeper levels of mathematical complexity without an exponential increase in computational cost.
Key Insights and Results
The effectiveness of UDFS + Aug was evaluated using SRBench, including the Feynman Symbolic Regression Database and ODE-Strogatz problems.
Interpretability and Generalization
A key finding is that while standard numerical methods like cosine expansions can achieve perfect fit on training data, they often fail to capture the underlying physics. UDFS + Aug successfully recovers the true symbolic form, such as the dampened pendulum equation, ensuring that the model generalizes to unseen data regions.
Performance and Robustness
- Recovery Rate: UDFS + Aug outperformed 14 leading models in recovering exact ground-truth expressions.
- Noise Tolerance: The method remains robust under 10% random noise, a threshold where many genetic programming variants fail.
- Pareto Efficiency: The framework consistently finds the most accurate models at the lowest levels of mathematical complexity, occupying the "elbow" of the Pareto front.
Conclusion
UDFS + Aug demonstrates that systematic, unbiased search—when paired with efficient DAG representations and iterative variable augmentation—is a powerful tool for scientific discovery. By prioritizing succinctness and structural reuse, the framework moves closer to the "holy grail" of interpretable and accurate symbolic regression. Future work will focus on improving constant optimization and refining the scoring mechanisms for variable augmentation to handle even higher-dimensional problems.
Summary updated