Improving Model-Based Genetic Programming for Symbolic Regression of Small Expressions

Marco Virgolin, Tanja Alderliesten, Cees Witteveen, Peter A. N. BosmanEvol. Comput 2021

TL;DR

This paper introduces improvements to a model-based Genetic Programming (GP) algorithm called GOMEA for Symbolic Regression (SR). By addressing biases in how GOMEA learns relationships within genetic code and by introducing a more robust search strategy, the improved GOMEA can find small, interpretable, and accurate symbolic regression solutions that compete with state-of-the-art methods.

What Problem Does This Paper Address?

Symbolic Regression (SR) aims to discover mathematical functions that explain observed data. Genetic Programming (GP) is a powerful technique for SR because it can generate solutions of arbitrary complexity. However, traditional GP often produces very large, uninterpretable expressions, which hinders their adoption in real-world applications where understanding why a model works is crucial. This paper tackles the challenge of finding interpretable SR solutions by imposing strict size limitations on the evolved expressions. A key aspect of this is the Gene-pool Optimal Mixing Evolutionary Algorithm (GOMEA), which uses "linkage learning" to exploit interdependencies within the genetic code. The authors identify that the standard linkage learning in GOMEA can be negatively biased by the initial population's structure and propose methods to mitigate this, alongside improvements for handling random constants and a more robust search strategy.

Methods

The core of the paper revolves around improving GOMEA for Symbolic Regression. The key techniques are:

  • Improved Linkage Learning (LL): The standard GOMEA uses mutual information to learn "linkage" (dependencies between parts of the genetic code). The authors found that the initial, non-uniform distribution of genetic material in GP populations biases this mutual information. They propose a "biased mutual information" metric that corrects for this initial bias, ensuring that linkage learning starts from a neutral state, allowing true patterns to emerge during evolution.
  • Handling Ephemeral Random Constants (ERCs): ERCs are used to introduce numerical constants into the evolved expressions. When many unique ERCs are present, it complicates linkage learning. The paper explores three strategies: treating all constants as distinct symbols, ignoring constants, and "bin-const," which groups similar constants into bins to reduce complexity.
  • Interleaved Multistart Scheme (IMS): To alleviate the burden of tuning population size (a critical parameter for LL), the authors adapt an IMS. This scheme runs multiple evolutionary searches with increasing population sizes sequentially. This allows for a more robust search and helps find solutions that generalize well.
  • Gene-pool Optimal Mixing (GOM): This is the variation operator used by GOMEA. It intelligently overrides parts of a solution with genetic material from other solutions in the population, guided by the learned linkage information.

Datasets

The authors used 10 real-world benchmark datasets from the UCI repository and other sources. These datasets vary in the number of features and examples. Specific dataset abbreviations used are: Air, Bos, Con, Dow, EnC, EnH, Tow, WiR, WiW, and Yac. No new benchmarks were introduced; the focus was on applying the methods to existing, realistic datasets.

Key Insights and Ideas

  • Initial population bias is a real problem for linkage learning: The way a GP population is initialized can artificially create "linkage" that isn't biologically or functionally relevant, hindering the discovery of true patterns.
  • A "neutral start" for linkage learning is crucial: By correcting for initial biases, the algorithm can better identify and exploit genuine relationships within the genetic code.
  • ERCs add complexity but can be managed: While random constants increase the search space and complicate linkage learning, strategies like "bin-const" can effectively manage this complexity.
  • Robust search through interleaved runs: The IMS is a powerful way to explore a wider range of population sizes without manual tuning, leading to better generalization.
  • Small, interpretable solutions are achievable and competitive: The paper demonstrates that by focusing on small expressions, GOMEA can find solutions that are not only accurate but also competitive with established methods like decision trees.

Key Results

  • The proposed "biased mutual information" method for linkage learning significantly outperformed the standard method.
  • GOMEA with the improved linkage learning and IMS strategies outperformed traditional GP and semantic GP on the tested datasets.
  • The evolved small solutions from GOMEA were competitive with tuned decision trees, achieving comparable or better performance on several datasets.
  • The "bin-const" strategy for handling ERCs generally performed best among the tested ERC strategies, balancing accuracy and efficiency.
  • The IMS approach proved effective in finding generalizing solutions without requiring manual parameter tuning.

Limitations and Future Work

  • Interpretability beyond size: The authors acknowledge that interpretability is subjective and depends on more than just the size of the expression. Future work could explore defining and optimizing for other interpretability metrics.
  • Depth of linkage learning analysis: The paper provides an initial investigation into linkage learning for SR. Further research is needed to understand when linkage learning is beneficial versus when it might be superfluous or even harmful, potentially through experiments on problems with known underlying structures.
  • Exploring arbitrary tree shapes: The current GP-GOMEA uses a fixed tree template. Extending linkage learning to handle arbitrary tree shapes (like GP-Trade) is identified as a challenging but rewarding open problem.
  • User studies for interpretability: The authors suggest that user studies, particularly with domain experts (e.g., medical doctors), could guide the development of more effective interpretability measures.

Summary updated

Abstract

The Gene-pool Optimal Mixing Evolutionary Algorithm (GOMEA) is a model-based EA framework that has been shown to perform well in several domains, including Genetic Programming (GP). Differently from traditional EAs where variation acts blindly, GOMEA learns a model of interdependencies within the genotype, that is, the linkage, to estimate what patterns to propagate. In this article, we study the role of Linkage Learning (LL) performed by GOMEA in Symbolic Regression (SR). We show that the non-uniformity in the distribution of the genotype in GP populations negatively biases LL, and propose a method to correct for this. We also propose approaches to improve LL when ephemeral random constants are used. Furthermore, we adapt a scheme of interleaving runs to alleviate the burden of tuning the population size, a crucial parameter for LL, to SR. We run experiments on 10 real-world datasets, enforcing a strict limitation on solution size, to enable interpretability. We find that the new LL method outperforms the standard one, and that GOMEA outperforms both traditional and semantic GP. We also find that the small solutions evolved by GOMEA are competitive with tuned decision trees, making GOMEA a promising new approach to SR.
BibTeX
@inproceedings{virgolin2021improving,
  author = {Marco Virgolin and Tanja Alderliesten and Cees Witteveen and Peter A. N. Bosman},
  title = {{Improving Model-Based Genetic Programming for Symbolic Regression of Small Expressions}},
  booktitle = {Evol. Comput},
  year = {2021},
  url = {https://openreview.net/forum?id=P48CjdIdE7},
}

Loading related content...

Figure