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

Self-Explore:利用细粒度奖励增强语言模型的数学推理能力

Self-Explore: Enhancing Mathematical Reasoning in Language Models with Fine-grained Rewards

KAIST AI(韩国科学技术院人工智能学院);Carnegie Mellon University(卡内基梅隆大学)

Hyeonbin Hwang, Doyoung Kim, Seungone Kim, Seonghyeon Ye, Minjoon Seo

AI总结:

本文提出Self-Explore方法,通过让LLM自主探索推理链中第一个错误步骤作为细粒度奖励信号,在无需人工或专有模型推理数据的情况下自我提升数学推理能力,并在GSM8K和MATH上优于SFT。

摘要:

在大规模推理过程(即思维链微调,CoT Fine-tuning)上进行训练可有效提升大语言模型(LLMs)的推理能力。然而,获取人工编写的推理过程或从专有模型扩充推理过程成本高昂且难以扩展。本文研究LLMs能否自我提升推理能力这一问题。为此,我们提出Self-Explore方法,让LLM在推理过程中探索第一个错误步骤(即第一个陷阱),并将这些信号用作细粒度奖励以进一步改进。在GSM8K和MATH测试集上,与监督微调(SFT)相比,Self-Explore在三个LLM上平均分别取得11.57%和2.89%的提升。代码见 https://github.com/hbin0701/Self-Explore。

英文摘要:

Training on large amounts of rationales (i.e., CoT Fine-tuning) is effective at improving the reasoning capabilities of large language models (LLMs). However, acquiring human-authored rationales or augmenting rationales from proprietary models is costly and not scalable. In this paper, we study the problem of whether LLMs could self-improve their reasoning capabilities. To this end, we propose Self-Explore, where the LLM is tasked to explore the first wrong step (i.e., the first pit) within the rationale and use such signals as fine-grained rewards for further improvement. On the GSM8K and MATH test set, Self-Explore achieves 11.57% and 2.89% improvement on average across three LLMs compared to supervised fine-tuning (SFT). Our code is available at https://github.com/hbin0701/Self-Explore.

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

↑