arXiv:2610.28945cs.AIOct 2026

Manuscript Offprint

arXiv:2610.28945

Self-Improving Agents with World Model Predictive Paths

Haori Lu, Tianyu Gao, Yaoyao Liu, Yingying Li

Abstract

Large language model (LLM) agents are increasingly expected to interact with environments and improve their decisions during deployment. However, how anticipating future outcomes and drawing on accumulated interaction experience can jointly support decision-making remains underexplored. We propose a test-time framework, inspired by Model Predictive Path Integral (MPPI) control, that combines multi-branch predictive analysis with experience-based adaptation. At each step, the agent proposes multiple candidate actions and imagines their outcomes with a world model, so that alternatives can be compared without being executed in the environment. Since language environments provide neither explicit dynamics nor costs, the predicted outcomes are evaluated for task progress and risk, and MPPI-style weights over the resulting costs guide the final decision. A dual-branch experience memory enables self-improvement: the planner branch refines candidate generation and action selection, while the world model branch improves next-observation prediction. Experiments on ALFWorld and ScienceWorld across three backbones demonstrate the strong overall performance of our method and the effectiveness of experience-guided predictive control. Our code will be made publicly available.

1 Introduction

Large language model (LLM) agents interact with environments by interpreting observations and taking actions to accomplish tasks. Long-horizon tasks require them to sustain progress under incomplete observations, where poor decisions can lead to repeated failures or wasted interactions. Building agents that make reliable decisions over extended interactions therefore remains a central challenge.

Prior work improves interactive decision making in several complementary ways. ReAct interleaves reasoning with environment feedback (Yao et al., 2023b), but commits to a single proposed action at each step, which may miss useful alternatives. Search-based methods instead explore multiple reasoning or action paths at inference time (Yao et al., 2023a; Zhou et al., 2024; Hao et al., 2023; Liu et al., 2026), but their cost grows with the breadth and depth of the search. A separate line improves agents through retrieved reflections and trajectory-derived action advantages (Shinn et al., 2023; Li et al., 2026a). These directions motivate exploring a few alternatives before acting, without executing them, together with experience gathered through interaction. This also resembles how people mentally simulate a few alternatives before choosing (Gilbert and Wilson, 2007; Vul et al., 2014): the agent imagines the outcomes of several candidate actions (Hafner et al., 2020; Gu et al., 2025), which avoids the interaction steps and potential irreversible consequences of trying them in the environment. Model Predictive Path Integral (MPPI) control offers a concrete recipe for this pattern: it samples a finite batch of candidate trajectories, weights them by predicted costs with exponential (Gibbs) weights, executes only the next action, and replans (Williams et al., 2015, 2017).

Language environments, however, provide neither explicit dynamics nor costs. A language world model can supply the missing dynamics by predicting the outcome of each candidate action (Hao et al., 2023; Liu et al., 2026; Zhang et al., 2026), but better next-observation prediction does not necessarily yield higher task success (Zhang et al., 2026). We therefore couple prediction directly with decision making: the agent predicts the outcomes of several candidate actions, an evaluator assigns costs for task progress and risk, and MPPI-style weights summarize these costs for a final controller that selects or synthesizes the action to execute.

∗^{*} Corresponding author.

To make both the candidates and their predictions more reliable over time, we further introduce a dual-branch experience memory for self-improvement. The planner branch uses accumulated experience to improve candidate generation and action selection, while the world model branch improves next-observation prediction, so that a single stream of interaction experience improves both what is proposed and what is predicted. Both branches operate through retrieved textual context, with policy and world model parameters frozen. Our analysis bounds the agent's per-step regret in terms of three error sources, namely limited candidate coverage, errors in action selection, and inaccurate next-observation predictions, which motivates the two branches.

Experiments on ALFWorld (Shridhar et al., 2021) and ScienceWorld (Wang et al., 2022) demonstrate the strongest overall success-rate performance among the evaluated methods across three backbones. Our main contributions are:

• We propose a test-time, MPPI-inspired framework that improves a bounded predict–select–replan decision loop with experience: a world model predicts the outcomes of a few candidate actions, and a dual-branch memory improves both candidate generation and selection and next-observation prediction.

• We provide a theoretical analysis showing that the weighting rule is optimal under a KL-regularized objective, and that the per-step regret is bounded in terms of candidate coverage, action selection, and next-observation prediction errors, which motivates the two memory branches.

• Experiments on ALFWorld and ScienceWorld across three backbones demonstrate the strongest overall success rate performance among baselines. We also provide ablation studies and a computational cost analysis.

References (32)