Knowledge Access Beats Model Size: Memory Augmented Routing for Persistent AI Agents

arXiv cs.CL / 3/25/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper argues that production AI agents face large redundancy in user-specific queries (up to 47% semantically similar), and that this repetition can be exploited via conversational memory to reduce inference cost.
  • It proposes a memory-augmented inference framework where a lightweight 8B model answers queries using retrieved conversational context, without extra training or labeled data.
  • Results show the 8B+memory approach reaches 30.5% F1, recovering 69% of the performance of a full-context 235B model while cutting effective cost by 96%.
  • The study finds routing by confidence alone sends most queries to the small model (about 96%) but can suffer from confident hallucinations, and that memory improves accuracy by grounding responses in retrieved user-specific information.
  • Hybrid retrieval (BM25 + cosine similarity) further improves end-to-end performance by +7.7 F1, supporting the conclusion that memory and retrieval quality matter more than raw model scale for persistent agents.

Abstract

Production AI agents frequently receive user-specific queries that are highly repetitive, with up to 47\% being semantically similar to prior interactions, yet each query is typically processed with the same computational cost. We argue that this redundancy can be exploited through conversational memory, transforming repetition from a cost burden into an efficiency advantage. We propose a memory-augmented inference framework in which a lightweight 8B-parameter model leverages retrieved conversational context to answer all queries via a low-cost inference path. Without any additional training or labeled data, this approach achieves 30.5\% F1, recovering 69\% of the performance of a full-context 235B model while reducing effective cost by 96\%. Notably, a 235B model without memory (13.7\% F1) underperforms even the standalone 8B model (15.4\% F1), indicating that for user-specific queries, access to relevant knowledge outweighs model scale. We further analyze the role of routing and confidence. At practical confidence thresholds, routing alone already directs 96\% of queries to the small model, but yields poor accuracy (13.0\% F1) due to confident hallucinations. Memory does not substantially alter routing decisions; instead, it improves correctness by grounding responses in retrieved user-specific information. As conversational memory accumulates over time, coverage of recurring topics increases, further narrowing the performance gap. We evaluate on 152 LoCoMo questions (Qwen3-8B/235B) and 500 LongMemEval questions. Incorporating hybrid retrieval (BM25 + cosine similarity) improves performance by an additional +7.7 F1, demonstrating that retrieval quality directly enhances end-to-end system performance. Overall, our results highlight that memory, rather than model size, is the primary driver of accuracy and efficiency in persistent AI agents.