Multi-dimensional concept discovery (MCD): A unifying framework with completeness guarantees

Johanna Vielhaben, Stefan Bluecher, Nils Strodthoff

Abstract

The completeness axiom renders the explanation of a post-hoc eXplainable AI (XAI) method only locally faithful to the model, i.e. for a single decision. For the trustworthy application of XAI, in particular for high-stake decisions, a more global model understanding is required. To this end, concept-based methods have been proposed, which are however not guaranteed to be bound to the actual model reasoning. To circumvent this problem, we propose Multi-dimensional Concept Discovery (MCD) as an extension of previous approaches that fulfills a completeness relation on the level of concepts. Our method starts from general linear subspaces as concepts and does neither require reinforcing concept interpretability nor re-training of model parts. We propose sparse subspace clustering to discover improved concepts and fully leverage the potential of multi-dimensional subspaces. MCD offers two complementary analysis tools for concepts in input space: (1) concept activation maps, that show where a concept is expressed within a sample, allowing for concept characterization through prototypical samples, and (2) concept relevance heatmaps, that decompose the model decision into concept contributions. Both tools together enable a detailed global understanding of the model reasoning, which is guaranteed to relate to the model via a completeness relation. Thus, MCD paves the way towards more trustworthy concept-based XAI. We empirically demonstrate the superiority of MCD against more constrained concept definitions.

Introduction

Deep learning models are often criticized as "black boxes," making their internal reasoning difficult to interpret. Explainable AI (XAI) typically addresses this through local methods (e.g., saliency maps) or global concept-based methods. However, traditional concept-based methods suffer from two major limitations: the "1D Trap," where concepts are restricted to single vectors in feature space, and the "Completeness Gap," where discovered concepts fail to account for the model's entire decision process.

Multi-dimensional Concept Discovery (MCD) addresses these flaws by modeling concepts as multi-dimensional linear subspaces. This framework ensures that concept-based explanations are mathematically faithful to the model's actual reasoning by enforcing a completeness axiom, where the sum of concept relevances exactly equals the final prediction.

Evolution of concept definitions from canonical directions (D1) to multi-dimensional linear subspaces (D4).

Methodology

The MCD framework utilizes a pipeline called MCD-SSC to discover and visualize model concepts without requiring re-training:

  1. Discovery via Clustering: Instead of standard k-means, the method employs Sparse Subspace Clustering (SSC) to identify points lying on different low-dimensional linear subspaces.
  2. Basis Construction: Principal Component Analysis (PCA) is applied to these clusters to define the basis for each multi-dimensional concept.
  3. Completeness Decomposition: The model's final logit is mathematically decomposed into contributions from each discovered concept plus an "orthogonal complement" representing information not captured by the concepts.
  4. Visualization: The framework provides Concept Activation Maps to show where a concept is present in an image and Concept Relevance Heatmaps to quantify how much specific image regions contributed to the final prediction.
The MCD framework: (Training) discovering concepts via clustering and PCA, and (Testing) decomposing feature vectors for activation maps and relevance heatmaps.

Key Insights and Results

Empirical evaluation on ImageNet using ResNet50, ResNet50v2, and Swin-T architectures revealed several key advantages of the MCD approach:

  • Conciseness and Faithfulness: Multi-dimensional subspaces are more efficient than 1D vectors. For instance, achieving 50% completeness might require 150 1D vectors but only 5 multi-dimensional concepts. In the "Smallest Destroying Concepts" (SDC) benchmark, MCD-SSC outperformed baselines like ACE and ICE, proving its concepts are more central to model logic.
  • The Cost of Orthogonality: Forcing concepts to be orthogonal (perpendicular) often reduces faithfulness, as internal model logic does not naturally respect such constraints.
  • Model Comparison: MCD highlighted that ResNet50v2 possesses a richer feature space than ResNet50, likely due to its multi-label training objective. It also provided some of the first concept-based explanations for Vision Transformers (Swin-T).

Conclusion and Future Work

MCD provides a robust, mathematically grounded framework for global model understanding. While powerful, it currently relies on a linear classification head and discovered concepts may not always align perfectly with human-interpretable labels. Future research may explore non-linear sub-manifolds to capture even more complex internal representations in deeper layers of neural networks.

Summary updated

BibTeX
@article{vielhaben2023multi,
  author = {Johanna Vielhaben and Stefan Bluecher and Nils Strodthoff},
  title = {{Multi-dimensional concept discovery (MCD): A unifying framework with completeness guarantees}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=KxBQPz7HKh},
}
Figure