Thinking by Doing: Building Efficient World Model Reasoning in LLMs via Multi-turn Interaction

Bao Shu, Yan Cai, Jianjian Sun, Chunrui Han, En Yu, Liang Zhao, Jingcheng Hu, Yinmin Zhang, Haoran Lv, Yuang Peng, Zheng Ge, Xiangyu Zhang, Daxin Jiang, Xiangyu YuearXiv 2025 · DOI

Abstract

Large Language Models (LLMs) often struggle with complex planning and reasoning in dynamic environments, either failing to generate perfect monolithic plans or over-relying on interactive feedback. We present WMAct (World-Model Internalization through Efficient Interaction and Active Reasoning), a training paradigm that enables LLMs to internalize world models. By combining multi-turn interaction with reward rescaling and interaction frequency annealing, WMAct allows models to transition from interactive exploration to efficient, single-turn reasoning. Our results show significant improvements in puzzle-solving tasks like Sokoban and Maze, as well as enhanced generalization to out-of-distribution reasoning benchmarks.

Introduction

For an AI agent to achieve true autonomy, it must possess an internal "world model"—a mental representation of environmental dynamics that allows for prediction and planning. Current approaches to building such models in LLMs typically fall into two categories: monolithic reasoning and multi-turn interaction. Monolithic reasoning requires the model to generate a complete plan upfront, which often leads to logic errors due to the high cognitive burden of internal simulation. Conversely, multi-turn interaction allows for step-by-step feedback but often results in "lazy" models that over-rely on the environment for correction rather than learning to plan ahead.

Comparison between monolithic "Thinking Only" and the proposed "Thinking by Doing" (WMAct) approach.

To bridge this gap, we propose WMAct, a framework that uses interaction as a scaffolding for learning, eventually distilling these interactive capabilities into efficient internal reasoning.

Methodology: The WMAct Framework

WMAct leverages Reinforcement Learning (PPO) enhanced by two primary mechanisms designed to incentivize purposeful behavior and internal simulation.

Reward Rescaling

To discourage inefficient brute-force exploration, we implement reward rescaling. The final reward for a successful task is scaled by the proportion of effective actions. For instance, if a model frequently attempts invalid moves (e.g., walking into walls), its reward is significantly reduced. This forces the model to prioritize concise and logical action sequences.

Interaction Frequency Annealing

This mechanism serves as a developmental "scaffolding." During the initial stages of training, the model is granted a high number of interaction turns (e.g., 30) to explore the environment and receive feedback. As training progresses, the maximum allowed turns are gradually reduced (annealed). This constraint forces the model to internalize the environmental feedback loop, transitioning from external trial-and-error to internal world-model simulation.

The WMAct training paradigm, featuring Reward Rescaling and Interaction Frequency Annealing to promote world-model internalization.

Experimental Evaluation

We evaluated WMAct across three challenging grid-based environments:

  • Sokoban: A complex puzzle involving box-pushing with irreversible moves.
  • Maze: A navigation task requiring pathfinding through obstacles.
  • Taxi: A task-oriented environment involving passenger pickup and delivery.

Furthermore, we tested the transferability of the learned reasoning patterns to general benchmarks such as MMLU-Pro, GPQA-Diamond, and AIME24/25.

Key Results and Insights

Performance and Generalization

WMAct demonstrated superior performance, achieving success rates of 78.57% on Sokoban and 88.14% on Maze, outperforming both standard monolithic and basic interactive PPO baselines. Notably, WMAct maintained robustness on "Hard" task variants where monolithic models failed completely.

Cross-Domain Reasoning Boost

A significant finding was the "logical muscle" effect. Training on physical-style world models like Sokoban improved performance on unrelated tasks. For example, the WMAct-Sokoban model saw a 5.05 point increase on HMMT25 (math) and a 2.24 point increase on GPQA-Diamond (science). This suggests that internalizing world models fosters general-purpose reasoning capabilities like self-correction and reflection.

The Role of Cognitive Priors

Our analysis indicates that a model's base reasoning ability is a prerequisite for effective internalization. Smaller models (e.g., Qwen2.5-7B) struggled to benefit from WMAct compared to more advanced counterparts, suggesting that the ability to learn from "doing" depends on pre-existing logical foundations.

Conclusion

WMAct provides a path toward building LLMs that are both flexible and efficient. By treating interaction as a temporary training tool rather than a permanent crutch, we can help models develop the internal world models necessary for complex, autonomous reasoning. Future work will explore scaling this approach to high-dimensional, continuous environments like robotics.

Summary updated

BibTeX
@misc{shu2025thinking,
  author = {Bao Shu and Yan Cai and Jianjian Sun and Chunrui Han and En Yu and Liang Zhao and Jingcheng Hu and Yinmin Zhang and Haoran Lv and Yuang Peng and Zheng Ge and Xiangyu Zhang and Daxin Jiang and Xiangyu Yue},
  title = {{Thinking by Doing: Building Efficient World Model Reasoning in LLMs via Multi-turn Interaction}},
  year = {2025},
  eprint = {2511.23476},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.23476},
}
Figure