← Back to System Design Mind Map
⚡Flashcard Drill➔
🏗️ System DesignID: recsys-offline-metrics

RecSys Metrics: GAUC & NDCG

推荐离线指标 GAUC 与 NDCG
🎯Core Definition
RecSys Offline Evaluation Metrics quantify ranking quality, personalization accuracy, and relevance fidelity before pushing model candidates online; the two flagship metrics are: 1) GAUC (Group Area Under ROC Curve, weighted by user impression volume wuw_u): GAUC=∑uwu⋅AUCu∑uwu\text{GAUC} = \frac{\sum_{u} w_u \cdot \text{AUC}_u}{\sum_{u} w_u}, measuring intra-user personalization ranking ability; 2) NDCG@K (Normalized Discounted Cumulative Gain): NDCG@K=DCG@KIDCG@K\text{NDCG@K} = \frac{\text{DCG@K}}{\text{IDCG@K}}, where DCG@K=∑i=1K2ri−1log⁡2(i+1)\text{DCG@K} = \sum_{i=1}^K \frac{2^{r_i} - 1}{\log_2(i + 1)}, rewarding highly relevant items positioned near top ranking slots via logarithmic position discounting.
💡Use Cases
Offline model validation, hyperparameter tuning, and checkpoint candidate screening for online deployment.
⚡Key Problems Solved
Global AUC is heavily distorted by cross-user baseline CTR disparities (models can score high Global AUC purely by separating active users from inactive users while failing intra-user ranking completely); GAUC isolates true per-user personalization power.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of RecSys Metrics: GAUC & NDCG.
Use Cases
In production engineering, what are the primary use cases for RecSys Metrics: GAUC & NDCG and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive mathematically why Global AUC suffers cross-user bias and demonstrate cases where Global AUC rises while GAUC drops?
2
Derive NDCG@K, DCG@K, and IDCG@K formulas, explaining the psychological grounding of logarithmic position discount log⁡2(i+1)\log_2(i+1)?
3
How should users with only positive (all-click) or only negative (zero-click) labels be filtered/handled when aggregating GAUC?
4
Compare MRR (Mean Reciprocal Rank) vs MAP (Mean Average Precision) across single-positive vs multi-positive recommendation tasks?
5
Why is a +0.005 GAUC improvement considered a massive production milestone directly driving millions in revenue?
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "RecSys Metrics: GAUC & NDCG"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardReranking Diversity & DPP ProcessNext Card →Online A/B Testing & Interleaving

🔗 More System Design Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/System_Design/card/recsys-offline-metrics