Problem
A recommender trained on logged interactions learns from a history that its own earlier recommendations shaped. It rarely shows topics outside a user's past interests, and a new item has no history to learn from. VK needed to promote games and stickers in the "Services" tab of its mobile apps. Showing weak new items wastes attention. Never showing them keeps promising ones hidden.
Example from the article: a horizontal scroll widget on the Services tab recommends games and stickers, and each game or sticker pack is one arm of the bandit.
Solution in brief
Treat every recommendable item as an arm of a contextual bandit. Fit a Bayesian logistic regression on user features per arm and approximate its posterior with a normal distribution (Laplace approximation). At request time, sample parameters from each posterior and show the highest-scoring arm (Thompson sampling). New items first get quasi-random exposure across diverse contexts.
Questions this case answers
- How to choose which item to show each user when an offline-trained model sees only feedback produced by its own earlier choices and new items have no history
- How to add user features to a Bayesian bandit when no conjugate prior exists and segment-by-segment statistics are too sparse
- How to recommend new items that have no interaction history without hurting user experience?
- How to balance showing proven items against testing new ones in a recommendation widget?
Tools and methods
- Thompson sampling — picks arms by sampling from posteriors, so uncertain arms still get exposure.
- Bayesian logistic regression with Laplace approximation — one model per arm, updated in batches.
- Interest clusters — user features from clustering community embeddings with an adaptive EM algorithm.
- Weighted likelihood — one model learns from signals of different strength.
- Quasi-random sampling — gives new items diverse contexts before they join Thompson sampling.
Google or a one-time email code. No password.