Genetic Programming for Explainable Manifold Learning

Ben Cravens, Andrew Lensen, Paula Maddigan, Bing XueIEEE Transactions on Emerging Topics in Computational Intelligence 2024

TL;DR

GP-EMaL (Genetic Programming for Explainable Manifold Learning) is a new evolutionary approach that creates low-dimensional data embeddings using simple, human-readable mathematical formulas. By treating model complexity as a primary objective during optimization, it produces functional mappings that are up to 100x smaller than previous methods while maintaining comparable predictive performance.

Introduction: The Explainability Gap in Manifold Learning

Manifold Learning (MaL) is essential for making sense of high-dimensional data by projecting it into a lower-dimensional space, such as 2D or 3D. While popular techniques like t-SNE and UMAP are highly effective for visualization, they are "non-mapping" methods—they do not provide an explicit formula to transform new, unseen data points.

Genetic Programming (GP) offers a potential solution by evolving "trees" of mathematical operations that serve as explicit mapping functions. However, standard GP often suffers from "bloat," producing massive, convoluted trees that are technically transparent but practically impossible for a human to interpret. GP-EMaL addresses this "explainability gap" by forcing the evolutionary process to prioritize structural simplicity without sacrificing the quality of the manifold.

Methods: Balancing Quality and Complexity

The authors introduce GP-EMaL, which utilizes a multi-objective framework (MOEA/D) to balance two conflicting goals: Manifold Quality (how well the embedding preserves the original data's neighborhood structure) and Tree Complexity.

The GP-EMaL framework: Optimizing for both manifold quality and tree complexity to generate explainable low-dimensional embeddings.

The core innovation is a multi-faceted complexity metric $F(T)$ that goes beyond simple node counting:

  1. Symmetry Balancing: It penalizes lopsided trees, as symmetrical structures are generally easier for humans to parse than deep, nested logic.
  2. Step-wise Scaling: A heavy penalty is applied once a tree exceeds a specific size threshold, effectively pruning the search space toward compact solutions.
  3. Hierarchical Operator Costs: Simple arithmetic (+, -) is "cheap," while complex nonlinear functions (sigmoid, exp) are "expensive." The metric encourages placing complex operators near the root to keep the overall logic shallow.

Key Insights: The "Elbow" of Explainability

The research highlights a clear Pareto front where a massive reduction in complexity often results in only a marginal drop in accuracy. GP-EMaL is specifically designed to find the "elbow"—the sweet spot where the model is simple enough to explain but powerful enough to be useful.

Furthermore, the authors argue that interpretability is driven by structure rather than just size. By penalizing asymmetry and nesting, they produce models that resemble standard mathematical formulas rather than opaque computer code. This framework is also highly customizable, allowing domain experts (e.g., physicists or financial analysts) to define which mathematical operators are considered "simple" for their specific field.

Key Results and Performance

Evaluated on seven diverse datasets ranging from low-complexity (Wine) to high-complexity (COIL20), GP-EMaL demonstrated significant improvements in model efficiency.

Pareto front and classification performance: Demonstrating the trade-off between model complexity and predictive accuracy.
  • Massive Simplification: GP-EMaL produced trees with a median size roughly 100x smaller than the previous state-of-the-art (GP-MaL-MO).
  • Performance Retention: Despite the drastic size reduction, GP-EMaL matched or nearly matched the classification accuracy of baseline methods. For instance, on the MFEAT dataset, it achieved ~97% accuracy with only 40 nodes, whereas previous methods required hundreds.
  • Visual Clarity: Qualitative comparisons showed that GP-EMaL trees typically had a depth of only 4 levels, compared to 10+ levels for unconstrained GP methods.

Limitations and Future Work

The authors acknowledge a performance gap on highly complex datasets like Isolet. In very high-dimensional scenarios with many classes, extreme pressure for simplicity can sometimes prevent the model from capturing all manifold nuances.

Future work will focus on conducting human user studies to measure explainability quantitatively, exploring three-objective optimization (adding the number of embedding dimensions as a goal), and integrating Large Language Models (LLMs) to translate evolved GP trees into natural language explanations for non-technical stakeholders.

Summary updated

BibTeX
@misc{cravens2024genetic,
  author = {Ben Cravens and Andrew Lensen and Paula Maddigan and Bing Xue},
  title = {{Genetic Programming for Explainable Manifold Learning}},
  year = {2024},
  eprint = {2403.14139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.14139},
}
Figure