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

*Wentao Shi, Qifan Wang, Chen Chen, Fei Liu, Dongfang Liu, Xu Liu, Wanli Ma, Junfeng Pan, Linhong Zhu, Fuli Feng*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155962) · [Open on the map](../papers.html#p155962)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Reinforcement Learning for LLM Reasoning](../pgroup/374.md) · Type: new method · Keywords: RL for recommenders, partial AUC, hard negatives, Top-K optimization, LLM recommendation

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Policy Optimization › LLM Policy Optimization

## Summary
The paper introduces WPAUC and TAWin, a windowed partial AUC optimization and threshold-adjusted windowed reweighting method that aligns RL-based LLM recommenders with Top-K metrics.

## Explained to a 5-year-old
A robot helper suggests things you might like to watch or buy. It learns by seeing which items people choose as good and which they ignore. Sometimes the robot picks random things to compare, but using harder examples helps it learn faster. The researchers looked at how this learning works and found that the usual way of learning aims at a measure called AUC, which doesn't always match what we care about. To make the robot focus on the top few recommendations, they added a rule that limits how many wrong suggestions it can make.

## Explained to a 5-year-old, longer
Imagine a robot helper that suggests things you might like to watch or buy. It learns by seeing which items people choose as good and which they ignore. Sometimes the robot picks random things to compare, but using harder examples (things it almost gets right) helps it learn faster. The researchers looked at how this learning works and found that the usual way of learning aims at a measure called AUC, which doesn't always match what we care about. They discovered that using smarter negatives changes the learning goal toward something called partial AUC. To make the robot focus on the top few recommendations, they added a rule that limits how many wrong suggestions it can make. They also created a new way to adjust the learning so the robot can control how well it ranks the top items. Tests on real data show the new method works better than before. This means users get more useful suggestions, and the robot can be trained more efficiently. The new ideas help make recommendation systems more accurate and easier to improve.

## For a technical reader
The paper analyzes how RL training for LLM recommenders currently maximizes AUC, which is misaligned with Top-K performance. It shows that using beam-search negatives shifts the objective toward partial AUC and proposes a windowed false-positive-rate constraint with a threshold-adjusted reweighting scheme to directly optimize Top-K metrics. Experiments on real-world datasets confirm the improvements.

## Problem
Optimizing LLM-based recommenders with RL often maximizes AUC, which does not align with Top-K recommendation performance, and the effect of using hard negatives (e.g., beam-search) on the objective is not well understood.

## Method
The approach analyzes the optimization objective of RL recommenders, shows that using beam-search negatives shifts the objective toward partial AUC, and proposes a windowed false-positive-rate constraint combined with a threshold-adjusted reweighting scheme to directly optimize Top-K metrics.

## Results
The approach achieves state-of-the-art performance across multiple real-world datasets, confirming the theoretical analysis.

## Contributions
The paper provides a theoretical analysis linking RL objective to AUC and partial AUC, demonstrates the impact of hard negatives, and proposes a windowed FPR constraint with threshold-adjusted reweighting to directly optimize Top-K metrics.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155962)
