Abstract
Concept-based explanation methods, such as concept bottleneck models (CBMs), aim to improve the interpretability of machine learning models by linking their decisions to human-understandable concepts, under the critical assumption that such concepts can be accurately attributed to the network's feature space. However, this foundational assumption has not been rigorously validated, mainly because the field lacks standardised metrics and benchmarks to assess the existence and spatial alignment of such concepts. To address this, we propose three metrics: the concept global importance metric, the concept existence metric, and the concept location metric, including a technique for visualising concept activations, i.e., concept activation mapping. We benchmark post-hoc CBMs to illustrate their capabilities and challenges. Through qualitative and quantitative experiments, we demonstrate that, in many cases, even the most important concepts determined by post-hoc CBMs are not present in input images; moreover, when they are present, their saliency maps fail to align with the expected regions by either activating across an entire object or misidentifying relevant concept-specific regions. We analyse the root causes of these limitations, such as the natural correlation of concepts. Our findings underscore the need for more careful application of concept-based explanation techniques especially in settings where spatial interpretability is critical.
Introduction
Concept-based Explainable AI (XAI), particularly Concept Bottleneck Models (CBMs), seeks to demystify deep learning "black boxes" by grounding decisions in human-defined concepts (e.g., "yellow beak" or "striped wing"). However, a significant "leap of faith" exists in current research: the assumption that if a model identifies a concept as important, it has accurately detected that concept in the correct spatial context. Until now, the field lacked standardized metrics to verify this. Without these checks, we risk trusting models that provide "right for the wrong reasons" explanations—mathematical coincidences that do not align with human reality.
The CoAM Framework and Metrics
To bridge this evaluation gap, we propose a four-part toolkit designed to audit the internal logic and spatial grounding of concept-based models:
- CoAM (Concept Activation Mapping): A new visualization technique that generates heatmaps for specific concepts. Unlike standard Class Activation Mapping, CoAM shows exactly where the model detects a specific concept (e.g., "black throat").
- CGIM (Concept Global Importance Metric): This measures the alignment between the model's internal weights and ground-truth concept matrices across an entire dataset, answering whether the model generally values the same concepts as humans.
- CEM (Concept Existence Metric): A local check to verify if the top concepts identified by the model for a specific image actually exist in that image according to ground-truth labels.
- CLM (Concept Location Metric): A spatial check ensuring the model's concept heatmap overlaps with the physical location of the relevant part (e.g., the center of a bird's wing).
Experimental Setup
We benchmarked these metrics using the Caltech-UCSB Bird (CUB) dataset, a gold standard for fine-grained classification. It contains 200 bird species, 112 binary concept labels, and center-pixel coordinates for 12 major body parts, which were used to map concepts to physical locations for the CLM metric.
Results and Discussion
Our quantitative analysis reveals several critical failure modes in current post-hoc CBMs:
- The "Hallucination" Effect: Models frequently cite concepts as "highly important" even when they are absent. For correctly classified images, the #1 most important concept cited by the model actually existed in the image only 55.4% of the time.
- Spatial Confusion: Even when concepts are present, models often look at incorrect regions. Concept heatmaps were correctly localized only 13.3% of the time (at $\alpha=1$).
- The Correlation Trap: Models often exploit natural correlations rather than learning the concepts themselves. For instance, a model might use background features as a proxy for a bird species instead of learning specific anatomical concepts.
- Global Alignment Issues: Histograms of CGIM scores show a wide distribution, with many concepts showing zero or even negative correlation with human ground truth, suggesting the model's "logic" is often inverted compared to human reasoning.
Conclusion
While metrics like CEM and CLM require high-quality annotations, they are essential for moving beyond superficial explanations. The findings underscore that post-hoc CBMs are particularly prone to alignment issues. Future XAI research must prioritize spatial grounding to ensure models are not just "saying the right words" but are truly looking at the right pixels.
Summary updated