不微调大模型也能让智能体持续学习,靠记忆机制实现高效适应。
Memento: Fine-tuning LLM Agents without Fine-tuning LLMs
- 用记忆增强的决策过程替代微调,通过经验存储和检索来更新策略。
- 在GAIA验证集上达87.88%通过率,深度研究数据集上F1达66.6%。
- 适合需要实时学习、避免参数更新的通用智能体开发场景。
本文提出一种新型自适应大语言模型智能体学习范式,无需微调底层大模型。现有方法或僵化依赖手工设计的反思流程,或计算开销大需更新模型参数。我们的方法通过基于记忆的在线强化学习实现低成本持续适配,形式化为记忆增强的马尔可夫决策过程(M-MDP),配备神经案例选择策略引导动作决策。过往经验存入情景记忆(可微或非参数化),策略通过记忆重写机制根据环境反馈持续更新,策略优化则通过高效记忆读取完成。我们在深度研究场景中实现了名为Memento的智能体,在GAIA验证集上达到87.88% Pass@3,测试集上79.40%;在DeepResearcher数据集上取得66.6% F1和80.4% PM,优于基于训练的最先进方法,基于案例的记忆使分布外任务性能提升4.7%至9.6%绝对点。该方法为无需梯度更新的通用智能体提供可扩展、高效的持续学习路径,推动机器学习向开放技能获取与深度研究场景演进。代码已开源。
原文摘要 · Abstract (English)
In this paper, we introduce a novel learning paradigm for Adaptive Large Language Model (LLM) agents that eliminates the need for fine-tuning the underlying LLMs. Existing approaches are often either rigid, relying on static, handcrafted reflection workflows, or computationally intensive, requiring gradient updates of LLM model parameters. In contrast, our method enables low-cost continual adaptation via memory-based online reinforcement learning. We formalise this as a Memory-augmented Markov Decision Process (M-MDP), equipped with a neural case-selection policy to guide action decisions. Past experiences are stored in an episodic memory, either differentiable or non-parametric. The policy is continually updated based on environmental feedback through a memory rewriting mechanism, whereas policy improvement is achieved through efficient memory reading (retrieval). We instantiate our agent model in the deep research setting, namely \emph{Memento}, which attains top-1 on GAIA validation ($87.88\%$ Pass@$3$) and $79.40\%$ on the test set. It reaches $66.6\%$ F1 and $80.4\%$ PM on the DeepResearcher dataset, outperforming the state-of-the-art training-based method, while case-based memory adds $4.7\%$ to $9.6\%$ absolute points on out-of-distribution tasks. Our approach offers a scalable and efficient pathway for developing generalist LLM agents capable of continuous, real-time learning without gradient updates, advancing machine learning towards open-ended skill acquisition and deep research scenarios. The code is available at https://github.com/Agent-on-the-Fly/Memento.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。