Introduction
Concept Bottleneck Models (CBMs) enhance the interpretability of neural networks by predicting human-readable concepts before reaching a final classification. While traditional CBMs require fixed concept sets defined during training, the Flexible Concept Bottleneck Model (FCBM) introduces a dynamic approach. By utilizing a hypernetwork and a temperature-controlled sparsemax module, FCBM allows for real-time updates to the concept pool without the need for full model retraining. This adaptability is critical for domains with evolving knowledge, such as medicine, and for leveraging rapidly advancing vision-language foundation models.
Methodology: From Rigid to Flexible Architectures
Existing Vision-Language Model (VLM)-based CBMs often hardcode concept sets during training. If a new biomarker is discovered or a better Large Language Model (LLM) becomes available, the entire model must typically be retrained. FCBM overcomes this rigidity through two primary innovations:
- Hypernetwork for Dynamic Weights: Instead of learning a static weight matrix, FCBM employs a hypernetwork that takes text embeddings of concepts (extracted via CLIP) and generates classification weights on the fly. This allows the model to process entirely new concept sets post-training.
- Learnable Sparsemax Module: To maintain interpretability, the model must select only the most relevant concepts. A modified
sparsemaxmodule with a learnable temperature parameter controls weight sparsity, balancing predictive accuracy with concise, human-readable explanations.
Experimental Evaluation
The authors evaluated FCBM across five standard benchmarks: CIFAR10, CIFAR100, CUB (Caltech-UCSD Birds-200), Places365, and ImageNet. Initial concept pools were generated using GPT-3, while DeepSeek-V3 and GPT-4o were used to test zero-shot adaptability to novel concept sets.
Key Results and Insights
FCBM demonstrates competitive performance against state-of-the-art baselines like LF-CBM and CF-CBM while maintaining a strictly controlled Number of Effective Concepts (NEC) of approximately 30.
Zero-Shot Adaptability
A standout feature of FCBM is its ability to retain high accuracy when the entire concept pool is swapped for one generated by a different LLM. For instance, using DeepSeek-V3 concepts, the model achieves significant zero-shot performance, which can be further improved to near-original levels with just a single epoch of fine-tuning.
Interpretability and Semantic Coverage
The transparency of FCBM exposes the limitations of LLM-generated concepts. If an LLM fails to include a critical discriminative feature (e.g., "blue" for an "Indigo Bunting"), the model's performance drops, highlighting that the system's reliability is tied to the semantic coverage of its concept pool. This transparency allows researchers to identify and correct "blind spots" in automated concept generation.
Conclusion and Future Directions
FCBM offers a scalable and interpretable solution for dynamic environments. While zero-shot generalization can struggle on highly specialized datasets if the concept pool is incomplete, the model's rapid fine-tuning capabilities mitigate this risk. Future research will explore FCBM's utility in expert-driven fields like medicine, where integrating novel biomarkers seamlessly is paramount.
Summary updated