mlsanityData to 14 Oct 2026

Decoupling Memory from Context: Structured Memory for Token-Efficient Test-Time Continual Learning

arXiv 2610.02687 ↗First posted 2 Oct 2026cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are increasingly deployed in enterprise, scientific, and medical applications, where agents must incorporate domain-specific knowledge and adapt from experience. Context engineering offers a practical alternative to weight updates by improving model behavior through instructions, strategies, and evidence supplied at inference time. However, adapting context online typically requires a costly trial-and-error process, while queries are often processed independently, preventing useful experience from carrying forward. Memory systems address this limitation by retaining information across interactions, but approaches that continually append information to a shared context face increasing token costs, context-window limits, and performance degradation as the context expands. We introduce a unified formulation of context optimization and show that an agent memory system update can be interpreted as an optimization update procedure over the model's context. This perspective attempts to provide a principled framework for studying memory design and its efficiency. We then propose GraphMemory, a lightweight graph-based memory that accumulates, refines, organizes, and connects reusable strategies. For each query, GraphMemory retrieves only the relevant subgraph, enabling online context adaptation without exposing the model to the entire memory. Under bounded retrieval, the amount of retrieved memory remains constant as the number of processed examples grows. Experiments show that GraphMemory achieves competitive downstream performance while using approximately 81-85% fewer memory-construction tokens than our baselines.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 24 references that are in the map. First posted on arXiv 2 Oct 2026.

Builds on

20 of 24 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  4. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  5. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  6. 2023Large Language Models as Optimizerscited by 864
  7. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  8. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  9. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
  10. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  11. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  12. 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skillscited by 187
8 more
  1. 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 69
  2. 2022FiNER: Financial Numeric Entity Recognition for XBRL Taggingcited by 50
  3. 2023Sweeping Heterogeneity with Smart MoPs: Mixture of Prompts for LLM Task Adaptationcited by 12
  4. 2025FinLoRA: Benchmarking LoRA Methods for Fine-Tuning LLMs on Financial Datasetscited by 12
  5. 2026WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolutioncited by 12
  6. 2026HAGE: Harnessing Agentic Memory via RL-Driven Weighted Graph Evolutioncited by 6
  7. 2025Latent Principle Discovery for Language Model Self-Improvementcited by 2
  8. 2026RIZZ: Routing Interactions to Near Zero-Interference Zones for Continual Adaptation of Black-Box Agentscited by 1

Built on by

Not cited yet.