Language Agents Meet Causality -- Bridging LLMs and Causal World Models

John Gkountouras, Matthias Lindemann, Phillip Lippe, Efstratios Gavves, Ivan Titov
10/25/2024
cs.AIcs.LGstat.ME

No official code found. Best implementation: j0hngou/LLMCWM (30 stars, last commit 2025-05-06).

Abstract

Large Language Models (LLMs) have recently shown great promise in planning and reasoning applications. These tasks demand robust systems, which arguably require a causal understanding of the environment. While LLMs can acquire and reflect common sense causal knowledge from their pretraining data, this information is often incomplete, incorrect, or inapplicable to a specific environment. In contrast, causal representation learning (CRL) focuses on identifying the underlying causal structure within a given environment. We propose a framework that integrates CRLs with LLMs to enable causally-aware reasoning and planning. This framework learns a causal world model, with causal variables linked to natural language expressions. This mapping provides LLMs with a flexible interface to process and generate descriptions of actions and states in text form. Effectively, the causal world model acts as a simulator that the LLM can query and interact with. We evaluate the framework on causal inference and planning tasks across temporal scales and environmental complexities. Our experiments demonstrate the effectiveness of the approach, with the causally-aware method outperforming LLM-based reasoners, especially for longer planning horizons.

View on arXivView PDF

Code Implementations(1)

j0hngou/LLMCWMCommunity100%

This is the official code repository for the paper "Language Agents Meet Causality -- Bridging LLMs and Causal World Models"

304PDDL, ShellOct 25, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{gkountouras2024language,
  title  = {Language Agents Meet Causality -- Bridging LLMs and Causal World Models},
  author = {John Gkountouras and Matthias Lindemann and Phillip Lippe and Efstratios Gavves and Ivan Titov},
  year   = {2024},
  eprint = {2410.19923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.19923v1}
}

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

Discussion