Scaling ML-Based Recommendation Systems for High-Traffic Platforms
summary
Describes a multi-stage pipeline that narrows millions of items to ~10k candidates, ~1k pre-ranked and a final top 50, comparing inverted index and HNSW/ScaNN/FIS for retrieval and XGBoost/LightGBM vs DSSM/BERT-style models for ranking. Claims a two-tower design yields >100x online speedups while preserving ~80% of offline profit and reports up to +100% retrieval uplift from contrastive learning and hard-negative mining. Covers quantization, distillation, federated learning, and concrete metrics like 70% YouTube attribution and NDCG/CTR tradeoffs.
AI-written summary · about
chapters (13)
- 0:00Introduction to ML recommendations
- 1:19Why recommendation systems matter
- 2:00Offline vs online metrics
- 3:45System architecture overview
- 5:56Multi-stage retrieval funnel
- 8:04Candidate generation methods
- 11:16Ranking models and goals
- 13:27Ranking challenges and solutions
- 15:57Hybrid ranking approaches
- 18:08Scaling neural networks for recommendations
- 21:45Scaling limits of recommender systems
- 22:50Future trends in recommendations
- 23:53Summary and closing
