arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2605.21951cs.LG

动态潜在记忆混合用于自演化智能体

Dynamic Mixture of Latent Memories for Self-Evolving Agents

The Chinese University of Hong Kong(香港中文大学);University of Oxford(牛津大学);Nanyang Technological University(南洋理工大学);University of Edinburgh(爱丁堡大学);Shanghai Jiao Tong University(上海交通大学)

Dianzhi Yu, Vireo Zhang, Hongru Wang, Yanyu Chen, Minda Hu, Wanghan Xu, Siki Chen, Philip Torr, Zhenfei Yin, Irwin King

AI总结:

本文提出MoLEM框架,通过动态混合专家机制实现智能体的持续学习,避免灾难性遗忘,提升任务学习和能力保持。

摘要:

实现智能体的自演化需要在变化的任务序列中持续积累新知识,同时不遗忘之前获得的能力。现有方法要么通过更新模型参数内部化知识,导致灾难性遗忘,要么依赖外部记忆,无法真正增强模型的内在能力。我们提出MoLEM,一种基于动态混合专家(MoE)的生成性潜在记忆混合框架。我们将多个专家视为独立的记忆载体来生成记忆。路由器通过键-查询匹配选择并加权专家,聚合的潜在记忆被注入推理过程。基础模型保持完全冻结,所有经验知识被内部化到附加模块中,避免灾难性遗忘。对于持续学习,每个训练阶段配对一个轻量级自编码器,在推理时选择适当的路由组,输入若不匹配任何阶段则回退到预训练模型。实验在涵盖数学、科学和代码领域的持续学习序列上训练框架。训练后,我们在相应的测试集上评估框架,以测量跨持续适应阶段的任务学习和能力保持。在完整的持续学习序列后,我们的方法在Vanilla预训练基线基础上将平均准确率提高了10.40%,而其他方法在不同训练顺序中均无法超过此基线。

英文摘要:

Achieving self-evolution in intelligent agents requires the continual accumulation of new knowledge across changing task sequences without forgetting previously acquired abilities. Existing approaches either internalize knowledge by updating model parameters, which induces catastrophic forgetting, or rely on external memory, which fails to genuinely enhance the model's intrinsic capabilities. We propose MoLEM, a generative mixture of latent memory framework based on a dynamic mixture-of-experts (MoE). We treat multiple experts as independent carriers to generate memory. A router selects and weights experts through key-query matching, and the aggregated latent memory is injected into the reasoning process. The base model for reasoning remains entirely frozen, with all experiential knowledge internalized into the additional modules, avoiding catastrophic forgetting. For continual learning, each training stage is paired with a lightweight autoencoder that selects the appropriate routing group at inference, and inputs that match no stage fall back to the pretrained model. Experiments train the framework on continual-learning sequences spanning math, science, and code domains. After training, we evaluate the framework on the corresponding test sets to measure task learning and competence preservation across continual adaptation stages. After the full continual-learning sequence, our method improves the average accuracy by 10.40% over the Vanilla pretrained baseline, while none of the competing methods consistently exceed this baseline across different training orders.

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

↑