How we split recommendations into streams in AI VK

Ivan Vorobyov20 Oct 2026

Problem

VK Video's recommender served several tasks in one request: showing what the user already likes, exploring new interests, exploring new documents and helping small authors. All tasks shared candidate selection, filters and ranking, and were separated only at the final quota blending. Each setting became a compromise between tasks, configuration branched parameter by parameter, and a change to one mechanic had to be rechecked against the others. Experiments on different tasks also competed for the same A/B slots.

Example from the article: Selection by known interests and exploration of new ones shared candidates, filters and ranking, so every setting was a compromise between their different goals.

Solution in brief

Split the request, right after user data collection, into several streams. A stream is a separate pipeline for one task with its own configuration, built from a shared set of components. Results are still merged into one feed by quotas, now per stream as well as per label.

Questions this case answers
  • How to separate tasks with different goals (exploit known interests, explore new ones, support new items and creators) inside one recommendation request so each can be tuned and tested independently
  • How to split a monolithic multi-stage recommender into task-specific pipelines without duplicating code or growing compute cost
  • How to stop one recommender pipeline from serving several different tasks through shared candidates, filters and ranking?
  • How to add a new recommendation mechanic without adding branches to the shared recommender code?

Tools and methods

  • Streams — separate configured pipelines for candidates, filtering and ranking per task or per surface.
  • Pipeline "blocks" — shared components (candidate sources, filters, feature computation) that streams select by configuration.
  • Quota blending — merges stream outputs into one feed, by label or by stream.
  • A/B layers — with local stream settings, experiments on different streams compete for slots less often.
Continue reading — it's free

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