AI Pulse
📄 论文解读

给AI装个「记忆抽屉」:分门别类比一股脑全塞更管用

现在的AI做长任务时,会把所有历史对话、工具调用一股脑塞进提示词里,像把衣服全堆在床上——找东西难,还分不清哪件有用。这篇论文换了个思路:给AI装一个「记忆抽屉」,每次决策时只从抽屉里按类型(比如策略、工具结果)取出最相关的那几件,而不是把整张床搬过去。在《杀戮尖塔2》这个需要几百步决策的卡牌游戏里,这种分门别类的记忆让AI胜率从30%提到60%(虽然样本小,统计上还不算铁证)。它不是你明天能用上的,但给了一个方向:想让AI做长任务不掉链子,关键不是塞更多记忆,而是让记忆有结构。

📄 原文摘要(英文)

Memory for a long-horizon LLM agent is a contract about what each future decision is allowed to see. The simplest contract appends past observations, tool calls, and reflections to every prompt, which makes prior context easy to access but also turns it into a jumbled mixture in which the effect of any single memory component is hard to isolate. We introduce and instrument an alternative bounded contract: every decision is made from a fresh user message assembled by typed retrieval, with no raw cross-decision transcript appended. The prompt thus stays bounded across runs of any length, and any single layer can be ablated in isolation. We instantiate the contract in Slay the Spire 2, a closed-rule stochastic deck-building game whose runs require hundreds of tactical and strategic decisions. A public online benchmark of frontier LLMs on the same game reports zero wins at the lowest difficulty across five configurations, and the developer-reported human win rate at the same difficulty is 16%; the task is hard but not saturated. Within our harness, a fixed-A0 ablation shows the largest observed difference when triggered strategic skills are enabled: the no-store baseline wins 3/10 games and adding the skill layer 6/10. At this sample size the comparison is directional rather than statistically decisive (Fisher exact p\approx0.37); a cross-backbone probe and public accumulating-context baselines are reported as operational comparisons rather than controlled tests of the contract variable itself. We release a reproducible testbed: 298 completed trajectories with condition tags, frozen memory/skill snapshots, prompt records, and analysis scripts -- an agent design and a validated, reusable methodology for studying how explicit memory layers shape long-horizon LLM-agent decisions.

arXiv 原文

订阅 AI Pulse

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