Rethinking the Comparison Unit in Sequence-Level Reinforcement Learning: An Equal-Length Paired Training Framework from Loss Correction to Sample Construction

📅 2026-04-19
📈 Citations: 0
Influential: 0
📄 PDF

career value

218K/year
🤖 AI Summary
This work addresses a critical optimization bias in sequence-level reinforcement learning arising from the inherent incomparability of response pairs with mismatched lengths. The authors attribute this issue to non-comparable comparison units at the sample construction level and propose EqLen, an equal-length paired training framework. EqLen actively constructs aligned, comparable training segments of uniform length during generation through dual-track synchronous decoding, prefix inheritance, and segment masking. This approach is compatible with existing algorithms such as GRPO, GSPO, and RLOO, effectively mitigating length-induced bias and enabling more stable and efficient sequence-level reinforcement learning.

Technology Category

Application Category

📝 Abstract
This paper investigates the length problem in sequence-level relative reinforcement learning. We observe that, although existing methods partially alleviate length-related phenomena, a more fundamental issue remains insufficiently characterized: the comparison units used during training lack inherent comparability. Building on this observation, we propose a new perspective: the length problem should not be viewed merely as a loss-scaling or normalization bias, but rather as a \emph{comparison unit construction} problem. We further establish a sample-construction-based training framework that, instead of applying post-hoc corrections to unequal-length responses, proactively constructs equal-length, alignable, and comparable training segments during generation. Within this framework, we propose EqLen, a concrete method applicable to group-relative comparison algorithms such as GRPO, GSPO, and RLOO. Through dual-track synchronous generation, prefix inheritance, and segment masking, EqLen efficiently collects effective equal-length training segments and enables stable
Problem

Research questions and friction points this paper is trying to address.

sequence-level reinforcement learning
comparison unit
length problem
relative comparison
training framework
Innovation

Methods, ideas, or system contributions that make the work stand out.

comparison unit construction
equal-length training
sequence-level reinforcement learning
sample construction
EqLen