Catching Country-Level Regressions Hidden by a Better Global AUC

Last updated: November 29, 2026

Quick Overview

A new WhatsApp spam classifier improves global AUC from 0.91 to 0.92, yet complaints rise in Indonesia and Brazil. Explain how an aggregate metric can improve while important slices regress, and how you would evaluate to catch it.

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

0

0

0 solved


A new WhatsApp spam classifier improves global AUC from 0.91 to 0.92, yet complaints rise in Indonesia and Brazil. Explain how an aggregate metric can improve while important slices regress, and how you would evaluate to catch it.

Meta products serve very different populations, and aggregate metrics are dominated by the largest markets. The interviewer checks whether you know slice-based evaluation, mix effects in pooled metrics, and how to set launch guardrails per slice.

What the Interviewer Expects
  • Explain that pooled AUC mixes within-slice ranking with between-slice score shifts
  • Recommend per-slice metrics with confidence intervals
  • Pick slices by market, language, device and account age
  • Define guardrails that block launch on material slice regressions
  • Discuss sample size limits for small slices
Key Topics to Cover
Slice-based evaluation
Simpson's paradox
Pooled metrics
Launch guardrails
Fairness across markets
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 do you avoid a forest of false alarms when checking hundreds of slices?
  • Could global AUC rise while every country's AUC falls?
  • How would you pick which slices are launch blocking?
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 how labels are produced in each market (user reports vary by culture), the share of traffic per country, and whether thresholds are global or per country. A global threshold makes slic...

Approach

Pooled AUC compares every positive against every negative across all countries. If the new model shifts scores so that, say, Indian spam scores higher than Brazilian legitimate messages, pooled AUC ri...


Submit Your Answer
Markdown supported