Locality-aware Concept Bottleneck Model

Sujin Jeon, Hyundo Lee, Eungseo Kim, Sanghack Lee, Byoung-Tak Zhang, Inwoo Hwang

TL;DR

Concept Bottleneck Models (CBMs) provide human-understandable explanations by predicting visual concepts before making a final classification, but "label-free" variants often look at the wrong parts of an image when predicting these concepts. This paper introduces the Locality-aware Concept Bottleneck Model (LCBM), which integrates prototype learning with patch-wise CLIP similarities to ensure concepts are accurately grounded in their correct spatial regions. The resulting framework significantly improves the trustworthiness of visual explanations while maintaining competitive classification accuracy.

What Problem Does This Paper Address?

Concept Bottleneck Models (CBMs) are a popular class of inherently interpretable neural networks. Instead of mapping an image directly to a class label (a black-box approach), CBMs first predict the presence of human-interpretable visual cues—called "concepts" (e.g., "red beak," "round shape")—and then use a linear combination of these concepts to make the final prediction.

While traditional CBMs require expensive, dense human annotations for every concept, recent "label-free" CBMs automate this by using Large Language Models (LLMs) to define concepts and Vision-Language Models (VLMs like CLIP) to detect them.

However, these label-free models suffer from a major flaw: poor spatial localization. As shown in Figure 1, a model might correctly predict the concept "barred black feather" but actually base that prediction on the background rock rather than the bird's wing. This misalignment makes the model's internal explanations unfaithful and untrustworthy.

Figure 1. Concept localization in label-free CBMs. The leftmost image is the input to the models, while the others show the saliency maps for the concept “barred black feather”. The activated area in our model is well-aligned with the concept, in contrast to prior label-free CBMs focusing on irrelevant regions.

Methods

The authors propose LCBM, a framework designed to structurally enforce that concept predictions are derived from the correct local regions of an image.

The architecture consists of three main components:

  1. Concept Set Generation: Using GPT-4o, the authors curate a compositional concept set structured as <attribute> <part> (e.g., "striped blue wing", "vertical-slat grille").
  2. Prototype Learning: LCBM assigns one learnable vector (a prototype) to each concept. To force these prototypes to capture actual visual features, the model uses an auxiliary classification task. For a given image patch, the most relevant prototypes (selected via patch-wise CLIP similarity) are weighted and combined to predict the image class.
  3. Localization Loss ($\mathcal{L}_{local}$): The core novelty lies in aligning the model's internal concept prediction influence map with the prototype-to-patch similarity map. By minimizing the Kullback–Leibler (KL) divergence between these two distributions, the network learns to restrict its concept predictions to the specific image patches that visually match the concept's prototype.
Overview of the LCBM architecture and loss functions

Datasets

The model was evaluated across four distinct datasets representing fine-grained classification challenges:

  • CUB-200-2011: 11,788 images of 200 bird species.
  • ImageNet-animal: A subset of ImageNet containing 398 animal categories (510,530 training images).
  • Stanford Cars: 16,185 images across 196 car models.
  • Fitzpatrick17k: A clinical skin disease dataset containing 16,577 images, used to evaluate localization performance on lesions.

Key Insights and Ideas

  • Breaking the Precision-Localization Trade-off: Prior label-free CBMs faced a strict trade-off. Models like VLG-CBM achieved high concept precision but terrible spatial localization, whereas others localized better but failed to utilize the concepts effectively for final decisions. LCBM successfully bridges this gap.
  • Prototypes as Visual-Textual Anchors: By pairing each textual concept with a learnable visual prototype, the model creates a continuous bridge between abstract text descriptions and raw pixel patches.
  • Weak Supervision via Patch-wise CLIP: Even though CLIP is traditionally trained on global image-text pairs, computing its similarity over cropped image patches provides a surprisingly effective, zero-shot spatial guide to kickstart prototype alignment without needing bounding-box annotations.

Key Results

LCBM was compared against prominent label-free baselines, including LfCBM and VLG-CBM. Performance was measured across classification accuracy, concept precision (verified via GPT-4o), and localization quality (using metrics like Inclusion, mIoU, and REP against ground-truth part annotations).

  • Maintained Accuracy: On CUB-200-2011, LCBM achieved 75.24% accuracy, comparable to VLG-CBM (76.54%) and outperforming LfCBM (73.23%).
  • Superior Localization: LCBM demonstrated massive improvements in spatial grounding. On the Stanford Cars dataset, LCBM achieved an mIoU of 30.40% and an Inclusion score of 71.58%, drastically outperforming VLG-CBM (11.65% mIoU, 20.87% Inclusion).
  • Higher Concept Precision: In three out of four datasets, LCBM achieved the highest concept precision (e.g., 76.59% on CUB-200-2011), proving that the concepts it relies on are genuinely present in the images.

Limitations and Future Work

Despite its success, LCBM heavily relies on CLIP to initialize and guide its prototype selection. Consequently, it inherits the inherent biases of CLIP. Furthermore, because standard CLIP is not explicitly optimized for fine-grained patch-level concept identification, its default patch similarities can occasionally be noisy.

The authors suggest that minimizing this foundational dependence on CLIP—potentially by integrating data augmentation strategies or incorporating alternative modalities like segmentation maps or sketches during training—is a promising direction for future research.

Summary updated

BibTeX
@misc{jeon2024locality,
  author = {Sujin Jeon and Hyundo Lee and Eungseo Kim and Sanghack Lee and Byoung-Tak Zhang and Inwoo Hwang},
  title = {{Locality-aware Concept Bottleneck Model}},
  year = {2024},
  eprint = {2508.14562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.14562},
}
Figure