arXiv:2601.11653q-bio.NCcs.LG2026-01被引 8

提出记忆压缩机制,让AI agent在长时间任务中更稳定不跑偏。

AI Agents Need Memory Control Over More Context

  • 用生物启发的压缩器替代传统记忆回放,控制上下文增长
  • 多轮任务中记忆漂移降低,幻觉率显著下降
  • 适合需要长期稳定决策的工业级AI应用

AI代理在科研与企业中的长周期多轮任务中日益普及。随着交互增多,代理行为常因注意力分散、错误累积和记忆漂移而退化。现有方法依赖对话重播或基于检索的记忆机制,虽便捷但导致上下文无限膨胀,易受噪声召回和记忆污染影响,引发行为不稳定。本文提出代理认知压缩器(ACC),一种生物启发的记忆控制器,以有界内部状态在线更新取代对话重播。ACC将内容回忆与状态确认分离,实现稳定条件化,同时防止未经验证信息成为持久记忆。我们采用代理-评审驱动的实时评估框架,衡量任务结果与记忆相关异常。在涵盖IT运维、网络安全响应和医疗流程的多种场景中,ACC始终维持有界记忆,展现出更稳定的多轮行为,显著低于基于重播与检索的代理在幻觉和漂移方面的表现。结果表明,认知压缩为长时程AI代理提供了可靠的记忆控制基础。

原文摘要 · Abstract (English)

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代理记忆控制多轮推理稳定性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。