← All papers  /  Nov 6, 2026
Agents · Retrieval

ENGRAM: From Agent Experience to Weights through Verified Consolidation

First page
ENGRAM: From Agent Experience to Weights through Verified Consolidation
The curator’s take

Ruiyi Yang and colleagues at the University of New South Wales introduce ENGRAM, which moves agent experience from retrieval into model weights only after a verification gate shows the trained model no longer needs the stored records.

Ask this paper

Key points
01

Two decisions. ENGRAM separates which experience to train on from when its records can leave retrieval.

02

Admission. A skill is admitted for training when the student has mastered it or the teacher has enough successful demonstrations, using traces linked in an Engram Trace Graph.

03

Verified release. The updated model without retrieval is compared with the base model with retrieval on reserved probes. Skills that fail stay retrievable.

04

Results. It beats the frozen-weight memory baseline by 3.1 to 8.4 points on six benchmarks. Verified release cuts retrievable records by 55.2% with F1 at 70.9 against 71.1 for keeping all, while immediate release drops F1 to 66.8.

Abstract

Language-model agents use experience through external retrieval and parameter learning. Consolidating stored experience into model weights requires deciding both which experience to train on and when its external records can leave retrieval. Admission based solely on student mastery can exclude useful teacher demonstrations, while removal immediately after training can discard guidance that the model still needs. We introduce ENGRAM, a framework that separates training admission from memory release. A demonstration-aware gate admits skills based on student mastery or sufficient successful teacher demonstrations. The student learns from selected action traces with context from an Engram Trace Graph (ETG). A verification gate then compares the updated model without episodic retrieval against the base model with retrieval on reserved probes. Release requires valid training participation and scores meeting both relative and absolute criteria; records for skills that fail verification remain retrievable. Experiments across interactive and reasoning benchmarks show consistent gains over frozen-weight ETG controls, with ablations supporting demonstration-aware admission and selective adapter activation. A controlled held-out comparison shows that verified release substantially reduces the retrievable footprint while remaining close to retain-all performance and outperforming immediate and budget-matched random release. ENGRAM also improves task performance while reducing input-token usage and model calls. Skill-level verification further reduces retrievable experience through selective archival, retaining external guidance for skills that do not meet the release criteria. Code is available in anonymous.4open.science/r/engram-anonymous.

Every Monday
Get next week’s papers.
Subscribe on Substack