Rank Cross-Channel Recommendations for the TV Home Screen
Last updated: November 29, 2026
Quick Overview
Design the ML system that picks and orders movie and show recommendations for a streaming home screen row, where titles come from many partner apps and Roku's own free channel, and success means viewers start watching and keep watching.
Roku
November 29, 20260
0
0 solved
Design the ML system that picks and orders movie and show recommendations for a streaming home screen row, where titles come from many partner apps and Roku's own free channel, and success means viewers start watching and keep watching.
Roku's What to Watch and search surfaces recommend content across partner catalogs, and the engineering blog covers search ranking work. The interviewer checks candidate generation across sources with uneven metadata, a label that resists clickbait, household-level personalization, and serving within TV latency budgets.
What the Interviewer Expects
- Chooses a label beyond click, such as play start followed by meaningful watch time
- Describes multi-source candidate generation and a ranking stage
- Handles shared household profiles and sparse signals for new devices
- Accounts for availability and entitlements (does the household subscribe to that app)
- Covers offline metrics, online A/B tests and business constraints like owned vs partner content
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you avoid the ranker always favoring free content Roku monetizes?
- How do you handle a title available on three apps?
- What features help a brand new device with no history?
- How would you detect and fix position bias in your training data?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Surface: one or more rows on the home screen, about 20 visible titles, refreshed per session. Objective: viewers start a title and watch, say, at least 10 minutes or 25% of runtime. Constraints: title...
High-Level Design
- Content graph: unify titles across providers into canonical entities (match by external ids, title, year, cast), with per-provider availability and price.
- Candidate generation (a few hundred): hou...