arXiv:2610.01415cs.AIOct 2026

Manuscript Offprint

arXiv:2610.01415

Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States

Yu Luo, Jiamin Jiang, Yimin Zuo, Xidao Wen, Rongchen Gao, Yongqian Sun, Shenglin Zhang, Guiyang Liu, Cheng Zhang, Fang Situ, Qi Zhou, Dan Pei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yu Luo 1^{1}, Jiamin Jiang 1^{1}, Yimin Zuo 1^{1}, Xidao Wen 2^{2}, Rongchen Gao 1^{1}, Yongqian Sun ∗1^{*1}, Shenglin Zhang 1^{1}, Guiyang Liu 2^{2}, Cheng Zhang 2^{2}, Fang Situ 2^{2}, Qi Zhou 2^{2}, Dan Pei 3^{3}

1^{1}Nankai University, 2^{2}Alibaba Group, 3^{3}Tsinghua University

∗^{*}Corresponding Author

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.

Date: October 2026

Project: https://luoyu100.github.io/projects/progression-of-states/project/

Code: https://github.com/luoyu100/PoS

ALFWorld

Overall task success (%)

Figure

RCA-100

Joint accuracy (%)

LOCA-Bench

Overall task success (%)

Figure

ClinDiag

Overall diagnosis accuracy (%)

Figure

PoS (Ours) Raw Trajectory ACON

HiAgent PACE LongHorizon-Harness

Real ALFWorld Case #0096: Put a hot mug in the cabinet

Raw Trajectory/Memory

Ours: Explicit Belief

Figure 1: Performance and motivation of PoS. Left: PoS outperforms the strongest baseline for each backbone across four benchmarks. Right: a real ALFWorld case contrasts implicit belief reconstruction that leads to Belief Trapping with explicit belief maintenance in PoS, which enables consistency validation and recovery toward task completion.

Work done during an internship at Alibaba Group.

1 Introduction

LLM agents are increasingly equipped with ultra-long context windows (Yang et al., 2025; Xu et al., 2026a; Hu et al., 2026), stronger reasoning and tool-use capabilities (Guo et al., 2025; Feng et al., 2026), external memory systems (Hu et al., 2025; Kang et al., 2025; Wei et al., 2026; Xu et al., 2026b), and sophisticated execution harnesses (Ma et al., 2026; Wan et al., 2026), substantially expanding the complexity and horizon of tasks they can undertake. However, longer interaction horizons expose a deeper challenge, as actions may alter the environment and new observations may invalidate earlier inferences. Accumulated context thus mixes evidence about past states with intermediate judgments, making it increasingly difficult to identify which facts still hold, which inferences remain supported, and what remains unresolved. Raw trajectories preserve this evidence chronologically, while memory mechanisms select, compress, or reorganize it. While both are valuable, access to evidence alone does not ensure an explicit and coherent estimate of the current world that can be revised and checked across steps. Recent work observes that when task state remains implicit within a growing context, outdated or inconsistent information can persist across subsequent decisions (Ma et al., 2026). The next barrier to reliable long-horizon LLM agents is therefore not simply retaining more history, but maintaining an actionable representation of the current world.

A formal basis for this representation is the belief state bt(s)=P(st=s∣ht)b_t(s) = P(s_t = s \mid h_t), the posterior over the current latent world state sts_t given interaction history hth_t. In a standard partially observable Markov decision process (POMDP), this belief is a sufficient statistic for decision-making and can be recursively updated after each action and observation (Kaelbling et al., 1998). Recent methods have begun to explicitly represent the belief state through goal-relative reflection, probabilistic hypotheses, structured graphs, or audited task records (Kim et al., 2025; Tang et al., 2026; Luo et al., 2026; Ma et al., 2026). Such representations make the agent's current understanding of the world available for inspection and revision. However, explicit belief construction is just the start, as an LLM-generated belief must satisfy two further requirements.

First, belief updates must remain internally consistent and supported by interaction evidence. Since these updates are generated by the LLM itself, they may introduce conflicting states or unsupported inferences that undermine subsequent decisions and ultimately lead to task failure. For instance, recording a microwave as both open and closed makes it unclear whether the robot should open it before placing a mug inside. Continual validation is thus essential to sustain the coherence and evidential support of the evolving belief state. Second, consistency alone does not prevent the failure mode we term Belief Trapping, where the agent continues to act without making meaningful progress toward the goal. For example, the agent may repeat ineffective actions, cycle through previously visited states, or gather information that does not help complete the task. Unproductive interactions will exhaust the available budget before achieving the goal, making timely detection and recovery necessary to restore meaningful task progress. T3T^{3} detects belief deviation and truncates uninformative trajectories for reinforcement learning, but does not provide a recovery strategy within the ongoing episode (Zou et al., 2026). To our knowledge, no existing framework maintains a belief state with both continual consistency validation and online diagnosis and recovery from Belief Trapping.

We introduce Progression of States (PoS), a unified framework that integrates explicit belief modeling, consistency validation, and trapping-aware recovery for long-horizon agent decision-making. As illustrated in Figure 2, PoS continually updates a world state of task-relevant Entities, States, and Relations, along with epistemic and achievement gaps that specify what the agent still needs to learn or accomplish. The agent selects actions from the current belief, while a Belief Sentinel validates updates for internal consistency and support from interaction evidence. PoS also assesses whether belief evolution supports continued task progress using three measures: gap persistence, progress stagnation, and belief recurrence. It then performs factorized trapping diagnosis along two dimensions, agent dynamics and blocked gap type, and composes corresponding recovery constraints to recover from Belief Trapping.

We evaluate PoS using three LLM backbones on ALFWorld and LOCA-Bench for execution tasks and RCA-100 and ClinDiag for diagnosis tasks. PoS achieves the highest overall performance on all four benchmarks with each backbone, with relative gains over the strongest baseline reaching 22.68% on ALFWorld and 37.89% on RCA-100 joint accuracy. Ablation studies demonstrate the importance of consistency validation and trapping recovery beyond explicit belief construction. Further analyses examine trapping patterns and recovery effectiveness, robustness to context growth, and the tradeoff between token consumption and task performance.

References (36)