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

多层GRPO:增强大语言模型的推理与自我纠正能力

Multi-Layer GRPO: Enhancing Reasoning and Self-Correction in Large Language Models

Shenzhen Jinzheng Youzhi Technology(深圳金政智科技)

Fei Ding, Baiqiao Wang, Zijian Zeng, Youwei Wang

AI总结:

本文提出多层GRPO(MGRPO),通过第二层GRPO对第一层生成的初始响应进行错误识别与纠正,以隐式过程级监督缓解奖励消失问题,并在数学推理基准上显著超越标准GRPO。

摘要:

分组相对策略优化(GRPO)算法在增强大语言模型(LLMs)推理能力方面已展现出显著成效,DeepSeek-R1即为明证。然而,GRPO中缺乏中间监督,常常导致探索动力学效率低下。复杂推理链中的单个错误可能使整个解失效,造成奖励突然消失并损害训练稳定性。为应对这些挑战,我们提出MGRPO(多层GRPO)。MGRPO分两层运作:第一层采用标准GRPO生成初始响应;随后该响应连同原始查询一起输入第二层GRPO过程。第二层经过专门训练,用于识别并纠正初始响应中的错误,从而有效构建自我纠正回路。该机制通过奖励成功的错误纠正来提供隐式过程级监督,而无需显式的密集标注奖励模型。在若干数学推理基准上的实验结果表明,MGRPO显著优于标准GRPO,通过同时培养推理与自我纠正能力实现了更优性能。

英文摘要:

The Group Relative Policy Optimization (GRPO) algorithm has demonstrated considerable success in enhancing the reasoning capabilities of large language models (LLMs), as evidenced by DeepSeek-R1. However, the absence of intermediate supervision in GRPO frequently leads to inefficient exploration dynamics. A single error in a complex reasoning chain can invalidate the entire solution, resulting in abrupt reward vanishing and compromising training stability.To address these challenges, we propose MGRPO (Multi-layer GRPO). MGRPO operates in two layers: the first layer employs standard GRPO to generate an initial response. This response, along with the original query, is then fed into a second-layer GRPO process. This second layer is specifically trained to identify and correct errors in the initial response, effectively creating a self-correction loop. This mechanism provides implicit process-level supervision by rewarding successful error correction, without requiring an explicit, densely-annotated reward model. Experimental results on several mathematical reasoning benchmarks demonstrate that MGRPO significantly outperforms standard GRPO, achieving superior performance by fostering both reasoning and self-correction abilities.

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

↑