Estimating Classifier Precision From Stratified Human Review Samples

Last updated: November 29, 2026

Quick Overview

A Facebook integrity model flags 10,000 posts per day, split into a high-score and a low-score band, and reviewers only label 100 from each band. Explain how to estimate overall precision correctly and why the naive average is wrong.

Meta
Machine Learning
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Machine Learning
Hard

0

0

0 solved


A Facebook integrity model flags 10,000 posts per day, split into a high-score and a low-score band, and reviewers only label 100 from each band. Explain how to estimate overall precision correctly and why the naive average is wrong.

Meta cannot label everything, so integrity metrics are estimated from stratified samples of reviewer decisions. The interviewer checks that you weight strata properly, compute uncertainty, and spot the bias in naive pooling.

What the Interviewer Expects
  • Recognize that equal samples from unequal strata need weighting
  • Compute the weighted precision estimate with stratum sizes
  • Give a variance or interval for the stratified estimate
  • Discuss reviewer error and label noise
  • Suggest a sampling allocation that reduces variance
Key Topics to Cover
Stratified sampling
Weighted estimation
Precision
Human labels
Variance
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you allocate 200 reviews across strata to minimize variance?
  • How would you estimate recall when unflagged content is 1,000 times larger?
  • What if reviewers disagree on 15% of items?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

I would confirm stratum sizes (here 1,000 high-score and 9,000 low-score flags), how items were sampled within each band (uniformly at random), and whether reviewer labels are a single decision or adj...

Approach

Each stratum's sample precision estimates that stratum's true precision. Overall precision is the size-weighted average, because each stratum contributes its own count of true positives. Naively pooli...


Submit Your Answer
Markdown supported