NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Debugging Concept Bottleneck Models through Removal and Retraining

Eric Enouen, sainyam galhotra

Concept Bottleneck Models (CBMs) have gained popularity because they are interpretable by design. They first predict a set of human-understandable concepts (e.g., "has wings" or "blue feathers") and then use those concepts to make a final classification. This architecture allows domain experts to intervene at test time—for instance, a doctor could correct a misidentified symptom to change a diagnosis.

However, CBMs often suffer from spurious correlations. A model might learn to identify a "waterbird" not by looking at the bird itself, but by recognizing a "watery background." While an expert can manually fix this for a single image, the underlying model remains flawed. Existing methods for debugging these models usually involve simply removing the bad concept, but the model often finds a way to "leak" that biased information back into its decision-making during retraining.

This paper introduces CBDebug, a framework that fixes "shortcut learning" in CBMs by turning expert feedback into a retraining signal. Instead of merely correcting a model's mistakes at test time, CBDebug uses reweighting and targeted data augmentation to systemically remove a model's reliance on spurious correlations, significantly improving performance on minority data groups.

The Two-Step Framework: Removal and Retraining

To systemically align a model’s reasoning with expert knowledge, the authors propose a two-step framework:

  1. Removal: A domain expert (or an automated system like an LLM) inspects the model’s learned concepts and flags those that are spurious or non-causal (e.g., "background grass" for a bird classifier).
  2. Retraining (CBDebug): This core innovation treats expert feedback as a causal intervention through three distinct sub-steps:
  3. Label: It converts concept-level feedback into sample-level "auxiliary labels" by collecting activation scores for the undesired concepts across the entire training set.
  4. Reweight: It uses permutation weighting to calculate sample weights. This creates a "counterfactual" distribution where the correlation between the undesired concepts and the final label is broken.
  5. Augment: It uses the weights to identify "bias-aligned" samples and selectively augments them. For example, it might take a waterbird on a water background and use techniques like "CutMix" or "Mixup" to place it on a land background, forcing the model to ignore the environment.
The CBDebug Retraining Pipeline

Experimental Setup

The authors evaluated CBDebug on four benchmarks known for having strong spurious correlations:

  • Waterbirds: A synthetic dataset where birds are often seen on backgrounds (water vs. land) that correlate with their species.
  • MetaShift: A natural dataset for cat vs. dog classification with varying scene contexts.
  • CelebA: A face attribute dataset where gender often acts as a spurious correlate for other features.
  • ISIC: A medical imaging dataset for skin lesion analysis, where artifacts like "dark corners" or "ruler marks" can bias predictions.

Key Insights

  • Removal is not enough: Simply deleting a "spurious" concept node often fails because the model's internal representations still contain that biased information, which leaks back into the final layer during standard retraining.
  • Interpretability as a Bridge: The authors cleverly use the CBM's own concept activations to generate "pseudo-labels" for bias. This allows them to apply powerful supervised bias-mitigation techniques (like reweighting) even without manual labels for the bias.
  • Automated Experts: For text-based CBMs, Large Language Models (like GPT-3.5/4) can effectively act as the "domain expert," identifying spurious text concepts and allowing for fully automated debugging pipelines.
  • "Right for the Right Reasons": The ultimate goal is not just higher overall accuracy, but ensuring the model relies on robust, anatomical, or causal features rather than environmental shortcuts.

Key Results

CBDebug consistently outperformed baseline retraining methods, particularly in improving Worst-Group Accuracy (WGA)—a critical metric for evaluating bias mitigation.

Performance comparison of CBDebug against baselines
  • Worst-Group Accuracy Boost: On the Waterbirds dataset using the Post-hoc CBM architecture, CBDebug improved WGA by roughly 26% over the original model (jumping from 25.8% to 51.9%).
  • Stability: Unlike simple "Removal" or "Retrain" baselines, which sometimes caused model performance to collapse on certain datasets, CBDebug provided stable improvements across different architectures (PIP-Net and Post-hoc CBM).
  • Outperforming Unsupervised Baselines: CBDebug beat popular unsupervised bias-mitigation methods (like JTT and LfF), proving that a small amount of human (or LLM) guidance is more effective than trying to guess where the bias is purely from data dynamics.

Limitations and Future Work

While highly effective, the framework has a few limitations. The authors noted significant variance in performance when using Post-hoc CBMs, suggesting the method is sensitive to initial model weights and training stochasticity. Furthermore, the system's success depends entirely on the expert's ability to identify spurious concepts; inaccurate or adversarial feedback could degrade performance.

Currently, the framework assumes a concept is spurious for the entire task and does not yet handle "class-specific" spuriosity (where a concept might be valid for one category but a shortcut for another). Finally, while LLMs work well for text-based concepts, extending automated debugging to patch-based vision models remains an exciting challenge for future multi-modal research.

Summary updated

BibTeX
@inproceedings{enouen2026debugging,
  author = {Eric Enouen and sainyam galhotra},
  title = {{Debugging Concept Bottleneck Models through Removal and Retraining}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zZNYUkBS77},
}
Figure