arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.21571cs.CLcs.AI
收藏

重新思考工具图记忆在多轮工具使用中的作用

Rethinking the Role of Tool Graph Memory in Multi-Turn Tool Use

Hanyang University(汉阳大学);Hunyuan, Tencent(腾讯混元)

Uiji Hwang, Richeng Xuan, Taeuk Kim

AI总结:

该研究在9个模型和2个基准上评估工具图记忆,发现其提升有限且成本高,将经验存为文本洞察效果更好,提出记忆作为软先验更有效。

摘要:

大型语言模型(LLM)智能体通过多轮调用外部工具解决复杂任务。近期研究提出了工具图记忆,它将过往经验存储为工具转换以指导后续选择。然而,目前仍不清楚该组件是否能持续提升智能体的工具使用效果,还是会产生负面影响。我们在9个模型和2个基准上评估了工具图记忆,发现它很少显著优于基线,且在有提升的情况下,所需的LLM调用次数是基线的两倍以上。该记忆的指导往往是错误的,随机或无指导仍能保留大部分增益,这表明收益源于额外计算而非记忆本身。此外,即使给出了正确的下一个工具建议,仍存在许多失败情况,比如弃权(不执行)而不进行工具调用。将相同经验存储为文本洞察的表现优于工具图记忆,且几乎无需额外的LLM调用。这表明记忆作为软先验而非下一个工具的处方更有效,能带来更具可推广性的解决方案。

英文摘要:

Large language model (LLM) agents solve complex tasks by calling external tools over multiple turns. Recent work has proposed tool graph memory, which stores past experience as tool transitions to guide subsequent selection. However, it remains unclear whether this component consistently improves agents' tool use or undermines it. We evaluate tool graph memory on nine models and two benchmarks, finding that it seldom improves significantly over baselines, and that its gains, where present, cost over twice the LLM calls. The memory's guidance is often incorrect, and random or no guidance retains most of the gain, implying that the benefit stems from extra computation rather than the memory itself. Moreover, even with the correct next tool suggested, many failures remain, such as giving up without a tool call. Storing the same experience instead as textual insights outperforms tool graph memory with almost no extra LLM calls. This suggests that memory serves better as a soft prior than as a prescription of the next tool, leading to a more effective and generalizable solution.

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

↑