Unlocking Smarter Device Control: Foresighted Planning with a World Model-Driven Code Execution Approach

Xiaoran Yin, Xu Luo, Hao Wu, Lianli Gao, Jingkuan Song


Abstract
The automatic control of mobile devices is essential for efficiently performing complex tasks that involve multiple sequential steps. However, these tasks pose significant challenges due to the limited environmental information available at each step, primarily through visual observations. As a result, current approaches, which typically rely on reactive policies, focus solely on immediate observations and often lead to suboptimal decision-making. To address this problem, we propose Foresighted Planning with World Model-Driven Code Execution (FPWC),a framework that prioritizes natural language understanding and structured reasoning to enhance the agent’s global understanding of the environment by developing a task-oriented, refinable world model at the outset of the task. Foresighted actions are subsequently generated through iterative planning within this world model, executed in the form of executable code. Extensive experiments conducted in simulated environments and on real mobile devices demonstrate that our method outperforms previous approaches, particularly achieving a 44.4% relative improvement in task success rate compared to the state-of-the-art in the simulated environment.
Anthology ID:
2025.findings-emnlp.213
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2025
Month:
November
Year:
2025
Address:
Suzhou, China
Editors:
Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, Violet Peng
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
3982–4005
Language:
URL:
https://aclanthology.org/2025.findings-emnlp.213/
DOI:
Bibkey:
Cite (ACL):
Xiaoran Yin, Xu Luo, Hao Wu, Lianli Gao, and Jingkuan Song. 2025. Unlocking Smarter Device Control: Foresighted Planning with a World Model-Driven Code Execution Approach. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 3982–4005, Suzhou, China. Association for Computational Linguistics.
Cite (Informal):
Unlocking Smarter Device Control: Foresighted Planning with a World Model-Driven Code Execution Approach (Yin et al., Findings 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.findings-emnlp.213.pdf
Checklist:
 2025.findings-emnlp.213.checklist.pdf