SPRec: Leveraging Self-Play to Debias Preference Alignment for Large Language Model-based Recommendations

Chongming Gao, Ruijun Chen, Shuai Yuan, Kexin Huang, Yuanqing Yu, Xiangnan He · DOI · OpenReview

Introduction

Large Language Models (LLMs) have revolutionized recommendation systems by providing deep contextual understanding of user interactions. However, standard alignment techniques like Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) often introduce significant popularity bias. This "mode-seeking" behavior causes models to over-recommend a narrow set of popular items, creating a "filter bubble" that limits discovery and degrades user experience.

Popularity bias in LLM recommendations, where the model over-suggests sequels and franchise items.

Methodology: The SPRec Framework

To address these biases, we introduce SPRec (Self-Play Recommendation), a novel framework that leverages self-play to adaptively debias LLM recommenders. Unlike traditional methods that require manual rules or external data, SPRec uses the model's own outputs to identify and correct its biases.

The training process is iterative, consisting of two primary steps:

  1. SFT Step: The model is fine-tuned on positive interaction data to learn core user preferences.
  2. DPO Step (Self-Play): The model "plays" against itself. Its own high-probability predictions from the previous iteration are treated as "rejected" samples in the DPO loss function.

By penalizing its own over-confident (and often biased) predictions, the model effectively re-weights the probability distribution, suppressing popular "peaks" and allowing for more diverse recommendations.

Insights into LLM Bias

Research indicates that LLM-based recommenders suffer from two distinct types of bias:

  • Item-Level Bias: A tendency to favor popular franchises or items frequently seen in training data.
  • Token-Level Bias: A preference for titles containing high-frequency tokens, such as the word "The."
Token-level bias, where the model favors titles starting with common tokens like 'The'.

SPRec mitigates both by operating on the sequence-level probability. By penalizing the model's previous top choices, it forces the system to look beyond frequent tokens and popular names to find truly relevant items for the user.

Experimental Results

SPRec was evaluated on four real-world datasets: MovieLens, Steam, Goodreads, and Amazon. The results demonstrate that SPRec significantly improves recommendation quality across multiple dimensions:

  • Diversity: On MovieLens, SPRec achieved a Diversity Ratio (DivRatio) of 0.2806, nearly 50% higher than standard DPO methods.
  • Fairness: In the Steam dataset, the Over-Recommendation Ratio (ORRatio) for the top 3 items was reduced from 39% to 25%, indicating a more equitable distribution of recommendations.
  • Accuracy: Crucially, SPRec maintained or improved accuracy metrics (NDCG and Hit Rate), suggesting that the suppressed popular items were often redundant or less personalized.

Conclusion

SPRec offers a robust, autonomous solution for debiasing LLM-based recommendation systems. By using self-play to identify and penalize its own biases, the model breaks out of popularity-driven filter bubbles while maintaining high recommendation accuracy. Future work will explore integrating these debiasing mechanisms directly into the initial SFT phase and optimizing for long-term user satisfaction.

Summary updated

BibTeX
@inproceedings{gao2024sprec,
  author = {Chongming Gao and Ruijun Chen and Shuai Yuan and Kexin Huang and Yuanqing Yu and Xiangnan He},
  title = {{SPRec: Leveraging Self-Play to Debias Preference Alignment for Large Language Model-based Recommendations}},
  booktitle = {The Web Conference},
  year = {2024},
}
Figure