Problem
A music or video service wants more likes, retention and listening time over a long horizon (a year), but its candidate generator learns to predict the next item the user will interact with. The two goals differ: every recommendation changes the user's state, and a greedy choice ignores what comes after it. Offline training is hard: the logs come from the production policy, and every on-policy step would cost live traffic.
Example from the article: VK trains a music candidate generator on the public Yambda-5B dataset (five billion interactions) with a reward made of the like and the listening ratio.
Solution in brief
Treat a recommendation session as a reinforcement learning trajectory and train the candidate generator with off-policy REINFORCE on logs. The importance weight keeps the next action ratios, not one and not all, and is clipped. A learned user model feeds a doubly robust estimator that scores the policy offline. All evidence in the article is offline.
Questions this case answers
- How to train a retrieval model for long-horizon user value when only logs from a different, unknown policy are available and the online test is too expensive to use for every training step
- How to estimate the multi-step value of a new decision policy offline when the logging policy is not recorded and importance weights explode
- How to train a candidate generator to maximize a user's reward over a whole session instead of the next like?
- How to correct for the gap between the logging policy and the new policy when training on logs only?
Tools and methods
- Off-policy REINFORCE — trains the target policy on logged sessions with importance weights.
- Two-tower candidate generator — causal transformer user tower, MLP item tower, dot-product scores.
- Behavior policy estimate — frozen copy of the logging model, used only for importance weights.
- User feedback model — causal transformer that predicts like and listening ratio, used by DM and DR.
- Step-IS, DM and DR estimators — offline estimates of session reward.
Google or a one-time email code. No password.