CLIPO: Contrastive Learning in Policy Optimization Generalizes RLVR

Sijia Cui, Pengyu Cheng, Jiajun Song, Yongbo Gai, Guojun Zhang +4 more
3/10/2026
6 citations
cs.LGcs.AIcs.CL
rlrlhf-rlvr-dpocontrastive-ssl

Official code: Qwen-Applications/CLIPO (22 stars, Python, last commit 2026-04-07).

Abstract

Reinforcement Learning with Verifiable Rewards (RLVR) has significantly advanced the reasoning capacity of Large Language Models (LLMs). However, RLVR solely relies on final answers as outcome rewards, neglecting the correctness of intermediate reasoning steps.

Show full abstract

Training on these process-wrong but outcome-correct rollouts can lead to hallucination and answer-copying, severely undermining the model's generalization and robustness. To address this, we incorporate a Contrastive Learning mechanism into the Policy Optimization (CLIPO) to generalize the RLVR process. By optimizing a contrastive loss over successful rollouts, CLIPO steers the LLM to capture the invariant structure shared across correct reasoning paths. This provides a more robust cross-trajectory regularization than the original single-path supervision in RLVR, effectively mitigating step-level reasoning inconsistencies and suppressing hallucinatory artifacts. In experiments, CLIPO consistently improves multiple RLVR baselines across diverse reasoning benchmarks, demonstrating uniform improvements in generalization and robustness for policy optimization of LLMs. Our code and training recipes are available at https://github.com/Qwen-Applications/CLIPO.

View on arXivView PDF

Code Implementations(1)

CLIPO: Contrastive Learning in Policy Optimization Generalizes RLVR

222Python, ShellFeb 25, 20267 months ago
contrastive-learninglarge-language-modelsreasoningrlvr

Similar Papers

Cite this paper

@article{cui2026clipo,
  title  = {CLIPO: Contrastive Learning in Policy Optimization Generalizes RLVR},
  author = {Sijia Cui and Pengyu Cheng and Jiajun Song and Yongbo Gai and Guojun Zhang and Zhechao Yu and Jianhe Lin and Xiaoxi Jiang and Guanjun Jiang},
  year   = {2026},
  eprint = {2603.10101},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.10101v1}
}

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/2603.10101.svg)](https://codeofpaper.com/paper/2603.10101)

Discussion