Explanation Bottleneck Models

Shin'ya Yamaguchi, Kosuke Nishida

TL;DR

Explanation Bottleneck Models (XBMs) advance interpretable deep learning by replacing the rigid, pre-defined concept layers of traditional Concept Bottleneck Models with a free-form natural language text bottleneck. By leveraging pre-trained vision-language models and a novel "explanation distillation" training technique, XBMs generate fluent, highly factual text explanations that directly drive final classifications without sacrificing task performance.

What Problem Does This Paper Address?

To trust deep learning models in critical domains like healthcare or autonomous driving, we need to understand why they make decisions. Concept Bottleneck Models (CBMs) address this by breaking prediction into two stages: first, predicting a set of human-understandable concepts (e.g., "has wings", "yellow beak"), and second, using those concepts to predict the final label.

However, traditional CBMs suffer from a major flaw: they rely on a fixed, pre-defined set of concepts sourced from databases like ConceptNet or generated beforehand by LLMs. This creates a rigid bottleneck. If a crucial visual feature isn't in the pre-defined set, the model can't use it, leading to poor accuracy on fine-grained tasks. Furthermore, managing a massive number of concepts introduces a long-tail distribution problem that makes training difficult. The authors of this paper tackle a fundamental question: Can we build an interpretable bottleneck model that doesn't rely on pre-defined concept sets?

Methods

The authors introduce Explanation Bottleneck Models (XBMs). Instead of predicting a binary vector of discrete concepts, XBMs generate a free-form natural language sentence as an intermediate bottleneck layer.

Explanation Bottleneck Models (XBMs) overview

The architecture consists of three main parts:

  1. Vision Encoder ($h_\psi$): Embeds the input image.
  2. Explanation Decoder ($g_\phi$): An auto-regressive text decoder that generates a natural language explanation ($\hat{e}$) from the image embedding.
  3. Classifier ($f_\theta$): A multi-modal or text-based transformer that takes the generated explanation and predicts the final task label ($\hat{y}$).

The Challenge: Language Collapse

If you train this system end-to-end solely on a classification loss, a major problem occurs: catastrophic forgetting. The text decoder quickly stops generating coherent English and instead outputs gibberish tokens that happen to optimize the classification score.

To solve this, the authors introduce Explanation Distillation. During training, they use a frozen, pre-trained reference text decoder to generate a baseline caption ($e_p$) for the image. They then apply a regularization loss that penalizes the active explanation decoder if its token distribution drifts too far from the reference decoder. To allow backpropagation through the discrete text generation step, they employ the Gumbel-softmax trick with exponential temperature annealing.

Training of XBMs with Explanation Distillation

Datasets

The model was evaluated across four standard image classification datasets representing both fine-grained and large-scale challenges:

  • CUB-200-2011 (Bird): Fine-grained bird species classification.
  • FGVC Aircraft (Aircraft): Fine-grained aircraft model classification.
  • Stanford Cars (Car): Fine-grained car model classification.
  • ImageNet: Large-scale general image classification benchmark.

Key Insights and Ideas

  • Open-Vocabulary Interpretability: By shifting from a static concept matrix to a language model bottleneck, XBMs can describe arbitrary, long-tail visual features that were never explicitly programmed into a concept bank.
  • The Necessity of Distillation: End-to-end task optimization is highly destructive to language fluency. Regularizing the output space (via sequence-level knowledge distillation) is essential to keep explanations human-readable.
  • Hierarchical Explanations: XBMs provide multiple layers of interpretability. Users can read the full generated sentence, look at specific noun phrases parsed out with self-attention contribution scores, or view cross-attention heatmaps that map specific words back to pixel regions.
Explanation styles provided by XBMs

Key Results

XBMs significantly outperform traditional Label-free CBMs while remaining competitive with black-box baselines:

  • Accuracy Boost: On the fine-grained Aircraft dataset, XBM-BLIP achieved 74.09% test accuracy, vastly outperforming Label-free CBMs using GPT-3 concepts (44.47%). On Bird, XBM achieved 80.99% vs. CBM's 77.74%.
  • Factuality and Fluency: XBMs achieved higher CLIP-Scores (measuring how well the text matches the image) and lower GPT-2 Perplexity (measuring sentence fluency) compared to models trained without explanation distillation.
  • Proven Bottleneck Reliability: To verify if the classifier actually relies on the text bottleneck, the authors performed a human intervention experiment. Replacing the generated explanations with random text caused accuracy to plummet (e.g., from 80.99% down to 44.42% on the Bird dataset). Conversely, feeding in human ground-truth explanations boosted accuracy to 82.21%, proving the model truly utilizes the text semantics for its final decision.

Limitations and Future Work

The primary limitation acknowledged by the authors is that XBMs cannot easily be forced to use a specific, user-defined expert vocabulary. Because they rely on the open-ended vocabulary of a pre-trained language model, they excel at fluent, general descriptions but may struggle to provide interpretations restricted to highly specialized expert domains (like medical pathology codes).

The authors suggest that a promising direction for future work is finding ways to anchor these fluent, open-vocabulary natural language explanations to strict, user-defined concept sets.

Summary updated

BibTeX
@inproceedings{yamaguchi2025explanation,
  author = {Shin'ya Yamaguchi and Kosuke Nishida},
  title = {{Explanation Bottleneck Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i20.35495},
}
Figure