In traditional machine learning, we often use dimensionality reduction tools like t-SNE or UMAP to visualize high-dimensional data. These methods group points together if they have similar features—for example, placing two images of "7" near each other because their pixel intensities are similar.
However, feature similarity does not always equal model logic. A neural network might classify one "7" because of its top horizontal bar and another because of its diagonal stroke. To a developer, these two decisions are fundamentally different, even if the inputs look similar. A new research direction, exemplified by the development of SLISEMAP, shifts the focus from what the data looks like to how the model thinks about it.
From Feature Space to Explanation Space
The core intuition behind this research is to perform dimensionality reduction on the "explanations" of a model rather than the raw data.
In SLISEMAP: supervised dimensionality reduction through local explanations, Anton Björklund, Jarmo Mäkelä, and Kai Puolamäki propose a method that simultaneously finds local explanations for every data point and arranges them in a 2D map. Instead of grouping points by their raw values, SLISEMAP groups points that are explained by the same local "white-box" model.
If two points are close together in this new embedding, it means the complex black-box model is using the same underlying logic to make predictions for both. This creates a "global landscape" of local behaviors, allowing researchers to see at a glance how a model’s strategy shifts across different regions of the dataset.
Mapping the Logic of Black Boxes
This approach solves a major problem in Explainable AI (XAI): the "forest for the trees" dilemma. While tools like SHAP or LIME provide excellent local explanations for a single prediction, they don't easily scale to show how a model behaves across thousands of samples.
Christian D. Blakely and Ole-Christoffer Granmo explored this in the context of Tsetlin Machines. In Closed-Form Expressions for Global and Local Interpretation of Tsetlin Machines with Applications to Explaining High-Dimensional Data, they demonstrate that clustering data points based on the similarity of their local interpretability scores reveals more distinct class boundaries than traditional geometric methods like PCA. By grouping samples that share the same "reasoning," they can identify "semantic clusters" where the model applies consistent logic.
Similarly, in the domain of visual inspection, Paul Guerrier and Alexander Wong used this concept in SolderNet. By aggregating visual explanations across a dataset and applying dimensionality reduction, they could identify whether a model consistently relied on the same visual features or exhibited high variance in its decision-making.
Discovering Functional Regimes
The power of this technique is most evident in scientific discovery. When applying these methods to physical data, researchers aren't just looking for clusters; they are looking for physical laws.
In Using slisemap to interpret physical data, Lauri Seppäläinen and colleagues show that by clustering points based on local predictive models, they can discover "physically meaningful patterns." For instance, a model might use one set of features to predict a chemical property in a low-pressure regime and a completely different set in a high-pressure regime. Traditional dimensionality reduction might mix these regimes together if the molecules look similar, but explanation-based mapping keeps them distinct.
This transition from "feature-based" to "explanation-based" visualization is also being applied to complex temporal data. Daniel A. Keim and Udo Schlegel describe in Visual Explanations with Attributions and Counterfactuals on Time Series Classification how projecting high-dimensional attribution scores into a lower-dimensional space reveals the distinct "decision strategies" a model employs over time.
Why It Works
The reason this approach is so effective is that it treats the model's internal logic as a first-class citizen.
- Local Surrogates: For every data point, the system finds a simple, interpretable model (like a linear regression) that approximates the complex model's behavior in that tiny neighborhood.
- Parameter Embedding: The parameters (coefficients) of these local models are treated as a new set of features.
- Joint Optimization: As seen in the work on SLISEMAP, the system jointly optimizes the local models and the 2D coordinates. This ensures that points are placed nearby only if a single simple model can explain both of them accurately.
By moving the visualization target from the input to the explanation, these researchers have created a way to see the "mind" of the machine, turning a collection of thousands of individual "whys" into a single, coherent "how."