Good Reasoning Makes Good Demonstrations: Implicit Reasoning Quality Supervision via In-Context Reinforcement Learning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mei, Tiehua, Lv, Minxuan, Pan, Leiyu, Su, Zhenpeng, Hou, Hongru, Chen, Hengrui, Xu, Ao, Yang, Deqing
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911503371730944
author Mei, Tiehua
Lv, Minxuan
Pan, Leiyu
Su, Zhenpeng
Hou, Hongru
Chen, Hengrui
Xu, Ao
Yang, Deqing
author_facet Mei, Tiehua
Lv, Minxuan
Pan, Leiyu
Su, Zhenpeng
Hou, Hongru
Chen, Hengrui
Xu, Ao
Yang, Deqing
contents Reinforcement Learning with Verifiable Rewards (RLVR) improves reasoning in large language models but treats all correct solutions equally, potentially reinforcing flawed traces that get correct answers by chance. We observe that better reasoning are better teachers: high-quality solutions serve as more effective demonstrations than low-quality ones. We term this teaching ability Demonstration Utility, and show that the policy model's own in-context learning ability provides an efficient way to measure it, yielding a quality signal termed Evidence Gain. To employ this signal during training, we introduce In-Context RLVR. By Bayesian analysis, we show that this objective implicitly reweights rewards by Evidence Gain, assigning higher weights to high-quality traces and lower weights to low-quality ones, without requiring costly computation or external evaluators. Experiments on mathematical benchmarks show improvements in both accuracy and reasoning quality over standard RLVR.
format Preprint
id arxiv_https___arxiv_org_abs_2603_09803
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Good Reasoning Makes Good Demonstrations: Implicit Reasoning Quality Supervision via In-Context Reinforcement Learning
Mei, Tiehua
Lv, Minxuan
Pan, Leiyu
Su, Zhenpeng
Hou, Hongru
Chen, Hengrui
Xu, Ao
Yang, Deqing
Machine Learning
Reinforcement Learning with Verifiable Rewards (RLVR) improves reasoning in large language models but treats all correct solutions equally, potentially reinforcing flawed traces that get correct answers by chance. We observe that better reasoning are better teachers: high-quality solutions serve as more effective demonstrations than low-quality ones. We term this teaching ability Demonstration Utility, and show that the policy model's own in-context learning ability provides an efficient way to measure it, yielding a quality signal termed Evidence Gain. To employ this signal during training, we introduce In-Context RLVR. By Bayesian analysis, we show that this objective implicitly reweights rewards by Evidence Gain, assigning higher weights to high-quality traces and lower weights to low-quality ones, without requiring costly computation or external evaluators. Experiments on mathematical benchmarks show improvements in both accuracy and reasoning quality over standard RLVR.
title Good Reasoning Makes Good Demonstrations: Implicit Reasoning Quality Supervision via In-Context Reinforcement Learning
topic Machine Learning
url https://arxiv.org/abs/2603.09803