CB-SLICE: Concept-Based Interpretable Error Slice Discovery

Yael Konforti, Mateo Espinosa Zarlenga, Elaf Almahmoud, Mateja Jamnik

Deep learning models often achieve impressive average-case performance but harbor hidden "blind spots"—systematic failures on specific subgroups known as error slices. For example, a skin cancer classifier might perform well overall but fail systematically on patients with darker skin tones. Identifying these slices is critical for debugging and bias mitigation. However, existing Slice Discovery Methods (SDMs) often generate explanations disconnected from the model's actual inference process.

To address this, researchers have introduced CB-SLICE, a novel, model-aware approach that leverages Concept Bottleneck Models (CBMs) to provide faithful, actionable explanations for why a model fails on specific subgroups.

The Problem: The Fidelity Gap in Slice Discovery

Current SDMs suffer from a major flaw: they are typically "model-agnostic." To explain why a model is failing, they often rely on auxiliary models (like CLIP) to generate descriptions of the errors. This creates a fidelity gap. While the resulting explanation might sound plausible to a human evaluator, it does not necessarily reflect the internal logic that actually caused the model to trip up.

CB-SLICE aims to bridge this gap by making slice discovery "model-aware," linking failures directly to the model’s internal semantic predictions rather than relying on external, disconnected "explainer" models.

Methodology: How CB-SLICE Works

CB-SLICE is built on top of Concept Bottleneck Models (CBMs). CBMs are inherently interpretable architectures that first predict human-understandable concepts (e.g., "has wings," "blue crown") and then use those concepts to make a final classification (e.g., "Blue Jay").

The CB-SLICE framework operates in three primary stages:

  1. Error-Prone Concept Filtering: The method first identifies which concepts are actually driving downstream errors. It uses a metric called the Expected Change in Target Prediction (ECTP) to ensure the search focuses only on concepts that have a causal link to the model's failures.
  2. Error Slice Formation: Next, it clusters erroneous samples in the model's concept-logit space using a Gaussian Mixture Model (GMM). To ensure these clusters are semantically meaningful, the researchers incorporate auxiliary losses that encourage slice members to share similar ground-truth concepts and similar predicted concepts.
  3. Failure Mode Explanation: For each discovered slice, CB-SLICE identifies "keyword-concepts" using the Expected Change in Slice Assignment (ECSA). This metric quantifies which concept interventions would most likely move a sample out of an error slice, effectively explaining the root cause of the failure.

Finally, the authors introduce a Slice Informativeness (SI) score to rank the discovered slices. This helps practitioners prioritize the most consistent and semantically compact failure modes for manual review.

Key Insights

  • The Fidelity of "Model-Awareness": By using the model's own internal bottleneck, CB-SLICE avoids the "hallucinations" of auxiliary explainer models. If CB-SLICE indicates a model failed because it misidentified "size," it is because the model's internal "size" neuron actually triggered the error.
  • Logits Over Probabilities: The researchers found that clustering in the logit space (the raw values before the final sigmoid/softmax activation) is significantly more effective than clustering in probability space, as it better captures the nuances in the model's confidence.
  • Two Flavors of Failure: CB-SLICE successfully distinguishes between two distinct types of errors:
  • Concept Mispredictions: The model incorrectly predicts a concept (e.g., predicting "medium-sized" when the bird is "small"), leading to the wrong class.
  • Rare Combinations: The model predicts all concepts correctly, but the final classifier hasn't seen that specific combination of concepts enough during training to make an accurate prediction.
  • Principled Hyperparameter Tuning: Unlike many clustering methods where choosing the number of clusters is guesswork, the convergence of the GMM loss in CB-SLICE provides a clear, principled signal for the optimal number of slices.

Experimental Validation and Results

The authors evaluated CB-SLICE across four benchmarks known for systematic biases: Waterbirds, CelebA, MetaShift, and a synthetic MNIST-Sum dataset.

  • Superior Recovery: CB-SLICE consistently outperformed state-of-the-art methods like Domino and GEORGE. On the Waterbirds dataset, it improved Precision@10 (the proportion of samples in a discovered slice that actually belong to the ground-truth error group) by up to 65 percentage points.
  • Discovery of Unknown Errors: In the MNIST-Sum task, CB-SLICE uncovered a failure mode the researchers hadn't intentionally injected: the model was systematically confusing a specific visual variant of the digit "3" for a "2."
  • Faithful Explanations: Qualitative results demonstrated that while baseline methods often provided generic or even biased descriptions, CB-SLICE delivered precise, concept-level reasons grounded entirely in the model's actual logic.

Limitations and Future Directions

The primary limitation of CB-SLICE is its requirement for a Concept Bottleneck Model. While CBMs are gaining traction, many existing state-of-the-art models remain "black boxes" that would need to be converted or retrained to utilize this method. Furthermore, the quality of the discovery is inherently dependent on the predefined concept set; if the true cause of an error isn't represented in the bottleneck, CB-SLICE may struggle to explain it.

Looking ahead, the authors suggest extending the method to work with "label-free" CBMs—where concepts are discovered automatically—and integrating the slice discovery process directly into an automated retraining loop to seamlessly mitigate identified biases.

Summary updated

BibTeX
@inproceedings{konforti2026cb,
  author = {Yael Konforti and Mateo Espinosa Zarlenga and Elaf Almahmoud and Mateja Jamnik},
  title = {{CB-SLICE: Concept-Based Interpretable Error Slice Discovery}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=eMiXzd5cyD},
}
Figure