arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.22446cs.CLcs.AIcs.LG
收藏

稀疏但关键:RLVR微调中LLMs分布偏移的token级分析

Sparse but Critical: A Token-Level Analysis of Distributional Shifts in RLVR Fine-Tuning of LLMs

Alibaba Group(阿里巴巴集团)

Haoming Meng, Kexin Huang, Shaohang Wei, Chiyu Ma, Shuo Yang, Xue Wang, Guoyin Wang, Bolin Ding, Jingren Zhou

AI总结:

研究通过token级分析揭示RLVR微调中分布偏移的机制,发现微调导致稀疏且针对性强的token分布变化,通过交叉采样实验验证了少量token决策对性能提升的关键作用。

摘要:

可验证奖励的强化学习(RLVR)显著提升了大语言模型(LLMs)的推理能力,但其token级机制仍不明确。本文系统地研究了RLVR的分布效应,围绕三个主要分析展开:(1)基模型与RL模型之间的token级分布偏移特征;(2)通过交叉采样干预分析token级分布偏移对序列级推理性能的影响;(3)token级的细粒度机制。研究发现,RL微调导致高度稀疏且针对性强的token分布变化,仅少量token分布表现出基模型与RL策略之间的显著差异。进一步通过token熵、位置集中度和概率质量再分配分析这些偏移的结构和演变。为评估这些稀疏变化的功能重要性,我们进行了交叉采样实验,通过不同干预预算在基模型和RL模型之间选择性交换token选择。结果显示,仅插入少量RL采样token到基生成中可逐步恢复RL性能提升,而注入同样少量的基token选择到RL生成序列中则使其性能降至基水平,从而隔离了少量token级决策对RLVR性能提升的直接责任。最后,我们探索了加权优势信号的变体作为诊断干预,发现其可超越基线表现。总体而言,我们的结果揭示了RLVR诱导的分布变化,并提供了一个细粒度的token级视角,以理解RLVR微调作为针对性精修过程。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) has significantly improved reasoning in large language models (LLMs), yet the token-level mechanisms underlying these improvements remain unclear. We present a systematic empirical study of RLVR's distributional effects organized around three main analyses: (1) token-level characterization of distributional shifts between base and RL models, (2) the impact of token-level distributional shifts on sequence-level reasoning performance through cross-sampling interventions, and (3) fine-grained mechanics of these shifts at the token level. We find that RL fine-tuning induces highly sparse and targeted changes, with only a small fraction of token distributions exhibiting meaningful divergence between the base and RL policies. We further characterize the structure and evolution of these shifts through analyses of token entropy, positional concentration, and reallocation of probability mass. To assess the functional importance of these sparse changes, we conduct cross-sampling experiments that selectively swap token choices between the base and RL models with varying intervention budgets. We show that inserting only a small fraction of RL-sampled tokens into base generations progressively recovers RL performance gains, while injecting a similarly small number of base token choices into otherwise RL-generated sequences collapses performance to base levels, isolating a small set of token-level decisions directly responsible for RLVR's performance gains. Finally, we explore divergence-weighted variants of the advantage signal as a diagnostic intervention, finding that they can yield improvements over baselines. Together, our results shed light on the distributional changes induced by RLVR and provide a fine-grained, token-level lens for understanding RLVR fine-tuning as a targeted refinement process.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑