[Paper Review] HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling
HyMem introduces a dual-granularity memory architecture with dynamic on-demand retrieval and a reflection mechanism, achieving state-of-the-art efficiency and performance on LOCOMO and LongMemEval with up to 92.6% lower computational cost.
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.
Motivation & Objective
- Motivate efficient long-context reasoning for LLM agents by addressing memory trade-offs between compression and raw text storage.
- Propose a dual-granularity memory system (Level-1 summaries and Level-2 raw text) with dynamic, on-demand retrieval.
- Introduce an LLM-guided deep retrieval module and a reflection mechanism to refine answers iteratively.
- Demonstrate improved performance and efficiency on long-context benchmarks (LoCoMo/LongMemEval) compared to full-context and baseline methods.
Proposed method
- Partition raw dialogues into event units and store as Level-1 summaries and Level-2 raw text (dual granularity).
- Embed Level-1 summaries with an embedding model and link to corresponding Level-2 content for backtracking.
- Use a lightweight memory module for fast, low-cost retrieval of Level-1 units to form a quick context.
- Activate a deep memory module when the lightweight path is incomplete, performing coarse recall followed by LLM-based self-retrieval to locate relevant Level-1/Level-2 content.
- Incorporate a reflection module that checks completeness and iteratively refines the query for multi-round reasoning.

Experimental results
Research questions
- RQ1How does a dual-granularity memory design affect the efficiency and effectiveness of long-dialogue reasoning in LLM agents?
- RQ2Can dynamic scheduling between lightweight and deep memory retrieval approaches yield better trade-offs than static retrieval strategies?
- RQ3What role does a reflection mechanism play in mitigating incomplete reasoning and hallucinations in complex queries?
- RQ4How does HyMem perform on benchmarks requiring long-term memory and multi-hop reasoning (LoCoMo/LongMemEval) compared to full-context and baselines?
Key findings
- HyMem achieves state-of-the-art balance between efficiency and performance on LoCoMo and LongMemEval benchmarks.
- It reduces computational cost by 92.6% while maintaining or improving accuracy relative to full-context baselines.
- Level-1 (summary) and Level-2 (raw text) memory enable effective retrieval with dynamic activation of the deep module only for complex queries.
- The lightweight module handles ~70% of queries efficiently, with the deep module invoked for more difficult cases, guided by a reflection mechanism.
- Ablation studies show significant token savings when the lightweight module and reflection are used, with controlled accuracy loss when memory granularity is adjusted.
- Compression analysis indicates event-level compression preserves key information better than generic pre-compression methods, reducing forgetting risk.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.