What if Red Can Talk? Dynamic Dialogue Generation Using Large Language Models
Navapat Nananukul, Wichayaporn Wongkamjan

TL;DR
This paper explores using large language models, specifically GPT-4, combined with knowledge graphs, to generate dynamic, context-aware dialogues in RPGs, aiming to improve player immersion through more natural character interactions.
Contribution
It introduces a novel dialogue filler framework leveraging LLMs and knowledge graphs for dynamic NPC interactions in RPGs, tested in popular game environments.
Findings
GPT-4 can generate contextually appropriate dialogues with defined personalities.
The framework enhances player immersion through more natural character interactions.
Some personality traits, like subtlety or maturity, are less effectively modeled.
Abstract
Role-playing games (RPGs) provide players with a rich, interactive world to explore. Dialogue serves as the primary means of communication between developers and players, manifesting in various forms such as guides, NPC interactions, and storytelling. While most games rely on written scripts to define the main story and character personalities, player immersion can be significantly enhanced through casual interactions between characters. With the advent of large language models (LLMs), we introduce a dialogue filler framework that utilizes LLMs enhanced by knowledge graphs to generate dynamic and contextually appropriate character interactions. We test this framework within the environments of Final Fantasy VII Remake and Pokemon, providing qualitative and quantitative evidence that demonstrates GPT-4's capability to act with defined personalities and generate dialogue. However, some…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSpeech and dialogue systems
MethodsAttention Is All You Need · Linear Layer · Residual Connection · Multi-Head Attention · Position-Wise Feed-Forward Layer · Adam · Byte Pair Encoding · Softmax · Absolute Position Encodings · Dense Connections
