InquiryLoom

资料

The components of agent memory

复制链接

按 Ctrl+C(Mac 上 ⌘C)复制下面的文字;手机上长按选择“复制”。

分享海报提修改建议

这是外站文章:本站只显示引文和上下文,全文请看原网页。

  1. Memory can be a prediction about what the future will need

    Claude Opus 5 was the first of these models to close the loop. Most of its entries included a rule (and also how it knew the rule was true), answers to earlier questions, and clear warnings about traps it had discovered along the way (Figure 3).

    出自观点 AI 智能体可以通过保存反馈、测试解释以及记录经过验证的规则供未来任务使用,从而跨会话学习。

  2. Claude has learned to judge salience

    battle it fought, each item it found, and each non-player character it met. Ultimately, Sonnet 3.7 wrote 413 memory files across 225 folders and earned one badge (badges mark a player’s progress through the game). Fable 5, by comparison, wrote nine files in two folders, plus a single

    出自观点 AI 智能体应当记住可复用的策略和来之不易的经验教训,而不是反复保存那些可以直接查询到的信息。

  3. 225 folders and earned one badge (badges mark a player’s progress through the game). Fable 5, by comparison, wrote nine files in two folders, plus a single top-level file calledglobal.md, and earned four badges. Sonnet 3.7’s approach was a problem mainly because the game state of Pokémon changes

    出自观点 AI 智能体应当记住可复用的策略和来之不易的经验教训,而不是反复保存那些可以直接查询到的信息。

  4. Steering Claude to write memory

    gained from memory with each rule against how much it gained without it. When we set a rule to “record only failures,” both Opus 5 and Opus 4.7 lost much of the performance boost that memory gave them (Figure 5, right). For stronger models, giving them freedom to judge salience was more

    出自观点 强大的 AI 智能体通常能自行决定要记住什么,而较弱的智能体可能需要明确的记忆使用指令。

  5. of the performance boost that memory gave them (Figure 5, right). For stronger models, giving them freedom to judge salience was more effective than setting fixed rules in advance, and those rules could end up weakening performance. We also noticed that steering helped older models the most.

    出自观点 强大的 AI 智能体通常能自行决定要记住什么,而较弱的智能体可能需要明确的记忆使用指令。

  6. Dreaming can correct memory

    tested whether dreaming could help Claude avoid this trap. We ran dreaming on the memory folder that contained the wrong location for the PokéCenter: Claude checked the note against the session transcript, caught its error, and rewrote it. The transcript gave Claude a ground truth to validate its

    出自观点 AI 智能体可以通过将自己的笔记与实际发生情况的记录进行比对,来纠正持久性记忆错误。

  7. The transcript gave Claude a ground truth to validate its memory against. With the corrected memory note, Claude went straight back into Mt. Moon and eventually reached Cerulean City. In the run with the uncorrected note, Claude dropped back onto that earlier route three

    出自观点 AI 智能体可以通过将自己的笔记与实际发生情况的记录进行比对,来纠正持久性记忆错误。

  8. Dreaming can build new memory representations

    that agents made in prior sessions, using a shared log to coordinate work. As we scaled dreaming from two sessions to 128, performance on the 25 questions grew from 13% to 48% of graded criteria (Figure 10). Claude builds its wikis incrementally.

    出自观点 将预构建的wiki与直接文档搜索相结合,可以提升AI代理对复杂知识库问题的回答能力。

  9. Claude the most when we also gave it access to a search tool. When it used both search and the wiki, Claude’s aggregate score rose from 54% to 61% as that wiki grew, compared with 53% when it had access to the search tool alone. Claude’s best score was 48% when it used only the wiki to answer

    出自观点 将预构建的wiki与直接文档搜索相结合,可以提升AI代理对复杂知识库问题的回答能力。

  10. Dreaming can build new memory representations

    On one LAB task (Figure 11, right), brief criteria often could be retrieved with a text search from a single document, and the wiki showed no clear gain in performance relative to search. On another LAB task, the wiki grew larger than the documents themselves (Figure 12).

    出自观点 当答案需要组合多份文档时,AI 智能体从预构建的 wiki 中获益,比单份文档就包含答案时更多。

  11. Dreaming can promote notes up the memory hierarchy

    Dreaming can also float notes to the top of the memory hierarchy, and the agent harness can preemptively load them into Claude’s context at the start of every session (Figure 13).

    出自观点 AI agent 应在每次会话开始时加载一个简短的记忆索引,仅在需要时才检索详细知识。

  12. Dreaming can focus memory on a specific goal

    we found that the shared table summarized the contract terms poorly and was missing some of them altogether, because agents had overwritten one another’s work. The contract terms were the most important part of the wiki, but the instructions didn’t say that.

    出自观点 当多个 AI 智能体共同构建知识库时,划分写入权限并保留精确证据可以防止重要事实丢失。

  13. Dreaming can fill in gaps a session leaves behind

    A second dreaming pass closed many of these gaps. On one task (Figure 15), dreaming found nine links to a missing page in the wiki and repointed them to an existing page for the same document.

    出自观点 对 AI 生成的 wiki 进行二次审查,可以修复断链,并补上单个写作会话容易遗漏的缺失页面。

  14. Thinking backward, looking forward

    Memory can also drift and become irrelevant as the environment changes. Dreaming is one way to fix these mistakes (Figure 8), but it requires compute. Directing Claude to continuously check all its memories might not be practical.

    出自观点 AI 智能体需要在即时写入记忆与定期离线审阅之间取得平衡,以保持知识实用且及时更新。