Introduction
Concept Bottleneck Models (CBMs) represent a significant step toward Explainable AI (XAI). Unlike standard black-box models that map pixels directly to labels (e.g., identifying a "Western Gull"), CBMs first predict intermediate, human-understandable concepts (e.g., "white throat," "yellow beak") and then use these concepts for final classification.
However, CBMs often suffer from a "localization" problem. A model might correctly identify a concept like "white throat" while actually focusing on irrelevant background pixels or other parts of the image. This lack of spatial grounding leads to spurious correlations and undermines trust. While previous solutions required labor-intensive manual region annotations (bounding boxes), the Lightweight Disentangled Concept Bottleneck Model (LDCBM) addresses this by automatically organizing internal visual features into semantically meaningful groups.
Methods: Disentangling Visual Features
The LDCBM introduces a two-stage training process designed to align internal neural representations with human concepts without requiring explicit spatial supervision.
- Filter Grouping & Alignment: The model processes images through a backbone network. It calculates the similarity between different filters (feature maps) using Pearson correlation of their global average responses.
- Spectral Clustering: Spectral clustering is employed to automatically group these filters. This ensures that filters within a group are highly correlated (capturing similar visual patterns) while filters in different groups remain distinct.
- Joint Supervision: The model is trained using a composite loss function including Task Loss ($L_y$) for classification accuracy, Concept Loss ($L_c$) for attribute prediction, and a Disentanglement Loss ($L_g$) that encourages filters to remain within their semantically coherent groups.
Experimental Setup
The researchers evaluated LDCBM on three benchmark datasets representing different scales and levels of detail:
- CUB (Caltech-UCSD Birds-200-2011): Fine-grained bird species with 112 attributes.
- CelebA (Large-scale CelebFaces Attributes): 40 facial attributes (e.g., eyeglasses, bangs).
- AwA2 (Animals with Attributes 2): 50 animal classes with 85 attributes.
Key Results and Insights
LDCBM demonstrates that semantic coherence can be achieved without expensive annotations. By forcing internal filters to be cohesive within groups and separated between groups, the model naturally learns to associate specific visual regions with specific concepts.
Performance and Fidelity
- Superior Accuracy: On the CelebA dataset, a hybrid "CEM+LDCBM" model achieved 63.50% class accuracy, significantly outperforming the standard Concept Embedding Model (CEM) at 53.24%.
- Concept Fidelity: LDCBM maintained concept prediction accuracy above 91% across all datasets, ensuring that the model's explanations are grounded in correct attribute identification.
- Improved Localization: Qualitative analysis shows that LDCBM's feature clusters are more distinct and spatially localized compared to vanilla CBMs, which often produce overlapping or messy representations.
Intervention Robustness
A key feature of CBMs is "Concept Intervention"—the ability for a human to correct a wrong concept prediction to see if the final label updates correctly. LDCBM shows a more responsive curve in intervention tests, indicating that the final classification truly relies on the intermediate concepts it identifies rather than shortcut features.
Limitations and Future Work
Despite its advantages, LDCBM still relies on a predefined list of human-annotated concepts. If the initial concept set is incomplete, the model's interpretability remains constrained. Additionally, the current model requires pre-selecting the number of clusters. Future research may explore dynamic cluster counts and further reducing the computational overhead introduced by spectral clustering during training.
Summary updated