Skip to main content
QUICK REVIEW

[Paper Review] Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classification

Yue Yang, Artemis Panagopoulou|arXiv (Cornell University)|Nov 21, 2022
Explainable Artificial Intelligence (XAI)Computer Science6 citations
TL;DR

This paper proposes Language-guided Bottlenecks (LaBo), a method that automatically generates high-performance, interpretable Concept Bottleneck Models (CBMs) by leveraging GPT-3 to generate textual concepts and CLIP to align them with images. LaBo achieves 11.7% higher accuracy than linear probes at 1-shot learning across 11 diverse datasets, demonstrating that interpretable models can match or exceed black-box performance without manual concept annotation.

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.

Motivation & Objective

  • To address the limitations of Concept Bottleneck Models (CBMs), which require costly manual concept annotation and often underperform black-box models.
  • To develop a method that enables high-performance, inherently interpretable image classifiers without human-designed concepts.
  • To demonstrate that language models can serve as an effective prior for identifying visually relevant, discriminative, and diverse concepts for visual recognition.
  • To maintain the interpretability of CBMs while achieving performance competitive with or better than black-box models, especially in low-data regimes.

Proposed method

  • Prompt GPT-3 with category-specific descriptions to generate a large set of factual, descriptive sentences as candidate concepts.
  • Formulate a novel submodular utility function that balances discriminability, coverage, and diversity to efficiently select optimal concept subsets from the candidate pool.
  • Use CLIP to embed both image inputs and textual concepts, enabling cross-attention-based scoring of concept presence in images.
  • Construct a bottleneck layer from selected concept scores, which are then used as input features for a linear classifier to predict image labels.
  • Optimize the linear classifier end-to-end using standard training procedures, preserving the interpretability of the model.
  • Fine-tune the GPT-3 prompt for each dataset to improve word sense accuracy and reduce ambiguity (e.g., avoiding confusion between 'bird of paradise' the flower vs. the bird).

Experimental results

Research questions

  • RQ1Can language models like GPT-3 be used to automatically generate high-quality, visually grounded concepts for interpretable image classification?
  • RQ2How can we efficiently select a diverse and discriminative subset of concepts from a large pool generated by a language model?
  • RQ3Can automatically generated concept bottlenecks achieve performance comparable to or better than black-box models, especially in low-shot learning scenarios?
  • RQ4To what extent do automatically generated concepts maintain interpretability while improving model accuracy compared to manually designed CBMs?
  • RQ5How do design choices such as bottleneck size, concept length, and inclusion of class names affect performance and interpretability?

Key findings

  • LaBo achieves 11.7% higher accuracy than linear probes at 1-shot learning across 11 diverse datasets, significantly outperforming black-box baselines in low-data regimes.
  • On average, LaBo bottlenecks are 1.5% more accurate than linear probes across multiple data settings, demonstrating consistent performance gains.
  • The method reduces the need for manual concept annotation, enabling the creation of interpretable models without domain expert input.
  • LaBo maintains high interpretability, as concepts are natural language descriptions that are human-readable and semantically grounded in visual attributes.
  • Ablation studies show that excluding class names from concepts and favoring shorter, non-redundant, visually grounded sentences improves both performance and interpretability.
  • The approach generalizes across diverse domains, including fine-grained image recognition, skin tumor classification, and satellite imagery, with minimal dataset-specific prompt tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.