On Negative-aware Preference Optimization for Recommendation

Chenlu Ding, Daoxuan Liu, Jiancan Wu, Xingyu Hu, Junkang Wu, Haitao Wang, Yongkang Wang, Xingxing Wang, Xiang WangarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) have emerged as powerful tools for recommendation systems, yet they face significant computational challenges during training, particularly in processing negative samples. We present Negative-Aware Preference Optimization (NAPO), a framework designed to enhance the efficiency and accuracy of LLM-based recommenders. NAPO introduces in-batch negative sharing to expand the negative sample pool without additional decoding costs and employs a dynamic reward margin to adaptively weight negative signals based on model confidence. Experimental results across three public benchmarks demonstrate that NAPO achieves up to a 22.63% improvement in ranking accuracy while reducing training time by 15-20% compared to state-of-the-art methods.

Introduction

Large Language Models (LLMs) are the new frontier for recommendation systems, bringing sophisticated reasoning to the task of predicting user preferences. However, training these models to distinguish between positive interactions and negative samples is computationally expensive. Unlike traditional models using simple embeddings, LLMs must "decode" every item based on the user's specific context. Comparing a positive item against multiple negatives leads to a massive spike in memory and compute costs.

Furthermore, current methods like Direct Preference Optimization (DPO) treat all negative samples as equally informative. In reality, "hard negatives"—items similar to a user's interests but not interacted with—provide stronger learning signals than random items. Ignoring this nuance leads to suboptimal ranking and increased popularity bias.

Overview of NAPO performance and mechanisms: (a) Performance/Memory cost, (b-e) evolution of negative sampling strategies, and (f) fixed vs. dynamic reward margins.

Methodology: The NAPO Framework

NAPO addresses these efficiency and quality gaps through three primary innovations:

1. In-batch Negative Sharing

To increase the number of negative samples per training step without a linear increase in compute, NAPO shares calculated log-probabilities of negative items across similar users within the same batch. Instead of re-decoding an item for every user, the model utilizes a lightweight auxiliary model (e.g., SASRec) to identify users with similar interests and "borrows" their negative signals. This creates a large pool of negatives efficiently.

2. Dynamic Reward Margin Adjustment

Standard preference optimization uses a fixed reward margin. NAPO replaces this with a dynamic margin based on the auxiliary model's confidence score. It applies a larger margin to "high-confidence" negatives (clearly irrelevant items) and a smaller, more cautious margin to "low-confidence" or ambiguous negatives, preventing the model from over-penalizing potentially relevant but unseen items.

3. Reference-Free Optimization

Building on the SimPO architecture, NAPO eliminates the need for a reference model during training. This significantly reduces GPU memory usage, allowing for larger batches or more complex models on the same hardware.

Comparison of NAPO with existing preference optimization methods across key dimensions including reference policy, negative sampling strategy, and objective functions.

Experimental Evaluation

The authors evaluated NAPO on three public benchmarks: Goodreads (books), LastFM (music), and Steam (video games). These datasets were preprocessed to ensure high-quality signals for sequential recommendation.

Key Results

  • Superior Accuracy: NAPO consistently outperformed traditional models (SASRec) and LLM-based baselines (S-DPO). On the Steam dataset, it achieved a 22.63% relative improvement in HitRatio@1 over the second-best baseline.
  • Efficiency Gains: By avoiding redundant decodings through in-batch sharing, NAPO reduced training time by 15-20% across all datasets compared to S-DPO.
  • Mitigating Popularity Bias: NAPO demonstrated a significantly better ability to recommend "long-tail" (less popular) items by utilizing a more diverse and weighted set of negatives.

Conclusion

NAPO demonstrates that LLM-based recommendation can be made both more accurate and more efficient by rethinking negative signal processing. By leveraging user similarity for negative sharing and model confidence for dynamic weighting, NAPO achieves state-of-the-art performance while reducing the computational burden of LLM training. Future work will explore robust similarity-guided sharing and multi-modal applications.

Summary updated

BibTeX
@misc{ding2025negative,
  author = {Chenlu Ding and Daoxuan Liu and Jiancan Wu and Xingyu Hu and Junkang Wu and Haitao Wang and Yongkang Wang and Xingxing Wang and Xiang Wang},
  title = {{On Negative-aware Preference Optimization for Recommendation}},
  year = {2025},
  eprint = {2508.09653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09653},
}
Figure