Can Genetic Programming Do Manifold Learning Too?

Andrew Lensen, Bing Xue, Mengjie Zhang

Introduction

Manifold learning is a critical technique in data science used to uncover the underlying low-dimensional structure within high-dimensional datasets. While methods like t-SNE and autoencoders are widely used, they often function as "black boxes," lacking reusability for new data and interpretability for human researchers. This paper introduces GP-MaL (Genetic Programming for Manifold Learning), a novel approach that evolves explicit, functional mapping trees to perform non-linear dimensionality reduction.

The Problem: Black Boxes and Static Embeddings

Traditional manifold learning algorithms face two primary challenges:

  1. Lack of Reusability: Many popular methods are "embedding-only," meaning they calculate coordinates for a specific set of points but do not provide a generalizable function to transform new data.
  2. Interpretability: The resulting transformations are often opaque. Researchers can see the final 2D or 3D plot but cannot easily discern which original features or mathematical relationships drove the structure.

GP-MaL addresses these issues by using Genetic Programming (GP) to evolve readable mathematical functions that map high-dimensional inputs to lower-dimensional outputs.

The GP-MaL Approach

GP-MaL utilizes a multi-tree GP representation where each individual consists of multiple trees, each corresponding to one dimension in the reduced space.

Function Set and Representation

The algorithm constructs these trees using a diverse set of primitives, including basic arithmetic, non-linear activation functions, and conditional logic. This variety allows GP-MaL to capture complex, non-linear relationships within the data.

The function set used by GP-MaL includes arithmetic, non-linear, and conditional operators.

Fitness and Efficiency

Rather than attempting to preserve absolute Euclidean distances—which can be misleading in high dimensions—GP-MaL focuses on preserving the rank ordering of neighbors. A Gaussian-weighted agreement function is used to penalize deviations in these rankings, creating a smoother fitness landscape.

To maintain computational efficiency, the authors introduced a pruning strategy. Instead of comparing every point to every other point ($O(n^2)$), they sample neighbors more densely in local regions and more sparsely at greater distances, reducing the evaluation complexity to a sublinear $O(\log n)$ per individual.

The pruning strategy reduces computational complexity by focusing on local neighborhood structures.

Experimental Evaluation

The authors evaluated GP-MaL on 10 diverse datasets ranging from simple UCI classification tasks (e.g., Wine, Dermatology) to complex image-based datasets like MNIST and Yale faces.

Compared to standard techniques like PCA, MDS, LLE, and t-SNE, GP-MaL demonstrated several key advantages:

  • Superior Performance in Low Dimensions: When reducing data to 2 or 3 dimensions, GP-MaL consistently outperformed PCA and MDS in terms of classification accuracy on the reduced features.
  • Consistency: Unlike t-SNE, which can show performance degradation as output dimensionality increases, GP-MaL's performance remained stable or improved.
  • Interpretability: The evolved trees provide an explicit formula. For instance, on the MFAT dataset, the algorithm successfully identified Karhunen-Loëve coefficients as primary features, aligning with known theoretical expectations.

Conclusion and Future Work

GP-MaL proves that Genetic Programming is a viable and powerful tool for manifold learning. By producing functional, interpretable mappings, it bridges the gap between high-performance "black-box" methods and the need for reusable, understandable models. Future research will focus on mitigating "tree bloat" through parsimony pressure and exploring multi-objective optimization to better balance local and global structure preservation.

Summary updated

BibTeX
@inproceedings{lensen2019can,
  author = {Andrew Lensen and Bing Xue and Mengjie Zhang},
  title = {{Can Genetic Programming Do Manifold Learning Too?}},
  booktitle = {EuroGP},
  year = {2019},
  doi = {10.1007/978-3-030-16670-0\_8},
}
Figure