Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classification

Yue Yang, Artemis Panagopoulou, Shenghao Zhou, Daniel Jin, Chris Callison-Burch, Mark YatskarCVPR 2022 · DOI

Abstract

Concept Bottleneck Models (CBM) are inherently interpretable models that factor model decisions into human-readable concepts. They allow people to easily understand why a model is failing, a critical feature for high-stakes applications. CBMs require manually specified concepts and often under-perform their black box counterparts, preventing their broad adoption. We address these shortcomings and are first to show how to construct high-performance CBMs without manual specification of similar accuracy to black box models. Our approach, Language Guided Bottlenecks (LaBo), leverages a language model, GPT-3, to define a large space of possible bottlenecks. Given a problem domain, LaBo uses GPT-3 to produce factual sentences about categories to form candidate concepts. LaBo efficiently searches possible bottlenecks through a novel submodular utility that promotes the selection of discriminative and diverse information. Ultimately, GPT-3's sentential concepts can be aligned to images using CLIP, to form a bottleneck layer. Experiments demonstrate that LaBo is a highly effective prior for concepts important to visual recognition. In the evaluation with 11 diverse datasets, LaBo bottlenecks excel at few-shot classification: they are 11.7% more accurate than black box linear probes at 1 shot and comparable with more data. Overall, LaBo demonstrates that inherently interpretable models can be widely applied at similar, or better, performance than black box approaches.

Introduction

Deep learning models are often criticized for being "black boxes," where the internal reasoning behind a classification is opaque to human users. Concept Bottleneck Models (CBMs) were introduced to mitigate this by forcing models to identify human-readable concepts (e.g., "has a yellow beak") before making a final prediction. Despite their interpretability benefits, CBMs have historically faced two major hurdles: the high cost of manual concept annotation by domain experts and a performance gap relative to uninterpretable black-box models.

This work introduces Language Guided Bottlenecks (LaBo), a framework that automates the creation of high-performance CBMs. By combining the extensive world knowledge of Large Language Models (LLMs) with the visual grounding capabilities of Vision-Language Models, LaBo eliminates the need for manual specification while maintaining competitive accuracy.

Methods

The LaBo pipeline automates concept discovery and grounding through a multi-stage process:

  1. Concept Generation: The system prompts GPT-3 to describe the visual appearance of various classes (e.g., "Describe what the black-throated sparrow looks like"). This generates a large pool of candidate concepts.
  2. Submodular Selection: To ensure the selected concepts are both useful and non-redundant, LaBo employs a submodular utility function. This function optimizes for discriminability (how well a concept distinguishes classes) and coverage (ensuring diverse visual features are represented).
  3. Visual Grounding: The selected text concepts are aligned with images using CLIP. This produces a "concept score" for each image, representing the presence of specific visual attributes.
  4. Interpretable Classification: A linear layer maps these concept scores to final class labels. This layer is initialized using language priors from the LLM, facilitating rapid learning in low-data regimes.
The LaBo pipeline: from LLM concept generation to interpretable classification using CLIP.

Results

LaBo was evaluated across 11 diverse datasets, ranging from general object recognition (ImageNet, CIFAR) to specialized domains like satellite imagery (RESISC45) and medical imaging (HAM10000).

The results demonstrate that LaBo significantly outperforms standard black-box linear probes in few-shot settings. On average, LaBo achieves an 11.7% accuracy improvement at 1-shot classification. As the number of training examples increases, LaBo remains competitive, maintaining an average 1.5% accuracy lead across all tested settings. This suggests that the concept bottleneck acts as an effective regularizer, guiding the model toward robust, factual features rather than spurious correlations.

Average accuracy comparison between LaBo and Linear Probe across various shot counts.

Conclusion

LaBo proves that interpretability does not have to come at the cost of performance or manual effort. By leveraging LLMs to define concept spaces, we can build models that are both transparent and highly effective, even in data-scarce environments. Future work may explore dynamic prompting to further refine concept selection during inference.

Summary updated

BibTeX
@inproceedings{yang2022language,
  author = {Yue Yang and Artemis Panagopoulou and Shenghao Zhou and Daniel Jin and Chris Callison-Burch and Mark Yatskar},
  title = {{Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52729.2023.01839},
}
Figure