NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Bottleneck Concepts in Image Classification

Bowen Wang, Liangzhi Li, Yuta Nakashima, Hajime Nagahara

Introduction

Deep Neural Networks (DNNs) are powerful but often function as "black boxes," making their decision-making processes difficult to interpret. Traditional Explainable AI (XAI) techniques, such as saliency maps, highlight important pixels but fail to explain what semantic features the model is identifying. Concept-based models address this by using human-understandable terms (e.g., "yellow head," "black wings"). However, these models typically require labor-intensive manual concept annotations. The Bottleneck Concept Learner (BotCL) addresses this challenge by automatically discovering visual concepts without human labels, maintaining high classification performance while providing transparent reasoning.

Methodology

BotCL utilizes a "concept bottleneck" architecture designed to extract and utilize semantic features autonomously. The pipeline consists of several primary components:

  1. Concept Extractor: A Slot Attention mechanism compares image features against learnable "concept prototypes," identifying specific spatial regions where these concepts manifest.
  2. The Bottleneck: The model represents an image as a vector $t$, indicating the presence or absence of discovered concepts. The final classifier is restricted to using only this vector for its predictions.
  3. Self-Supervision: To ensure concepts are meaningful, BotCL employs two strategies: Reconstruction Loss for simple data (e.g., MNIST) and Contrastive Loss for complex natural images, ensuring that images within the same class share similar concept profiles.
  4. Regularization: Constraints are applied to ensure "Individual Consistency" (concepts look similar across images) and "Mutual Distinctiveness" (concepts represent unique visual elements).
The BotCL architecture (a) utilizes slot attention for concept extraction, while (b) illustrates the self-supervision and regularization strategies used to ensure concept quality.

Experimental Setup

The framework was evaluated across several benchmarks:

  • MNIST: For testing reconstruction-based concept discovery on handwritten digits.
  • CUB200: A fine-grained bird species dataset.
  • ImageNet (subset): The first 200 classes of ImageNet to test scalability on natural images.
  • Synthetic Dataset: A custom dataset of 15 classes built from 5 basic shapes to quantitatively measure concept discovery accuracy.

Results and Discussion

BotCL demonstrates that self-supervision, particularly contrastive learning, is vital for discovering concepts in complex natural scenes. In performance benchmarks on CUB200 and ImageNet, BotCL with contrastive loss (BotCL-Cont) outperformed standard ResNet-18 linear classifiers, achieving 74.0% and 79.5% accuracy, respectively.

Qualitatively, the concepts discovered by BotCL align well with human perception. For instance, in shark classification, the model identifies specific anatomical features like mouths and fins as distinct concepts.

Visualizing discovered concepts in ImageNet. The model identifies specific parts, such as a shark's mouth (Cpt.1) or fins (Cpt.3), as basis for classification.

Quantitative evaluation on synthetic data showed a "Completeness" score of 0.925, significantly outperforming traditional unsupervised methods like PCA. Furthermore, the bottleneck allows for "interpretable ablation," where specific concepts can be manually deactivated to observe the impact on the model's output, providing a direct window into its reasoning.

Conclusion

BotCL successfully bridges the gap between high-performance classification and human-interpretable explanations without requiring manual labels. While the model currently requires a pre-defined number of concepts and faces scalability challenges beyond 200 classes, it represents a significant step toward transparent AI. Future work will explore automated concept count estimation and hierarchical structures to handle more complex, large-scale datasets.

Summary updated

BibTeX
@inproceedings{wang2023learning,
  author = {Bowen Wang and Liangzhi Li and Yuta Nakashima and Hajime Nagahara},
  title = {{Learning Bottleneck Concepts in Image Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01055},
}
Figure