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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Shi, Wentao, Wang, Qifan, Chen, Chen, Liu, Fei, Liu, Dongfang, Liu, Xu, Ma, Wanli, Pan, Junfeng, Zhu, Linhong, Feng, Fuli
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917433371000832
author Shi, Wentao
Wang, Qifan
Chen, Chen
Liu, Fei
Liu, Dongfang
Liu, Xu
Ma, Wanli
Pan, Junfeng
Zhu, Linhong
Feng, Fuli
author_facet Shi, Wentao
Wang, Qifan
Chen, Chen
Liu, Fei
Liu, Dongfang
Liu, Xu
Ma, Wanli
Pan, Junfeng
Zhu, Linhong
Feng, Fuli
contents 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-$K$ recommendation; and (ii) Replacing random negatives with beam-search negatives reshapes the objective toward partial AUC, improving alignment with Top-$K$ metrics. Motivated by this perspective, we introduce Windowed Partial AUC (WPAUC), which constrains the false positive rate (FPR) to a window [$α,α+d$] to more directly align with Top-$K$ metrics. We further propose an efficient Threshold-Adjusted Windowed reweighting (TAWin) RL method for its optimization, enabling explicit control over the targeted Top-$K$ performance. Experiments on four real-world datasets validate the theory and deliver consistent state-of-the-art performance.
format Preprint
id arxiv_https___arxiv_org_abs_2604_22504
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Objective Shaping with Hard Negatives: Windowed Partial AUC Optimization for RL-based LLM Recommenders
Shi, Wentao
Wang, Qifan
Chen, Chen
Liu, Fei
Liu, Dongfang
Liu, Xu
Ma, Wanli
Pan, Junfeng
Zhu, Linhong
Feng, Fuli
Information Retrieval
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-$K$ recommendation; and (ii) Replacing random negatives with beam-search negatives reshapes the objective toward partial AUC, improving alignment with Top-$K$ metrics. Motivated by this perspective, we introduce Windowed Partial AUC (WPAUC), which constrains the false positive rate (FPR) to a window [$α,α+d$] to more directly align with Top-$K$ metrics. We further propose an efficient Threshold-Adjusted Windowed reweighting (TAWin) RL method for its optimization, enabling explicit control over the targeted Top-$K$ performance. Experiments on four real-world datasets validate the theory and deliver consistent state-of-the-art performance.
title Objective Shaping with Hard Negatives: Windowed Partial AUC Optimization for RL-based LLM Recommenders
topic Information Retrieval
url https://arxiv.org/abs/2604.22504