When Importance Sampling Misallocates Credit: Asymmetric Ratios for Outcome-Supervised RL

Jiakang Wang, Runze Liu, Qingpeng Cai, Lei Lin, Wenping Hu, Xiu Li, Fuzheng Zhang, Guorui Zhou, Kun Gai, Ling PanarXiv 2025

TL;DR

In outcome-supervised reinforcement learning (OSRL) for LLMs, importance sampling (IS) ratios accidentally shift from correcting distribution mismatches to acting as token-level weights. This induces a "rich-get-richer" dynamic that over-amplifies already confident tokens and suppresses lagging ones, leading to training instability and entropy collapse. To fix this, the authors propose Asymmetric Importance Sampling Policy Optimization (ASPO), which flips the token weights for positive-advantage responses to encourage catch-up learning, significantly boosting performance and stability on math and coding tasks.

What Problem Does This Paper Address?

When aligning Large Language Models (LLMs) using reinforcement learning, popular algorithms like Group Relative Policy Optimization (GRPO) rely on Outcome-Supervised RL (OSRL). In OSRL, a single reward or advantage signal is calculated for an entire response and then broadcast equally to every token within that response.

The authors discover a fundamental flaw in this setup: borrowing the optimization machinery (like importance sampling ratios) directly from classic PPO breaks down at this granularity. In classic RL, token-level importance sampling (IS) ratios are paired with token-level advantages to correct distribution mismatches. But in OSRL, because the advantage is shared across all tokens, the IS ratio undergoes a hidden role shift—it becomes an intra-response token weight.

For positive-advantage responses, this role shift creates an undesirable "rich-get-richer" dynamic. Tokens that the model is already highly confident in receive massive updates, while underrepresented, low-probability tokens (which actually need a stronger learning signal to catch up) are heavily down-weighted. This mismatch causes abnormal training behaviors: accelerated entropy collapse, premature convergence to local optima, and excessive text repetition.

Figure 1: Illustration of ratio-induced token misallocation in outcome-supervised RL and the ASPO correction. For positive tokens, ASPO prevents overoptimization of high-probability tokens and facilitates low-probability token learning.

Methods

To counteract this weight mismatch, the authors introduce Asymmetric Importance Sampling Policy Optimization (ASPO). ASPO modifies the standard GRPO framework through a simple three-step pipeline:

  1. Token Masking: ASPO retains the original hard clipping mechanism of GRPO, masking out gradients for tokens that have already moved sufficiently far in the correct update direction.
  2. Weight Flipping: For tokens in positive-advantage responses ($A > 0$), ASPO inverts the IS weights by taking their reciprocal. This ensures that low-probability tokens receive stronger updates to facilitate "catch-up learning," while already confident tokens are down-weighted. For negative-advantage responses, the weights remain unchanged.
  3. Dual Clipping: Because inverting the weights shifts extreme ratios to the opposite side, ASPO introduces a soft dual-clipping mechanism. This bounds extreme updates for positive tokens without completely discarding their gradients, maintaining stable training dynamics.

Datasets

The authors evaluated ASPO across several challenging mathematical reasoning and code generation benchmarks:

  • Mathematics: AIME24, AIME25, AMC23, MATH-500, Minerva Math, and OlympiadBench.
  • Coding: LiveCodeBench v5 (2024.08.01–2025.02.01) and v6 (2025.02.01–2025.05.01).

Training Data: Models were trained using a mixture of open-source datasets, including DeepScaleR-Preview-Dataset, Skywork-OR1-RL-Data, and DAPO-Math-17K for math, alongside DeepCoder, CodeContests, and CodeForces for coding.

Key Insights and Ideas

  • The IS Ratio Role Shift: In OSRL, the IS ratio no longer functions purely as a distribution corrector; it actively decides how the shared response-level reward is distributed among individual tokens.
  • The Pitfall of Standard PPO-Clip in LLMs: Standard PPO-Clip unintentionally prioritizes learning positive responses over suppressing negative ones because positive samples naturally accumulate higher average IS ratios over repeated off-policy updates.
  • Healthy Convergence vs. Local Optima: By tracking training dynamics, the authors show that standard GRPO suffers from rapid entropy decay and spiking repetition rates—hallmarks of falling into a local optimum. ASPO allows entropy to decline gradually and smoothly, preserving the model's exploratory behavior and leading to sustained, long-term learning.
Figure 2: The training dynamics curves of all methods on Qwen3-4B, including (a) average evaluation accuracy, (b) entropy, (c) repetition rate, (d) positive token clip ratio, and (e) KL loss. The curves are smoothed with EMA for better visualization.

Key Results

ASPO consistently outperformed standard GRPO and other strong OSRL baselines across multiple model sizes (including DeepSeek-R1-Distill-Qwen-1.5B, Qwen3-4B, Qwen3-8B, and Qwen3-30B):

  • Performance Gains: Using DeepSeek-R1-Distill-Qwen-1.5B as a base, ASPO improved average accuracy by 12.5% on math tasks and 14.0% on coding tasks relative to the base model, outperforming standard GRPO.
  • Training Stability: ASPO significantly mitigated entropy collapse and stabilized the positive token clip ratio. It also maintained a consistently lower output repetition rate throughout the entire training process compared to GRPO.

Limitations and Future Work

The authors note that their investigation primarily targets the importance sampling mechanism within widely-adopted, GRPO-based OSRL methods. They highlight that a promising direction for future work is extending this investigation to other reinforcement learning paradigms, such as PPO implementations that utilize token-level advantages alongside token-level IS ratios.

Summary updated

BibTeX
@misc{wang2025when,
  author = {Jiakang Wang and Runze Liu and Qingpeng Cai and Lei Lin and Wenping Hu and Xiu Li and Fuzheng Zhang and Guorui Zhou and Kun Gai and Ling Pan},
  title = {{When Importance Sampling Misallocates Credit: Asymmetric Ratios for Outcome-Supervised RL}},
  year = {2025},
  eprint = {2510.06062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.06062},
}
Figure