Diagnosing a Model With 0.99 Train AUC and 0.71 Test AUC

Last updated: November 29, 2026

Quick Overview

A teammate's model to predict whether a user will join a suggested Facebook Group shows 0.99 AUC on training data and 0.71 on test. Explain what this indicates and the first steps you would take.

Meta
Machine Learning
Data Scientist
Meta
November 29, 2026
Data Scientist
Phone Screen
Machine Learning
Easy

0

0

0 solved


A teammate's model to predict whether a user will join a suggested Facebook Group shows 0.99 AUC on training data and 0.71 on test. Explain what this indicates and the first steps you would take.

This warm-up checks basic overfitting diagnosis in Meta data science screens. The interviewer wants you to name overfitting, check for split problems, and list practical remedies in a sensible order.

What the Interviewer Expects
  • Identify the large train to test gap as high variance or overfitting
  • Check that the split and features are sound before tuning
  • Suggest regularization and capacity reduction
  • Suggest feature pruning, especially IDs and high-cardinality features
  • Use cross-validation or a validation set for tuning
Key Topics to Cover
Overfitting
Train test gap
Regularization
Model capacity
Validation
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
  • What if the test AUC is also 0.99 next week?
  • Which features would you suspect first?
  • How would more data change the picture?
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 ask the model type (say gradient boosted trees with depth 12), the number of training rows, how train and test were split, and which features are included, especially user or group IDs....

Approach

A gap from 0.99 to 0.71 means the model fits training data almost perfectly but generalizes poorly. That is overfitting: high variance. Before tuning, I would rule out a split problem, since a test se...


Submit Your Answer
Markdown supported