Meta FAIR Self-Improving Memory Hits 56.0 on Continual Learning Bench
In one sentence
Meta FAIR introduces Self-Improving Memory, a two-stage method where an agent discovers its own memory prompts and distills them into weights, outperforming human-written prompts.
Key points
- Meta FAIR, alongside researchers from UW and JHU, developed a two-stage method built on the Kimi-K2.6 model.
- In stage 1, a meta agent optimizes LOAD and OFFLOAD memory prompts, averaging 56.0 across three tasks versus 44.6 for the best human-written prompts.
- In stage 2, LoRA fine-tuning distills the optimized behaviors into model weights, reaching 43.1 under generic prompts compared to 37.6 for generic SFT.
- The Codebase task saw the largest gain, hitting 64.3 with optimized prompts, a 20.6-point jump over the best hand-written harness.
- 37 of 44 revisions generated by the meta agent failed to beat the previous best, highlighting the importance of evaluation and selection.
In depth
An AI-written overview of the original article, not the article itself.
Meta FAIR, alongside researchers from the University of Washington and Johns Hopkins University, has introduced Self-Improving Memory, a method that enables AI agents to discover their own memory instructions and distill those skills into model weights. According to the article, the approach averages 56.0 across three Continual Learning Bench tasks, outperforming the best human-written prompts at 44.6.
Two-Stage Workflow
The article reports that the method uses Kimi-K2.6, a 1T-parameter MoE model with 32B active parameters and a 256K context window, as both the meta agent and task agent. In stage 1, the agent manages a persistent file-based memory directory using LOAD and OFFLOAD prompts. Starting from four human-written seeds, a meta agent reads trajectories, scores, and final memory directories to propose revised prompts, which are selected using a holdout set.
In stage 2, the team runs training subtasks with the optimized prompts, logs all model calls, swaps the prompts back to generic ones in the history, and fine-tunes the model using LoRA (rank 64) on attention projection layers.
Benchmark and Distillation Results
Across the Database, Codebase, and Spectrum tasks on Continual Learning Bench, optimized prompts beat the best hand-written ones on all three tasks. Codebase saw the largest jump, reaching 64.3, which is 20.6 points higher than the best manual harness. However, the search was noisy, with 37 of 44 generated revisions failing to beat the previous best.
After distillation, the model runs with generic prompts and averages 43.1 across 10 matched seeds. This represents a 5.5-point (14.6%) gain over supervised fine-tuning on generic trajectories (37.6), though Spectrum distillation added only 2.9 points (46.5 vs. 43.6).
Comparison with Related Methods
The article compares the method with ALMA, MemEvolve, and Harness-Zero. Unlike ALMA and MemEvolve, which do not train model weights, Harness-Zero also uses LoRA fine-tuning, but relies on a separate agent to correct the student model, a step that Self-Improving Memory skips.
This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.