VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
D22: AI System Design Bank · Case Study: Short-Video Recommendation Feed — Fresh Retrieval, Multi-Task Ranking and Long-Term Guardrails at Staff Level
Phase 9/Domain 22/Lesson 15

Case Study: Short-Video Recommendation Feed — Fresh Retrieval, Multi-Task Ranking and Long-Term Guardrails at Staff Level

25 min read·Staff+ Tier· Unrolled Pro
Case Study: Short-Video Recommendation Feed — Fresh Retrieval, Multi-Task Ranking and Long-Term Guardrails at Staff Level

You already know: two-tower retrieval and approximate nearest-neighbour search (D4), multi-task learning (D5), the recommendation and search case (staged funnels), and from the ad case that position and feedback loops bias logs. This case adds a feed where every swipe is a signal: a catalogue that grows by millions of uploads a day, signals that arrive in seconds, an objective that is easy to over-optimise, and responsibilities to creators and younger users. The design questions: how to retrieve fresh content, what to optimise, how to build a good slate, and how to know you are not trading next month for today.

How to read this lesson. No code, on purpose. Numbers marked assumed are assumptions you state out loud.


1. The prompt, and the questions that change the design

A mid-level answer: "two-tower retrieval and a ranker that predicts watch time". A staff candidate first asks what success means (minutes today, or people coming back next month), how big and how fresh the catalogue is, which signals exist, and what responsibilities apply to creators, integrity and younger users. Those answers produce a multi-task ranker with long-term guardrails, retrieval that indexes new uploads within minutes, real-time session features, and policy-aware re-ranking.

Assumptions you state:

That's the preview. The full lesson, with its code and exercises, is part of Unrolled Pro.
Staff AI & Pro Tier Lesson

Unlock "Case Study: Short-Video Recommendation Feed — Fresh Retrieval, Multi-Task Ranking and Long-Term Guardrails at Staff Level"

The foundations are free forever. Unrolled Pro unlocks the complete lesson, production architectures, and 55 battle-tested ML system design case studies.

Everything included with Pro:
All 234+ Deep-Dive Lessons across transformer internals, inference, RAG & agents
55 Staff-Level ML & System Design Case Studies with mathematical capacity estimates
AI Engineer Sheet & Exercises with worked solutions, self-checks, and code
100 Landmark Research Papers guided walkthroughs & progress tracking
14-Day Money-Back Guarantee — 100% full refund if you aren't satisfied
View Plans & Unlock All Lessons

From ₹167/mo (~$2/mo) · Cancel anytime · Instant activation

100% Risk-Free: 14-day no-questions-asked money-back guarantee