Structure-aware Relative Policy Optimization for Ranking

Yiteng Tu, Weihang Su, Zitao Su, Yiqun Liu, Min Zhang, Qingyao AiarXiv 2026

TL;DR

Existing reinforcement learning methods for ranking treat entire lists as atomic actions, ignoring the structural relationships and item positions within those lists. This paper introduces Structure-aware Relative Policy Optimization (SRPO), which normalizes reward improvements by a top-weighted permutation distance to favor efficient, local ranking refinements. SRPO achieves superior stability, sample efficiency, and out-of-domain generalization across traditional learning-to-rank and large language model (LLM) reranking tasks.

What Problem Does This Paper Address?

Modern ranking systems (like search engines and recommendation platforms) increasingly rely on reinforcement learning to rank (RLTR) to directly optimize complex, list-level objectives such as user engagement, diversity, or exposure fairness.

However, existing listwise RL methods suffer from a major blind spot: they treat each sampled ranking list (permutation) as an atomic, unstructured output. When calculating policy updates, they compare lists solely based on a single scalar reward.

This "structure-agnostic" approach creates a problem. Imagine two different ranking lists that achieve the exact same reward score. One list might be a minor, elegant tweak of your current policy, while the other is a chaotic, completely reshuffled permutation that happened to get lucky. Standard RL treats both improvements identically. This lack of structural awareness leads to inaccurate credit assignment, high gradient variance, and overly aggressive policy updates that can destabilize training.

Figure 1: An example demonstrates the impact of the ranking structure on the advantage function in RL-based ranking.

Methods

To bridge this gap, the authors propose SRPO, which evaluates reward improvements jointly with the structural distance between permutations.

The core workflow consists of three main steps:

  1. Structure-normalized Preference: For any pair of sampled ranking lists, SRPO calculates their reward difference and divides it by their structural discrepancy. To measure this discrepancy, they use a top-weighted Kendall-tau distance, which penalizes item swaps near the top of the list more heavily than those at the bottom. This captures the "reward improvement per unit of ranking change."
  2. Contrastive Relative Advantage: These pairwise preferences are aggregated across a sampled group using a bounded nonlinear transformation ($\tanh$). This naturally centers the advantages and prevents extreme outliers or noisy samples from causing massive gradient spikes.
  3. Action-level Policy Optimization: Instead of updating the policy based on the entire list as a single action, SRPO decomposes the optimization position-by-position (similar to token-level optimization in LLM alignment), providing finer-grained policy updates.
Figure 2: An illustration of our SRPO and its comparison with GRPO (tailored for ranking in [63]).

Datasets

The authors evaluated SRPO across two distinct paradigms:

  • Learning to Rank (LTR): Evaluated on three widely used benchmarks: MSLR-WEB30K (Fold 1), Istella-S LETOR, and the Yahoo! LETOR Challenge (Set 1).
  • LLM-based Text Reranking: Trained using the E2Rank dataset (87k queries). It was evaluated in-domain on TREC DL 19 and DL 20, and out-of-domain across 7 datasets from the BEIR benchmark (including Covid, NFCorpus, Touche, DBPedia, SciFact, Signal, and News).

Key Insights and Ideas

  • Reward per Unit of Change: By optimizing for reward improvement relative to structural change, the model learns to favor low-risk, high-reward local adjustments over erratic global reshuffling.
  • Regularizing LLM Rerankers: Standard RL optimization on scalar rewards often causes LLMs to overfit to domain-specific ranking patterns. SRPO’s structural constraint acts as an effective regularizer, preserving the LLM's generalized zero-shot capabilities.
  • High Sample Efficiency: While standard policy gradient methods require large batch sizes to combat high variance, SRPO extracts highly informative optimization signals from small sample groups, achieving peak performance with a group size of just $G=8$.

Key Results

  • Traditional LTR: SRPO consistently outperformed strong supervised baselines (like LambdaRank) and state-of-the-art RL methods (like GRPO). For example, on the Yahoo dataset with a group size of $G=8$, SRPO achieved an NDCG@10 of 0.7707, outperforming GRPO (0.7671) and LambdaRank (0.7627).
  • Out-of-Domain Generalization: On the BEIR benchmark, SRPO was the only RL method that improved upon the baseline vanilla LLM reranker's average score (0.5286 vs. 0.5255). All other RL baselines degraded out-of-domain performance due to overfitting.
  • Fairness Optimization: When tasked with balancing relevance and exposure fairness, SRPO Pareto-dominated other methods, converging rapidly to a fairer allocation of exposure without sacrificing ranking utility.

Limitations and Future Work

While highly effective, the authors note a few areas for future exploration:

  • Real-world Feedback: The current experiments rely on simulated listwise rewards derived from candidate-level annotations. Testing SRPO on real-world, noisy online user interaction logs (clicks, dwell time) is a crucial next step.
  • Scalability: Future work will focus on extending the framework to handle partial rankings and scaling up to accommodate significantly larger candidate item spaces.

Summary updated

BibTeX
@misc{tu2026structure,
  author = {Yiteng Tu and Weihang Su and Zitao Su and Yiqun Liu and Min Zhang and Qingyao Ai},
  title = {{Structure-aware Relative Policy Optimization for Ranking}},
  year = {2026},
  eprint = {2607.25268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.25268},
}
Figure