WorldLLM: Improving LLMs' world modeling using curiosity-driven theory-making

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Levy, Guillaume, Colas, Cedric, Oudeyer, Pierre-Yves, Carta, Thomas, Romac, Clement
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918313166110720
author Levy, Guillaume
Colas, Cedric
Oudeyer, Pierre-Yves
Carta, Thomas
Romac, Clement
author_facet Levy, Guillaume
Colas, Cedric
Oudeyer, Pierre-Yves
Carta, Thomas
Romac, Clement
contents Large Language Models (LLMs) possess general world knowledge but often struggle to generate precise predictions in structured, domain-specific contexts such as simulations. These limitations arise from their inability to ground their broad, unstructured understanding in specific environments. To address this, we present WorldLLM, a framework that enhances LLM-based world modeling by combining Bayesian inference and autonomous active exploration with reinforcement learning. WorldLLM leverages the in-context learning abilities of LLMs to guide an LLM-based world model's predictions using natural language hypotheses given in its prompt. These hypotheses are iteratively refined through a Bayesian inference framework that leverages a second LLM as the proposal distribution given collected evidence. This evidence is collected using a curiosity-driven reinforcement learning policy that explores the environment to find transitions with a low log-likelihood under our LLM-based predictive model using the current hypotheses. By alternating between refining hypotheses and collecting new evidence, our framework autonomously drives continual improvement of the predictions. Our experiments demonstrate the effectiveness of WorldLLM in a textual game environment that requires agents to manipulate and combine objects. The framework not only enhances predictive accuracy, but also generates human-interpretable theories of environment dynamics.
format Preprint
id arxiv_https___arxiv_org_abs_2506_06725
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle WorldLLM: Improving LLMs' world modeling using curiosity-driven theory-making
Levy, Guillaume
Colas, Cedric
Oudeyer, Pierre-Yves
Carta, Thomas
Romac, Clement
Artificial Intelligence
Machine Learning
Large Language Models (LLMs) possess general world knowledge but often struggle to generate precise predictions in structured, domain-specific contexts such as simulations. These limitations arise from their inability to ground their broad, unstructured understanding in specific environments. To address this, we present WorldLLM, a framework that enhances LLM-based world modeling by combining Bayesian inference and autonomous active exploration with reinforcement learning. WorldLLM leverages the in-context learning abilities of LLMs to guide an LLM-based world model's predictions using natural language hypotheses given in its prompt. These hypotheses are iteratively refined through a Bayesian inference framework that leverages a second LLM as the proposal distribution given collected evidence. This evidence is collected using a curiosity-driven reinforcement learning policy that explores the environment to find transitions with a low log-likelihood under our LLM-based predictive model using the current hypotheses. By alternating between refining hypotheses and collecting new evidence, our framework autonomously drives continual improvement of the predictions. Our experiments demonstrate the effectiveness of WorldLLM in a textual game environment that requires agents to manipulate and combine objects. The framework not only enhances predictive accuracy, but also generates human-interpretable theories of environment dynamics.
title WorldLLM: Improving LLMs' world modeling using curiosity-driven theory-making
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2506.06725