Making Large Language Models into World Models with Precondition and Effect Knowledge

Kaige Xie, Ian Yang, John Gunerli, Mark Riedl
9/18/2024
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

World models, which encapsulate the dynamics of how actions affect environments, are foundational to the functioning of intelligent agents. In this work, we explore the potential of Large Language Models (LLMs) to operate as world models. Although LLMs are not inherently designed to model real-world dynamics, we show that they can be induced to perform two critical world model functions: determining the applicability of an action based on a given world state, and predicting the resulting world state upon action execution. This is achieved by fine-tuning two separate LLMs-one for precondition prediction and another for effect prediction-while leveraging synthetic data generation techniques. Through human-participant studies, we validate that the precondition and effect knowledge generated by our models aligns with human understanding of world dynamics. We also analyze the extent to which the world model trained on our synthetic data results in an inferred state space that supports the creation of action chains, a necessary property for planning.

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. 1 weaker match is 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{xie2024making,
  title  = {Making Large Language Models into World Models with Precondition and Effect Knowledge},
  author = {Kaige Xie and Ian Yang and John Gunerli and Mark Riedl},
  year   = {2024},
  eprint = {2409.12278},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.12278v2}
}

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/2409.12278.svg)](https://codeofpaper.com/paper/2409.12278)

Discussion