Manuscript Offprint

arXiv:2610.07782

Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can Tell

Hochan Son, Kyungdoe Han, Jaehan Koh, Xiaowu Dai, Wenlu Xu, Guang Cheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Decomposing long-context inference across cooperating agents bounds the active KV cache per call rather than total evidence, which matters when KV-cache memory binds. Many such systems add a persistent tier storing and recalling reasoning traces, usually validated by an ablation reporting an accuracy gain. We measure both on one three-tier agent architecture. Decomposition delivers: peak KV working set of 14.3 MiB per query against 35.5 and 35.3 MiB for single-pass and retrieval-augmented baselines. The persistent tier does not: across eight controlled dataset pairs at n=100 per arm it costs +0.368 MiB [+0.167,+0.590][+0.167, +0.590] of peak cache and produces no detectable accuracy change (+0.015, 95% CI [−0.011,+0.046][-0.011, +0.046]). We argue the null is structural: single-question benchmarks supply each item with its own evidence and score it independently, and correctness requires resetting stored traces between conditions, so recall has nothing informative to retrieve. Reaching it took four measurement corrections—three inflating the apparent benefit, the fourth making an effect that size look resolvable—none visible in the results table. We give the conditions an agent-memory ablation must satisfy and detection procedures that need no knowledge of the specific defect.

1 Bounding the working set, and the tier that is hard to test

The KV cache is the memory bottleneck of long-context inference: it grows with context, is provisioned against its peak, not its average, and routinely exceeds an edge accelerator's VRAM, which is why cache management is a systems problem in its own right [Kwon et al., 2023]. One response is architectural: if a task is decomposed across agents, each handling part of the evidence and passing distilled state onward [Zhang et al., 2024], no single call holds the whole context and the active working set stays bounded as total evidence grows.

Systems in this family commonly add a further tier: a persistent store keeping each query’s reasoning trace and retrieving relevant ones later. The argument is intuitive—an agent that remembers should need less context—and is usually supported by an ablation that disables the tier and reports an accuracy drop.

We measure both on one such system. The first holds; the second does not—and we argue the way these systems are evaluated makes it very difficult either for it to hold or for a reported gain to mean what it appears to.

What is new here. Retrieval augmentation and agent decomposition are routinely treated as interchangeable answers to long context. For memory they are not: RAG changes which evidence enters a call; decomposition changes how many calls it is spread across, and only the second bounds the peak KV. Our retrieval-matched RAG baseline still concatenates its passages into one generation call and measures a peak indistinguishable from closed-book single-pass (Table 1): filtering

*Lead contributor and corresponding author: hochanson@g.ucla.edu.

†^{\dagger}Corresponding author: guangcheng@stat.ucla.edu.

The 10th Machine Learning for Systems Workshop at NeurIPS 2026, Sydney, Australia.

Figure

Figure 1: The measured system and the single axis the ablation varies; Appendix A.1 gives the block-level call sequence.

evidence better does not shrink the largest call. To our knowledge no prior work reports an agent architecture's peak KV as a measured, ablated systems quantity (§6); that decomposition alone bounds it, independent of any persistent-recall tier, is our first contribution and §3–4's null the second. We do not claim persistent recall improves accuracy: that is untested, not disproven.

The architecture. Figure 1 shows the system. L1 is the ephemeral per-call KV cache. L2 is a key-value store of typed Communication Units, so an agent receives distilled predecessor output rather than raw context. L3 is a vector store whose two roles—semantic evidence filtering before anything enters a cache, and (q,k,v)(q, k, v) trace persistence for cross-query recall—are separable in code; only the second is the persistent-memory claim. We call the full system CoA-PKV—chain of agents over a persistent key-value tier—and the arm with trace recall and writes disabled CoA-NoKV; they differ in exactly those two operations, L1, L2 and evidence filtering untouched in both.