Manuscript Offprint

arXiv:2610.31303

The Value of Memory in Language Agents

Zehao Lin, Erenkai Zhu, Helan Hu, Xixuan Hao, Chunyu Li, Kai Chen

Zehao Lin 1^{1}

linzh@memtensor.cn

Xixuan Hao 1,3^{1,3}

xhao390@connect.hkust-gz.edu.cn

1^{1}MemTensor

2^{2}Shanghai Jiaotong University

3^{3}The Hong Kong University of Science and Technology (Guangzhou)

Erenkai Zhu 2^{2}

erz21@sjtu.edu.cn

Chunyu Li 1^{1}

licy@memtensor.cn

chenk@memtensor.cn

Kai Chen 1^{1}

Shanghai Jiaotong University

Abstract

Memory enables language agents to carry useful distinctions from past experience into future decisions. Its value depends on which distinctions survive, whether a bounded agent can use them, and what can be recovered or revised as demands evolve. We develop a decision-theoretic framework that follows this value from raw history through persistent state, operational use, and costly recovery and revision. Original and retained value are expressed in units of avoided task loss; risk–cost frontiers describe attainable recovery and preservation across uses. Unknown demand yields value profiles, while interactive feedback changes the distribution of future work. A cost-aware simulation condition and five minimal counterexamples expose the roles of information timing, retrieval access, component interaction, feedback and demand uncertainty. In particular, a pointer with zero mutual information about the answer can still reduce the cost of exact recovery. Diagnostics on LoCoMo, a two-project update task and longitudinal cases exhibit failures of preservation, use and measurement. At fixed retrieved evidence, a saved ledger changes subsequent answers; at fixed agent outputs, an evaluator revision changes scores. The framework connects these distinctions to operational risk bounds and testable principles for allocating memory, preserving recovery options and revising evidence dependencies.

1 Memory as a resource for future decisions

Language agents operate across conversations, projects and changing objectives. Their memory carries decisions, plans, evidence and constraints from earlier work into requests that may not yet be known. Consider an assistant maintaining two projects: an audit in the first has just finished, while a report in the second still contains a valid citation and a separate citation requiring correction. Updating the first project's plan should preserve the distinctions needed to resume the second. What matters is the future work that this history makes possible.

This raises a valuation problem. How much decision value was available in the original history? How much survives in the stored state, and how much can a bounded agent actually use? When future demands change, what additional value can be recovered or created through revision, at what cost, and with what effects on other uses? These questions connect memory capacity, retrieval, continual updating and evaluation.

Our thesis is that the value of memory lies in its contribution to future decisions, jointly with the cost of preserving, accessing and revising that contribution. A stored state can carry relevant information that its reader fails to use. An address can accelerate recovery while carrying no direct information about the answer. A revision can improve one task and damage another. A useful account of memory value must describe these possibilities together.

Preprint.

Figure

Figure 1: Memory value across information, operation and measurement. The operational system Σ\Sigma includes writing, storage, recovery, revision and reading. Its actions affect the environment and later demands; J\mathcal{J} measures the resulting trajectories under a task loss and reference labels. The outer boundary records comparison conditions. The dashed query input denotes the query-aware alternative. The lower strip compares potential risks under matched assumptions; O denotes new revision evidence.

We develop a decision-theoretic framework that follows value from raw history to retained state, operational use, and costly recovery and revision (Figure 1). Original and retained value share a common unit of avoided decision loss; actual system effects additionally depend on the reader and its interactions. Risk-cost frontiers express what recovery and revision can achieve, while demand profiles preserve uncertainty about future use.

The framework has both analytical and empirical consequences. A cost-aware simulation condition and five minimal counterexamples explain how information timing, access, component interaction, feedback and demand shape value. We then make value claims measurable through explicit comparison conditions, a LoCoMo retention–recovery pilot, a two-project update control and longitudinal failure cases. These diagnostics separate changes in useful capability from changes in the process used to score it. Operational risk bounds and three testable design hypotheses connect this account to allocating state, preserving recovery options and revising evidence-dependent plans.

References (61)