Why Global AUC Misleads for Per-User Feed Ranking

Last updated: November 29, 2026

Quick Overview

A new feed model improves global AUC from 0.80 to 0.82 but online engagement falls. Explain how this can happen and implement group AUC (GAUC) to evaluate it properly.

TikTok
Machine Learning
Machine Learning Engineer
TikTok
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Hard

0

0

0 solved


A new feed model improves global AUC from 0.80 to 0.82 but online engagement falls. Explain how this can happen and implement group AUC (GAUC) to evaluate it properly.

TikTok and other ByteDance ranking teams commonly evaluate with per-user AUC because the feed is ranked within each user's request. Onsite interviewers check whether you understand why global AUC can improve by learning user-level base rates, and can code the fix.

What the Interviewer Expects
  • Explain that global AUC compares items across different users
  • Show how learning user activity levels can raise global AUC without better within-user ranking
  • Define GAUC and its weighting
  • Implement GAUC correctly, skipping users without both labels
  • Discuss other within-request metrics
Key Topics to Cover
GAUC
AUC
ranking evaluation
user-level metrics
feature leakage
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
  • Should GAUC weight users by impressions or equally?
  • Can GAUC also disagree with online results?
  • How would you compute GAUC over billions of rows?
  • What features could inflate global AUC this way?
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

In the feed, the model only needs to order videos within one user's request. Global AUC asks whether a random positive impression from any user scores higher than a random negative from any user, whic...

Approach

Suppose the new model adds a strong user activity feature. Heavy likers get high scores on everything, light users low scores on everything. Globally, positives (mostly from heavy likers) now outrank ...


Submit Your Answer
Markdown supported