World Modelling Improves Language Model Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guo, Shangmin, Domingues, Omar Darwiche, Avalos, Raphaël, Courville, Aaron, Strub, Florian
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908546242707456
author Guo, Shangmin
Domingues, Omar Darwiche
Avalos, Raphaël
Courville, Aaron
Strub, Florian
author_facet Guo, Shangmin
Domingues, Omar Darwiche
Avalos, Raphaël
Courville, Aaron
Strub, Florian
contents Tool use in stateful environments presents unique challenges for large language models (LLMs), where existing test-time compute strategies relying on repeated trials in the environment are impractical. We propose dynamics modelling (DyMo), a method that augments LLMs with a state prediction capability alongside function calling during post-training. This enables LLMs to predict the future states of their actions through an internal environment model. On the Berkeley Function Calling Leaderboard V2, DyMo improves success rates and significantly reduces hallucinations. We further integrate the internal environment model into self-verification sampling (SVS), and show that this substantially improves pass^k over number of trials k, and allows the model to refuse unreliable outputs. Together, DyMo and SVS greatly enhance the effectiveness and reliability of LLMs for tool use. We believe this work charts a path towards scalable planning RL methods for LLM inference without repeatedly querying the oracle environment.
format Preprint
id arxiv_https___arxiv_org_abs_2506_02918
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle World Modelling Improves Language Model Agents
Guo, Shangmin
Domingues, Omar Darwiche
Avalos, Raphaël
Courville, Aaron
Strub, Florian
Artificial Intelligence
Machine Learning
Tool use in stateful environments presents unique challenges for large language models (LLMs), where existing test-time compute strategies relying on repeated trials in the environment are impractical. We propose dynamics modelling (DyMo), a method that augments LLMs with a state prediction capability alongside function calling during post-training. This enables LLMs to predict the future states of their actions through an internal environment model. On the Berkeley Function Calling Leaderboard V2, DyMo improves success rates and significantly reduces hallucinations. We further integrate the internal environment model into self-verification sampling (SVS), and show that this substantially improves pass^k over number of trials k, and allows the model to refuse unreliable outputs. Together, DyMo and SVS greatly enhance the effectiveness and reliability of LLMs for tool use. We believe this work charts a path towards scalable planning RL methods for LLM inference without repeatedly querying the oracle environment.
title World Modelling Improves Language Model Agents
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2506.02918