Training a small model to rewrite a running notebook after each task lifts later-task success from 33.6 to 53.8 on three agent benchmarks. If it holds, what to remember can be learned rather than hand-designed.
| AppWorld | ALFWorld | MiniGrid | Average | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Notebook model | Train | Test (N) | Test (C) | Train | Test | Train | Test | Train | Test | |
| Qwen3.5-4B | GPT-5.6-Sol | 24.2 | 18.0 | 10.8 | 90.6 | 78.1 | 54.5 | 34.5 | 56.5 | 42.3 |
| Fable-5.1 | 28.2 | 18.5 | 16.8 | 95.6 | 90.9 | 64.2 | 49.4 | 62.7 | 52.6 | |
| Kimi-K2.6 (SFT teacher) | 13.8 | 9.2 | 8.5 | 83.9 | 79.6 | 82.2 | 31.5 | 60.0 | 40.0 | |
| Qwen3.5-4B | 0.0 | 0.0 | 0.2 | 81.2 | 56.2 | 38.0 | 28.8 | 39.8 | 28.4 | |
| + SFT | 15.2 | 5.2 | 4.5 | 87.5 | 77.1 | 42.9 | 30.1 | 48.6 | 37.4 | |
| + SFT + RL (NoteTaker) | 34.0 | 22.5 | 11.5 | 90.6 | 82.4 | 55.5 | 40.9 | 60.0 | 46.8 | |
| Qwen3.5-9B | GPT-5.6-Sol | 34.2 | 24.2 | 19.5 | 91.9 | 85.3 | 61.2 | 47.0 | 62.5 | 51.4 |
| Fable-5.1 | 45.2 | 36.5 | 23.0 | 96.9 | 95.7 | 71.0 | 59.5 | 71.0 | 61.7 | |
| Kimi-K2.6 (SFT teacher) | 33.2 | 24.8 | 10.2 | 88.9 | 64.4 | 90.5 | 68.5 | 70.9 | 50.1 | |
| Qwen3.5-9B | 0.0 | 3.2 | 0.0 | 90.6 | 65.6 | 48.0 | 33.6 | 46.2 | 33.6 | |
| + SFT | 13.8 | 19.5 | 2.2 | 94.4 | 79.4 | 51.0 | 36.1 | 53.1 | 42.1 | |
| + SFT + RL (NoteTaker) | 41.0 | 34.0 | 25.8 | 95.0 | 87.6 | 59.8 | 44.0 | 65.3 | 53.8 | |
Going deeper
A new worker does a string of similar jobs and keeps a notebook. Before each job they read it; after each job they rewrite it. A good notebook holds rules like 'always file the form at the end', not a diary of what happened on Tuesday.
The authors find small models are good at following a good notebook but bad at writing one: they keep the diary. So they keep the worker as is and train a separate note-keeper, first by copying a stronger note-keeper, then by trial and error.
The key is how the note-keeper is scored. Each rewrite is judged only by how the jobs after it went, since a note cannot help a job already done. On three kinds of job, the trained note-keeper's notebooks lift later success well above untrained ones.
The abstract, word for word, with the six densest phrases unpacked.
Language models remain limited at improving across a stream of tasks by learning from experience. We study experiential knowledge accumulation1: converting earlier task trajectories into reusable knowledge in free-form text that improves performance on later tasks. Although memory harnesses and workflows are effective, they are insufficient alone2: models often fail to abstract rules or procedures that are salient for reuse, and instead record task-specific details that do not generalize to future tasks. We therefore propose to learn the memory update policy from rollout task sequences, using a minimal harness that leaves the model free to decide what to retain3. Our method, NoteTaker, trains a notebook model that rewrites a persistent notebook after each task, in two stages: SFT on teacher-generated notebook updates, followed by RL on short task streams, where each update receives credit only from the rewards of subsequent tasks it can influence4. On 40-task streams from AppWorld, ALFWorld, and MiniGrid, with Qwen3.5-9B solving the tasks, our trained 9B notebook model raises average held-out success from 33.6 to 53.85, outperforming prior memory harnesses paired with the untrained model, as well as several much larger notebook models. These gains also transfer to held-out tools and environments, to trajectories from other task models, to streams longer than those seen in training, and to other benchmarks in most cases6. Our analysis shows that our causal accumulated reward learns more efficiently than the trajectory-outcome and next-task rewards used in prior work, since knowledge often pays off several tasks later.
Two lines of work lead here: written memory for agents, and RL that trains memory writers.
Read four parts, in this order.
Skip the prompts and notebook examples unless you want to see what notes look like.
If the gains are smaller than they look, these places show why.
| Detailed feedback | Binary feedback | ||||||
|---|---|---|---|---|---|---|---|
| Task model | Notebook model | AppWorld | ALFWorld | MiniGrid | AppWorld | ALFWorld | MiniGrid |
| 4B | None (no memory) | 0.0 | 40.7 | 19.9 | 0.0 | 40.7 | 19.9 |
| Qwen3.5-4B | 0.1 | 56.2 | 28.4 | 0.1 | 58.7 | 26.1 | |
| 4B + NoteTaker | 17.3 | 86.0 | 38.8 | 4.1 | 79.3 | 40.0 | |
| 9B | None (no memory) | 0.4 | 51.2 | 34.1 | 0.4 | 51.2 | 34.1 |
| Qwen3.5-9B | 1.2 | 67.9 | 35.5 | 0.4 | 65.1 | 33.0 | |
| 9B + NoteTaker | 29.1 | 86.6 | 41.7 | 11.4 | 87.2 | 42.5 | |
| Estimator | Model | Seed 1 | Seed 2 | Average |
|---|---|---|---|---|
| Trajectory-level outcome reward | 4B | 12.8 | 11.8 | 12.3 |
| Causal accumulated reward (ours) | 4B | 14.7 | 14.3 | 14.5 |
| Trajectory-level outcome reward | 9B | 19.8 | 21.8 | 20.8 |
| Causal accumulated reward (ours) | 9B | 24.1 | 25.1 | 24.6 |
| AppWorld | ALFWorld | MiniGrid | ||||
|---|---|---|---|---|---|---|
| All 40 | Last 8 | All 40 | Last 8 | All 40 | Last 8 | |
| 4B, frozen after 8 | 16.6 | 16.5 | 82.4 | 84.6 | 39.4 | 41.5 |
| 4B, continued updating | 17.4 (+0.8) | 19.0 (+2.5) | 86.0 (+3.6) | 94.1 (+9.5) | 38.8 (0.6) | 38.8 (2.7) |
| 9B, frozen after 8 | 29.9 | 30.2 | 84.4 | 88.2 | 41.4 | 44.8 |
| 9B, continued updating | 29.1 (0.8) | 30.5 (+0.3) | 86.6 (+2.2) | 96.3 (+8.1) | 41.7 (+0.3) | 41.8 (3.0) |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all