Externalise the Memory: A Pre-Registered Study of Where an Embodied Agent's Experience Should Live
Organizations: Nikon Research Corporation of America
Abstract
Should an embodied agent's experience be baked into its policy weights, or kept external and retrieved at inference? A memory-augmented teacher (a VLM that retrieves lessons, with their episode images, from its own past attempts) produces trajectories on a vision-conditioned reach task; from the same trajectories we distil LoRA student policies and evaluate them under matched protocols, including one that re-attaches the teacher's frozen retrieval buffer to a fixed set of student weights. We pre-registered the hypotheses, arms, tests, and analysis rules before training and before any p-value. Distilling the memory-augmented behaviour into weights beat an action-only control by +1 pp (n.s.); the registered test proves underpowered for its own minimum effect, so we withdraw - rather than refute - the memory-in-weights claim. Attaching retrieval to a fixed set of student weights added +34 pp (z=5.15), reaching the pooled memory-augmented teacher reference (49.3%); the pre-registered protocol contrast agrees (+23 pp, z=3.36); under a pre-registered auto-reset sensitivity count the two are +36 and +29 pp. An exploratory behavioural probe with pre-registered per-arm predictions is consistent with behavioural distillation transferring the marginal correction but not the conditional, situation-specific correction that retrieval supplies. The recipe that follows is to externalise the memory: in follow-up controls registered before they ran, the same frozen buffer lifts the base model with no adapter to 48% (sensitivity 48%) and the other three adapters from 19-26% to 53-55% (sensitivity 17-21% to 50-55%), and the adapter adds nothing detectable once the buffer is attached. On a second, harder task, the retrieval advantage points the same direction but falls short of significance (+6 pp, 95% CI [-4.5, +16.4]); exploratory diagnostics tie the attenuation to memory coverage.
Figures & tables
| no gist | with gist | |
|---|---|---|
| no native thought | A_action_only | D_gist |
| with native thought | A_ctrl_rat | B_main |
| Protocol | Adapter | Inference-time retrieval |
|---|---|---|
| A_action_only | own | none |
| A_ctrl_rat | own | none |
| B_main | own | none |
| D_gist | own | none |
| C_retrieval | A_ctrl_rat’s | frozen teacher buffer snapshot |
| # | Date | Change | Anchor |
|---|---|---|---|
| 1 | 07-06 | Sample-count control arm (B_matched) added | pre-reg §12 |
| 2 | 07-06 | Filter + stratified blinded audit; escalation rule (agreement 85% escalates to LLM judge) | — |
| 3 | 07-06 | Asymmetric KTO drop policy (desirable vs undesirable) + auto-balance invariant | 2ba693c |
| 4 | 07-07 | Rule-1 sentence classifier (past/intent) fix | — |
| 5 | 07-07 | Rule-2 demoted to flag; composite-agreement rejected | 6a29103 |
| 6 | 07-07 | Coherence filter demoted to advisory flags (v-final 992+1810) | 9b0a9da |
| rung | student | teacher (same rung) |
|---|---|---|
| no-memory | B_main / A_action_only 25–26% (sens. 19–21) | memoryless teacher 22% (sens. 19) |
| with-memory | C_retrieval 49% (sens. 48) | memory-teacher 49.3% (sens. 47.5) |
| Weights + frozen buffer | SR | without buffer (D11) | vs own, | vs C_retrieval, | R1 ′ (above band) |
|---|---|---|---|---|---|
| base, no adapter (a) | 48 (48) | — | — | 1 pp, 0.887 | +0.29 (yes) |
| A_action_only (b) | 53 (53) | 25 (21) | +28 pp, 4.06 | +4 pp, 0.572 | +0.49 (yes) |
| B_main (b) | 53 (50) | 26 (19) | +27 pp, 3.91 | +4 pp, 0.572 | +0.36 (yes) |
| D_gist (b) | 55 (55) | 19 (17) | +36 pp, 5.27 | +6 pp, 0.396 | +0.44 (yes) |
| Arm | R1 X | closer to | |
|---|---|---|---|
| A_action_only | 16.62 | 8.61 | mem-teacher ( 15.8) |
| A_ctrl_rat | 15.75 | 10.11 | mem-teacher |
| B_main | 16.67 | 8.53 | mem-teacher |
| D_gist | 18.15 | 7.89 | mem-teacher |
| C_retrieval | 7.10 | 14.39 | (bias nearly erased) |
| distilled arm | r (round 1) | r (round 2) | r (round 3) |
|---|---|---|---|
| A_action_only | 0.12 (0.23) | +0.05 (0.70) | +0.18 (0.088) |
| B_main | 0.12 (0.22) | +0.05 (0.65) | +0.40 (0.001) |
| A_ctrl_rat | +0.03 (0.78) | +0.11 (0.30) | +0.27 (0.013) |
| D_gist | 0.12 (0.23) | +0.10 (0.34) | +0.12 (0.27) |
| n (paired episodes) | 100 | 89–90 | 84–85 |
| Test | Contrast | SR | 95% CI (Newcombe) | z | p_z | McNemar p | agree | verdict @ pre-reg |
| T1 | B_main A_action_only | +1 pp | [ 11.0, +13.0] | 0.16 | 0.87 | 1.0 | ✓ | FAIL @ =0.020 null |
| T1a | B_main A_ctrl_rat | +11 pp | [ 0.2, +22.0] | 1.93 | 0.054 | 0.046 | ✓ | n.s. @ =0.020 |
| T4 | C_retrieval B_main | +23 pp | [+9.6, +35.3] | 3.36 | 7.8e-4 | 1.0e-3 | ✓ | PASS @ =0.010 |
| T3 | B_main SR vs 0.7 teacher floor | 26% vs 36.2% | — | 2.12 | 0.98 1 | — | — | BELOW floor |
| Auto-reset sensitivity (Amendment 15 pin 8; reported beside, never replacing, the rows above) | ||||||||
| T1 sens. | 19 vs 21 | 2 pp | [ 13.1, +9.1] | 0.35 | 0.72 | 0.80 | ✓ | null |
| Protocol | Adapter | Training target | Inference retrieval |
|---|---|---|---|
| A_action_only | own | canonical action only | none |
| A_ctrl_rat | own | native thought + action | none |
| B_main | own | gist + native thought + action | none |
| D_gist | own | gist + action | none |
| C_retrieval | A_ctrl_rat’s | (reuses A_ctrl_rat) | frozen D10-ext buffer |
| protocol | successes / n | SR |
|---|---|---|
| A_ctrl_rat (bare) | 14 / 100 | 14% |
| C_retrieval (same weights + frozen re-tagged buffer) | 20 / 100 | 20% |
| # | Date | Change | Anchor |
|---|---|---|---|
| L2-1 | 07-15 | Per-arm scoring (post-hoc, disclosed); SFT single-arm target; task rename | l2_amendment_1.md |
| L2-1a | 07-15 | Buffer re-tag (dual label) + arm-aligned success-floor; pins 83337879 a79581cd | l2_amendment_1.md §1a |
| L2-2 | 07-15 | Scope to answerable question (T4-class only); Stage-1 A_ctrl_rat; T1 not run (MDE design choice) | l2_amendment_2.md |
| L2-2 add | 07-16 | Per-arm SFT pool selected by label not directory (verify-layer 2/2) | l2_amendment_2.md |
| L2-2 add | 07-21 | GGUF conversion version-drift caught at load gate; rollback + arch byte-patch (verify-layer 3/3) | l2_amendment_2.md |
| L2-3 | 07-22 decided / 07-28 re-filed | Per-arm EVAL: single-arm inference matches single-arm training; non-scored arm frozen; left-scored 2 protocols n=100, seed 4600; position-only success; format-contract gate (verify-layer 4/4) | l2_amendment_3.md ( 96e1388 ; spec-implementing code 0398568 , 07-22, before the eval) |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Collect | Teacher | Reasoning |
|---|---|---|
| D10 / L0a | gemma-4-31B Q4_K_M, ctx 16384 | budget 512 (on) |
| L2 (from 2026-07-14) | same | off (budget 0) |
Memory-Augmented Agents
Memory-augmented agents use stored experience and knowledge to act coherently across long tasks, changing environments, and repeated interactions.
See all 346 papers