Design Memories Highlight Selection for Google Photos

Last updated: November 29, 2026

Quick Overview

Design the system that picks which photos and which past dates to turn into Memories cards at the top of Google Photos. The cards should feel meaningful and must avoid painful or low-quality content.

Google
ML System Design
Machine Learning Engineer
Google
November 29, 2026
Machine Learning Engineer
Technical Screen
ML System Design
Easy

0

0

0 solved


Design the system that picks which photos and which past dates to turn into Memories cards at the top of Google Photos. The cards should feel meaningful and must avoid painful or low-quality content.

A friendly but product-sensitive prompt for Photos teams: the ML is approachable, and the interviewer watches for user-trust judgment about sensitive memories and on-device privacy. They want quality scoring, deduplication and a feedback loop.

What the Interviewer Expects
  • Score photos for aesthetic quality and meaningfulness
  • Remove near-duplicates and screenshots
  • Handle sensitive content and user hide controls
  • Use user feedback (views, shares, hides) as labels
  • Keep privacy and on-device constraints in mind
Key Topics to Cover
Image quality scoring
Near-duplicate removal
Sensitive content
Implicit feedback
Privacy
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you avoid showing an ex-partner after a breakup?
  • How do you rank a day with 400 photos down to 8?
  • What would you compute on-device versus on the server?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Output: each day, a few Memory cards (for example 'Two years ago', 'Trip to Kyoto'), each with 5 to 15 photos. Objective: users view and share them, few hides. Constraints: never surface screenshots, ...

High-Level Design
  1. Candidate events: group photos by time and location into events; candidates are events from this date in prior years, trips, and people-centric themes.
  2. Photo scoring: a quality model (sh...

Submit Your Answer
Markdown supported