COPO: Consistency-Aware Policy Optimization

Jinghang Han, Jiawei Chen, Hang Shao, Hao Ma, Mingcheng Li, Xintian Shen, Lihao Zheng, Wei Chen, Tao Wei, Lihua Zhang · DOI

Introduction

Reinforcement Learning (RL) has become a cornerstone for enhancing the reasoning capabilities of Large Language Models (LLMs). Techniques like Group-relative Policy Optimization (GRPO), popularized by DeepSeek R1, have simplified the RL pipeline by removing the need for a separate critic model. Instead, GRPO uses group-relative advantages to guide policy updates. However, this approach suffers from a critical vulnerability: gradient collapse. When a model's sampled responses for a specific prompt are uniform—either all correct or all incorrect—the relative advantage becomes zero, effectively stalling the learning process for those samples.

The Problem: Gradient Vanishing in GRPO

The fragility of GRPO stems from its reliance on intra-group variance.

  1. The "Too Hard" Scenario: For difficult problems where the model fails all attempts (reward = 0), the group mean and variance are zero, resulting in a zero advantage signal.
  2. The "Too Easy" Scenario: Conversely, when a model has mastered a prompt and all responses are correct (reward = 1), the advantage again collapses.

This leads to significant "sample wastage," where over 50% of training data can be discarded in some settings. While existing methods like DAPO simply ignore these samples, this is inefficient for compute-constrained environments.

Methodology: Consistency-Aware Policy Optimization (COPO)

COPO addresses these issues by introducing a dual-level optimization strategy that leverages both local and global signals.

The COPO architecture integrates local and global reward models with a consistency-based soft blending mechanism.

1. Inter-group Global Optimization

COPO expands the optimization scope from a single prompt group to the entire mini-batch. By standardizing rewards across different prompts within a batch, COPO generates a global advantage. This ensures that even if a model fails all attempts for a specific hard prompt, it still receives a learning signal based on its performance relative to other prompts in the same batch.

2. Consistency-Entropy-based Soft Blending

The integration of local and global signals is managed by a dynamic Soft Blending mechanism driven by Consistency Entropy ($H(q)$).

  • High Entropy: When responses are diverse (indicating the model is still exploring the solution space for a prompt), COPO prioritizes local optimization to refine the model's ability to distinguish between reasoning paths.
  • Low Entropy: When responses are highly consistent (indicating a lack of local signal), COPO shifts weight toward global optimization, using batch-level performance to guide the policy.

Experimental Results

The authors evaluated COPO using the DAPO-MATH-17k dataset for training and tested on several rigorous benchmarks, including MATH-500 and AIME 2024, using Qwen2.5-Instruct (3B and 7B) as base models.

Performance comparison of COPO against GRPO and DAPO baselines across different model sizes and benchmarks.

Key Findings

  • Performance Gains: COPO consistently outperformed GRPO and DAPO. For the 7B model, COPO achieved a 65.8% mean@8 on MATH-500 (+2.22% over GRPO). The 3B model saw an even larger jump of +4.55%.
  • Training Stability: Unlike GRPO, which often experiences performance plateaus or dips as rewards homogenize, COPO maintains a steady upward trajectory. The global signal prevents gradients from vanishing even as the model converges on specific tasks.
  • Sample Efficiency: COPO achieves superior results in fewer training steps (approx. 60), proving that "ineffective" data in GRPO actually contains valuable information for global alignment.

Conclusion

COPO rescues RL from the pitfalls of gradient collapse by intelligently blending local and global rewards. By treating answer consistency as a signal rather than a dead end, COPO maximizes sample efficiency and provides a more robust framework for training reasoning-heavy LLMs. Future work will explore difficulty calibration to further optimize the training curriculum.

Summary updated

BibTeX
@misc{han2025copo,
  author = {Jinghang Han and Jiawei Chen and Hang Shao and Hao Ma and Mingcheng Li and Xintian Shen and Lihao Zheng and Wei Chen and Tao Wei and Lihua Zhang},
  title = {{COPO: Consistency-Aware Policy Optimization}},
  year = {2025},
  eprint = {2508.04138},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.04138},
}
Figure