arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.11653q-bio.NCcs.LGcs.MA
收藏

AI代理需要对更多上下文进行记忆控制

AI Agents Need Memory Control Over More Context

The University of Chicago(芝加哥大学)

Fouad Bousetouane

AI总结:

本文提出了一种生物启发式的记忆控制器ACC,通过有界内部状态实现稳定多轮交互,降低幻觉和漂移,提升长视图AI代理的可靠性。

摘要:

AI代理越来越多地用于研究和企业环境中长时间的多轮工作流程。随着交互的增加,代理行为往往会因约束焦点丧失、误差积累和记忆导致的漂移而退化。这个问题在现实世界部署中尤为明显,其中上下文不断发展,干扰被引入,而决策必须在时间上保持一致。一种常见的做法是通过回放转录或基于检索的机制为代理配备持久记忆。虽然方便,但这些方法会引入无界的上下文增长,并且容易受到噪声回忆和记忆污染的影响,导致行为不稳定和漂移增加。在本工作中,我们介绍了Agent Cognitive Compressor(ACC),一种生物启发式的记忆控制器,它用有界的内部状态替代转录回放,在每一轮中在线更新。ACC将artifact回忆与状态承诺分开,从而在保持稳定条件的同时防止未经验证的内容成为持久记忆。我们使用代理-法官驱动的实时评估框架评估ACC,该框架测量任务结果和跨长时间交互的内存驱动异常。在涵盖IT运营、网络安全响应和医疗工作流程的多个场景中,ACC始终维持有界内存,并表现出更稳定的多轮行为,与转录回放和基于检索的代理相比,幻觉和漂移显著降低。这些结果表明,认知压缩为长视图AI代理提供了实用且有效的可靠内存控制基础。

英文摘要:

AI agents are increasingly used in long, multi-turn workflows in both research and enterprise settings. As interactions grow, agent behavior often degrades due to loss of constraint focus, error accumulation, and memory-induced drift. This problem is especially visible in real-world deployments where context evolves, distractions are introduced, and decisions must remain consistent over time. A common practice is to equip agents with persistent memory through transcript replay or retrieval-based mechanisms. While convenient, these approaches introduce unbounded context growth and are vulnerable to noisy recall and memory poisoning, leading to unstable behavior and increased drift. In this work, we introduce the Agent Cognitive Compressor (ACC), a bio-inspired memory controller that replaces transcript replay with a bounded internal state updated online at each turn. ACC separates artifact recall from state commitment, enabling stable conditioning while preventing unverified content from becoming persistent memory. We evaluate ACC using an agent-judge-driven live evaluation framework that measures both task outcomes and memory-driven anomalies across extended interactions. Across scenarios spanning IT operations, cybersecurity response, and healthcare workflows, ACC consistently maintains bounded memory and exhibits more stable multi-turn behavior, with significantly lower hallucination and drift than transcript replay and retrieval-based agents. These results show that cognitive compression provides a practical and effective foundation for reliable memory control in long-horizon AI agents.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑