Abstract
Concept Bottleneck Models (CBMs) are designed to provide interpretability by predicting intermediate human-understandable concepts before making a final classification. However, the reliability of these explanations depends on whether the model predicts concepts based on relevant local features or spurious global correlations. This paper introduces the principle of locality and proposes three metrics—Locality Leakage, Locality Intervention, and Locality Masking—to evaluate it. Our findings reveal that many popular CBMs suffer from "Locality Leakage," where concept predictions are driven by unrelated background features, particularly as model depth increases. We demonstrate that dataset diversity is a more effective remedy than standard regularization techniques.
Introduction
Concept Bottleneck Models (CBMs) offer a promising path toward "interpretable by design" AI. By structuring the network to first predict a set of concepts (e.g., "Red Wings," "Pointy Beak") and then using these to determine a label (e.g., "Cardinal"), CBMs allow humans to inspect the model's reasoning. However, a critical assumption remains: we assume that if a model predicts "Red Wings," it is actually identifying red wings in the image.
This paper identifies a critical vulnerability: Locality Leakage. If a dataset consistently pairs certain concepts with specific backgrounds (e.g., red-winged birds always appearing near a specific nest type), a model might learn to predict the concept by looking at the background rather than the object itself. In such cases, the model's "explanation" is a misleading artifact of spurious correlations rather than a reflection of its internal logic.
Measuring Locality
To quantify how well a model respects the spatial boundaries of a concept, the authors propose three novel metrics:
- Locality Leakage: Measures how much an adversarial perturbation outside a concept's local region (e.g., changing the background) can flip the concept prediction.
- Locality Intervention: Measures sensitivity to "in-distribution" changes. If we swap out other objects in the scene while keeping the target concept the same, does the prediction stay stable?
- Locality Masking: Compares the impact of masking "relevant" features (the concept itself) versus "irrelevant" features (everything else). A good model should be heavily impacted by the former and ignore the latter.
The authors also establish a theoretical foundation (Theorem 6.1), proving that high correlation between concepts in a training set allows models to achieve high accuracy by exploiting "wrong" features, effectively using other concepts as shortcuts.
Experimental Setup
The study evaluates locality across three distinct types of datasets:
- Synthetic Shapes: A controlled environment where shapes appear in fixed quadrants, allowing for precise manipulation of concept locations and correlations.
- CUB (Caltech-UCSD Birds): A benchmark for fine-grained classification where concepts correspond to specific bird parts (e.g., "Wing Color," "Beak Shape").
- COCO (Common Objects in Context): A multi-object dataset used to test if the presence of one object (e.g., a "Bowl") incorrectly influences the prediction of another (e.g., "Apple").
Key Insights
The Depth Trap
A surprising result is that increased model capacity often leads to worse locality. While deeper concept predictors achieve higher accuracy, they are more adept at finding and exploiting complex spurious correlations in the background. In synthetic tasks, 7-layer models exhibited a locality leakage of 1.0, meaning an adversary could completely control the concept prediction by only changing pixels in irrelevant areas.
The Role of Dataset Diversity
The most effective way to enforce locality is not through specialized loss functions or regularization, but through dataset diversity. When concepts appear in varied combinations, breaking the correlations between them, models are forced to rely on actual local features. Increasing diversity in synthetic trials reduced locality intervention error from roughly 50% down to 10%.
Failures in Real-World Benchmarks
In the CUB dataset, the authors found that masking a bird's tail often had negligible impact on the "Tail Color" prediction. The models simply inferred the tail color from other parts of the bird, such as the head or body. This violation of locality renders the resulting explanation untrustworthy, as the model is not "looking" at what it claims to be.
Conclusion
While CBMs provide a framework for interpretability, they are not immune to the shortcut learning common in black-box models. Standard fixes like $\ell_2$ regularization or adversarial training fail to significantly improve locality without sacrificing accuracy. Future work should focus on developing architectures and training regimes that inherently respect the spatial and semantic boundaries of human-defined concepts.
Summary updated