Why can aggregate metrics hide critical failures that slicing or subgroup analysis would reveal?

Quick Overview

Asks why a model with a strong overall accuracy or AUC can still fail badly on a small group of users or inputs. Tests reasoning about weighted averages, masked regressions between model versions, Simpson's paradox, and how to evaluate per-slice results with honest uncertainty.

Why can aggregate metrics hide critical failures that slicing or subgroup analysis would reveal?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why can aggregate metrics hide critical failures that slicing or subgroup analysis would reveal? For example, a classifier scores well on overall accuracy or AUC on a held-out test set, and a problem with it is only found after launch. ```hint Do the arithmetic Write overall accuracy as a weighted sum of per-slice accuracies and work out how far a small slice can move it. ``` ```hint Comparing two models Consider what an overall comparison reports when a new model gains on a big slice and loses on a small one, or when the two models were scored on different traffic mixes. ``` ### What a Strong Answer Covers - Why a weighted average is dominated by large segments, with a bound on how much a small slice can move it - Why the slices that get hidden are often the high-stakes ones - How a regression or Simpson's paradox can sit behind an aggregate improvement - How to choose slices and read per-slice results with sample sizes and uncertainty - How slice metrics become launch criteria ### Follow-up Questions - With 200 slices, several will look like regressions by chance. How do you decide which ones are real? - How would you find a failing slice that nobody defined in advance? - A slice you care about has only 40 examples in the test set. What do you do? - Can pooled AUC look good while the model ranks poorly within every slice? How?

Overview: Asks why a model with a strong overall accuracy or AUC can still fail badly on a small group of users or inputs. Tests reasoning about weighted averages, masked regressions between model versions, Simpson's paradox, and how to evaluate per-slice results with honest uncertainty.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why can aggregate metrics hide critical failures that slicing or subgroup analysis would reveal?

For example, a classifier scores well on overall accuracy or AUC on a held-out test set, and a problem with it is only found after launch.

What a Strong Answer Covers Guidance

  • Why a weighted average is dominated by large segments, with a bound on how much a small slice can move it
  • Why the slices that get hidden are often the high-stakes ones
  • How a regression or Simpson's paradox can sit behind an aggregate improvement
  • How to choose slices and read per-slice results with sample sizes and uncertainty
  • How slice metrics become launch criteria

Follow-up Questions Guidance

  • With 200 slices, several will look like regressions by chance. How do you decide which ones are real?
  • How would you find a failing slice that nobody defined in advance?
  • A slice you care about has only 40 examples in the test set. What do you do?
  • Can pooled AUC look good while the model ranks poorly within every slice? How?