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

NextMem: 向基于大语言模型的智能体构建潜在事实记忆

NextMem: Towards Latent Factual Memory for LLM-based Agents

Zeyu Zhang, Rui Li, Xiaoyan Zhao, Yang Zhang, Wenjie Wang, Xu Chen, Tat-Seng Chua

AI总结:

NextMem提出一种基于自回归自编码器的潜在事实记忆框架,通过两阶段训练和量化技术提升记忆构建效率与准确性,在检索、鲁棒性和扩展性方面表现优异。

摘要:

记忆对于基于大语言模型的智能体在未来的决策中保留过去的观察至关重要,其中事实记忆是其基础部分。然而,现有构建事实记忆的方法面临诸多限制。文本方法 impose 重的上下文和索引负担,而参数方法则面临灾难性遗忘和高成本问题。为解决这些挑战,我们引入NextMem,一种利用自回归自编码器高效构建潜在记忆并确保准确重建的潜在事实记忆框架。为更好地优化,我们提出两阶段训练过程,包括自回归重建对齐和渐进式潜在替代。我们还结合量化以减少存储开销。大量实验表明,NextMem在性能上优于现有方法,并在检索、鲁棒性和扩展性方面表现出色。我们已发布代码和模型检查点在https://github.com/nuster1128/NextMem。

英文摘要:

Memory is critical for LLM-based agents to preserve past observations for future decision-making, where factual memory serves as its foundational part. However, existing approaches to constructing factual memory face several limitations. Textual methods impose heavy context and indexing burdens, while parametric methods suffer from catastrophic forgetting and high costs. To address these challenges, we introduce NextMem, a latent factual memory framework that utilizes an autoregressive autoencoder to efficiently construct latent memory while ensuring accurate reconstruction. For better optimization, we propose a two-stage training process, including autoregressive reconstruction alignment and progressive latent substitution. We also incorporate quantization to reduce storage overhead. Extensive experiments demonstrate that NextMem achieves superior performance, and excels in retrieval, robustness, and extensibility properties. We release our code and model checkpoints at https://github.com/nuster1128/NextMem.

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

↑