Abstract
Narrative planning algorithms generate stories as a sequence of actions that align with an author-defined goal while ensuring characters act believably, often requiring reasoning over nested beliefs. When theory of mind is represented, states include not only the factual world but also each character’s beliefs about the world and other characters’ beliefs, potentially to infinite depth. In such planners, detecting duplicate states can prune redundant paths in the search space, but it is unclear whether it is too computationally expensive to justify. This paper investigates the cost and benefit of duplicate state detection using the Sabre planner, which models infinitely nested beliefs deterministically. We compare two approaches: tree search, which does not check for duplicate states, and graph search, which uses a recursive equivalence algorithm to detect and avoid duplicates. We provide a polynomial-time algorithm for detecting duplicate states and empirically show that using it significantly reduces the number of nodes generated and the total planning time across several benchmark problems. These findings suggest that duplicate detection in epistemic narrative planning is both feasible and beneficial.
| Original language | English |
|---|---|
| Pages (from-to) | 62-69 |
| Number of pages | 8 |
| Journal | Proceedings - AAAI Artificial Intelligence and Interactive Digital Entertainment Conference, AIIDE |
| Volume | 21 |
| Issue number | 1 |
| DOIs | |
| State | Published - 2025 |
| Event | 21st AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, AIIDE 2025 - Edmonton, Canada Duration: Nov 10 2025 → Nov 14 2025 |
Bibliographical note
Publisher Copyright:© 2025, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
Funding
This material is based upon work supported by the U.S. National Science Foundation under Grant No. 2145153 and the U.S. Army Research Office under Grant No. W911NF-24-1-0195. Any opinions, findings, conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation or the Army Research Office.
| Funders | Funder number |
|---|---|
| National Science Foundation Arctic Social Science Program | 2145153 |
| Army Research Office | W911NF-24-1-0195 |
ASJC Scopus subject areas
- Software
- Human-Computer Interaction
- Computer Science Applications
- Computer Graphics and Computer-Aided Design
- Artificial Intelligence