What-If Analysis of Large Language Models: Explore the Game World Using Proactive Thinking

Yuan Sui, Yanming Zhang, Yi Liao, Yu Gu, Guohua Tang +3 more
9/5/2025
cs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

LLMs struggle with decision-making in high-stakes environments like MOBA games, primarily due to a lack of proactive reasoning and limited understanding of complex game dynamics. To address this, we propose What-if Analysis LLM (WiA-LLM), a framework that trains an LLM as an explicit, language-based world model. Instead of representing the environment in latent vectors, WiA-LLM uses natural language to simulate how the game state evolves over time in response to candidate actions, and provides textual justifications for these predicted outcomes. WiA-LLM is trained in two stages: supervised fine-tuning on human-like reasoning traces, followed by reinforcement learning with outcome-based rewards based on the alignment between predicted and actual future states. In the Honor of Kings (HoK) environment, WiA-LLM attains 74.2\% accuracy (27\%$\uparrow$ vs. base model) in forecasting game-state changes. In addition, WiA-LLM demonstrate strategic behavior more closely aligned with expert players than purely reactive LLMs, indicating enhanced foresight and expert-like decision-making.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sui2025whatif,
  title  = {What-If Analysis of Large Language Models: Explore the Game World Using Proactive Thinking},
  author = {Yuan Sui and Yanming Zhang and Yi Liao and Yu Gu and Guohua Tang and Zhongqian Sun and Wei Yang and Bryan Hooi},
  year   = {2025},
  eprint = {2509.04791},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.04791v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.04791.svg)](https://codeofpaper.com/paper/2509.04791)

Discussion