arXiv:2610.10301cs.LGOct 2026

Manuscript Offprint

arXiv:2610.10301

Revisiting Explainable AI through Model-Independent Concept Dictionaries

Thomas Schnake, Doreen Schöppenthau, Alexander Meyer, Jacques Corbeil, Klaus-Robert Müller, Grégoire Montavon

Abstract

Modern applications of AI rely on increasingly complex models. Explainable AI (XAI) has emerged as a set of techniques aimed at improving model transparency. However, existing XAI methods typically assume input features to be inherently interpretable, or they rely on intermediate internal abstractions that are difficult to characterize and highly architecture-specific, hindering consistent use across models. To address these limitations, we propose DictXAI, a method that defines concepts directly in the input domain via a dictionary—a large, potentially overcomplete set of predefined elements, each carrying an interpretable meaning. Technically, DictXAI first computes a sparse code of the input and then attributes the model's prediction to the associated dictionary elements. We demonstrate the actionable nature of DictXAI explanations, showing that they can attribute AI malfunctions (e.g., Clever Hans effects) directly to identifiable artifact patterns in the data, while fostering human-AI alignment on intricate biomedical signals. We further demonstrate our method's ability to operate across a wide variety of dictionaries, including learned image bases, analytically defined waveforms for electrocardiography, and experimentally acquired dictionary elements. Overall, our results show that DictXAI provides more interpretable, actionable, and architecture-agnostic insights than classical XAI or existing concept-based approaches.

Keywords: Explainable AI (XAI), Concept-based explanations, Dictionary learning, Sparse coding, Model-agnostic interpretability

1. Introduction

Recent advances in artificial intelligence (AI) have produced models of unprecedented scale and complexity. Explainable AI (XAI) [1, 2] addresses the black-box nature of these models, aiming to reintroduce transparency into their prediction strategies—whether to meet regulatory demands [3]

*Corresponding author

Email addresses: t.schnake@utoronto.ca (Thomas Schnake), klaus-robert.mueller@tu-berlin.de (Klaus-Robert Müller), gregoire.montavon@charite.de (Grégoire Montavon)

Figure

Figure 1: Overview of DictXAI. Left (Classical XAI): Standard workflows perform prediction and subsequently explain model decisions by computing attribution heatmaps directly on raw input pixels. Right (DictXAI, ours): Our approach introduces a predefined dictionary of concepts (here, multi-scale oriented Gabor filters). First, sources are inferred via sparse coding of the input ①. The input is then reconstructed via the decoder and passed to the classifier to predict ②, after which explanations are propagated back through the classifier and the decoder to the dictionary coefficients ③. This produces sparse explanations (where crosses denote zero attribution due to sparsity and red dot sizes indicate attribution magnitude) that are semantically interpretable along explicit axes (e.g., angle and scale) while preserving foundational XAI desiderata such as conservation and continuity.

or to guide scientific inquiry [4, 5]. Although XAI methods can scale to such models, rigorously assessing explanation quality remains a multifaceted challenge [6, 7]. Explanations should not only be faithful to the model’s decision strategy, but also be presented in a format that is understandable to the explainee and actionable for relevant downstream tasks.

In pursuit of more human-aligned explanations, concept-based XAI (e.g., [8, 9]) has emerged as a prominent direction. Its objective is to explain model behavior via high-level semantic units (referred to as “concepts”) rather than raw input features. In vision tasks, for example, concepts may include textures or object parts, each abstracting over diverse pixel arrangements. To identify such concepts, dominant paradigms typically probe internal representations by isolating neurons or activation subspaces that respond to specific inputs [9, 10]. Yet this reliance on intermediate layers faces fundamental limitations: neurons are frequently polysemantic [11], and representations are typically not comparable across architectures.

To overcome these limitations, we introduce DictXAI, an explanation framework that represents concepts directly in the input domain by projecting inputs onto a predefined, human-inspectable dictionary (see Figure 1). Depending on the application, dictionary elements may comprise mathematically parameterized primitives (e.g., Gabor filters or temporal wavelets with tunable scale and orientation), learned visual bases [12], and empirical reference spectra derived from laboratory measurements. While concept-based methods in latent space typically enforce orthogonality [13, 14], DictXAI introduces overcompleteness as a core design principle, enabling richly expressive concept extraction directly in the input domain. Furthermore, unlike recent autoencoder-based approaches [10], our framework avoids complex non-linear encoders; explanations are governed strictly by the original model and the explicit dictionary elements, preserving end-to-end transparency. Owing to this architectural simplicity, DictXAI naturally integrates with existing attribution techniques—such as Layer-wise Relevance Propagation (LRP) [15], Shapley values [16], and higher-order extensions [17]. DictXAI thus inherits the formal faithfulness and computational flexibility of these established methods while substantially elevating their interpretability and human alignment.

Through an application-grounded evaluation spanning multiple use cases, we demonstrate Dict-XAI's advantages over classical XAI methods and existing concept-based extensions. First, we show its utility in purging a model of its reliance on spurious correlations, the so-called Clever Hans effect [18, 19]. By selectively removing the offending input-space dictionary atoms, Dict-XAI blocks the flawed strategy at its source and prevents it from re-emerging through alternative internal circuits. Furthermore, we demonstrate DictXAI's ability to operate across a wide variety of application-relevant data modalities and concept spaces. This includes using dictionaries of amplitude-modulated sinusoidal (AMS) waveforms to interpret QRS complex properties (e.g., duration) predicted from electrocardiogram (ECG) signals, as well as utilizing spectral profiles of microbial isolates as an interpretable basis for mass spectrometry analysis. In each case, DictXAI derives human-understandable and actionable insights that go significantly beyond the capabilities of classical pixel-level attribution or existing concept-based methods.

The remainder of this paper is structured as follows. Section 2 reviews related work in latent-and input-level concept-based XAI. Section 3 introduces the mathematical framework of DictXAI, detailing its technical properties and the flexibility afforded by diverse dictionary choices. Section 4 presents an application-grounded evaluation of our method. Finally, Section 5 concludes the paper and outlines directions for future research.