NTH

Instant Weight-Space Consolidation for Long-Term Memory in LLMs

AuthorsManan Suri, Dinesh Manocha

AffiliationsUniversity of Maryland, College Park · {manans, dmanocha}@umd.edu

November 24, 2026 2 min read
Watch on YouTube
The one-line take

CLAM gives language models a compact, continuously updated weight-space memory while preserving a buffer for exact past details.

Key results

900K
Synthetic training trajectories

Memory-dependent trajectories used to train CLAM.

151
Maximum speedup over extraction systems

Fold faster wall-clock memory construction.

55.3%
LoCoMo accuracy, Mistral-7B

CLAM accuracy on LoCoMo.

53.2%
LongMemEval-S accuracy, Mistral-7B

CLAM accuracy on LongMemEval-S.

12–15
Gain when retrieval misses evidence

Accuracy points added by the adapter when the buffer misses gold evidence.

What the paper found

CLAM, or Carried Latent Adapter Memory, pairs a fast episodic buffer with a learned weight-space memory. A recurrent hypernetwork reads session activations from a frozen language model, updates a fixed-size gated latent state, and generates a rank-8 low-rank adapter in one forward pass—without test-time gradient steps or generative language-model calls. At question time, the adapter supplies consolidated cross-session patterns while a retrieval buffer returns specific evidence. The system was trained on 900K synthetic memory-dependent trajectories generated with Llama-3.3-70B-Instruct and evaluated on LoCoMo and LongMemEval-S using Gemma-2-2B, Qwen3-4B, and Mistral-7B. CLAM led agentic memory baselines by 1–45 points and gradient-based parametric methods by 10–45 points, while building memory 3–151-fold faster than extraction systems. On Mistral-7B, it reached 55.3% accuracy on LoCoMo and 53.2% on LongMemEval-S. The two memory channels were complementary: the adapter added 12–15 accuracy points when retrieval missed the gold evidence, and still added 4–5 points with an oracle buffer. The key result is a bounded, persistent parametric memory that accumulates experience without replacing retrieval of exact details.

Original abstract

Agentic memory systems give LLMs persistent memory by extracting experience into text and retrieving it at query time, but the model itself does not evolve: however many interactions it has had, it starts each query the same. Extraction errors compound, implicit cross-session patterns that no single fragment states cannot be surfaced, and the construction cost grows with every conversation. Fine-tuning on past interactions does change the weights, but requires backpropagation at serving time and degrades on long histories. We introduce CLAM (Carried Latent Adapter Memory), which combines the strengths of both: a recurrent hypernetwork performs parametric consolidation, compiling a stream of session activations into a low-rank adapter in a single forward pass with no gradient steps and no language-model generation calls, while a complementary episodic buffer supplies verbatim detail at inference. A gated latent state carries knowledge across sessions in fixed size, so the parametric memory accumulates without growing. On LoCoMo and LongMemEval-S across three open models (2-7B parameters), CLAM leads all agentic baselines by 1-45 points and all gradient-based parametric methods by 10-45 points, while requiring zero generative LLM calls, zero gradient steps, and 3-151x less wall-clock time than extraction systems to build its memory. The two channels are complementary: the consolidated adapter adds 12-15 accuracy points when the episodic buffer misses the gold evidence, and still adds 4-5 points even with an oracle buffer.

Read the original paper

More in Continual Learning

Browse all 33 papers →
03Continual Learning

Are Self-Evolving Agents Continual Learners?

Xiaoyin Chen, Yizheng Huang, Yinglun Xu, Ziyun Zhao, Emmett McQuinn, Julie Liu, Hope Yao

The study finds that current self-evolving AI agents can learn new workflows, but often do so by disrupting what they already know.

Read analysis