English

Objective Shaping with Hard Negatives: Windowed Partial AUC Optimization for RL-based LLM Recommenders

Information Retrieval 2026-04-27 v1

Abstract

Reinforcement learning (RL) effectively optimizes Large Language Model (LLM)-based recommenders by contrasting positive and negative items. Empirically, training with beam-search negatives consistently outperforms random negatives, yet the mechanism is not well understood. We address this gap by analyzing the induced optimization objective and show that: (i) Under binary reward feedback, optimizing LLM recommenders with Group Relative Policy Optimization (GRPO) is theoretically equivalent to maximizing the Area Under the ROC Curve (AUC), which is often misaligned with Top-KK recommendation; and (ii) Replacing random negatives with beam-search negatives reshapes the objective toward partial AUC, improving alignment with Top-KK metrics. Motivated by this perspective, we introduce Windowed Partial AUC (WPAUC), which constrains the false positive rate (FPR) to a window [α,α+d\alpha,\alpha+d] to more directly align with Top-KK metrics. We further propose an efficient Threshold-Adjusted Windowed reweighting (TAWin) RL method for its optimization, enabling explicit control over the targeted Top-KK performance. Experiments on four real-world datasets validate the theory and deliver consistent state-of-the-art performance.

Keywords

Cite

@article{arxiv.2604.22504,
  title  = {Objective Shaping with Hard Negatives: Windowed Partial AUC Optimization for RL-based LLM Recommenders},
  author = {Wentao Shi and Qifan Wang and Chen Chen and Fei Liu and Dongfang Liu and Xu Liu and Wanli Ma and Junfeng Pan and Linhong Zhu and Fuli Feng},
  journal= {arXiv preprint arXiv:2604.22504},
  year   = {2026}
}

Comments

21 pages

R2 v1 2026-07-01T12:33:46.309Z