Yijun Pan, Weikang Qiu, Qiyao Ma, Mingxuan Ju, Tong Zhao, Neil Shah, Rex Ying
5 min
Abstract
Modern recommender systems must adapt to dynamic, need-specific objectives for diverse recommendation scenarios, yet most traditional recommenders are optimized for a single static target and struggle to reconfigure behavior on demand. Recent advances in reinforcement-learning-based post-training have unlocked strong instruction-following and reasoning capabilities in LLMs, suggesting a principled route for aligning them to complex recommendation goals. Motivated by this, we study closed-set autoregressive ranking, where an LLM generates a permutation over a fixed candidate set conditioned on user context and an explicit need instruction. However, applying RL to this setting faces two key obstacles: (i) sequence-level rewards yield coarse credit assignment that fails to provide fine-grained training signals, and (ii) interaction feedback is sparse and noisy, which together lead to inefficient and unstable updates. We propose FlexRec, a post-training RL framework that addresses both issues with (1) a causally grounded item-level reward based on counterfactual swaps within the remaining candidate pool, and (2) critic-guided, uncertainty-aware scaling that explicitly models reward uncertainty and down-weights low-confidence rewards to stabilize learning under sparse supervision. Across diverse recommendation scenarios and objectives, FlexRec achieves substantial gains: it improves NDCG@5 by up to \textbf{59\%} and Recall@5 by up to \textbf{109.4\%} in need-specific ranking, and further achieves up to \textbf{24.1\%} Recall@5 improvement under generalization settings, outperforming strong traditional recommenders and LLM-based baselines.
Alex: So an online store could switch from sales to trends mid-day without relearning.
Sam: Yes—the paper shows about twice the recall on key metrics versus baselines. Precise credits and noise handling enable reliable shifts.
Alex: Once you have those item scores, how do they become training updates?
Sam: They generate several lists from the same user prompt—like multiple tries in identical conditions. For each position across lists, they collect swap scores, subtract the average, and divide by the spread for a relative good-or-bad measure. This pooled normalization works separately for items, letting the model learn from each choice clearly. Like ranking players across multiple games in one league for fair baselines.
Alex: And the critic's uncertainty—how does it tweak updates?
Sam: The critic predicts reward and its range for items—wide range means low confidence. For a full list, they sum uncertainties. When comparing lists in a group, noisy ones get less weight via inverse total uncertainty, so reliable signals lead. Low-confidence guesses won't derail learning in sparse data. The paper suggests this stabilizes training notably—unreliable estimates contribute direction but less pull.
Alex: How did they test it in real setups?
Sam: On three datasets: KuaiRec for sparse video watches, MovieLens for movie ratings, and ESCI for product search queries. They tested goals like matching likes, pushing fresh topics, or mixing fit with buzz.
Alex: Everyday shifts—like binge favorites, then new genres or viral hits. What checked list quality?
Sam: Metrics like relevance of top five or ten items, or early favorites. FlexRec beat baselines, about twice as effective at pulling right items quickly, thanks to precise credits and noise handling teaching deep ranking logic. It transfers to new goals without extra training—trained on matching likes, it improves exploration and trends right away. Fine feedback teaches reusable principles like balancing fit and freshness.
Alex: A step up from plain prompts or other fine-tunes for on-the-fly adaptation.
Sam: The evidence points to FlexRec handling shifting needs reliably under sparse data. It outperforms tuned rivals and off-the-shelf LLMs in generalization. Ablations confirm it. Whole-list scores plateau early; swaps keep climbing with position lessons. Skipping uncertainty causes drops; weighting keeps stability. On product data, FlexRec led tuned models by about one-and-a-half times at top relevant picks. The approach transfers without tweaks.
Alex: But limits?
Sam: It does closed-set reranking from a fixed candidate pool. No pulling from vast catalogs or real-time inventory changes—left for future work.
Alex: Solid progress: flexible suggestions via prompts, fixing feedback gaps carefully. Thanks, Sam.
Sam: My pleasure, Alex. This points to more versatile recommenders for dynamic platforms. Thanks for listening to ResearchPod.