Explain via Any Concept: Concept Bottleneck Model with Open Vocabulary Concepts

Andong Tan, Fengtao Zhou, Hao Chen

Abstract

Concept Bottleneck Models (CBMs) provide interpretable-by-design predictions by mapping inputs to human-understandable concepts before classification. However, traditional CBMs are limited by a "closed-world" assumption, where the concept set is fixed during training. We present OpenCBM, a framework that enables open-vocabulary concepts, allowing users to dynamically add, remove, or replace concepts post-deployment. By aligning visual features with CLIP's semantic space via class prototypes and reconstructing the classification head, OpenCBM achieves superior interpretability and performance, outperforming previous state-of-the-art CBMs by 9% on the CUB-200-2011 dataset.

Introduction

Interpretability is crucial for trust in AI systems. Concept Bottleneck Models (CBMs) achieve this by creating a transparent reasoning chain: an image is first decomposed into concepts (e.g., "yellow belly"), which then inform the final class prediction. Despite their benefits, existing CBMs suffer from two major drawbacks: inflexibility due to a fixed concept set and a significant accuracy-interpretability trade-off compared to black-box models.

Comparison between traditional closed-world CBMs and the proposed open-vocabulary OpenCBM.

OpenCBM breaks these barriers by allowing for an open-vocabulary bottleneck. Users can query the model with any text-based description after training, facilitating a dynamic dialogue between humans and AI. This approach moves toward a system where interpretability is a dynamic conversation rather than a static output.

Methodology

OpenCBM utilizes a three-stage pipeline to bridge visual features and open-ended text descriptions without requiring dense manual annotations.

Overview of the OpenCBM training (alignment) and inference (reconstruction) processes.

1. Prototype-Based Feature Space Alignment

To ensure visual features are semantically meaningful, a custom feature extractor is trained to align its output with CLIP’s image encoder space. Crucially, OpenCBM aligns features to class prototypes—the average CLIP feature for all images within a specific category—rather than individual samples. This approach filters out sample-specific noise and focuses on core features that define a category.

2. Classification Head Reconstruction

The model is initially trained as a standard black-box classifier to maintain high performance. Subsequently, the weights of the final linear layer are "reconstructed" using CLIP text embeddings. Specifically, the weight vector for a class is represented as a linear combination of user-provided text concepts (e.g., "yellow belly" + "black wings"). This allows the model to "explain" its learned weights through the lens of arbitrary concepts at inference time.

3. Iterative Concept Discovery

If user-selected concepts fail to fully explain a decision (indicated by a high residual), the system can automatically search external knowledge bases like ConceptNet to identify missing concepts that bridge the gap, ensuring the explanation is comprehensive.

Results and Discussion

The framework was evaluated primarily on the CUB-200-2011 bird classification dataset, a standard benchmark for fine-grained recognition.

  • State-of-the-Art Accuracy: OpenCBM achieved an accuracy of 83.3%, representing a 9% improvement over the previous best CBM (Label-free CBM at 74.3%). Notably, it also outperformed the standard black-box ResNet18 baseline (79.9%), effectively resolving the accuracy-interpretability trade-off.
  • Effective Concept Editing: Experiments demonstrated that the model's predictions are faithfully tied to the concepts. Removing key concepts led to predictable performance drops, confirming that the feature space is successfully aligned with the text embeddings.
  • Redundancy Discovery: The authors found that using only 20% of LLM-generated concepts could still yield higher accuracy than previous methods, suggesting that current CBMs are often cluttered with redundant or low-quality concepts.

Conclusion

OpenCBM represents a significant shift from static to dynamic interpretability in computer vision. By leveraging the semantic power of Vision-Language Models like CLIP, it provides a flexible bottleneck that can be adapted to any user-defined concept set without retraining. While currently limited by the underlying VLM's capabilities and a linear combination assumption, OpenCBM paves the way for more interactive, robust, and user-centric interpretable AI.

Summary updated

BibTeX
@inproceedings{tan2024explain,
  author = {Andong Tan and Fengtao Zhou and Hao Chen},
  title = {{Explain via Any Concept: Concept Bottleneck Model with Open Vocabulary Concepts}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73016-0\_8},
}
Figure