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

面向数学推理任务中多样正确解法的 GFlowNet 微调

GFlowNet Fine-tuning for Diverse Correct Solutions in Mathematical Reasoning Tasks

Hitachi, Ltd.(日立公司)

Ryoichi Takase, Masaya Tsunokake, Yuta Tsuchiya, Shota Inuzuka

AI总结:

本文提出用 GFlowNet 微调 LLM,使其按与奖励成比例的分布生成多样数学解法,并通过实验证明其相比奖励最大化 RL 更能从不同推理路径得到正确答案。

摘要:

数学推理问题属于最具挑战性的问题之一,因为它们通常要求理解基本定律才能求解。这些定律是普遍的,但最终答案的推导会因处理问题的方式不同而变化。在训练大型语言模型(LLM)时,学习生成此类多种解法的能力,对于加速其在数学教育中的应用至关重要。为此,我们使用生成流网络(GFlowNet)训练 LLM。与奖励最大化的强化学习(RL)不同,GFlowNet 微调通过训练分布与奖励函数成比例的 LLM,力求找到多样解法。在数值实验中,我们从准确性和多样性两方面评估 GFlowNet 微调和奖励最大化 RL。结果表明,GFlowNet 微调能够从多样的中间推理步骤中推导出正确的最终答案,表明替代解法生成能力得到提升。

英文摘要:

Mathematical reasoning problems are among the most challenging, as they typically require an understanding of fundamental laws to solve. The laws are universal, but the derivation of the final answer changes depending on how a problem is approached. When training large language models (LLMs), learning the capability of generating such multiple solutions is essential to accelerate their use in mathematical education. To this end, we train LLMs using generative flow network (GFlowNet). Different from reward-maximizing reinforcement learning (RL), GFlowNet fine-tuning seeks to find diverse solutions by training the LLM whose distribution is proportional to a reward function. In numerical experiments, we evaluate GFlowNet fine-tuning and reward-maximizing RL in terms of accuracy and diversity. The results show that GFlowNet fine-tuning derives correct final answers from diverse intermediate reasoning steps, indicating the improvement of the capability of alternative solution generation.

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

↑