观点
出自《The components of agent memory》· Thinking backward, looking forward
智能体可以在执行任务时写入经验教训,也可以之后回到会话记录,在称为“dreaming”的离线过程中对其进行整合。即时写入使信息可供下一次会话使用,但会与当前任务争夺注意力。离线审阅可以比较过往经验、纠正过时的笔记并改进组织方式,但它需要算力,且结果可能无法立即就绪。一种合理的设计是保留可搜索的记录,并对重要、频繁使用或易变的知识进行比罕用稳定笔记更频繁的审阅。
适用条件
Anthropic 将最佳审阅频率和新鲜度策略视为开放问题。按重要性、访问频率或变化可能性排定优先级是一项工程建议,而非经过验证的最优方案。应结合实际任务结果评估总成本、延迟和错误。
译自英文 · 看原文
AI agents need to balance immediate memory writing with periodic offline review to keep knowledge useful and up to date.
An agent can write a lesson while doing a task, or return to session records later and consolidate them in an offline process known as dreaming. Immediate writing makes the information available to the next session but competes with the current task for attention. Offline review can compare past experiences, correct outdated notes, and improve organization, but it requires compute and its results may not be ready immediately. A sensible design is to preserve searchable records and review important, frequently used or change-prone knowledge more often than rarely used stable notes.
Anthropic identifies the best review frequency and freshness policy as open questions. Prioritizing by importance, access frequency or likelihood of change is an engineering suggestion rather than a proven optimum. Evaluate total cost, delay and errors against actual task outcomes.
翻译:deepseek-flash
