Slice Finder: Automated Data Slicing for Model Validation

Yeounoh Chung, Tim Kraska, Neoklis Polyzotis, Steven Euijong Whang

Introduction

Machine learning models often boast high overall accuracy while masking severe failures on specific subsets of data. Aggregate metrics like log-loss can be deceptive, as a model might perform well on average but fail disproportionately on specific sub-populations. Identifying these "blind spots" is critical for model debugging, ensuring fairness, and building robust AI systems.

Automated Data Slicing

Manually hunting for underperforming subsets—or "slices"—is a "needle in a haystack" problem due to the exponential number of possible feature combinations. Slice Finder is an automated, interactive framework designed to surface large, interpretable data slices (e.g., Gender = Female AND Education = Bachelors) where a model underperforms.

Methodology

Slice Finder frames slice discovery as a search problem over a lattice of feature-value combinations. A slice is deemed "problematic" if its loss is significantly higher than the rest of the dataset. To ensure statistical rigor, the system uses Welch's t-test for significance and measures effect size to ensure the performance drop is practically meaningful.

Overview of the Slice Finder workflow, from data slicing to identifying problematic slices.

The framework employs two primary search strategies:

  • Decision Tree (DT) Training: Partitions data into non-overlapping slices by training a tree to classify misclassified examples.
  • Lattice Searching (LS): A breadth-first search that identifies overlapping slices by iteratively adding feature conditions.

Because testing thousands of slices increases the risk of false positives, Slice Finder utilizes α-investing (specifically the "Best-foot-forward" policy) to dynamically control the marginal false discovery rate during interactive searches.

The Slice Finder interactive GUI, featuring a scatter plot of slices and a detailed results table.

Evaluation and Key Results

The system was evaluated using synthetic data, the UCI Census Income dataset, and a Credit Card Fraud Detection dataset.

  • Effectiveness: Both LS and DT vastly outperformed clustering baselines (like k-means), which often fail to produce interpretable slices or isolate performance drops.
  • Slice Quality: Lattice Search consistently found larger problematic slices with higher effect sizes compared to Decision Trees. DTs are restricted to non-overlapping partitions, which can force the creation of smaller, overly specific slices.
  • Scalability: Slice Finder scales effectively through data sampling and parallelization. Running on a 1/128th sample of the Census dataset maintained 88% accuracy while speeding up the search by two orders of magnitude.
  • Fairness: The definition of a "problematic slice" naturally aligns with fairness metrics like equalized odds, allowing the tool to flag discriminatory behavior without pre-specified sensitive attributes.

Limitations and Future Work

Current limitations include the lack of parallelization for the Decision Tree approach and reliance on basic discretization for continuous numerical features. Future work will focus on improving numerical handling, supporting the summarization of similar slices, and conducting user studies to measure the tool's effectiveness in real-world debugging scenarios.

Summary updated

BibTeX
@inproceedings{chung2019slice,
  author = {Yeounoh Chung and Tim Kraska and Neoklis Polyzotis and Steven Euijong Whang},
  title = {{Slice Finder: Automated Data Slicing for Model Validation}},
  booktitle = {ICDE},
  year = {2019},
  doi = {10.1109/icde.2019.00139},
}
Figure