通过上下文价值学习实现 Token 级信用分配
Token-Level Credit Assignment via In-Context Value Learning
AI 导读
一项新研究提出在上下文中学习价值函数,解决强化学习微调大语言模型时稀疏结果奖励导致的信用分配难题。方法让价值函数访问多个辅助 rollout 及其奖励,利用反事实未来信息产生更准确的价值估计,其精度随上下文 rollout 数量扩展,实现比结果奖励致密数个数量级的 per-token advantage 估计。价值函数可在离线数据上预训练,再用少量在线样本快速适应,加速策略改进。
正文 · 原文
Abstract:Reinforcement learning has proven extraordinarily effective at fine-tuning large language models to align to human preferences and elicit reasoning capabilities. However, when training policies for long-horizon tasks, a sparse outcome reward provides poor credit assignment, resulting in unstable and inefficient learning. In such settings, value functions are a natural tool for providing token-level training signals and stabilizing learning. Our work addresses how to learn value functions that are powerful enough to perform such token-level credit assignment. Our key insight is that value functions make strong usage of privileged information, which can be provided in-context to base language models. In our approach, we allow the value function access to multiple auxiliary rollouts and their rewards, such that the model can leverage counterfactual futures and semantic structure to produce more meaningful value estimates. We show that value function accuracy scales with the number of in-context rollouts. At sufficient scale, this unlocks accurate per-token advantage estimates: orders of magnitude denser credit assignment than outcome reward alone. These value estimates can then be combined with an off-the-shelf policy improvement method to perform fine-tuning. Empirically, we demonstrate that value functions learned via our approach perform more accurate token-level credit assignment and accordingly result in faster policy improvement. Especially motivating, we find that value functions can be reliably pretrained on offline data, and then later used for rapid adaptation from limited online samples by providing lower variance targets for policy learning.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.35388 [cs.LG] |
| (or arXiv:2611.35388v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35388 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Rohin Manvi [view email]
[v1]
Thu, 26 Nov 2026 01:18:09 UTC (1,828 KB)
来源:arXiv cs.AI · arxiv.org