Cold start in ranking systems
I was asked this
No reports yet. Sign in to say where you were asked it.
An AI/ML design interview question asked in Google's first round (coding), last asked Mar 2026. It tests ranking, cold start and recommendations.
A ranking system (a feed, a store, search results) learns mostly from interactions: clicks, views, purchases. How do you rank items that are brand new and have no interactions yet, and how do you serve a new user with no history? Discuss the options, how the system moves from cold to warm signals, and how you would measure whether it works.
Requirements
- New items: give them enough exposure to learn their quality quickly, without hurting the experience of users who see weak ones.
- New users: produce a reasonable first ranking from whatever is known at sign-up (context, device, location, stated interests, the entry point).
- Transition: blend in behavioural signals as they arrive, without a sudden jump in rankings.
- Measurement: show the cold-start strategy helps both the new items or users and the overall system.
Clarifying questions
- What is being ranked, and how fast do new items arrive relative to the catalogue?
- What content and metadata do new items have (text, images, category, creator)?
- What is known about a new user at sign-up?
- What is the main objective: engagement, conversion, long-term retention, creator fairness?
- How much traffic can be spent on exploration?
What a strong answer covers
- Content-based features for items (text and image embeddings, category, creator history) so a model trained on warm items can score cold ones; two-tower models whose item tower runs on content.
- Priors and smoothing: start an item's click rate at the category's average and shrink toward its own data as impressions grow (Bayesian or empirical-Bayes estimates).
- Exploration: a reserved share of impressions for new items, chosen with bandits (Thompson sampling, UCB) rather than at random; boosts that decay with age or impressions.
- New users: popular and trending items by context, onboarding questions, session-based models that adapt within the first few interactions, and lookalike users.
- Moving from cold to warm: features that encode confidence (impression counts), so the model itself learns how much to trust early signals.
- Measurement: A/B tests on new-item exposure and time to reach a stable estimate, new-user retention and early engagement, and guardrails on overall quality; watch for exploration making the experience worse.
Follow-ups
- A creator games the boost by re-uploading the same item as new. What do you do?
- How do you evaluate cold-start offline when your logs only contain items the old system chose to show?
- Exploration costs revenue. How do you decide how much to spend?
- A new market launches with no users at all.
Where it's asked
- Google · First round: coding · Last asked Mar 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI
What it tests
ranking · cold start · recommendations
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
