TL;DR
Concept Bottleneck Models (CBMs) often use CLIP to automatically extract human-readable concepts from images, eliminating the need for expensive manual annotations. However, this paper demonstrates that CLIP frequently "hallucinates" these concepts based on contextual clues rather than their actual physical presence. To solve this, the authors introduce CHILI, a training-free method that mathematically isolates object-specific activations from background context, significantly improving concept localization and explanation reliability.
What Problem Does This Paper Address?
Explainable AI (XAI) researchers often use Concept Bottleneck Models (CBMs) to make neural networks trustworthy. Instead of mapping an image directly to a label, a CBM first predicts the presence of human-understandable concepts (e.g., wings, beak, feathers) and uses those concepts to make a final prediction.
To avoid the high cost of manually labeling these concepts in training datasets, modern CBMs use vision-language models like CLIP to detect concepts in a zero-shot manner.
The core issue highlighted in this paper is concept hallucination. CLIP relies heavily on scene-level context rather than localized visual evidence. For example, if shown a close-up photo of a fox's head, CLIP will still output a high similarity score for the concept "tail" simply because a tail is semantically associated with a fox. This undermines the core promise of CBMs: if the bottleneck layer detects concepts that aren't actually visible, the resulting explanations cannot be trusted.
Methods
The authors propose CHILI (Concept Hallucination Inhibition via Localized Interpretability), a post-hoc, training-free method designed to disentangle an image's embedding into distinct object and context components.
CHILI works by "unrolling" the Vision Transformer (ViT) architecture inside CLIP's image encoder:
- Decomposing the Residual Stream: The final image embedding is mathematically broken down into a sum of layer-by-layer, head-by-head, and token-by-token contributions.
- Filtering Pseudo-Registers: High-norm tokens (transformer artifacts that store global information but lack spatial meaning) are stripped away using a median filter.
- Weighting Heads via Probing: Using a small probing dataset with ground-truth masks, CHILI calculates an Intersection over Union (IoU) score for each attention head to determine whether it focuses on the physical object or the surrounding context.
- Score Disentanglement: The final CLIP score is split into $S^{Object}$ (activations physically overlapping with the concept) and $S^{Context}$ (activations from contextual cues). CBMs can then discard $S^{Context}$ to make decisions based purely on visible objects.
Datasets
The authors evaluated their approach across three distinct image datasets:
- ImageNet: Combined with PartImageNet++ to provide fine-grained semantic segmentation masks for specific object parts (e.g., head, tail, paw).
- MonumAI: A specialized dataset for architectural monument classification, featuring structural concepts like arches, columns, or domes.
- CUB (Caltech-UCSD Birds-200-2011): A fine-grained bird classification dataset. Since it lacks native part masks, the authors used GroundingDino to generate bounding boxes for concepts like wings and beaks.
Key Insights and Ideas
- CLIP's Blind Spot Quantified: Through a clever triplet-based experimental setup, the authors proved that CLIP scores are nearly identical for a concept whether it is physically present or absent in the image, provided the overall class context remains the same.
- Context is a Double-Edged Sword: In standard image classification, background context (like water behind a duck) helps accuracy. However, in explainable models, relying on this context leads to unfaithful explanations. CHILI allows practitioners to choose exactly how much context they want to filter out.
- No Fine-Tuning Required: Unlike concurrent methods that require computationally expensive fine-tuning of CLIP to fix localization, CHILI achieves better results purely through post-hoc activation routing.
Key Results
The authors tested CHILI on concept detection, object segmentation, and downstream CBM classification:
1. Concept Detection (AUROC)
When evaluating whether a model can correctly identify if a concept is physically present vs. merely suggested by context, CHILI significantly outperformed standard CLIP scores and other baselines:
- ImageNet: CHILI achieved an AUROC of 0.596, compared to 0.495 for standard Concept Attention.
- MonumAI: CHILI reached 0.587 vs. 0.550 for the baseline.
2. Object Segmentation
CHILI produced much cleaner activation heatmaps. On ImageNet class-level segmentation, CHILI improved the mean Intersection over Union (mIoU) by +3.1 points (moving from 57.14 to 60.22) and outperformed traditional saliency methods like Grad-CAM by over 15 mIoU points.
3. Downstream CBM Accuracy
Replacing raw CLIP scores with CHILI's object-only scores ($S^{Object}$) in standard CBMs yielded highly trustworthy models with virtually no accuracy penalty:
- On the CUB dataset, accuracy only dropped slightly from 65.05% to 64.90%, proving that models can maintain high performance while ensuring their reasoning is grounded in actual visual evidence.
Limitations and Future Work
The authors note a few limitations in their current framework:
- Linearity Assumption: The method assumes a clean layer/head decomposition, which ignores non-linear, second-order interactions where early transformer layers influence deeper ones.
- Polysemantic Heads: CHILI operates under the assumption that attention heads are monosemantic (focusing on either object or context), whereas some heads may be polysemantic (handling multiple types of information simultaneously).
- ViT Constraint: The current formulation is strictly tied to Vision Transformer (ViT) backbones. The authors plan to extend this analysis to ResNet architectures and larger vision-language models like LLaVA in future work.
Summary updated