# Margin-Guided Token Credit for Reinforcement Learning with Verifiable Rewards

DevFeed: [Margin-Guided Token Credit for Reinforcement Learning with Verifiable Rewards](<https://devfeed.tech/articles/margin-guided-token-credit-for-reinforcement-learning-with-verifiable-rewards-128385.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.14015>)

Author: Chi Liu, Xin Chen, Yuchuan Weng, Srinivasan Manoharan

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [rlvr](<https://devfeed.tech/topics/rlvr.md>), [grpo](<https://devfeed.tech/topics/grpo.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [grpo](<https://devfeed.tech/tags/grpo.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [margin](<https://devfeed.tech/tags/margin.md>), [model-evaluation](<https://devfeed.tech/tags/model-evaluation.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

MCPO assigns more credit to tokens where the policy hesitates, using the next-token top-two probability margin and two fixed thresholds to redistribute each solution's advantage without changing its mean. It uses a forward pass already performed by the trainer, requiring no extra model evaluation or batch statistics. In experiments, MiniCPM5-2B-Base trained with LoRA for 200 steps on 2,048 DAPO-Math problems outperformed unmodified GRPO across five data seeds, averaging 6.55 points higher in macro avg@32 across six competition-math benchmarks (95% CI 4.1-9.0). A Qwen3-4B-Base replication improved across three seeds by 4.75 points. Gains were largest on problems GRPO solved inconsistently and reached 13.8 points at pass@32. MCPO answers were two to three times longer, but the experiments do not disentangle answer length from performance gains.

## Source excerpt

arXiv:2611.14015v1 Announce Type: cross Abstract: In reinforcement learning with verifiable rewards, a language model is rewarded for a correct final answer, and GRPO passes that reward to every token of the solution in equal measure. We instead place the credit where the model hesitated, in a method we call MCPO (Margin-Credit Policy Optimization). We measure hesitation by the top-2 margin $M=p_1-p_2$ of the policy's next-token distribution, map it to a score with two fixed thresholds, and spread each solution's advantage over its tokens so that the mean stays unchanged. The margin is read from a forward pass the trainer already performs, so the method needs no extra model evaluation and no batch statistics. We train MiniCPM5-2B-Base with LoRA for 200 steps on 2,048 DAPO-Math problems and evaluate on six competition-math benchmarks. MCPO beats an unmodified GRPO baseline for all five data seeds, by 6.55 points of macro avg@32 on average (95\% CI $[4.1, 9.0]$), and a Qwen3-4B-Base replication improves for all three seeds ($+4.75$). The gain is largest on problems that GRPO solves only some of the time and grows with $k$ in pass@$k$, reaching 13.8 points at pass@32. MCPO models also write two to three times longer answers, and runs that write longer score higher; our experiments do not separate the two effects.