arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.29938cs.CL
收藏

LatentRevise: 从零命中推理中学习

LatentRevise: Learning from Zero-Hit Reasoning

Yiqiu Guo, Xueting Han, Qi Jia, Guangtao Zhai, Jing Bai

AI总结:

针对强化学习中零命中提示的采样困境,提出LatentRevise方法,通过优化失败轨迹的输入嵌入,从错误中恢复训练信号,提升数学推理性能。

摘要:

具有可验证奖励的强化学习(RLVR)受限于困难提示,这些提示上正确轨迹的概率很低,因此在实际预算内采样会错过它们,使得策略更新几乎没有有用信号。我们将此类零命中提示定义为RLVR的采样前沿,其中新的推理行为最有价值但最不可能被采样。重要的是,失败的轨迹可以提供信息:它们暴露了模型推理出错的地方。我们引入了LatentRevise,一种一阶潜在修正方法,用于恢复这种零命中机制的训练信号。给定一个失败的轨迹和作为锚点的正确答案,LatentRevise在两种互补梯度下优化其推理前缀的输入嵌入,使前缀远离失败延续并朝向正确答案。优化被限制在模型词汇嵌入的凸包内,因此每次更新都将潜在向量移向真实的词嵌入,而不是任意的特征方向。我们发现,从修正后的前缀生成的延续变长,表现出自我反思,并达到原始轨迹错过的正确答案。用作训练数据时,这些轨迹在数学基准上改进了SFT和RLVR,优于标准基线。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) is bottlenecked by hard prompts on which correct trajectories have low probability, so sampling misses them within a practical budget and leaves the policy update with little useful signal. We frame such zero-hit prompts as RLVR's sampling frontier, where new reasoning behavior is most valuable yet least likely to be sampled. Importantly, failed rollouts can be informative: they expose where the model's reasoning went wrong. We introduce LatentRevise, a first-order latent revision method that recovers training signal for this zero-hit regime. Given a failed rollout and the gold answer as an anchor, LatentRevise optimizes the input embeddings of its reasoning prefix under two complementary gradients, moving the prefix away from the failed continuation and toward the gold answer. The optimization is constrained to the convex hull of the model's vocabulary embeddings, so each update moves the latent toward a real token embedding rather than an arbitrary feature direction. We find that continuations from the revised prefix lengthen, exhibit self-reflection, and reach correct answers missed by the original rollouts. Used as training data, these trajectories improve SFT and RLVR on math benchmarks over standard baselines.

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

↑