arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.19310cs.LGcs.AI
收藏

MemReward: 基于图的经验记忆用于有限标签下的LLM奖励预测

MemReward: Graph-Based Experience Memory for LLM Reward Prediction with Limited Labels

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta

Tianyang Luo, Tao Feng, Zhigang Hua, Yan Xie, Shuang Yang, Ge Liu, Jiaxuan You

AI总结:

提出MemReward框架,利用图神经网络在少量标签下将奖励从标注样本传播到未标注样本,实现混合奖励获取策略,在数学、问答和代码生成任务上接近Oracle性能。

摘要:

强化学习已成为改进大型语言模型推理能力的强大范式,其中从策略中采样rollout,并利用在这些rollout上计算的奖励信号来更新策略。然而,在数据稀缺的场景中,大规模获取ground-truth标签以验证rollout通常需要昂贵的人工标注或劳动密集型的专家验证。例如,评估数学证明需要专家评审,而开放式问答缺乏确定的ground-truth。当ground-truth标签稀缺时,强化学习微调的有效性受到限制。受半监督学习在将标签从标注样本传播到未标注样本方面成功的启发,我们提出了MemReward,一种基于图的经验记忆框架,将奖励传播直接集成到在线策略优化中。MemReward将来自初始LLM策略的rollout(思考过程和最终答案)存储为异构图中的节点,这些节点通过相似性和结构边连接,图神经网络通过该图将奖励从标注rollout传播到未标注rollout。为了训练这样的框架,我们首先在标注rollout上预热GNN,通过查询、思考和答案节点的异质聚合来预测奖励。在在线RL微调期间,未标注rollout通过查询相似性附加到图中,GNN预测它们的奖励,从而产生一种结合ground-truth和GNN预测奖励的混合奖励获取策略。在Qwen2.5-1.5B和3B上的数学、问答和代码生成实验表明,MemReward仅使用20% rollout的ground-truth奖励,就在1.5B上达到Oracle性能的96.6%,在3B上达到97.3%,并在域外任务上接近Oracle。

英文摘要:

Reinforcement learning (RL) fine-tuning improves large language model (LLM) reasoning using reward signals on sampled rollouts. When reward labels are available for only a subset of rollouts, restricting policy updates to that subset leaves the remaining rollouts unused for policy optimization. Semi-supervised learning propagates labels from labeled to unlabeled samples, but existing methods either diffuse labels with fixed similarity weights or treat each sample independently, ignoring the relations among queries, thinking processes, and answers. We propose MemReward, a graph-based experience memory that propagates rewards to unlabeled rollouts during online policy optimization. MemReward stores queries and the rollouts (thinking processes and final answers) of an initial LLM policy as nodes of a heterogeneous graph connected by similarity and structural edges, and warms up a GNN on labeled rollouts to propagate rewards over this graph. During online RL fine-tuning, unlabeled rollouts are attached to the graph by query similarity, and the policy is updated with ground-truth rewards on labeled rollouts and GNN-predicted rewards on the rest. We evaluate MemReward on 13 benchmarks in mathematics, question answering, and code generation with verifiable rewards, and further with LLM-judge, human-preference, and continuous rewards. With ground-truth rewards on only 20% of rollouts, MemReward achieves 96.6% of the performance of fully supervised training (Oracle) on Qwen2.5-1.5B and 97.3% on Qwen2.5-3B, where it also outperforms label propagation and FixMatch-style self-training. It carries over to Llama backbones up to 8B and closely approaches Oracle on out-of-domain tasks.

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

↑