Abstract
Symbolic Regression (SR) aims to discover mathematical expressions that accurately describe data. While the Gene-pool Optimal Mixing Evolutionary Algorithm (GP-GOMEA) is highly effective at identifying the structural components of these expressions, it often struggles to optimize the numerical coefficients within them. This paper investigates the integration of Gaussian coefficient mutation strategies into the GP-GOMEA framework. By evaluating various mutation types and application strategies across synthetic and real-world physics benchmarks, we demonstrate that the timing and frequency of mutations are more critical than the specific mutation mechanism. Our findings show that interleaving coefficient mutation with structural mixing significantly improves the discovery of ground-truth equations in noise-free environments.
Introduction
Symbolic Regression is a unique machine learning task where the goal is to find a human-readable mathematical formula that fits a dataset. Unlike neural networks, which function as black boxes, SR provides interpretable models essential for scientific discovery. GP-GOMEA has emerged as a state-of-the-art algorithm for SR by utilizing a statistical model to intelligently mix successful sub-trees of equations.
Despite its structural prowess, GP-GOMEA faces a "constant problem." The algorithm typically relies on a fixed set of initial constants, which are swapped but rarely fine-tuned. This limitation prevents the algorithm from reaching the high precision required to uncover exact physical laws. To address this, we explore the integration of dedicated coefficient mutation strategies to bridge the gap between structural discovery and numerical optimization.
Methodology
We integrated two distinct Gaussian mutation mechanisms into the GP-GOMEA framework:
- Evolution Strategy (ES)-like Mutation: Each constant node is assigned an individual step size ($\sigma$) that evolves alongside the constant. This allows the algorithm to adaptively learn the appropriate scale for mutations.
- Temperature-based Mutation: Inspired by simulated annealing, this method uses a global "temperature" parameter to control mutation strength. The temperature decays when progress stalls, allowing for increasingly fine-tuned adjustments.
Crucially, we tested four strategies for the timing of these mutations:
- Once after GOM: Mutating coefficients once after the structural mixing phase.
- FOS-size times after GOM: Applying mutations multiple times after mixing, proportional to the number of structural changes attempted.
- In between GOM steps: Interleaving coefficient mutation with every individual structural mixing attempt.
- Within GOM steps: Mutating a coefficient only during the process of copying it from one parent equation to another.
Experimental Setup
The proposed methods were evaluated using two primary benchmarks:
- GECCO Benchmarks: 23 synthetic problems designed to test an algorithm's ability to tune multiple coefficients.
- SRBench: A comprehensive benchmark focusing on the Feynman and Strogatz datasets, which contain equations from physics and biology where the ground-truth mathematical law is known.
Results and Discussion
The Primacy of Strategy
Using Random Forest analysis to determine hyper-parameter importance, we found that the mutation strategy (timing and frequency) was the most significant factor in performance. The specific type of mutation—whether ES-like or Temperature-based—had a negligible impact compared to when the mutation was applied. This suggests that the evolutionary process is robust to the specific noise distribution of the mutation, provided it is applied at the right moment.
The Interleaving Advantage
The "In between GOM steps" strategy emerged as the superior approach. By mutating coefficients between structural changes, the algorithm ensures that a new structure is evaluated with optimized constants. This prevents the algorithm from discarding a potentially correct mathematical structure simply because its initial coefficients were poorly tuned. For GP-GOMEA to succeed, the effort spent on numerical fine-tuning must be commensurate with the effort spent on structural mixing.
Performance on Ground Truth
On noise-free data from SRBench, the addition of coefficient mutation improved the solution rate—the frequency with which the algorithm finds the exact correct equation—by approximately 10% over the baseline GP-GOMEA. Furthermore, the use of active mutation allowed the algorithm to achieve high accuracy using shallower, more interpretable trees.
The Challenge of Noise
While coefficient mutation is highly effective for clean data, it introduces a risk of overfitting in noisy environments. The algorithm's increased ability to tune constants allows it to fit the noise itself, leading to complex models that are numerically accurate but structurally incorrect. In these cases, the algorithm may deviate from the true underlying physical law in favor of a more complex expression that minimizes error on the training set.
Conclusion
Integrating coefficient mutation into GP-GOMEA significantly enhances its ability to solve symbolic regression problems, particularly when mutations are interleaved with structural mixing. The most successful configuration utilized the temperature-based mutation applied with a probability of 1.0 between GOM steps.
Future work should focus on mitigating overfitting through regularization techniques that penalize model complexity. Additionally, exploring gradient-based optimization methods, such as the Levenberg-Marquardt algorithm, may provide even greater efficiency for coefficient tuning in specific classes of mathematical expressions.
Summary updated