QLPO: Quadrant-weighted Sampling for Length-aware Policy Optimization

Siwei Chen, Siqi Chen, Xupeng Miao, Bin Cui
7/23/2026
cs.AI
rl

No confident code implementation found for this paper.

Abstract

Recent large reasoning models often develop long chain-of-thought responses during reinforcement learning (RL), resulting in high inference latency and deployment cost. Existing methods for response length control typically rely on explicit length penalties or additional control modules, which require careful tuning and may compromise reasoning quality.

Show full abstract

We propose Quadrant-weighted Sampling for Length-aware Policy Optimization (QLPO), a simple resampling-based variant of GRPO that introduces implicit length control without modifying the reward function. QLPO first over-generates candidate responses and then resamples the training group by preserving the empirical correct/incorrect ratio while favoring short correct responses and long incorrect responses. This reshapes the training distribution and implicitly encourages shorter model outputs. Across models ranging from 1.5B to 32B parameters, including both base models and strong reasoning models, QLPO consistently improves the accuracy-length trade-off. It reduces response length by 30% to 70% while preserving reasoning performance. These results suggest that structured resampling provides an effective and robust approach to efficient reasoning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026qlpo,
  title  = {QLPO: Quadrant-weighted Sampling for Length-aware Policy Optimization},
  author = {Siwei Chen and Siqi Chen and Xupeng Miao and Bin Cui},
  year   = {2026},
  eprint = {2607.21793},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.21793v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.21793.svg)](https://codeofpaper.com/paper/2607.21793)

Discussion