让智能体用 SQL 直接查自身日志,在主流记忆基准上达到 SOTA
这篇文章用 SQL 查原始日志就在主流记忆基准上拿了 SOTA,还论证了模型越强越不需要压缩。Omar 的转发补充了另一面:不同场景还是要分领域选记忆方案。正在给智能体设计记忆层的开发者值得一试。
Arjun Krishnakumar 发布文章《The Bitter Lesson for Agent Memory》,提出让智能体直接对自己的事件日志执行 SQL 查询,就能在所有主要记忆基准上取得 SOTA 成绩,且性能随模型智能水平提升而扩展。文章认为现有记忆系统在压缩过程中丢失了任务相关的关键信息,而 agentic search 将压缩推迟到查询时进行,模型能力越强,从未压缩日志中直接找到相关信息的准确度越高,人工设计的记忆存储最终会成为瓶颈。
该方案借鉴信息论与 epistemic foraging 的思路,提出记忆系统的目标是提高对事件日志搜索的认识价值,并给出具体设计:以不可变事件日志为底座,在其上构建层级化的派生视图(缓存加索引)。
Omar Khattab 转发并补充了不同看法:这种原始日志搜索在工业级检索问题上并非普适,例如他自己的 agent-to-agent 通信场景用 SQL 查消息日志非常有效,但研究、wiki、图数据和结构化数据等场景仍更适合压缩层方案;他同时指出 FrontierMemory 这类测试记忆质量与迁移能力的基准尚不完善,评估记忆系统最终还是要用自己的数据跑自己的评测。
Recommended read. But I'm not sure I would go so far as to call this a "bitter lesson for agent memory". There is no denying that improvements in model capabilities have unlocked incredible performance in agentic search, which is why direct search over uncompressed logs works in the scoped experiment. I think this is useful in some scenarios and not applicable across industrial retrieval problems. For instance, I use this type of search and memory system for agent-to-agent communication. I have found it extremely useful to let my agent search the message logs of other related agent sessions (all backed by SQL). For other use cases—research, wikis, graphs, and structured data—compressed layers work better. When it comes to memory, the effectiveness of the system you use depends on the application and domain. There really hasn't been a generalized system that just works for all use cases. I think different types of memory systems, like domain-specific harnesses, will need to exist. Also, today's memory benchmark results aren't something I would use to determine whether one memory system is better than another. Results on FrontierMemory (instead of just testing recall, test memory quality and how it transfers to new tasks) might be interesting to see (not sure if they exist already). Public benchmarks are a useful signal, but to test the real feasibility of a memory system, you need to run your own evals with your own data. I also think latency is where many of these specialized memory systems shine, and you want that in many consumer-facing applications. As with everything in retrieval (I've been doing this since my PhD way over a decade ago), I have learned that hybrid systems are typically the best. The essay actually proposes something along these lines (a cache and an index layered over the raw log). june @arjunkmrm I wrote about the bitter lesson for agent memory. We show that an agent running SQL queries on its own event logs achieves SOTA on all major memory benchmarks, and scales with model intelligence. We also found that dreaming doesn't add meaningful gains over raw logs as models get more capable. Current memory systems lose valuable task-relevant information during compression. In contrast, agentic search over an event log defers compression until query time. As model capability increases, they get better at finding relevant information directly from the uncompressed logs. An engineered memory store eventually becomes a bottleneck. Inspired by information theory (and epistemic foraging), this essay proposes that the goal of memory systems is to increase the epistemic value of search over an event log. It also suggests a design for a memory system that's built as a hierarchy of derived views over an immutable event log. Read more here: hatchery.build/blog/the-bitte… 🔗 View Quoted Tweet📊 29 ⚡
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「中美大模型技术代差与商业化对照」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:智能体记忆、Agent、agentic search、SQL,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「elvis」(@omarsar0),经 AITOP 多维评分管线结构化提炼。