Manuscript Offprint

arXiv:2610.06637

Long-Horizon Textual World Modeling through Structured Reasoning

Fangxin Wang, Xiang Gao, Yuguang Yao, Kaiwen Dong, Nikash Walia, Kamalika Das

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

Abstract

World models must predict how an environment evolves under sequences of actions, enabling agents to compare possible futures and reason about counterfactual actions before acting. Long-horizon prediction is commonly obtained by recursively applying a one-step transition model, but intermediate errors can compound over time. Multi-step dynamics models instead condition on a sequence of future actions and predict their consequences directly, but become harder to learn as horizon grows: the model must track interacting state changes across the trajectory, endpoint supervision provides weak credit assignment, and intermediate predictions can remain plausible while losing information needed for later states. We show that these challenges can be addressed by casting the internal evolution of a multi-step transition as structured reasoning over textual world states: reasoning over sparse state changes reduces the burden of state tracking, a predictive-gain objective rewards the learned state for improving over a matched predictor that conditions on raw history instead, and intermediate predictive rewards supervise each state along the trajectory. Because these intermediate states are explicit textual representations of the world, they provide semantically meaningful targets that can be inspected, scored, and corrected during training. Across SCIENCEWORLD, JERICHO, and CEO-BENCH, our approach achieves the strongest average long-horizon performance against recursive and non-recursive baselines that condition directly on raw history, with gains increasing at longer horizons: at horizon 10, it exceeds the strongest such baseline by 12.3% relative on SCIENCEWORLD and 9.3% relative on CEO-BENCH, and error on JERICHO drops by nearly 30%. In a controlled counterfactual study, our model is also the only one with statistically significant sensitivity to future actions (p < 0.001), while baselines show null or anti-correlated sensitivity once ground-truth geometry is accounted for. These results suggest that making a multi-step transition's internal trajectory explicit and supervisible through structured reasoning is a better abstraction for long-horizon textual world modeling than recursively composing one-step predictions.

1 Introduction

World models enable agents to reason about the consequences of their actions before interacting with an environment. For language-based agents, this requires predicting how an environment will evolve under a sequence of actions from observations that reveal only part of the underlying world state [Li et al., 2026b, Gu et al., 2025, Li et al., 2026c, Zuo et al., 2026]. A common approach is to learn a one-step transition model and recursively roll it forward, feeding each predicted state back into the model to produce the next [Hafner et al., 2019, 2020]. This factorization is convenient and naturally exposes intermediate states, but it also creates a fundamental weakness: errors in an intermediate prediction become part of the context for every subsequent transition and can therefore compound with horizon [Asadi et al., 2019, Lambert et al., 2021].

Non-recursive prediction offers an alternative. Rather than repeatedly applying a learned one-step transition to its own predictions, prior work directly predicts a future state at a target horizon from the current state and future action sequence [Asadi et al., 2019, Lambert et al., 2021]. The difficulty is that long-horizon prediction is inherently multi-horizon: training a single direct model to accurately cover many horizons is challenging, while training separate models for different horizons fragments the data and prevents shared learning across them. These limitations are

(a) recursive

(b) direct

Figure

(c) ours: structured reasoning

Figure 1: (a) Recursive rollout feeds each predicted state back as input to the next call. (b) Direct prediction conditions on the entire action sequence and jumps straight to the endpoint, without exposing intermediate structure. (c) Ours: structured reasoning instead emits sparse deltas Δ1,…,Δk\Delta_1, \ldots, \Delta_k in one autoregressive decode, applied ( ⊕\oplus) to the persistent state to obtain z^1,…,z^k\hat{z}_1, \ldots, \hat{z}_k without re-entering the model: this eases state tracking and lets intermediate rewards localize errors.

especially consequential in partially observable environments, where the model must preserve information from history while tracking action-dependent changes over many steps.

The challenge, then, is to retain the benefits of non-recursive prediction while recovering the shared structure across horizons that direct endpoint prediction tends to discard. Rather than treating each horizon as a separate prediction target, we model the entire multi-step evolution as a single structured trajectory. Concretely, we cast this trajectory as reasoning over textual world states, where each action induces a sparse change to an otherwise persistent state (Figure 1). This representation allows the same transition to support predictions at multiple horizons while making the internal evolution explicit. In this sense, direct endpoint prediction and our approach parallel the distinction between an LLM answering immediately and an LLM reasoning through a chain of thought before answering [Wei et al., 2022]: rather than free-form scratch text, however, our intermediate reasoning takes the form of an explicit, semantically grounded world-state trajectory that can itself be supervised and rewarded.

This structure also addresses the main difficulties of learning long-horizon dynamics jointly. Reasoning over sparse state changes reduces the burden of tracking interacting updates across a long action sequence while preserving unaffected facts. Exposing intermediate states provides semantically meaningful targets for supervision and process rewards, allowing errors to be localized throughout the trajectory rather than only at its endpoint. Finally, optimizing the predictive gain of the learned state over a matched predictor that conditions on raw history instead encourages it to retain information that may only become useful for downstream observations. Together, these mechanisms allow a single multi-step transition to share learning across horizons while avoiding recursive state feedback. Although the underlying language model remains autoregressive over tokens, predicted intermediate world states are not recursively fed back into separate transition calls.

We evaluate our approach on three partially observable interactive domains with complementary long-horizon dynamics: SCIENCEWORLD [Wang et al., 2022], JERICHO [Hausknecht et al., 2019], and CEO-BENCH [Chen et al., 2026]. latent-SR achieves the strongest average long-horizon prediction performance across all three, with its advantage concentrated at longer horizons, and is also the only evaluated model with statistically significant action-conditioned sensitivity in a controlled counterfactual study, while baselines are null or significantly negative after correcting for ground-truth branch geometry. Ablations and controlled perturbations further separate the effects of transition factorization, training, and intermediate supervision, supporting a trajectory-explicit, non-recursive transition as a practical alternative to recursively composing one-step predictions.

References (78)