超越记忆:利用具有显式信念状态的长期智能体
研究论文 · 2026/10/02
大型语言模型(LLM)智能体能够执行日益复杂的任务,但其将交互历史组织为记忆的方式无法确保对当前世界形成连贯理解。我们提出 PoS,一种推理时框架,构建并持续维护显式信念状态作为智能体的决策上下文。每个信念结合了对当前世界状态的估计与未解决的任务需求,明确智能体仍需学习和完成的内容。为保持该信念可靠且可操作,PoS 验证其一致性并监控任务进展以检测“信念陷阱”,即智能体在未向目标取得有意义进展的情况下继续行动。随后根据陷阱模式和未解决任务需求的类型定制恢复策略。在涵盖执行与诊断的四个基准上,使用三种 LLM 骨干,PoS 在每个基准上均取得最高整体性能。消融实验证明了一致性验证与恢复的重要性,上下文扩展实验显示了对上下文增长的韧性。这些结果共同支持信念构建与持续维护作为长时程上下文管理的基础,超越历史保留与压缩。
该研究提出了一种超越传统历史保留与压缩的长时程上下文管理方法,通过显式信念状态提升 LLM 智能体的连贯性与任务进展,并在多个基准上验证了有效性,对智能体记忆与决策研究具有重要参考价值。
Large language model (LLM) agents can now undertake increasingly complex tasks, but the way they organize interaction history into memory does not ensure a coherent understanding of the current world. We introduce PoS, an inference-time framework that constructs and continually maintains explicit belief states as the agent's decision context. Each belief combines an estimate of the current world state with unresolved task requirements, making explicit what the agent still needs to learn and accomplish. To keep this belief reliable and actionable, PoS validates its consistency and monitors task progress to detect Belief Trapping, where the agent continues to act without making meaningful progress toward the goal. Recovery is then tailored to both the trapping pattern and the type of unresolved task requirement. Experiments on four benchmarks spanning execution and diagnosis show that PoS achieves the highest overall performance on every benchmark with all three LLM backbones. Ablations demonstrate the importance of consistency validation and recovery, while context-scaling experiments show resilience to context growth. Together, these results support belief construction and continual maintenance as a foundation for long-horizon context management beyond history retention and compression.