arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.02073cs.CL
收藏

通过搜索驱动强化学习优化奖励函数以增强大语言模型推理能力

Enhanced LLM Reasoning by Optimizing Reward Functions with Search-Driven Reinforcement Learning

School of Electrical and Computer Engineering, University of Oklahoma(俄克拉荷马大学电气与计算机工程学院);Intelligent Neuromorphic and Quantum Understanding for Innovative Research and Engineering (INQUIRE) Laboratory, University of Oklahoma(智能神经形态与量子理解创新研究与工程实验室,俄克拉荷马大学)

Arash Ahmadi, Sarah Sharif, Yaser, Banad

AI总结:

本文提出一种搜索驱动框架,通过优化奖励函数提升大语言模型推理能力,通过五轮搜索生成50个候选奖励,最终获得79.5%的F1分数,优于基线方法。

摘要:

数学推理是大型语言模型的关键基准。强化学习是提升大型语言模型推理能力的标准后训练机制,但性能仍然对驱动策略优化的奖励函数设计敏感。本文介绍了一种搜索驱动的框架,将奖励规范本身视为优化对象。感兴趣的设置是基础模型固定而奖励规范是主要剩余设计变量。候选奖励函数由前沿语言模型生成,自动验证,通过500步的组相对策略优化(GRPO)训练运行在Llama-3.2-3B-Instruct基础模型上,使用低秩适应(LoRA),并通过GSM8K测试集上的F1分数进行排名。先前轮次的排名摘要随后反馈到下一轮生成。经过五轮搜索,生成了50个候选奖励。平均F1从第一轮的0.596上升到第五轮的0.632,最高个体奖励达到F1=0.787。对顶部奖励的七种组合配置进行了评估。最佳组合达到F1=0.795(95%bootstrap置信区间[0.756, 0.832])和准确率0.660[0.635, 0.686],比基线奖励-only GRPO基线(F1=0.609)高出0.19的绝对F1 gain。配对的McNemar检验配对Bonferroni校正显示,所有五或更多奖励配置在α=0.05/21时统计上不可区分。最佳组合的三次重新训练得到F1=0.785。随机抽取的5个奖励控制降级到F1=0.047,这表明排名反馈循环,而不是更多奖励的加性信号,驱动了增益。

英文摘要:

Mathematical reasoning is a key benchmark for large language models. Reinforcement learning is a standard post-training mechanism for improving the reasoning capabilities of large language models, yet performance remains sensitive to the design of the reward function that drives policy optimization. This paper introduces a search-driven framework that treats the reward specification itself as an object of optimization. The setting of interest is one in which the base model is held fixed and the reward specification is the primary remaining design lever. Candidate reward functions are generated by a frontier language model, validated automatically, screened through 500-step Group Relative Policy Optimization (GRPO) training runs on a Llama-3.2-3B-Instruct base model with Low-Rank Adaptation (LoRA), and ranked by F1 on the GSM8K test set. Ranked summaries from prior rounds are then fed back into the next round of generation. Over five rounds, the search produces 50 candidate rewards. The mean F1 rises from 0.596 in Round 1 to 0.632 in Round 5, and the top individual reward reaches F1 = 0.787. Seven ensemble configurations of top-ranked rewards are evaluated. The best ensemble achieves F1 = 0.795 (95% bootstrap CI [0.756, 0.832]) and accuracy 0.660 [0.635, 0.686], a 0.19 absolute F1 gain over a base-rewards-only GRPO baseline (F1 = 0.609). Pairwise McNemar tests with Bonferroni correction show all five-or-more-reward configurations are statistically indistinguishable at α = 0.05/21. A three-seed re-training of the best ensemble yields F1 of 0.785. A randomly drawn 5-reward control collapses to F1 = 0.047, which shows that the ranked-feedback loop, not the additive signal of having more rewards, drives the gain.

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

↑