cs.AIOct 16, 2026

From Memory Hits to Answerable Evidence: Query-Conditioned Memory Compilation for Long-Term Agent Memory

Authors: Shangze Li, Yanyu Yao, Derong Xu, Zhi Zheng, Tong Xu

Organizations: State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China, Hefei, China

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.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Recall What Is Missing: Composing Evidence from Long-Term Agent Memory

    Oct 11, 2026Qi Feng, Jicong FanLong-Term Conversational MemoryInformation Retrieval

  2. JustMem: Just-Enough Memory Access for Long-Term Conversations

    Sep 17, 2026Guanhua Chen, Yanting Wang, Wenjing Zhi +1Conversational MemoryConversational QA

  3. CueMem: Cue-Guided Context Reconstruction for Long-Term Conversational Memory

    Sep 11, 2026Changjian Wang, Rongzhen Li, Weili Guan +3Conversational MemoryLong-Term Conversational Memory