ToolMem:利用可学习的工具能力记忆增强多模态智能体
ToolMem: Enhancing Multimodal Agents with Learnable Tool Capability Memory
AI总结:
ToolMem通过记忆工具能力,使多模态智能体在推理时选择最优工具,在文本和图像生成任务中预测准确率提升14.8%和28.7%,选择准确率提升21%和24%。
摘要:
利用大型语言模型(LLM)或视觉语言模型(VLM)驱动的工具,智能体在跨文本和视觉模态的各种任务中已展现出显著进展。与计算器等产生确定性输出的传统工具不同,神经工具在不同任务场景中的表现具有不确定性。虽然针对某一任务的不同工具可能在不同场景中各有所长,但现有智能体通常依赖固定工具,从而限制了为特定任务选择最合适工具的灵活性。相比之下,人类通过与工具的交互,逐步积累对工具能力的理解,并在解决未来任务时运用这一知识来选择最优工具。为使智能体也能从这一过程中获益,我们提出了ToolMem,使智能体能够通过总结先前交互中工具的优势和劣势并将其存储在记忆中,从而形成对工具能力的记忆;在推理时,智能体可以从ToolMem中检索相关条目,并选择最佳工具以更准确地解决个体任务。我们在学习多种文本生成和文本到图像生成的神经工具上评估了ToolMem。与无记忆的通用智能体相比,我们发现经过ToolMem增强的智能体在文本和多模态生成场景中预测工具性能的准确率分别提高了14.8%和28.7%。此外,ToolMem在相应场景中分别使多个选项间的最优工具选择绝对提升了21%和24%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。