← Back to System Design Mind Map
中文·English
🏗️ System DesignID: reranking-diversity-dpp

Reranking Diversity & DPP Process

重排多样性与行列式点过程 DPP
🎯Core Definition
Determinantal Point Processes (DPP) is a probabilistic diversity-ranking algorithm applied during the final Re-Ranking stage that rigorously balances individual item Quality against global list Diversity; DPP defines subset selection probabilities proportional to principal minors of a Positive Semi-Definite kernel matrix LL: P(Y)∝det⁡(LY)P(Y) \propto \det(L_Y), parameterized as Lij=qiSijqjL_{ij} = q_i S_{ij} q_j (qiq_i represents quality score, SijS_{ij} measures inter-item similarity); geometrically, det⁡(LY)\det(L_Y) equals the squared volume of the parallelepiped spanned by item vectors, naturally repelling redundant items to sample high-diversity subsets in polynomial time.
💡Use Cases
Social feed de-duplication, e-commerce category dispersion, and playlist sequencing.
⚡Key Problems Solved
Pure CTR sorting packs top ranking slots with homogeneous duplicate items (e.g. 10 identical sneakers), causing user fatigue and filter bubble traps; DPP expands category coverage by 30%+ while preserving 99%+ of expected engagement.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Reranking Diversity & DPP Process.
Use Cases
In production engineering, what are the primary use cases for Reranking Diversity & DPP Process and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive the DPP kernel matrix factorization and the greedy MAP inference via Cholesky updates with O(k2N)O(k^2 N) complexity?
2
Compare DPP vs Maximal Marginal Relevance (MMR) in diversity modeling and global relevance trade-offs?
3
Design a hybrid re-ranking pipeline combining hard sliding-window rules (min gap of 3 per category) with soft DPP diversity?
4
How to quantify recommendation diversity using Intra-List Distance (ILD), Catalog Coverage, Gini Index, and Entropy?
5
How to optimize C++ vectorized linear algebra routines for real-time DPP inference within a 5ms SLA?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "Reranking Diversity & DPP Process"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice ➔
← Previous CardFeature Store Online/Offline ConsistencyNext Card →RecSys Metrics: GAUC & NDCG

🔗 More System Design Knowledge Cards

RecSys Multi-Stage Funnel & 50ms SLADSSM Two-Tower RetrievalYouTube DNN Candidate GenerationPre-Ranking Lightweight Architecture