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
November 29, 20260
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
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- 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 PrepSample 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...