Design Personalized Story Ranking for the Google News For You Section
Last updated: November 29, 2026
Quick Overview
Design the system that ranks news stories in the For You section of Google News for each user. It must balance personal interests with freshness, source diversity and authoritative reporting.
0
0
0 solved
Design the system that ranks news stories in the For You section of Google News for each user. It must balance personal interests with freshness, source diversity and authoritative reporting.
News ranking at Google is judged on quality and trust as much as engagement, so interviewers probe how you combine personalization with authoritativeness and freshness. They check you handle story clustering and fast decay of relevance.
What the Interviewer Expects
- Cluster articles into stories before ranking
- Combine personal interest, freshness and source authority in the score
- Explain fast-moving indexing of new articles
- Enforce diversity across sources and viewpoints
- Pick metrics beyond click-through
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 do you rank a breaking story that has only three articles so far?
- How would you avoid a filter bubble for political topics?
- How do you detect that a user's interest has faded?
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: For You list in the News app and web, 20 to 40 stories per load. Inputs: millions of articles per day from tens of thousands of publishers. Objective: stories the user reads and values, measu...
High-Level Design
- Ingestion: crawl and parse articles, extract entities, topics, language, publish time.
- Story clustering: embed articles and group them into stories with online clustering (nearest centro...