Automated Data Slicing for Model Validation: A Big Data - AI Integration Approach

Yeounoh Chung, Tim Kraska, Neoklis Polyzotis, Ki Hyun Tae, Steven Euijong Whang · DOI

Introduction

In modern machine learning, aggregate performance metrics—such as 90% accuracy—can be deceptive. A model may perform exceptionally well on average while failing catastrophically on specific subgroups or "pockets" of data. These subgroups, known as slices, might represent specific demographics or rare feature combinations (e.g., "Doctorate holders in rural areas"). Identifying these failures is critical for model reliability and fairness, yet it remains a manual and labor-intensive process.

This paper introduces Slice Finder, an interactive framework developed through a collaboration between Google, MIT, KAIST, and Brown. Slice Finder automates the identification of large, interpretable, and problematic data slices, helping practitioners move beyond high-level metrics to find actionable bugs.

Methodology: The Slice Finder Framework

Slice Finder treats the identification of problematic subsets as a search problem over a lattice of feature-value conjunctions. The process moves from the raw DataFrame through automated slicing and rigorous statistical filtering to present the most significant issues to the user.

The Slice Finder workflow: from raw data to identified problematic slices using statistical controls.

Search Strategies

The framework employs two primary strategies to navigate the space of potential slices:

  1. Lattice Searching (LS): This approach performs a breadth-first search through a hierarchy of feature combinations. While exhaustive and capable of finding overlapping slices, it is computationally intensive.
  2. Decision Tree (DT): This method uses a surrogate CART tree to predict model failure. While faster, it struggles with overlapping slices due to its partitioning nature.
Lattice-based search space for identifying data slices through feature combinations.

Statistical Rigor and False Discovery Control

To ensure that identified slices represent genuine model failures rather than statistical noise, Slice Finder integrates several rigorous controls:

  • Welch’s t-test: Used to determine if the loss difference between a slice and its counterpart (the rest of the data) is statistically significant.
  • Effect Size (Cohen’s $d$): Measures the magnitude of the performance drop to ensure the problem is practically meaningful, not just statistically significant.
  • $\alpha$-investing: A sophisticated method for controlling the False Discovery Rate (FDR) during large-scale testing, preventing the "p-hacking" problem common in high-dimensional search spaces.

Evaluation and Key Insights

The authors evaluated Slice Finder using the UCI Census Income dataset, a Credit Card Fraud dataset, and synthetic data to establish ground truth. Several key insights emerged from their testing:

  • Interpretability as a Constraint: A slice is only useful if a human can act on it. By limiting slices to a few literals (e.g., Education = Bachelors), Slice Finder ensures the output is actionable, such as identifying a need for more training data for a specific group.
  • Scalability via Sampling: The system can scale to massive datasets through sampling. The authors demonstrated that using as little as 1/128th of the data can still reliably identify the most significant problematic slices, providing a massive speedup without sacrificing accuracy.
  • Fairness via Slicing: The framework naturally identifies violations of "Equalized Odds," making it a powerful tool for automated fairness audits during the model validation phase.

Key Results

  • Performance: Lattice Searching consistently outperformed baseline clustering and Decision Trees in identifying "true" problematic slices in synthetic tests.
  • False Discovery Control: The $\alpha$-investing strategy successfully kept the False Discovery Rate low while maintaining higher "power" (the ability to find real problems) compared to more conservative methods like Bonferroni correction.
  • Real-world Utility: On Census data, Slice Finder automatically flagged significant performance drops for specific groups, such as "Married-civ-spouse" individuals and those with high capital gains—insights that would have required extensive manual exploration to discover.

Conclusion and Future Work

Slice Finder bridges the gap between big data infrastructure and AI model validation. By automating the discovery of interpretable failure modes, it provides a scalable path toward more robust and fair machine learning systems. Future work aims to improve the handling of continuous numeric features and integrate the tool directly into production pipelines like TensorFlow Model Analysis.

Summary updated

BibTeX
@inproceedings{chung2019automated,
  author = {Yeounoh Chung and Tim Kraska and Neoklis Polyzotis and Ki Hyun Tae and Steven Euijong Whang},
  title = {{Automated Data Slicing for Model Validation: A Big Data - AI Integration Approach}},
  booktitle = {ICDE},
  year = {2019},
  doi = {10.1109/icde.2019.00139},
}
Figure