CoChat

Personalized Non-Player Characters: A Framework for Character-Consistent Dialogue Generation

Open access

The DOI matches its Crossref record; 45 of the 45 references it cites were found in a registry or an index.

Abstract

Generating character-consistent and personalized dialogue for Non-Player Characters (NPCs) in Role-Playing Games (RPGs) poses significant challenges, especially due to limited memory retention and inconsistent character representation. This paper proposes a framework for generating personalized dialogues based on character-specific knowledge. By combining static knowledge fine-tuning and dynamic knowledge graph technology, the framework generates dialogue content that is more aligned with character settings and is highly personalized. Specifically, the paper introduces a protective static knowledge fine-tuning approach to ensure that the language model does not generate content beyond the character’s cognitive scope during conversations. Additionally, dynamic knowledge graphs are employed to store and update the interaction history between NPCs and players, forming unique “experience-response” patterns. During dialogue generation, the paper first parses player input into an Abstract Meaning Representation (AMR) graph, retrieves relevant memory nodes from the knowledge graph, and constructs a fused graph structure. This integrated graph is encoded via a graph neural network to generate high-dimensional semantic vectors, which are then used to retrieve and supplement knowledge from the vector database. Ultimately, the model generates personalized responses consistent with the NPC’s identity. Experimental results demonstrate that the framework significantly enhances the authenticity of NPC dialogues and player immersion and performs well on multiple large-scale language models.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.3390/ai6050093

Cites

45 of 45 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 45 references

Research works printed but not linked: 3

  1. Bhutan, S., and Ali, N. (2025, April 24). AI in Gaming: Creating Realistic NPCs and Game Environments. Available online: https://www.researchgate.net/publication/377382632_AI_in_Gaming_Creating_Realistic_NPCs_and_Game_Environments.
  2. Kim, T., François-Lavet, V., and Cochez, M. (2024). Leveraging Knowledge Graph-Based Human-Like Memory Systems to Solve Partially Observable Markov Decision Processes. arXiv.
  3. Kingsbury, P., and Palmer, M. (2003, January 14–15). Propbank: The next level of treebank. Proceedings of the Treebanks and Lexical Theories, Citeseer, Växjö, Sweden.

Metadata

Authors
Liu, X., Xie, Z., & Jiang, S.
Affiliations
  • Jiangnan University (CN)
  • Wuxi Institute of Technology (CN)
Corresponding author
Xie, Zhenping
Venue
AI
Publisher
MDPI AG
Published
2025-05-01
Volume
6
Issue
5
Pages
93
ISSN
2673-2688 (ISSN-L)
OpenAlex
W4410069631
Cited by
3
References
26
Citations by year
2026: 3
FWCI
1.21
Type
journal article
Language
en
Open access
Locations
  • AI (publishedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
  • Government of Jiangsu Province
  • Qinglan Project of Jiangsu Province of China
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Artificial Intelligence in Games
  • Physical Sciences › Computer Science › Artificial Intelligence › Speech and dialogue systems
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
non-player characters, personalized dialogue generation, role-playing games, character consistency, knowledge graphs, dynamic knowledge graphs, Abstract Meaning Representation, graph neural networks, memory retrieval, player immersion, large language models

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Personalized Non-Player Characters: A Framework for Character-Consistent Dialogue Generation. https://app.cochat.ai/papers/10.3390/ai6050093
The paper
Liu, X., Xie, Z., & Jiang, S. (2025). Personalized Non-Player Characters: A Framework for Character-Consistent Dialogue Generation. AI. https://doi.org/10.3390/ai6050093

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.