RPSD: Retrieval-Privileged On-Policy Self-Distillation with Optimal Transport

Dongyue Li, Zebang Cheng, Zhongyi Deng, Hongboxu, Yi Bin, Fei MaarXiv 2026 · arXiv

TL;DR

RPSD (Retrieval-Privileged On-Policy Self-Distillation) is a new training framework that significantly boosts Large Language Model (LLM) performance in sequential recommendation. By using a "privileged" teacher that sees both the correct answer and similar users' behaviors, RPSD provides fine-grained, token-level feedback that helps the model understand why a recommendation is correct, rather than just whether it's right or wrong.

What Problem Does This Paper Address?

While LLMs are excellent at understanding the semantics of items (like movie titles and descriptions), they struggle with two major issues when applied to sequential recommendation:

  1. Credit-Blind Optimization: Standard reinforcement learning (RL) methods like GRPO assign a single reward to an entire generated sequence. This is inefficient because most tokens in a response (e.g., "The recommended movie is...") are just formatting filler. Only a few specific tokens—the ones identifying the item—actually deserve the credit for a successful recommendation.
  2. Collaborative-Blind Supervision: Traditional recommendation systems thrive on "collaborative filtering"—learning from patterns across many similar users. Most LLM-based recommenders, however, only look at a single user's history at a time, ignoring the rich evidence available from how other people with similar tastes behaved.

RPSD tackles these by introducing a training-time "teacher" that uses collaborative evidence to redistribute rewards to the tokens that matter most.

Methods

The core of RPSD is On-Policy Self-Distillation (OPSD). During training, the model plays two roles:

  • The Student: Generates a recommendation based only on the user's history.
  • The Teacher: This is the exact same model, but it is given "privileged" information: the ground-truth next item and "behavioral evidence" retrieved from similar users.
Figure 1: RPSD combines token-level credit assignment with retrieved evidence. (a) Concep- tual differences between RPSD and GRPO. (b) Training reward and token entropy of GRPO and RPSD. (c) Comparison between RPSD and RPSD w/o OT, which only takes the ground-truth item as privileged knowledge of the teacher.

Key Innovations:

  • Temporally Aware Optimal Transport (OT): To find "similar users," the authors don't just look at item overlap. They use OT to align user trajectories, considering both semantic similarity and the temporal order of interactions. This ensures the "evidence" provided to the teacher is highly relevant.
  • Token-Level Credit Assignment: The teacher re-scores the student's generated response. By comparing the teacher's confidence (with privileged info) to the student's confidence (without it), RPSD calculates a weight for every token. This "reshapes" the sparse sequence-level reward into dense, token-specific guidance.
  • Diversity-Aware Selection: When retrieving similar user trajectories, the system specifically picks a diverse set of examples to give the teacher a broader perspective on potential user interests.
Figure 2: Overview of RPSD. The student samples on-policy responses from the original recom- mendation prompt, while a retrieval-privileged teacher re-scores the same trajectory using behavioral evidence only during training to derive token-level credit.

Datasets

The authors evaluated RPSD on three widely used recommendation benchmarks that vary in density and history length:

  • MovieLens-1M: A classic, dense dataset with long user histories.
  • MicroLens: A large, sparse short-video dataset where users have very few interactions.
  • Netflix: A sparse movie recommendation dataset with the shortest average histories, making collaborative evidence particularly crucial.

Key Insights and Ideas

  • Collaborative Filtering as "Privilege": The most striking idea is treating cross-user behavior as a "privileged signal" used only during training. This allows the model to learn collaborative patterns without needing a complex retrieval step during real-time inference.
  • The "Why" Matters: Vanilla distillation usually just tells the model what the right answer is. By including retrieved trajectories, the teacher provides context on why an item fits, grounding the recommendation in actual behavioral patterns.
  • Automatic Annealing: The "teacher-student gap" naturally narrows as the student improves. This means the model receives strong corrections early in training and gentler refinements as it converges, creating stable training dynamics without manual tuning.

Key Results

RPSD achieved state-of-the-art (SOTA) performance across all tested datasets, consistently outperforming both traditional non-LLM models and strong LLM baselines like GRPO.

  • Significant Gains: On the Netflix dataset (the sparsest), RPSD improved HR@3 (Hit Ratio) by nearly 20% over standard GRPO.
  • Better Ranking: The improvements in NDCG (which rewards ranking the correct item higher) were even more pronounced than Hit Ratio, suggesting that token-level credit helps the model distinguish between "good" and "best" candidates more effectively.
  • Efficiency: Because the privileged teacher and retrieval are only used during training, the final deployed model has the same inference speed and cost as a standard LLM.

Limitations and Future Work

  • Retrieval Overhead: While inference is fast, the training process is more complex due to the need to build an evidence index and perform OT-based retrieval for every training step.
  • Domain Sensitivity: Cross-domain experiments showed that the benefits of RPSD depend on how compatible the source and target domains are. If user behaviors in the training set are fundamentally different from the test set, the "privileged evidence" might lead to negative transfer.
  • Future Directions: The authors suggest exploring more complex reasoning steps (like "Chain-of-Thought") within the self-distillation framework to further improve the model's ability to explain its recommendations.

Summary updated

Abstract

Sequential recommendation predicts a user's next interaction from historical behavior. Recent LLM-based methods recast this task as generative recommendation and increasingly adopt reinforcement learning such as GRPO for post-training. However, these methods suffer from two limitations, namely credit-blind optimization, where a sequence-level reward is shared across all generated tokens, and collaborative-blind supervision, where each training signal is derived from a single user and ignores behavioral patterns shared across similar users. To address both issues, we propose Retrieval-Privileged on-policy Self-Distillation (RPSD). For credit-blind optimization, we introduce on-policy self-distillation (OPSD), in which a teacher with privileged knowledge re-evaluates the student's on-policy response, and the token-level confidence difference between the student and teacher reshapes the shared sequence-level advantage into token-specific credit. However, the privileged knowledge in vanilla OPSD is still derived from a single user, leaving collaborative-blind supervision unresolved. We therefore ground the teacher in collaborative behavioral evidence from similar users. Specifically, we use temporally aware optimal transport (OT) to compare interaction trajectories across users by jointly considering item similarity and temporal structure, and further apply diversity-aware selection to retain complementary trajectories as privileged evidence. In this way, on-policy self-distillation provides fine-grained token-level credit, while OT enriches the teacher with structured cross-user evidence. To the best of our knowledge, this is the first work to bring on-policy self-distillation to sequential recommendation and to use cross-user behavior as its privileged signal. Extensive experiments across multiple real-world datasets demonstrate that RPSD achieves state-of-the-art performance.
BibTeX
@misc{li2026rpsd,
  author = {Dongyue Li and Zebang Cheng and Zhongyi Deng and Hongboxu and Yi Bin and Fei Ma},
  title = {{RPSD: Retrieval-Privileged On-Policy Self-Distillation with Optimal Transport}},
  year = {2026},
  eprint = {2610.37281},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.37281},
}
Figure