From Memory Hits to Answerable Evidence: Query-Conditioned Memory Compilation for Long-Term Agent Memory
Abstract
Long-term agent memory requires recovering answer-relevant evidence dispersed across turns and sessions. Existing systems increasingly use structured memories and adaptive retrieval, yet often pass retrieved or expanded units directly to the reader, coupling memory addressing with evidence presentation and leaving the final context redundant or incomplete. To address this gap, we propose MemCompile, a query-conditioned evidence compilation framework for long-term conversational memory. Given a query, the Address Plane locates relevant support through compact source-linked descriptors and capacity-aware Cells, while a normalization boundary resolves heterogeneous retrieval hits to stable SourcePacket identities. Its Evidence Plane then allocates a bounded evidence budget across complementary packets, admits limited additional support, and renders the retained claims associated with each selected packet into an answer-ready context. MemCompile achieves 80.52% Judge Accuracy on LoCoMo and extends the empirical quality-cost Pareto frontier to a higher-quality regime. Its strong performance on LongMemEval-S further suggests that the benefits of query-conditioned compilation generalize across long-term conversational-memory benchmarks.
Create a lesson
Related papers
Memory, Know Your PLACE: Governing Lifecycle State and Query-Time Eligibility in Persistent-Memory Agents
Shared title terminologycs.AIChen-Fang Hu, Hong-Han Shuai, Woan-Shiuan Chien
MemPrice: Online Memory Allocation via Adaptive Pricing for Long-Horizon Agents
Shared title terminologycs.AIYiming Zong, Shiyuan Piao, Jiashuo Jiang et al.
HABIT-Bench: Evaluating Habit Induction from Longitudinal Weak Evidence in Agent Memory
Shared title terminologycs.AIJunming Zhang, Rubin Wei, Xu Cheng et al.
RL-Guided Temporal Localization for Dual-Channel Retrieval in Long-Horizon Agent Memory
Shared title terminologycs.AIDabin Sheng, Zhe Wu, Jinming Zhao et al.
From Relevant Memories to Sufficient Evidence: Rethinking Memory Utilization in LLM Agents
Shared title terminologycs.AIShixuan Li, Wei Yang, Peiyu Zhang et al.
Similarity-Constrained Reweighting for Complex Query Answering on Knowledge Graphs
Shared title terminologycs.AIDaniel Daza, Alberto Bernardi, Luca Costabello et al.