Machine Learning in Online Cinemas: How to Increase Watch Time and Understand That ML Alone Is Not Enough. Part 1

Aleksey Zhiryakov25 Oct 2024

Problem

A video service must build a personal home page for every user, at more than 600 requests per second and about 160 ms per response. The page is made of more than a thousand shelves. Manual shelves "blink" when licenses expire and titles drop out, and editorial rules still have to hold. The team wants more watch time per user (TvTu), conversion to conscious viewing and retention, and must prove each ML step in an experiment.

Example from the article: On KION's banner carousel, several A/B series were won by a mix: editors keep the first five movie banners on the main screen and ML fills the rest.

Solution in brief

A single service (Blender) assembles the page from ML-ranked shelves and then applies about 50 business rules. ML only reorders existing shelves and titles. Each ML touchpoint passes an A/B test before rollout, and editors keep fixed slots where tests favored them.

Questions this case answers
  • How to serve a personalized ranked page of curated content blocks per request under a tight latency budget while hard business constraints still apply
  • How to decide how many slots of a ranked list stay editorial and how many go to a model, using online experiments
  • How to represent the rise and fall of item popularity as model features for a ranking model
  • How to build a personal storefront for every user at 600+ requests per second without serving a cached page?

Tools and methods

  • Blender and Media Gateway — one service builds the page and applies rules, the other adds images, ratings and purchase marks
  • Auto-shelves — editors write rules, a service fills shelves and updates them when a title arrives through Kafka
  • Gradient boosting (CatBoost) — ranks banners from viewing, novelty, trend and impression-penalty features
  • DSSM — neural model for the movie-page shelves
  • A/B and A/B/C experiments — gate every ML touchpoint
Continue reading — it's free

Google or a one-time email code. No password.