Introduction
Deep learning models, despite their high aggregate performance, often exhibit "blind spots"—specific data subpopulations where they consistently fail. Identifying these "error slices" (e.g., elderly individuals in facial recognition or rare medical conditions in imaging) is critical for model debugging and safety. However, discovering these slices is challenging because they must be both high-error and semantically coherent. Traditional methods often rely on expensive, predefined metadata to define coherence, which limits their utility when error patterns are not captured by existing labels.
Methodology: The MCSD Algorithm
This paper introduces Manifold Compactness (MC), a novel metric that leverages the geometric structure of data to identify coherent error slices without metadata. The core idea is that semantically related data points lie on a low-dimensional manifold. By approximating this manifold using a k-Nearest Neighbor (kNN) graph of data embeddings, the authors define a slice as "compact" if its members are tightly connected within the graph.
The proposed MCSD (Manifold Compactness Slice Discovery) algorithm formulates slice discovery as a constrained Quadratic Programming (QP) problem. It seeks to find a subset of data that maximizes a weighted combination of model risk (average loss) and manifold coherence.
Because MCSD only requires model loss and data embeddings, it is inherently task-agnostic, making it applicable to classification, object detection, regression, and natural language processing tasks.
Insights: Geometry vs. Metadata
A key insight of this work is that geometric density in an embedding space (such as CLIP or BERT) serves as a powerful proxy for human-interpretable concepts. The authors demonstrate that standard statistical measures, such as variance, are often poor indicators of semantic coherence.
As shown in the analysis, moving from coarse-grained to fine-grained slices leads to a significant increase in compactness. This direct optimization for compactness allows MCSD to find sharper, more interpretable error patterns than traditional "find-then-cluster" approaches.
Experimental Results
The researchers evaluated MCSD across diverse benchmarks, including dcbench, CelebA, CheXpert (medical imaging), and BDD100K (autonomous driving).
- State-of-the-Art Performance: On the dcbench benchmark, MCSD significantly outperformed established baselines like Domino and Spotlight. In "Rare" slice discovery, MCSD achieved 61.1% Precision@10, a notable improvement over Domino's 52.5%.
- Qualitative Discovery: In the CelebA dataset, MCSD successfully isolated a rare error group: "males with blond hair." In medical imaging, it identified specific failure modes related to "left lateral view" X-rays, which were previously overlooked.
- Model Improvement: Beyond discovery, the authors demonstrated that MCSD can guide targeted data collection. By adding samples from discovered error slices back into the training set, they improved worst-group accuracy on CelebA from 37.8% to 59.8%.
Conclusion and Future Work
MCSD represents a significant step forward in automated model debugging by prioritizing geometric coherence over metadata. While the reliance on high-quality pretrained embeddings and the computational cost of QP solvers for massive datasets remain areas for future optimization, the method's ability to discover interpretable "blind spots" across various domains makes it a versatile tool for building more robust AI systems.
Summary updated