Abstract
Deep learning models often achieve high accuracy by exploiting spurious correlations, such as background textures, rather than learning the actual features of an object. While Concept Bottleneck Models (CBMs) introduce an interpretable layer of human-understandable concepts, they typically lack spatial grounding and require costly manual annotations. This paper introduces SEG-MIL-CBM, a novel framework that combines segmentation, Multiple Instance Learning (MIL), and concept alignment. By forcing the model to reason over semantically meaningful image segments, SEG-MIL-CBM provides spatially grounded explanations and significantly improves robustness. Our results show a 30% improvement in worst-group accuracy on datasets with misleading background cues and state-of-the-art performance on standard benchmarks like CIFAR-100.
Introduction
The "black box" nature of deep neural networks remains a significant barrier to their deployment in high-stakes domains. A common failure mode is the reliance on spurious correlations—shortcuts in the data that do not generalize. For instance, a model might classify a bird as a "waterbird" based solely on the presence of water in the background, rather than identifying the bird's intrinsic features.
Concept Bottleneck Models (CBMs) were designed to mitigate this by predicting intermediate concepts (e.g., "pointy ears") before the final label. However, standard CBMs suffer from two major flaws: a lack of spatial grounding—they cannot pinpoint where a concept is located—and a high annotation cost for per-concept labeling. SEG-MIL-CBM addresses these challenges by physically tying concepts to specific image regions using foundation models.
Methods: The SEG-MIL-CBM Pipeline
The SEG-MIL-CBM framework consists of a three-stage pipeline designed for grounded reasoning:
- Concept-Guided Segmentation: The model utilizes foundation models (CLIP, GroundingDINO, and SAM) to decompose an input image into semantically meaningful regions, such as specific body parts or background elements.
- Multiple Instance Learning (MIL): These segments are treated as a "bag of instances." An attention mechanism learns to assign weights to each segment, allowing the model to prioritize task-relevant features (e.g., a bird's beak) while down-weighting irrelevant noise (e.g., water).
- Concept Alignment and Bottleneck Reasoning: To eliminate the need for manual labels, the model uses CLIP-derived similarity scores to align internal concept activations with semantic descriptions. The final classification is derived solely from these aggregated, weighted concept activations, ensuring a transparent decision-making process.
Experimental Results
We evaluated SEG-MIL-CBM on benchmarks designed to test spurious correlations (Waterbirds, Pawrious), standard recognition (CIFAR-10/100, ImageNet), and robustness to image corruptions (CIFAR-10-C).
Breaking Spurious Correlations
The most significant advantage of SEG-MIL-CBM is its ability to ignore misleading background cues. By forcing the model to look at localized segments, it must find intrinsic object features to make a prediction. If the attention mechanism ignores a "water" segment, the model is forced to rely on concepts like "webbed feet" or "long neck."
As shown in the table above, SEG-MIL-CBM improved worst-group accuracy by over 30% compared to previous CBM methods on the Waterbirds dataset. On the Pawrious dataset, which features dog breeds in diverse natural backgrounds, the improvement was even more pronounced, demonstrating the model's ability to generalize beyond training shortcuts.
Performance and Robustness
Beyond robustness to spurious cues, the model achieved 85.3% accuracy on CIFAR-100, the best result among compared CBM methods. Furthermore, the model demonstrated superior resilience to image noise and blur in the CIFAR-10-C suite. The attention mechanism effectively identifies and ignores highly degraded segments, focusing the model's reasoning on the regions that remain clear.
Conclusion
SEG-MIL-CBM establishes a new standard for grounded interpretability in image classification. By integrating spatial localization with concept-based reasoning, it provides discrete, segment-based explanations that are both human-readable and physically grounded. While the framework currently relies on the performance of external foundation models for segmentation, future work will explore end-to-end refinement to further enhance its efficiency and accuracy across multi-modal settings.
Summary updated