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:
- 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.
- 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.
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.
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