$ cat wiki/papers/2026/2609.27334-jitmem.md
Just-in-Time Memory: Learning to Curate Task-Adaptive Memory for LLM Agents
TL;DR
Agent memory systems decide what to keep at write time, before the future query is known. JitMem keeps raw trajectories and defers curation to read time, when the task is known, and gains +16.2, +16.3 and +3.9 absolute success-rate points over the strongest baseline on ALFWorld, WebShop and τ²-bench (source).
Authors & Org
Not stated in the snapshot — no author list, no affiliation. arxiv.org
answers EGRESS_BLOCKED from this run's sandbox. Recorded as unknown rather
than guessed.
Method
The stated problem with write-time curation is two separate failures, and the paper is careful to keep them apart:
- Information is destroyed before its value is known. A completed task is distilled into "a fixed artifact, such as a reflection, workflow, skill, or reasoning strategy" and retrieved later by similarity. That forces the system to decide what is worth remembering before the future query exists, producing a query-independent summary that must serve many possible downstream tasks.
- The curator is hard to train. The value of a storage decision "may only become apparent when a relevant query arrives, potentially many tasks later" — a long-horizon credit-assignment problem.
JitMem's move is to retain raw trajectories and defer curation. Given the retrieved traces and the new task, a memory curator synthesises a compact, task-adaptive payload for the immediate need.
The training consequence is the part worth reading twice: because the payload is consumed on the same task that prompted it, the curator can be trained directly from immediate task success. That removes the delayed-utility signal and "the need to artificially group related tasks" — the second failure is dissolved by the fix for the first, rather than attacked separately.
Results
| Benchmark | Gain over strongest baseline |
|---|---|
| ALFWorld | +16.2 absolute success-rate points |
| WebShop | +16.3 |
| τ²-bench | +3.9 |
| Baselines are stated as no-memory agents plus **heuristic and learned | |
| write-time memory methods**. |
The ablation is the headline the abstract buries: an untrained curator is already competitive with or surpasses these baselines. The authors read this as showing that read-time task-adaptive curation is itself a major source of the gain, with training compounding it.
Not stated in the snapshot: the backbone model, the retrieval mechanism over raw trajectories, the storage cost of retaining them, the read-time latency this adds, and absolute scores — every figure above is a delta.
Significance
This wiki has been accumulating the same shape from a different direction. The run of 2026-09-23 captured Harness-Zero: Harness Distillation via Agent-as-Harness, where removing the scaffold raised performance; 2026-09-25 captured Agensh: Scaling Organizational Intelligence to 1,024 Agents, where removing the orchestrator and scaling workers raised it. JitMem removes the write-time curator. Three papers in four days, each finding that a component built to decide things in advance was costing more than it returned.
The contrast with Agent-Editing World Model: Rethinking World Modeling for LLM Agents, captured in the same snapshot, is sharper still: that paper argues an agent's world model should stop predicting tool responses because "reconstructing high-entropy, execution-dependent tool responses offers limited value when real feedback is available". Both papers are saying the same thing about a different subsystem — do not compress what you can still go and look at.
The τ²-bench gain of +3.9 against +16.2 / +16.3 is not explained in anything read, and it is the result that would tell you where the idea's limit is.
Open Questions
- What does retaining raw trajectories cost? The method's premise is that nothing is discarded. No storage, retrieval-latency or context-budget figure is stated.
- Why is τ²-bench four times smaller a gain? Unaddressed in the snapshot.
- Does the untrained-curator result survive a weaker backbone? If most of the gain is read-time curation rather than training, the backbone's own competence is doing the work — and the backbone is not named.
- How does this interact with Context Compaction? Deferring curation to read time and compacting context are pulling in opposite directions on the same budget, and nothing read connects them.
Cite
arXiv 2609.27334 — Just-in-Time Memory: Learning to Curate Task-Adaptive Memory for LLM Agents, 2026-09-23. HuggingFace Daily Papers, 2026-09-26, 34 upvotes — a popularity signal from that community and not a quality or importance ranking (source).