Designing Constrained Generative NPCs with a Dynamic Evidence Graph for Investigative Narrative Worlds
Abstract
Large language models are increasingly used to generate adaptive dialogue for narrative games, but unconstrained generation often introduces logical inconsistencies and premature disclosure of narrative-critical information. These issues are particularly problematic in investigative settings, where player reasoning depends on structured evidence and controlled information flow. This poster presents a constrained generative NPC system that explores an alternative to semantic similarity-based retrieval. Narrative knowledge is organized as a Dynamic Evidence Graph (DEG) composed of interdependent Knowledge Fragments with explicit states, dependencies, trust thresholds, and spatial conditions. An engine-controlled Eligibility and Gating mechanism selects which fragments may be expressed at runtime, producing a constrained context for dialogue generation. We illustrate the approach through a 2D investigative game prototype and formative expert feedback. The work highlights how explicit evidence structures and deterministic knowledge access can support coherent and inspectable generative NPC behavior in investigative narratives.
- Venue
- CHI 2026
- Volume
- Proceedings of the Extended Abstracts of the 2026 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3772363.3798387
- https://dl.acm.org/doi/pdf/10.1145/3772363.3798387
- Anthology ID
2026.chi-ea.183
Cite
@inproceedings{zhao-2026-designing,
title = {{Designing Constrained Generative NPCs with a Dynamic Evidence Graph for Investigative Narrative Worlds}},
author = {Zirui Zhao},
booktitle = {Proceedings of the Extended Abstracts of the 2026 CHI Conference on Human Factors in Computing Systems},
isbn = {9798400722813},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3772363.3798387},
url = {https://doi.org/10.1145/3772363.3798387},
abstract = {Large language models are increasingly used to generate adaptive dialogue for narrative games, but unconstrained generation often introduces logical inconsistencies and premature disclosure of narrative-critical information. These issues are particularly problematic in investigative settings, where player reasoning depends on structured evidence and controlled information flow. This poster presents a constrained generative NPC system that explores an alternative to semantic similarity-based retrieval. Narrative knowledge is organized as a Dynamic Evidence Graph (DEG) composed of interdependent Knowledge Fragments with explicit states, dependencies, trust thresholds, and spatial conditions. An engine-controlled Eligibility and Gating mechanism selects which fragments may be expressed at runtime, producing a constrained context for dialogue generation. We illustrate the approach through a 2D investigative game prototype and formative expert feedback. The work highlights how explicit evidence structures and deterministic knowledge access can support coherent and inspectable generative NPC behavior in investigative narratives.}
}