Skip to main content
QUICK REVIEW

[Paper Review] MemFly: On-the-Fly Memory Optimization via Information Bottleneck

Zhenyuan Zhang, Xianzhang Jia|arXiv (Cornell University)|Feb 8, 2026
Topic ModelingComputer Science0 citations
TL;DR

MemFly introduces online information-bottleneck-based memory optimization for LLM agents, using a stratified Note-Keyword-Topic memory and a tri-pathway retrieval with iterative evidence refinement to improve long-term memory coherence and reasoning.

ABSTRACT

Long-term memory enables large language model agents to tackle complex tasks through historical interactions. However, existing frameworks encounter a fundamental dilemma between compressing redundant information efficiently and maintaining precise retrieval for downstream tasks. To bridge this gap, we propose MemFly, a framework grounded in information bottleneck principles that facilitates on-the-fly memory evolution for LLMs. Our approach minimizes compression entropy while maximizing relevance entropy via a gradient-free optimizer, constructing a stratified memory structure for efficient storage. To fully leverage MemFly, we develop a hybrid retrieval mechanism that seamlessly integrates semantic, symbolic, and topological pathways, incorporating iterative refinement to handle complex multi-hop queries. Comprehensive experiments demonstrate that MemFly substantially outperforms state-of-the-art baselines in memory coherence, response fidelity, and accuracy.

Motivation & Objective

  • Formally address the memory-consolidation versus retrieval-fidelity trade-off in agentic memory using the Information Bottleneck (IB) framework.
  • Develop an online, gradient-free memory optimization procedure that minimizes I(X;M) while maximizing I(M;Y) via agglomerative updates.
  • Design a stratified memory architecture (Notes, Keywords, Topics) to stabilize semantic space and preserve task-relevant evidence.
  • Create a tri-pathway retrieval mechanism (semantic topics, symbolic keywords, topological links) with iterative evidence refinement for complex queries.
  • Evaluate MemFly against state-of-the-art baselines on long-horizon memory benchmarks to demonstrate improvements in memory coherence and reasoning accuracy.

Proposed method

  • Formalize agentic memory as an Online IB optimization problem with a memory state M_t modeled as a dynamic graph.
  • Use an online greedy agglomeration (AIB-inspired) where a gradient-free LLM-based policy decides Merge, Link, or Append for memory units to minimize a IB Lagrangian.
  • Maintain a stratified Note–Keyword–Topic hierarchy (Notes for fidelity, Keywords as symbolic anchors, Topics for macro-navigation) to stabilize the semantic space.
  • Implement a topic-evolution step using constrained graph partitioning (Leiden algorithm) on the Keyword co-occurrence graph to preserve navigability.
  • Deploy a tri-pathway retrieval mechanism—Macro-Semantic via Topics, Micro-Symbolic via Keywords, Topological Expansion via Related edges—followed by Iterative Evidence Refinement (IER) to handle multi-hop queries.
  • Ingestion pipeline includes semantic denoising and extraction of Keywords via LLM-based parsing; Merge reduces redundancy, Link preserves task-relevant dependencies, Append adds novel content.
  • Optimization objective: minimize IB loss L_IB = I(X_1:t; M_t) − β I(M_t; Y), approximating Y via local coherence and global navigability surrogates when true future tasks are unknown.
  • Evidence fusion at retrieval uses Reciprocal Rank Fusion (RRF) across pathways to build a final evidence pool for answer synthesis.

Experimental results

Research questions

  • RQ1Can MemFly's online IB-based memory construction outperform existing retrieval-centric and memory-augmentation approaches in preserving relevant information while compressing redundancy?
  • RQ2Does the tri-pathway retrieval with iterative refinement improve multi-hop reasoning and answer fidelity over baseline memory systems?
  • RQ3How do individual components (Merge, Link, Append, Keyword anchoring, Topic navigation, IER) contribute to overall performance?
  • RQ4Is MemFly robust across both closed-source and open-source backbone models and across diverse reasoning categories (multi-hop, temporal, open-domain, etc.)?

Key findings

  • MemFly demonstrates substantial improvements in memory coherence, response fidelity, and reasoning accuracy compared with state-of-the-art baselines across multiple backbone models.
  • A memory structure grounded in Notes, Keywords, and Topics stabilizes semantic space and preserves task-relevant evidence for downstream tasks.
  • A gradient-free LLM-based optimizer can approximate information bottleneck decisions in an online setting, enabling effective memory consolidation without explicit gradient-based updates.
  • Tri-pathway retrieval plus iterative refinement enhances multi-hop reasoning by leveraging macro semantic localization, micro-symbolic anchoring, and topological expansion to assemble evidence.
  • Ablation studies indicate that active memory construction and the retrieval pathways both contribute significantly to performance, with reductions in either leading to measurable degradations in F1/recall/hit-rate metrics.
  • Open-source backbone models benefit notably from MemFly’s structured memory, suggesting stronger compensations for weaker in-context reasoning in less capable models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.