KatInterview

Choosing Artwork per Viewer: Designing a Poster Ranking Service

Machine LearningModel answer
MediumModel answerMachine Learningcontextual-banditpersonalizationoff-policy-evaluation

Last updated

Design an ML system that picks which candidate artwork to display for each title and viewer on a video streaming service, covering reward design, exploration, cold start, serving, and evaluation.

Choosing Artwork per Viewer: Designing a Poster Ranking Service

A video streaming service shows a grid of titles (movies and shows) on its browse screen. Every title has several candidate images that could represent it: frames sampled automatically from the video, plus a handful of artwork variants made by editors. Your task is to design a machine learning system that decides, for each viewer and each title on screen, which image to display, with the goal of maximizing real engagement (the viewer opens the title and actually watches it).

Describe the full system: how you frame the problem, which data and labels you use, the model, offline and online evaluation, serving at scale, and production monitoring. Also argue whether the choice should be personalized per viewer or whether a single best image per title is enough.

Assumptions

  • The catalog holds roughly 100,000 titles, each with about 5 to 30 candidate images.
  • There are tens of millions of users, and each page renders many titles at once.
  • The image decision must fit inside the page-render budget: single-digit to low tens of milliseconds for the selection step.
  • New titles and newly generated images arrive continuously, so cold start is a constant issue.
  • The main signal is the click plus the viewing that follows. Clicks alone may not reflect genuine interest.

What to cover

  • Which engagement signal to optimize, and the risks of a coarse signal versus a more nuanced one.
  • Personalized choice versus one global winner per title, and how you would decide.
  • How candidate images are produced and what eligibility rules (editorial, brand, safety) apply.
  • How a brand-new title or image starts to be shown well.
  • Quality and safety guardrails, such as no misleading or inappropriate frames.

Hints

Hint 1

You only see feedback for the image you actually displayed. What does that imply about whether this is plain supervised learning, and what framework fits better?

Hint 2

A click followed by an immediate exit is not success. Think about defining a reward that needs some minimum viewing, and what you would log so that you can later evaluate policies you did not run.

Hint 3

Split the system into batch, near-line and online parts. Precompute image embeddings and priors, update per-image statistics in a stream, and keep the online step to a cheap scoring pass with a safe fallback.