AI Pulse
📄 论文解读

AI 记忆不该提前写,该在用时才想

现在的 AI 智能体记东西,像人写日记:做完一件事就立刻总结成几条经验存起来,以后遇到相似问题再翻出来。问题是,它总结的时候根本不知道你以后会问什么,等于先猜答案再做题。这篇论文换了个思路:不提前总结,把原始过程全留着,等你真提出任务的那一刻,再现场提炼一份刚好够用的记忆。结果在三个测试环境里,这个「临时抱佛脚」的做法比所有提前总结的方案都强,成功率最高提升 16 个百分点;更意外的是,连不经过训练的现场提炼,就已经打赢了精心调过的老方法——说明「按需想」这件事本身,比「想得好不好」更关键。它不是你明天就能用上的功能,但它在提醒:AI 的记忆不该是档案室,该是搜索引擎。

📄 原文摘要(英文)

Agentic memory systems reuse past experience to improve future performance, yet most existing designs curate memory at write time: once a task is completed, its trajectory is distilled into a fixed artifact, such as a reflection, workflow, skill, or reasoning strategy, that is later retrieved by similarity. This forces the system to decide what is worth remembering before the future query is known, irreversibly discarding information and producing a query-independent summary that must serve many possible downstream tasks. Learning such a write-time curator is also difficult because the value of a storage decision may only become apparent when a relevant query arrives, potentially many tasks later, creating a long-horizon credit-assignment problem. We instead retain raw trajectories and defer curation until read time, when the current task is known. Given the retrieved traces and the new task, a memory curator synthesizes a compact, task-adaptive payload tailored to the immediate need. Because this payload is consumed on the same task, the curator can be trained directly from immediate task success, avoiding delayed utility signals and the need to artificially group related tasks. Across ALFWorld, WebShop, and τ^2-bench, our Just-in-Time Memory (JitMem) consistently outperforms no-memory agents as well as heuristic and learned write-time memory methods, improving over the strongest baseline by 16.2, 16.3, and 3.9 absolute success-rate points, respectively. Notably, even an untrained curator is already competitive with or surpasses these baselines, showing that task-adaptive read-time curation itself is a major source of the gain; training the curator further compounds the improvement.

arXiv 原文

订阅 AI Pulse

每天 08:00 · 12:30 · 18:30 · 23:50 更新