Skip to main content
QUICK REVIEW

[论文解读] HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling

Xiaochen Zhao, Kaikai Wang|arXiv (Cornell University)|Feb 15, 2026
Topic ModelingComputer Science被引用 0
一句话总结

HyMem 引入具有动态按需检索和反思机制的双粒度内存架构,在 LOCOMO 和 LongMemEval 上实现了最先进的效率与性能,计算成本最多降低 92.6%。

ABSTRACT

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.

研究动机与目标

  • 通过解决压缩与原始文本存储之间的内存权衡,推动面向 LLM 代理的高效长上下文推理。
  • 提出具有动态按需检索的双粒度内存系统(一级摘要和二级原始文本)。
  • 引入由LLM引导的深度检索模块与反思机制,以迭代改进答案。
  • 在长上下文基准(LoCoMo/LongMemEval)上展示相较于全上下文与基线方法的性能与效率提升。

提出的方法

  • 将原始对话分割为事件单元并存储为一级摘要和二级原始文本(双粒度)。
  • 使用嵌入模型对一级摘要进行嵌入并将其与对应的二级内容进行链接以便回溯。
  • 使用轻量级内存模块快速、低成本检索一级单元以形成快速上下文。
  • 当轻量路径不完整时激活深度内存模块,先进行粗略召回再通过基于LLM的自检检索定位相关的一级/二级内容。
  • 加入反思模块,检查完整性并迭代性地改进查询以实现多轮推理。
Figure 1 : Conventional lightweight methods struggle with complex tasks, while sophisticated approaches incur high overhead for simple queries. In contrast, our HyMem dynamically allocates memory resources based on task demands, achieving dual optimization of performance and efficiency.
Figure 1 : Conventional lightweight methods struggle with complex tasks, while sophisticated approaches incur high overhead for simple queries. In contrast, our HyMem dynamically allocates memory resources based on task demands, achieving dual optimization of performance and efficiency.

实验结果

研究问题

  • RQ1双粒度内存设计如何影响 LLM 代理的长对话推理的效率与效果?
  • RQ2在轻量与深度内存检索之间的动态调度是否比静态检索策略带来更好的权衡?
  • RQ3反思机制在缓解复杂查询中的不完整推理和幻觉方面起到何种作用?
  • RQ4与全上下文和基线方法相比,HyMem 在需要长期记忆与多跳推理的基准(LoCoMo/LongMemEval)上的表现如何?

主要发现

  • HyMem 在 LoCoMo 与 LongMemEval 基准上实现了效率与性能的最优平衡。
  • 在保持或提升相对于全上下文基线的准确性同时,将计算成本下降了 92.6%。
  • 一级(摘要)与二级(原始文本)内存实现了高效检索,且仅在复杂查询时动态激活深度模块。
  • 轻量模块高效处理约 70% 的查询,较难的案件则由深度模块处理,并由反思机制引导。
  • 消融研究表明在使用轻量模块与反思时可以显著节省令牌数,在内存粒度调整时对准确度的下降可控。
  • 压缩分析表明事件级压缩比通用预压缩方法更能保留关键信息,降低遗忘风险。
Figure 2 : Our approach demonstrates superior efficiency, achieving the best balance between performance and computational cost (measured in tokens) on the LOCOMO benchmark.
Figure 2 : Our approach demonstrates superior efficiency, achieving the best balance between performance and computational cost (measured in tokens) on the LOCOMO benchmark.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。