隐式层次GRPO:将工具调用与执行解耦以实现工具集成的数学推理
Implicit Hierarchical GRPO: Decoupling Tool Invocation from Execution for Tool-Integrated Mathematical Reasoning
AI总结:
本文提出了一种将工具调用与执行解耦的方法,通过引入延迟执行和显式控制来增强工具集成推理能力,并提出了一个分层控制框架和理论推导出的替代损失函数,从而得到隐式分层策略,最终提出IH-GRPO算法,在六个跨领域数学推理基准测试中,Qwen3-1.7B、Qwen3-4B和Qwen3-8B在最强基线方法上分别实现了1.87%、2.16%和2.53%的绝对提升。
摘要:
大型语言模型(LLMs)越来越多地利用工具调用来增强其推理能力。然而,现有方法通常紧密耦合工具调用与即时执行。这种即时工具交互可能会破坏LLMs的推理连贯性并限制其表达能力,最终降低推理性能。为此,我们首次提出并形式化了在推理过程中解耦工具调用与执行的问题,并引入延迟执行与显式控制以增强工具集成推理(TIR)。此外,我们提出了一种分层控制框架,并理论推导出一个替代损失函数,使隐式分层策略能够学习等同于显式分层策略的行为,从而得到所提出的IH-GRPO算法。在六个跨领域数学推理基准测试中,IH-GRPO在Qwen3-1.7B、Qwen3-4B和Qwen3-8B上分别实现了1.87%、2.16%和2.53%的绝对提升,同时在其他领域也产生了持续的性能提升。我们的代码可在https://github.com/Lumina04/IH-GRPO-01上获得。
英文摘要:
Large language models (LLMs) have increasingly leveraged tool invocation to enhance their reasoning capabilities. However, existing approaches typically tightly couple tool invocation with immediate execution. Such immediate tool interaction may disrupt the reasoning coherence of LLMs and constrain their expressivity, ultimately degrading reasoning performance. To this end, for the first time, we propose and formalize the problem of decoupling tool invocation from execution during reasoning, and introduce delayed execution with explicit control to enhance tool-integrated reasoning (TIR). Furthermore, we propose a hierarchical control framework and theoretically derive a surrogate loss that enables an implicitly hierarchical policy to learn behavior equivalent to that of an explicit hierarchical policy, leading to the proposed IH-GRPO algorithm. Extensive experiments on IH-GRPO achieve absolute improvements of 1.87\%, 2.16\%, and 2.53\% on Qwen3-1.7B, Qwen3-4B, and Qwen3-8B across six out-of-domain mathematical reasoning benchmarks over the strongest baseline method, while also yielding consistent performance gains in other domains. Our code is available at https://github.com/Lumina04/IH-GRPO-01.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。