Predict Long-Term Google Photos Retention From a Two-Week Test

Last updated: November 29, 2026

Quick Overview

A Google Photos change can only run for two weeks before launch, but the goal is 12-month retention. Design a surrogate index that predicts the long-term effect from short-term metrics, and explain when it can be trusted.

Google
Analytics & Experimentation
Data Scientist
Google
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


A Google Photos change can only run for two weeks before launch, but the goal is 12-month retention. Design a surrogate index that predicts the long-term effect from short-term metrics, and explain when it can be trusted.

Google teams routinely need long-term answers from short experiments. The interviewer is checking whether you know surrogate index methods, the surrogacy assumption, and how to validate surrogates with past experiments that have long-term holdouts.

What the Interviewer Expects
  • Explains why a single short-term metric is a weak proxy
  • Builds a surrogate index: predict long-term retention from many short-term metrics on historical data
  • States the surrogacy assumption: treatment affects the long-term outcome only through the surrogates
  • Validates the index on past experiments with long-term holdouts
  • Quantifies prediction uncertainty in the long-term estimate
Key Topics to Cover
surrogate index
long-term effects
surrogacy assumption
holdout validation
prediction models
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • What kind of treatment would violate the surrogacy assumption?
  • How many past experiments do you need to validate the index?
  • Should the index be trained on observational data or experiment data?
  • How would you combine the surrogate estimate with a small long-term holdout?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify
  • Primary long-term goal: 12-month retention (active in month 12).
  • Available in two weeks: days active, photos backed up, Memories views, shares, searches, edit sessions, and storage changes.
  • Hist...
Approach
  1. Train: on historical users (not treated), fit m^(S)=E[Y12∣S1,…,Sk,X]\hat m(S) = E[Y_{12} \mid S_1, \ldots, S_k, X], where SS are two-week behaviors and XX are pre-period covariates. Use gradient boosting or a re...

Submit Your Answer
Markdown supported