Manuscript Offprint

arXiv:2610.25092

Conformal Prediction-Enabled Sequence-level Policy Optimization for Reasoning Language Models

Hui Yang, Wan Tian, Tao Ren, Zhongyi Li, Yijie Peng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Reinforcement learning improves the reasoning capability of large language models through verifiable rewards for mathematical and coding tasks. In token-level methods such as GRPO, clipping acts on individual token ratios while the reward and advantage apply to a complete response. Recent sequence-level methods align these units but still use fixed clipping bands, whose tail probabilities change as the score distribution evolves. We propose Conformal Prediction-Enabled Sequence-level Policy Optimization (CSPO), which adaptively calibrates sequence-level clipping bounds using recent training statistics. The resulting band targets a specified marginal tail budget and adapts to policy drift; calibration conditional on response length requires additional assumptions. We bound the probability that a fresh score falls outside the band by the target miscoverage level plus explicit CDF discrepancy and drift terms. Under additional moment conditions, this bound also controls the objective and gradient error relative to the unclipped GSPO power surrogate. Experiments with the Qwen3-1.7B series show improvements over GSPO on difficult mathematical reasoning benchmarks and ALFWorld, with clipping endpoints that adapt during training.

1 INTRODUCTION

Reinforcement learning from feedback has become a key component of large language model post-training. Early reinforcement learning from human feedback (RLHF) pipelines optimize policies against learned reward models derived from human preferences, enabling instruction-following and preference alignment beyond supervised fine-tuning (Christiano et al., 2017; Stiennon et al., 2020; Ouyang et al., 2022; Bai et al., 2022). More recently, reinforcement learning with verifiable rewards (RLVR) has emerged as an especially effective paradigm for reasoning tasks, where correctness can often be automatically checked by final-answer matching, symbolic verification, unit tests, or external graders. Such rewards have enabled large-scale reasoning-oriented post-training, as exemplified by recent reasoning models and open RL systems (Guo et al., 2025; Wen et al., 2025; Yu et al., 2025). In this setting, the reward is naturally defined at the sequence level: a complete solution is judged by whether the final answer and, in some cases, the reasoning trajectory satisfy the verification criterion.

Most RL post-training methods build on trust-region policy optimization. TRPO constrains the policy update through a KL trust region, while PPO replaces the hard constraint with a clipped surrogate objective that is simpler and more scalable (Schulman et al., 2015; 2017). Clipping limits the incentive to move probability ratios away from one, reducing the risk of overfitting sampled trajectories during repeated optimizer updates. For language models, GRPO simplifies PPO by removing the learned value function and estimating advantages through group-relative rewards, which substantially reduces memory and implementation complexity for long-context reasoning (Shao et al., 2024). However, GRPO inherits a token-level clipping design: each token ratio is clipped separately,

∗^{*} Equal contribution.

†^{\dagger} Corresponding author: pengyijie@nju.edu.cn.

∗^{*} Email to: yanghui6@stu.pku.edu.cn.

while the advantage is typically a response-level scalar shared by all tokens in the completion. This creates a mismatch between the token-level control variable and the sequence-level reward signal.

A natural response to this mismatch is to optimize at the sequence level. GSPO constructs a response-level power multiplier from the likelihood ratio of the whole generated sequence and performs sequence-level clipping, rewarding, and optimization (Zheng et al., 2025). This aligns the unit of policy correction with the unit of reward and avoids treating individual tokens as independently rewarded decisions. Yet sequence-level clipping introduces a new challenge: the sequence log-ratio is a sum over tokens, so its scale depends strongly on the response length. FSPO identifies this length fairness issue and clips the sequence log-importance ratio with a band that scales as L\sqrt{L}, where L is the output length (Mao et al., 2025). This is an important step toward fair sequence-level RL, but the clipping width remains determined by fixed hyperparameters. In long-chain-of-thought RL, the distribution of log-ratios can vary substantially across training stages as the policy improves, the entropy changes, and the model discovers new reasoning strategies. A fixed clipping band may be too conservative during exploration, suppressing rare but valuable responses, and too loose during unstable phases, allowing harmful updates.

We therefore calibrate the clipping band from recent policy shifts to target a specified marginal tail probability. This lets the numerical width change with the score distribution. Conformal prediction motivates this approach: empirical quantiles define intervals with controlled miscoverage under exchangeability, and adaptive conformal methods address calibration under distribution shift (Vovk et al., 2005; Shafer & Vovk, 2008; Angelopoulos & Bates, 2023; Gibbs & Candès, 2021). We use quantile calibration to select the sequence-level clipping band. Because training reuses data and changes the policy, our bounds explicitly retain CDF discrepancies and local drift. They are marginal over the response-length distribution; normalization by L alone does not imply calibration conditional on length.

We propose Conformal prediction-enabled Sequence-level Policy Optimization (CSPO). Before each training step, CSPO uses a rolling buffer of retained training scores W=exp⁡(S/L)W = \exp(S/L), where S=log⁡[πθ(y∣x)/πθold(y∣x)]S = \log[\pi_{\theta}(\boldsymbol{y} \mid \boldsymbol{x}) / \pi_{\theta_{\text{old}}}(\boldsymbol{y} \mid \boldsymbol{x})] is the sequence-level log-ratio and L=len(y)L = \text{len}(\boldsymbol{y}). Given a target miscoverage level α\alpha, CSPO estimates lower and upper empirical quantiles (qlo,qhi)(q_{\text{lo}}, q_{\text{hi}}) from completed blocks of retained scores, anchors the resulting interval at W=1W = 1, and holds it fixed throughout the optimizer updates for that rollout batch. Scores computed on the training batch are retained for subsequent steps. The resulting sequence-level surrogate targets a marginal tail budget for fresh scores. Our contributions are threefold:

  1. We identify the need for adaptive sequence-level clipping in RL post-training for reasoning language models, complementing prior work on sequence-level optimization and length-fair clipping.

  2. We propose CSPO, which clips GSPO power scores using rolling empirical quantiles of retained training scores to target a specified marginal tail budget.

  3. We bound tail probabilities for the mixture of scores within each training step in terms of α\alpha, CDF discrepancies, and local drift. Under additional moment conditions, these bounds control the objective and gradient error relative to the unclipped GSPO power surrogate. Empirically, CSPO improves Pass@1 over GSPO on difficult mathematical reasoning benchmarks and achieves the highest overall success rate on ALFWorld among the evaluated methods.

References (42)