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

不再需要备忘录:通过提示内化训练AI智能体掌握多任务

Memento No More: Coaching AI Agents to Master Multiple Tasks via Hints Internalization

Aalto University(阿尔托大学);Capalo AI(Capalo AI公司);University of Manchester(曼彻斯特大学);System 2 AI(System 2 AI公司)

Minttu Alakuijala, Ya Gao, Georgy Ananov, Samuel Kaski, Pekka Marttinen, Alexander Ilin, Harri Valpola

AI总结:

本文提出一种通过人类提示反馈和上下文蒸馏训练,使AI智能体内化多任务知识的方法,无需笔记系统或演示数据,并在Llama-3上超越GPT-4o和DeepSeek-V3。

摘要:

随着人工智能(AI)智能体的通用能力持续演进,它们通过经验学习掌握多个复杂任务的能力仍然是一个关键挑战。当前的LLM智能体,特别是那些基于专有语言模型的智能体,通常依赖提示(prompts)来整合关于目标任务的知识。这种方法不允许智能体内化这些信息,而是依赖不断扩展的提示来维持其在多样化场景中的功能。这类似于一个患有顺行性遗忘症(无法形成新记忆)的人所使用的笔记系统。在本文中,我们提出了一种新方法,用于训练AI智能体整合多个任务的知识和技能,而无需繁琐的笔记系统或先前的高质量演示数据。我们的方法采用迭代过程,智能体收集新经验,接收来自人类以提示(hints)形式提供的纠正性反馈,并通过上下文蒸馏(context distillation)训练程序将这些反馈整合到其权重中。我们通过在基于Llama-3的智能体中实现该方法来证明其有效性,该智能体在仅经过几轮反馈后,在需要正确排序信息检索、工具使用和问答的任务集上优于先进模型GPT-4o和DeepSeek-V3。

英文摘要:

As the general capabilities of artificial intelligence (AI) agents continue to evolve, their ability to learn to master multiple complex tasks through experience remains a key challenge. Current LLM agents, particularly those based on proprietary language models, typically rely on prompts to incorporate knowledge about the target tasks. This approach does not allow the agent to internalize this information and instead relies on ever-expanding prompts to sustain its functionality in diverse scenarios. This resembles a system of notes used by a person affected by anterograde amnesia, the inability to form new memories. In this paper, we propose a novel method to train AI agents to incorporate knowledge and skills for multiple tasks without the need for either cumbersome note systems or prior high-quality demonstration data. Our approach employs an iterative process where the agent collects new experiences, receives corrective feedback from humans in the form of hints, and integrates this feedback into its weights via a context distillation training procedure. We demonstrate the efficacy of our approach by implementing it in a Llama-3-based agent that, after only a few rounds of feedback, outperforms advanced models GPT-4o and DeepSeek-V3 in tasksets requiring correct sequencing of information retrieval, tool use, and question answering.

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

↑