arXiv:2510.06664cs.CL2025-10被引 10

让智能体学会记忆工具优劣,自动选最合适的工具完成任务。

ToolMem: Enhancing Multimodal Agents with Learnable Tool Capability Memory

  • 通过记忆过往工具使用经验,总结其优缺点
  • 在文本和图文生成中预测工具表现准确率提升14.8%~28.7%
  • 在多工具选择中提升最优决策率21%~24%,适合复杂任务场景

利用大语言模型(LLMs)或视觉语言模型(VLMs)驱动的工具智能体已在文本与视觉任务中取得显著进展。不同于计算器等确定性工具,神经工具在不同任务场景下表现具有不确定性。现有智能体通常依赖固定工具,缺乏根据任务动态选择最佳工具的灵活性。人类通过反复使用工具积累对工具能力的认知,并据此选择最优工具。为此,我们提出ToolMem,使智能体能从过往交互中学习并存储工具能力记忆,包括其优势与局限;推理时可检索相关记忆,更准确地选择合适工具。我们在多种文本生成与文本到图像生成神经工具上评估ToolMem,结果表明,相比无记忆的通用智能体,ToolMem增强型智能体在文本与多模态生成场景中预测工具性能的准确率分别提升14.8%和28.7%。同时,在多工具选择中,最优工具选择成功率分别提高21%和24%绝对值。

原文摘要 · Abstract (English)

Agents utilizing tools powered by large language models (LLMs) or vision-language models (VLMs) have demonstrated remarkable progress in diverse tasks across text and visual modalities. Unlike traditional tools such as calculators, which give deterministic outputs, neural tools perform uncertainly across task scenarios. While different tools for a task may excel in varied scenarios, existing agents typically rely on fixed tools, thus limiting the flexibility in selecting the most suitable tool for specific tasks. In contrast, humans snowball their understanding of the capabilities of different tools by interacting with them, and apply this knowledge to select the optimal tool when solving a future task. To build agents that similarly benefit from this process, we propose ToolMem that enables agents to develop memories of tool capabilities from previous interactions, by summarizing their strengths and weaknesses and storing them in memory; at inference, the agent can retrieve relevant entries from ToolMem, and select the best tool to solve individual tasks more accurately. We evaluate ToolMem on learning varied text generation and text-to-image generation neural tools. Compared to no-memory, generic agents, we find ToolMem-augmented agents predict tool performance 14.8% and 28.7% more accurately across text and multimodal generation scenarios. Moreover, ToolMem facilitates optimal tool selection among multiple choices by 21% and 24% absolute increases in respective scenarios.

智能体工具记忆多模态强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。