Fast and Accurate Explanations of Distance-Based Classifiers by Uncovering Latent Explanatory Structures

Florian Bley, Jacob Kauffmann, Simon León Krug, Klaus-Robert Müller, Grégoire Montavon
8/5/2025
cs.LGcs.AIstat.ML

No confident code implementation found for this paper.

Abstract

Distance-based classifiers, such as k-nearest neighbors and support vector machines, continue to be a workhorse of machine learning, widely used in science and industry. In practice, to derive insights from these models, it is also important to ensure that their predictions are explainable. While the field of Explainable AI has supplied methods that are in principle applicable to any model, it has also emphasized the usefulness of latent structures (e.g. the sequence of layers in a neural network) to produce explanations. In this paper, we contribute by uncovering a hidden neural network structure in distance-based classifiers (consisting of linear detection units combined with nonlinear pooling layers) upon which Explainable AI techniques such as layer-wise relevance propagation (LRP) become applicable. Through quantitative evaluations, we demonstrate the advantage of our novel explanation approach over several baselines. We also show the overall usefulness of explaining distance-based models through two practical use cases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bley2025fast,
  title  = {Fast and Accurate Explanations of Distance-Based Classifiers by Uncovering Latent Explanatory Structures},
  author = {Florian Bley and Jacob Kauffmann and Simon León Krug and Klaus-Robert Müller and Grégoire Montavon},
  year   = {2025},
  eprint = {2508.03913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.03913v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.03913.svg)](https://codeofpaper.com/paper/2508.03913)

Discussion