RL RecSys in Production: Hype or a Long Game

Oleg Lashinin14 Feb 2025

Problem

The T-Bank mobile app has a cashback feed with partner offers. The team wanted to show the offers a user most likely wants, and also to plan a long-term path: a video service today, plane tickets later, restaurants on the trip. A next-click model would not recommend the video service, so the team tried bandits and reinforcement learning (RL) against a tuned gradient-boosting ranker (LGBMRanker). Each variant had to beat boosting on clicks and on the main business metric, the cashback amount, in an A/B test of at most one month.

Example from the article: a user sees a video service in the feed, watches a film, later gets cashback on plane tickets, then on restaurants during the trip.

Solution in brief

Three approaches were tested against the boosting ranker: contextual bandits (Mab2Rec), SASRec with an RL component, and the offline RL model TD3+BC trained on feed actions. Only TD3+BC raised clicks and cashback (+3.6%). It was not deployed because a parallel experiment with a better boosting model did even better.

Questions this case answers
  • How to improve a production ranker with offline reinforcement learning when a tuned gradient-boosting model is the baseline and one reward per interaction is available
  • How to measure the value of exploration at the system level when treatment and control groups write to the same training log
  • How to choose the duration of an experiment that tests long-term optimization when the outcome unfolds over an unknown number of weeks
  • How to rank a feed of partner offers so that users take more offers over the long term, not only click now?

Tools and methods

  • Gradient boosting (LGBMRanker) — baseline ranker over BERT4Rec, MultiVAE and DSSM signals
  • Mab2Rec contextual bandit — epsilon-greedy, 5% random sampling
  • SASRec + RL — next-item model with an added RL term, fed into boosting as one feature
  • TD3+BC — offline RL policy over BERT4Rec-based user state
  • A/B test — compares each variant with boosting
Continue reading — it's free

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