Genetic Programming for Evolving a Front of Interpretable Models for Data Visualisation

Andrew Lensen, Bing Xue, Mengjie Zhang · DOI

Abstract

Data visualisation is a key tool in data mining for understanding big datasets. Many visualisation methods have been proposed, including the well-regarded state-of-the-art method t-Distributed Stochastic Neighbour Embedding (t-SNE). However, the most powerful visualisation methods have a significant limitation: the manner in which they create their visualisation from the original features of the dataset is completely opaque. Many domains require an understanding of the data in terms of the original features; there is hence a need for powerful visualisation methods which use understandable models. In this work, we propose a genetic programming approach named GP-tSNE for evolving interpretable mappings from a dataset to high-quality visualisations. A multi-objective approach is designed that produces a variety of visualisations in a single run which give different trade-offs between visual quality and model complexity. Testing against baseline methods on a variety of datasets shows the clear potential of GP-tSNE to allow deeper insight into data than that provided by existing visualisation methods.

Introduction

Modern data visualization tools like t-SNE and UMAP are incredibly powerful at projecting high-dimensional data into 2D plots, but they are essentially "black boxes." They tell you where points land, but they don't explain how the original features (like age, income, or gene expression) were combined to get there. Conversely, traditional linear methods like PCA are easy to understand but often fail to capture the complex, non-linear structures found in real-world datasets. This paper introduces GP-tSNE, a method that uses multi-objective Genetic Programming to create data visualizations that are both high-quality and human-readable.

Methodology: The GP-tSNE Framework

GP-tSNE combines Genetic Programming (GP) with the cost function used in t-SNE to evolve explicit functional mappings. Key components of the framework include:

  • Multi-Tree GP & Multi-Objective Optimization: Each individual consists of two trees (for x and y coordinates). The algorithm (MOEA/D) optimizes for two conflicting goals: Visual Quality (minimizing t-SNE cost) and Model Complexity (minimizing tree nodes). This produces a Pareto front of solutions, allowing users to choose their preferred balance.
  • Hybrid Function Set & Smart Terminals: The trees use standard arithmetic, non-linear functions (Sigmoid, ReLU), and conditional logic. To handle high-dimensional data, PCA prioritizes important features, and "Neighborhood Features" ($NF_i$) reduce noise by averaging a feature's nearest neighbors.
  • Fine-Tuning: Particle Swarm Optimization (PSO) is used to "polish" numerical constants within the evolved trees, improving quality without increasing complexity.
The Pareto front and sample visualizations for the Iris dataset, illustrating the multi-objective optimization of cost vs. complexity and comparing results with baselines.

Key Insights: The "Resolution" Trade-off and Interpretability

The Pareto front acts like a zoom lens. Simple models capture global structures, separating the most distinct classes using just one or two features. As complexity increases, models gain "higher resolution," refining local clusters.

Because the models are explicit equations, they serve as diagnostic tools. Researchers can identify exactly which features drive the visualization. For example, on the Dermatology dataset, a model with a complexity of only 13 clearly separated major classes using only seven unique features. Unlike static embeddings, GP-tSNE creates a functional mapping; new data points can be instantly projected by plugging them into the evolved equations.

Visualizations of the Dermatology dataset across the Pareto front, showing how increased model complexity resolves finer data structures.

Results and Discussion

GP-tSNE was evaluated on nine diverse datasets from the UCI repository, ranging from simple (Iris, Wine) to high-dimensional (COIL20, MNIST).

  • Competitive Quality: On simpler datasets, GP-tSNE achieved visualization quality nearly identical to t-SNE with models simple enough to be written by hand.
  • Superiority over Baselines: GP-tSNE consistently outperformed the authors' previous single-objective method (GP-MaL) due to its specialized fitness function and multi-objective approach.

However, the method faces challenges with computational cost—taking significantly longer than t-SNE on large datasets—and scaling to datasets with many classes (e.g., Isolet with 26 classes), where the search space for a single functional mapping becomes massive.

Conclusion

GP-tSNE demonstrates the potential of multi-objective GP to bridge the gap between powerful non-linear visualization and human interpretability. Future work will explore more efficient cost functions and surrogate models to reduce computational overhead.

Summary updated

BibTeX
@article{lensen2021genetic,
  author = {Andrew Lensen and Bing Xue and Mengjie Zhang},
  title = {{Genetic Programming for Evolving a Front of Interpretable Models for Data Visualisation}},
  journal = {IEEE Trans. Cybernetics},
  year = {2021},
  doi = {10.1109/tcyb.2020.2970198},
}
Figure