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

2508.03913v1 cs.LG, cs.AI, stat.ML 2025-08-09
Авторы:

Florian Bley, Jacob Kauffmann, Simon León Krug, Klaus-Robert Müller, Grégoire Montavon

Резюме на русском

Distance-based classifiers, такие как k-ближайших соседей и support vector machines, широко применяются в машинном обучении, но часто скрываются за непрозрачным темной коробочной технологией. Методы Explainable AI позволяют выявить полезные структуры в таких моделях, но их применение к distance-based classifiers было неочевидным. В статье предлагается новый подход, который выявляет неявную скрытую структуру в distance-based classifiers, аналогичную тем, что присутствует в нейронных сетях. Эта скрытая структура состоит из линейных детекторов и нелинейных слоёв агрегирования, которые могут быть легко обработаны методами LRP. Эксперименты показывают, что новый подход превосходит существующие методы по точности и скорости построения объяснений, а также приводятся две практические проблемы, где этот подход доказал свою эффективность. Таким образом, статья демонстрирует, что distance-based classifiers могут быть вполне объяснимыми, если использовать правильный подход.

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.

Ссылки и действия