Bayesian Concept Bottleneck Models with LLM Priors

Jean Feng, Avni Kothari, Lucas Zier, Chandan Singh, Yan Shuo Tan

TL;DR

BC-LLM is a novel framework that integrates Large Language Models (LLMs) into a rigorous Bayesian loop to build "Concept Bottleneck Models" that are both highly accurate and fully interpretable. By using a split-sample Metropolis update, the system iteratively discovers and validates human-understandable concepts from raw data, effectively closing the performance gap between transparent models and black-box neural networks.

The Transparency Paradox

In high-stakes fields like medicine, we face a "transparency paradox." We want the accuracy of black-box models (like deep neural networks), but we need the interpretability of "white-box" models so experts can audit and trust the results.

Concept Bottleneck Models (CBMs) were designed as a solution: they first extract human-interpretable "concepts" (e.g., "Does this bird have a red beak?") and then use those concepts to make a final prediction. However, standard CBMs have two major flaws:

  1. The Predefinition Trap: You have to define all possible concepts before training. If you miss a crucial one, your accuracy plummets.
  2. The Accuracy-Interpretability Tradeoff: To get high accuracy, researchers often use "soft" concepts (continuous values), which can "leak" information from the label, making the model less truly interpretable.

The authors aim to create a model that can discover its own concepts data-adaptively without sacrificing statistical rigor or human readability.

Methods: The BC-LLM Framework

The authors introduce BC-LLM (Bayesian Concept bottleneck models with LLM priors). The core innovation is treating the LLM as a "proposal engine" within a Metropolis-within-Gibbs sampling framework.

The BC-LLM iterative framework

The process follows an iterative loop:

  1. Initialization: An LLM brainstorms "keyphrases" from the data to get a rough idea of what features might matter.
  2. The Split-Sample Update: This is the technical "secret sauce." The data is split into two sets ($S$ and $S^c$).
  3. The LLM looks at set $S$ to propose new, refined concepts (acting as a partial posterior).
  4. The model then tests these proposed concepts against the held-out set $S^c$.
  5. Accept/Reject Step: Using a Metropolis-Hastings step, the model calculates an "acceptance ratio." If the new concept actually improves the model’s ability to explain the data in $S^c$, it is kept; otherwise, it’s rejected.
  6. Statistical Guardrails: This framework allows the LLM to be "imperfect." Even if the LLM hallucinates or suggests a bad concept, the Bayesian machinery will statistically reject it based on the actual data.

Key Insights and Ideas

  • LLMs as Feature Engineers: Instead of using LLMs just to label data, BC-LLM uses them to hypothesize what features should exist. It updates the classical "expert-in-the-loop" workflow for the AI era.
  • Rigorous Hallucination Management: The paper proves that the model converges to the "true" concepts asymptotically, even if the LLM prior is poor or inconsistent. The data, not the LLM, is the final arbiter of truth.
  • Information Leakage Prevention: By forcing concepts to be "hard" (binary/categorical) and separating the extraction from the prediction, the model avoids the "label leakage" common in "soft" CBMs.
  • Uncertainty Quantification: Because it is a Bayesian model, BC-LLM doesn't just give a prediction; it provides a posterior distribution over concepts. It can say, "I think this patient is at risk, and I'm 70% sure it's because of their smoking history."

Key Results

The researchers evaluated BC-LLM across three distinct modalities: CUB-Birds (computer vision), MIMIC-IV (simulated clinical notes), and ZSFG Clinical Data (real-world tabular and unstructured note data).

Performance metrics and discovered clinical concepts
  • Outperforming Black-Boxes: In the bird classification task, BC-LLM achieved an AUC of 0.874, actually outperforming a fine-tuned ResNet-50 (0.853), which often overfits on small datasets.
  • Clinical Relevance: In a blind survey, five clinicians rated the concepts discovered by BC-LLM as significantly more "clinically relevant" (average score 2.5/3) compared to standard tabular features (score <2/3).
  • OOD Robustness: When tested on "Out-of-Distribution" samples (e.g., showing a bird model a picture of a dog in a costume), BC-LLM was "appropriately unsure," showing higher entropy/uncertainty than standard models.
  • Cost Efficiency: BC-LLM is more cost-effective than "label-free" CBMs because it only annotates a small, sparse set of relevant concepts ($K \approx 5$) rather than thousands of candidate concepts.

Limitations and Future Work

While highly effective, the model is currently optimized for "highly interpretable" settings where the number of concepts ($K$) is small (typically under 20). It is not yet designed for tasks requiring hundreds of features. Additionally, the iterative nature of the Metropolis-Hastings loop requires multiple LLM queries, which can take several minutes per training run. Future directions include exploring "mini-batching" for posterior inference to speed up the process and extending the framework to handle more complex multi-class classification tasks.

Summary updated

BibTeX
@inproceedings{feng2025bayesian,
  author = {Jean Feng and Avni Kothari and Lucas Zier and Chandan Singh and Yan Shuo Tan},
  title = {{Bayesian Concept Bottleneck Models with LLM Priors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=oXSkzIXgbk},
}
Figure