Language Models as Narrative Planning Heuristics

Lasantha Senanayake, Stephen G. Ware

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Narrative planning is the process of generating sequences of actions that form coherent and goal-oriented narratives. Classical implementations of narrative planning rely on heuristic search techniques to offer structured story generation but face challenges with scalability due to large branching factors and deep search requirements. Large Language Models (LLMs), with their extensive training on diverse linguistic datasets, excel in understanding and generating coherent narratives. However, their planning ability lacks the precision and structure needed for effective narrative planning. This paper explores a hybrid approach that uses LLMs as heuristic guides within classical search frameworks for narrative planning. We compare various prompt designs to generate LLM heuristic predictions and evaluate their performance against ℎ+, ℎmax, and relaxed plan heuristics. Additionally, we analyze the ability of relaxed plans to predict the next action correctly, comparing it to the LLMs' ability to make the same prediction. Our findings indicate that LLMs rarely exceed the accuracy of classical planning heuristics.

Original languageEnglish
Title of host publicationProceedings of the 20th International Conference on the Foundations of Digital Games, FDG 2025
EditorsJohanna Pirker, Fares Kayali, Katta Spiel, Sabine Harrer, Sabine Harrer, Ahmed Khalifa, Gabriella A.B. Barros
ISBN (Electronic)9798400718564
DOIs
StatePublished - May 9 2025
Event20th International Conference on the Foundations of Digital Games, FDG 2025 - Vienna, Austria
Duration: Apr 15 2025Apr 18 2025

Publication series

NameProceedings of the 20th International Conference on the Foundations of Digital Games, FDG 2025

Conference

Conference20th International Conference on the Foundations of Digital Games, FDG 2025
Country/TerritoryAustria
CityVienna
Period4/15/254/18/25

Bibliographical note

Publisher Copyright:
© 2025 Copyright held by the owner/author(s).

Keywords

  • Heuristic Search
  • Large Language Models
  • Narrative
  • Narrative Planning
  • Neuro-Symbolic
  • Planning

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Graphics and Computer-Aided Design
  • Human-Computer Interaction
  • Software

Fingerprint

Dive into the research topics of 'Language Models as Narrative Planning Heuristics'. Together they form a unique fingerprint.

Cite this