A Model-based Genetic Programming Approach for Symbolic Regression of Small Expressions

Marco Virgolin, Tanja Alderliesten, Cees Witteveen, Peter A. N. BosmanarXiv 2019 · DOI

Introduction

Symbolic Regression (SR) is a fundamental task in machine learning where the goal is to discover a mathematical expression that best fits a given dataset. Unlike standard regression techniques that fit parameters to a predefined model structure, SR searches the space of mathematical expressions themselves. Genetic Programming (GP) has long been the dominant paradigm for SR, evolving populations of tree-based expressions through crossover and mutation.

However, a persistent challenge in GP is "bloat"—the tendency for evolved expressions to grow excessively large without a corresponding increase in accuracy. While "semantic" GP methods have improved accuracy, they often produce equations with millions of nodes, rendering them "black boxes" that are impossible for humans to interpret. This paper focuses on evolving strictly small expressions (e.g., under 31 nodes) to maintain interpretability while maximizing accuracy.

A typical tree-based representation of a mathematical expression in Genetic Programming.

Challenges in Model-based GP

To evolve small but effective expressions, the authors utilize GP-GOMEA (Gene-pool Optimal Mixing Evolutionary Algorithm). Unlike traditional GP, which performs blind mutations, GOMEA learns a "linkage model"—identifying which parts of an expression (nodes in the tree) are dependent on each other and should be evolved together.

Despite its potential, applying GOMEA to SR faces three significant hurdles:

  1. Initialization Bias: The random initial state of GP trees contains structural patterns (e.g., functions always have children) that standard mutual information metrics mistake for meaningful evolutionary traits.
  2. Constant Explosion: Ephemeral Random Constants (ERCs) create a massive search space where every unique decimal is treated as a distinct symbol, preventing the algorithm from recognizing structural similarities.
  3. Population Sizing: Determining the optimal population size to allow the linkage model to learn effectively is difficult and problem-dependent.

Proposed Enhancements

The authors introduce three key technical improvements to the GP-GOMEA framework:

Biased Mutual Information ($MI_{\tilde{b}}$)

Standard linkage learning assumes a uniform distribution of symbols at the start. Because GP trees have inherent structural constraints, the authors developed a biased mutual information metric. This adjustment ensures that the baseline structural rules of tree-building are registered as zero linkage, allowing the algorithm to focus on discovering actual functional dependencies.

Constant Binning (bin-const)

To manage the diversity of random constants, the authors implemented a binning strategy. By capping the number of tracked constants (e.g., to 100) and mapping new constants to the nearest existing bin, the algorithm can recognize when two equations share the same overarching structure, even if their specific numerical coefficients differ slightly. This significantly reduces memory overhead and speeds up convergence.

Interleaved Multistart Scheme (IMS)

To eliminate the need for manual population tuning, the IMS runs multiple populations of increasing sizes concurrently. Smaller populations run more frequently, while larger ones provide the diversity needed to escape local optima. A validation set is used to select the best-generalizing model from an archive of top-performing solutions.

Illustration of the Gene-pool Optimal Mixing (GOM) operator. The algorithm identifies a linkage set (nodes 3 and 5) in the offspring $O_i$ and attempts to improve it by swapping components from a donor $D$.

Experimental Evaluation

The improved GP-GOMEA was tested on 10 real-world regression datasets from the UCI repository. The results demonstrated that:

  • Superior Pattern Learning: The $MI_{\tilde{b}}$ metric outperformed both standard mutual information and random variation in 80% of the test cases.
  • Efficiency: The bin-const approach was up to 4x faster than tracking individual constants while maintaining or improving accuracy.
  • Benchmark Performance: Under strict size constraints, the enhanced GP-GOMEA consistently outperformed traditional GP and state-of-the-art semantic methods like GP-RDO, which struggled when forced to produce small trees.
  • Interpretability vs. Accuracy: The evolved small equations were competitive with tuned Decision Trees for Regression (DTR), providing a transparent alternative to traditional machine learning models.

Conclusion

By addressing the fundamental biases in linkage learning and managing the complexity of random constants, this work significantly advances the state of the art in interpretable Symbolic Regression. The resulting algorithm, GP-GOMEA, proves that it is possible to find highly accurate mathematical models that remain small enough for human inspection and domain-specific validation.

Summary updated

BibTeX
@misc{virgolin2019model,
  author = {Marco Virgolin and Tanja Alderliesten and Cees Witteveen and Peter A. N. Bosman},
  title = {{A Model-based Genetic Programming Approach for Symbolic Regression of Small Expressions}},
  year = {2019},
  eprint = {1904.02050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.02050},
}
Figure