cs.AIOct 19, 2026

Train An Imaginative Agent

Authors: Jiaxin Ge, Junyi Zhang, Tianning Chai, Hanjun Yoo, Chenyang Wang, Xiuyu Li, Weijia Shi, XuDong Wang, 

Organizations: University of California, Berkeley · Impossible Research · University of Washington · Duke University

Abstract

A seemingly reasonable push in Sokoban can make the puzzle unsolvable. To avoid such mistakes, an agent has to anticipate the consequences of its actions before execution, especially when feedback from the real environment is sparse or actions are irreversible. We introduce Agentic Imagination (Agima), a training framework that trains an agent to imagine before acting, i.e. to be imaginative. Agima trains a single omni model to propose actions, generate images of their outcomes, and then reason over these imagined futures to decide what to execute in the real environment. Rather than committing to a single plan, the agent can simulate a sequence of actions, explore alternatives, and compare possible futures. We first use supervised fine-tuning (SFT) to unify policy and world modeling within a single omni model. This enables the agent to predict future outcomes and perform basic forms of imagination, such as forward thinking and counterfactual branching. We then use agentic reinforcement learning (RL) to teach the agent to reason with its imagined futures and use them effectively for planning. Across four environments spanning Maze2D, Sokoban, Pacman, and PushT, Agima generalizes to harder settings unseen during training. Trained with SFT alone on two-box Sokoban, Agima solves 40% of four-box puzzles while seeing the real board only once every five moves, compared with an action-only planner that only solves 2%. After RL, new behaviors emerge in how Agima uses its imagination: it learns a new unified format that was unseen during the SFT stage, learns to conduct forward thinking only when necessary, and branches more frequently at critical decision points. An agent that can picture where its actions lead can learn when and where to look ahead, that is, to plan. Project page: https://agima.net/.

Figures & tables

Appendix figures & tables105 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Imagine-then-Plan: Agent Learning from Adaptive Lookahead with World Models

    Jan 13, 2026Youwei Liu, Jian Wang, Hanlin Wang +2World Model-Based PlanningModel-Based Planning

  2. WISE: World-model-guided Imagination Scheduling for Efficient Post-training of Vision-Language-Action Models

    Sep 3, 2026Chenhao Zhang, Hanyu Zhao, Hang Cheng +2Robustness of VLA ModelsWorld Models for Robotics