From Segments to Concepts: Interpretable Image Classification via Concept-Guided Segmentation

Ran Eisenberg, Amit Rozner, Ethan Fetaya, Ofir LindenbaumarXiv 2025 · DOI · arXiv

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.

Comparison between standard CBM (a) and the proposed SEG-MIL-CBM (b). SEG-MIL-CBM decomposes the image into segments and aggregates their concept contributions via weighted attention.

Methods: The SEG-MIL-CBM Pipeline

The SEG-MIL-CBM framework consists of a three-stage pipeline designed for grounded reasoning:

  1. 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.
  2. 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).
  3. 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."

Quantitative results on the Waterbirds and Pawrious datasets. SEG-MIL-CBM significantly outperforms existing CBM methods in worst-group accuracy.

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

Abstract

Deep neural networks can achieve high accuracy while relying on evidence that is hard to inspect or misaligned with the intended task. Concept Bottleneck Models (CBMs) expose human-interpretable concepts, but most treat concepts as global attributes and do not show how localized evidence is aggregated into a decision. We propose \textbf{SEG-MIL-CBM}, a spatially grounded CBM that decomposes each image into concept-guided regions and classifies it by attention-based aggregation of segment-level concept evidence. The same segment evidence terms form the prediction and the explanation, exposing which regions and concepts support the predicted logit without a separate post-hoc attribution module. Among evaluated CBM-family baselines, SEG-MIL-CBM improves Waterbirds worst-group accuracy from $65.1\%$ to $72.0\%$, reaches $87.4\%$ worst-group accuracy on Pawrious, remains competitive on standard recognition, and attains the best CBM accuracy on CIFAR-100 ($85.3\%$). Segment-level faithfulness experiments on CUB further show that its learned segment ranking matches or improves over evaluated segment-ranking controls.
BibTeX
@misc{eisenberg2025from,
  author = {Ran Eisenberg and Amit Rozner and Ethan Fetaya and Ofir Lindenbaum},
  title = {{From Segments to Concepts: Interpretable Image Classification via Concept-Guided Segmentation}},
  year = {2025},
  eprint = {2510.04180},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04180},
}
Figure