arXiv:2602.13933cs.AI2026-02被引 4

HyMem通过动态调度实现高效长对话记忆管理

HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling

  • 采用多粒度存储与两级检索,按需激活轻量或深度模块
  • 在两个基准上超越全上下文模型,计算成本降低92.6%
  • 适合需要长期记忆且资源受限的智能体应用

大语言模型代理在短文本场景表现优异,但在长对话中常因内存管理低效而性能下降。现有方法在效率与效果间存在根本权衡:压缩记忆会丢失复杂推理所需细节,保留原始文本则为简单查询带来冗余开销。核心问题在于单一体系结构和静态检索机制无法模拟人类灵活主动的记忆调度能力,难以适应多样任务场景。受认知经济原理启发,我们提出HyMem,一种通过多粒度记忆表示实现动态按需调度的混合内存架构。HyMem采用双粒度存储方案与动态两级检索系统:轻量模块生成摘要级上下文以高效生成回复,而基于LLM的深度模块仅在复杂查询时被选择性激活,并辅以反射机制进行迭代推理优化。实验表明,HyMem在LOCOMO与LongMemEval基准上均优于全上下文方法,计算成本降低92.6%,在长期记忆管理中实现了效率与性能的最先进平衡。

原文摘要 · Abstract (English)

Large language model (LLM) agents demonstrate strong performance in short-text contexts but often underperform in extended dialogues due to inefficient memory management. Existing approaches face a fundamental trade-off between efficiency and effectiveness: memory compression risks losing critical details required for complex reasoning, while retaining raw text introduces unnecessary computational overhead for simple queries. The crux lies in the limitations of monolithic memory representations and static retrieval mechanisms, which fail to emulate the flexible and proactive memory scheduling capabilities observed in humans, thus struggling to adapt to diverse problem scenarios. Inspired by the principle of cognitive economy, we propose HyMem, a hybrid memory architecture that enables dynamic on-demand scheduling through multi-granular memory representations. HyMem adopts a dual-granular storage scheme paired with a dynamic two-tier retrieval system: a lightweight module constructs summary-level context for efficient response generation, while an LLM-based deep module is selectively activated only for complex queries, augmented by a reflection mechanism for iterative reasoning refinement. Experiments show that HyMem achieves strong performance on both the LOCOMO and LongMemEval benchmarks, outperforming full-context while reducing computational cost by 92.6\%, establishing a state-of-the-art balance between efficiency and performance in long-term memory management.

长对话记忆管理混合架构动态调度

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。