Who, What, When, Where, Why: A Narrative Episodic Memory Framework for Generative AI NPCs in Games

This research proposes a narrative episodic memory framework for generative AI-based NPCs in games, structured around the "Who, What, When, Where, Why" (5Ws) format, which aims to suggest a memory structure for future GenAI NPC model development. The main objective is to allow NPCs to recognize and remember memories of interactions with players and to respond in a way that is contextually rich and consistent with their personality and background. The framework implements the idea of memory decay, enabling NPCs to tune their personality and tone for different players using generative AI over time. By analyzing the interaction memories, NPCs can dynamically adjust their character to create a personalized and immersive experience. The framework will be evaluated using several large language models, and their responses will be compared through analysis. The results will be presented with an emphasis on the differences among models to cater to the distinct needs of developers. While such a framework is considered a component that needs integration, this work establishes a foundation for designing episodic memory structure, allowing NPCs to participate with players with complex memory structure as it allows them to engage in more meaningful interactions. This foundational framework serves as pathways for future development on NPC AI that enables sophisticated interaction and changes character personality specific to the way players engage with them.

Authors

Institutions

Publication Details

Journal
Applied and Computational Engineering
Published
2025-02-21
DOI
https://doi.org/10.54254/2755-2721/2025.21096
Primary Topic
Reinforcement Learning in Robotics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Who, What, When, Where, Why: A Narrative Episodic Memory Framework for Generative AI NPCs in Games

Lam Yeung Kong Sunny
Applied and Computational Engineering
Reinforcement Learning in Robotics
article

Who, What, When, Where, Why: A Narrative Episodic Memory Framework for Generative AI NPCs in Games

Lam Yeung Kong Sunny
article en

Abstract

This research proposes a narrative episodic memory framework for generative AI-based NPCs in games, structured around the "Who, What, When, Where, Why" (5Ws) format, which aims to suggest a memory structure for future GenAI NPC model development. The main objective is to allow NPCs to recognize and remember memories of interactions with players and to respond in a way that is contextually rich and consistent with their personality and background. The framework implements the idea of memory decay, enabling NPCs to tune their personality and tone for different players using generative AI over time. By analyzing the interaction memories, NPCs can dynamically adjust their character to create a personalized and immersive experience. The framework will be evaluated using several large language models, and their responses will be compared through analysis. The results will be presented with an emphasis on the differences among models to cater to the distinct needs of developers. While such a framework is considered a component that needs integration, this work establishes a foundation for designing episodic memory structure, allowing NPCs to participate with players with complex memory structure as it allows them to engage in more meaningful interactions. This foundational framework serves as pathways for future development on NPC AI that enables sophisticated interaction and changes character personality specific to the way players engage with them.

Applied and Computational EngineeringVol. 138(1)
Hong Kong University of Science and Technology (HK)
Openalex Percentile: Top 99%
Reinforcement Learning in Robotics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Who, What, When, Where, Why: A Narrative Episodic Memory Framework for Generative AI NPCs in Games — Lam Yeung Kong Sunny · Applied and Computational Engineering (2025) | TGRS Research Map | TGRS