Where Does My Model Underperform? A Human Evaluation of Slice Discovery Algorithms

Nari Johnson, Ángel Alexander Cabrera, Gregory Plumb, Ameet Talwalkar

TL;DR

While slice discovery algorithms (SDAs) are designed to help humans identify hidden pockets of model failure, this study reveals that "coherent" slices don't always lead to correct conclusions. The researchers found that while SDAs outperform random error inspection, users often disagree on what a slice represents, and a slice that "looks" consistent can frequently mislead a practitioner into forming an incorrect hypothesis about model behavior.

What Problem Does This Paper Address?

Machine learning models often boast high average accuracy while hiding significant failures on specific "slices" of data—such as a facial recognition system that works well overall but fails consistently on people with darker skin tones. Identifying these slices is crucial for safety and fairness, but doing so manually is like looking for a needle in a haystack, especially when you don't have pre-existing labels for every possible sub-group (e.g., "stop signs in the rain").

To solve this, researchers have developed Slice Discovery Algorithms (SDAs). These are unsupervised tools that group high-error data points into "coherent" clusters for a human to inspect. However, most SDA research focuses on the algorithm's ability to cluster, not the human's ability to understand the output. This paper asks the critical question: Do these tools actually help humans form correct, generalizable hypotheses about why and where their model is failing?

Methods

The authors conducted a controlled user study with 15 participants (graduate students/researchers with ML expertise). The study followed a three-step pipeline:

  1. Compute Slices: They used two state-of-the-art SDAs—DOMINO and PLANESPOT—alongside a Baseline (a random sample of misclassified images) to generate slices from an object detection model.
  2. Hypothesis Formation: Users were shown 20 images from a slice and asked to write a natural language hypothesis (e.g., "The model fails on airplanes that are partially occluded by clouds").
  3. Hypothesis Validation: This is the study's most novel contribution. To see if a user's hypothesis was actually "correct," the researchers used CLIP (a vision-language model) to find new images matching the user's text description. They then measured the model's actual performance on this new, independent sample. A hypothesis was deemed "correct" if the model's performance gap on that group was at least 20% worse than the class average.

Datasets

  • MS COCO: A standard large-scale object detection dataset. The study focused on five specific classes: airplane, train, giraffe, skis, and broccoli.
  • Model: A ResNet-18 model fine-tuned on the MS COCO training set.
  • Validation Set: A held-out portion of MS COCO was used for the slice discovery and the subsequent CLIP-based validation.

Key Insights and Ideas

  • Coherence is a Trap: A major "aha moment" was that slice coherence does not imply hypothesis correctness. Just because a slice contains 20 images that all look like "dogs on grass" doesn't mean the model actually fails on all "dogs on grass." SDAs might be picking up on a specific, high-error subset of that group, leading users to over-generalize.
  • The "Eye of the Beholder" Problem: There is significant variance in how humans interpret the same data. For 75% of the slices shown, different users wrote distinct, non-synonymous hypotheses. One user might see "low lighting," while another sees "blurry background" in the exact same set of images.
  • SDAs Reduce Cognitive Load: Despite the risk of misinterpretation, SDAs are much better than looking at random errors. Users found it significantly easier to describe slices from DOMINO and PLANESPOT than the random baseline, and they were more likely to be "correct" in their assessments.

Key Results

  • Correctness Rates: Hypotheses formed using DOMINO were correct 73% of the time, compared to 49% for PLANESPOT and only 35% for the Baseline.
  • Ease of Use: Users rated SDA-generated slices as significantly easier to describe (lower self-reported difficulty) than the random error baseline.
  • Statistical Correlation: The researchers found no significant association between the number of images in a slice that a user thought "matched" their description and the actual correctness of that description on new data. This suggests that humans are poor judges of whether a slice is truly representative of a broader model failure.

Limitations and Future Work

  • Validation Approximation: Using CLIP and manual labeling to validate natural language hypotheses is an approximation. While the authors ran several "ablations" to prove their validation method was robust, it remains a complex bottleneck.
  • Domain Specificity: The study was limited to computer vision. The challenges of hypothesis formation might look very different in Natural Language Processing (NLP) or tabular data.
  • Future Direction - Real-time Validation: The authors suggest that future tools should allow users to test their hypotheses in real-time. Instead of just looking at a static slice, a practitioner should be able to type a description and immediately see the model's performance on a fresh batch of matching images to "sanity check" their intuition before taking action.

Summary updated

BibTeX
@inproceedings{johnson2023where,
  author = {Nari Johnson and Ángel Alexander Cabrera and Gregory Plumb and Ameet Talwalkar},
  title = {{Where Does My Model Underperform? A Human Evaluation of Slice Discovery Algorithms}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/hcomp.v11i1.27548},
}
Figure