Spotting Label Leakage in a Facebook Groups Churn Model

Last updated: November 29, 2026

Quick Overview

A model predicting whether a Facebook Group admin will stop moderating in the next 30 days reaches 0.98 AUC. Walk through how you would find out whether features are leaking the label.

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

0

0

0 solved


A model predicting whether a Facebook Group admin will stop moderating in the next 30 days reaches 0.98 AUC. Walk through how you would find out whether features are leaking the label.

Suspiciously good offline numbers are a classic Meta interview scenario. The interviewer wants a systematic leakage audit: feature timestamps, proxies of the outcome and validation design.

What the Interviewer Expects
  • Treat implausibly high performance as a bug to investigate
  • Check feature computation times against the prediction time
  • Look for features that are proxies or consequences of the label
  • Use single-feature models and importance to find culprits
  • Rebuild features point in time and re-validate on a later period
Key Topics to Cover
Label leakage
Point-in-time features
Feature audit
Validation design
Churn prediction
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
  • Which features would you guess are leaking before looking?
  • How do you prevent leakage in a feature store used by many teams?
  • What if removing the leak drops AUC to 0.62?
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 the prediction time (for example, each Monday), the label definition (no moderation actions in days 1 to 30 after that Monday), and where each feature comes from. Leakage is about info...

Approach

Assume leakage until proven otherwise. Work from the most suspicious features down: sort by importance, train one-feature models and see which alone gives very high AUC, then inspect how each is compu...


Submit Your Answer
Markdown supported