Explainable embeddings with Distance Explainer

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Meijer, Christiaan, Bos, E. G. Patrick
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911542078865408
author Meijer, Christiaan
Bos, E. G. Patrick
author_facet Meijer, Christiaan
Bos, E. G. Patrick
contents While eXplainable AI (XAI) has advanced significantly, few methods address interpretability in embedded vector spaces where dimensions represent complex abstractions. We introduce Distance Explainer, a novel method for generating local, post-hoc explanations of embedded spaces in machine learning models. Our approach adapts saliency-based techniques from RISE to explain the distance between two embedded data points by assigning attribution values through selective masking and distance-ranked mask filtering. We evaluate Distance Explainer on cross-modal embeddings (image-image and image-caption pairs) using established XAI metrics including Faithfulness, Sensitivity/Robustness, and Randomization. Experiments with ImageNet and CLIP models demonstrate that our method effectively identifies features contributing to similarity or dissimilarity between embedded data points while maintaining high robustness and consistency. We also explore how parameter tuning, particularly mask quantity and selection strategy, affects explanation quality. This work addresses a critical gap in XAI research and enhances transparency and trustworthiness in deep learning applications utilizing embedded spaces.
format Preprint
id arxiv_https___arxiv_org_abs_2505_15516
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Explainable embeddings with Distance Explainer
Meijer, Christiaan
Bos, E. G. Patrick
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
68T99
I.2.m
While eXplainable AI (XAI) has advanced significantly, few methods address interpretability in embedded vector spaces where dimensions represent complex abstractions. We introduce Distance Explainer, a novel method for generating local, post-hoc explanations of embedded spaces in machine learning models. Our approach adapts saliency-based techniques from RISE to explain the distance between two embedded data points by assigning attribution values through selective masking and distance-ranked mask filtering. We evaluate Distance Explainer on cross-modal embeddings (image-image and image-caption pairs) using established XAI metrics including Faithfulness, Sensitivity/Robustness, and Randomization. Experiments with ImageNet and CLIP models demonstrate that our method effectively identifies features contributing to similarity or dissimilarity between embedded data points while maintaining high robustness and consistency. We also explore how parameter tuning, particularly mask quantity and selection strategy, affects explanation quality. This work addresses a critical gap in XAI research and enhances transparency and trustworthiness in deep learning applications utilizing embedded spaces.
title Explainable embeddings with Distance Explainer
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
68T99
I.2.m
url https://arxiv.org/abs/2505.15516