Deflanderization for Game Dialogue: Balancing Character Authenticity with Task Execution in LLM-based NPCs
Pasin Buakhaw, Kun Kerdthaisong, Phuree Phenhiran, Pitikorn Khlaisamniang, Supasate Vorathammathorn, Piyalitt Ittichaiwong, Nutchanon Yongsatianchot
TL;DR
Deflanderization for Game Dialogue investigates balancing character authenticity with task execution in LLM-based NPCs. It proposes a triad of methods—Deflanderization prompting, retrieval-augmented grounding, and LoRA/SFT finetuning—and evaluates them in the CPDC 2025 competition across API and GPU tracks. API results show lightweight prompting can improve task fidelity and reduce over-embellishment, while GPU experiments demonstrate that large-scale finetuning with memory-augmented retrieval yields stronger overall performance. The work highlights the trade-offs between persona-consistency and functional precision and points to hybrid approaches for jointly optimizing dialogue quality and action reliability in fantasy RPG NPCs.
Abstract
The emergence of large language models (LLMs) has opened new opportunities for creating dynamic non-player characters (NPCs) in gaming environments, enabling both functional task execution and persona-consistent dialogue generation. In this paper, we (Tu_Character_lab) report our participation in the Commonsense Persona-Grounded Dialogue Challenge (CPDC) 2025 Round 2, which evaluates agents across three tracks: task-oriented dialogue, context-aware dialogue, and their integration. Our approach combines two complementary strategies: (i) lightweight prompting techniques in the API track, including a Deflanderization prompting method to suppress excessive role-play and improve task fidelity, and (ii) fine-tuned large models in the GPU track, leveraging Qwen3-14B with supervisedfinetuning (SFT) and Low-Rank Adaptation(LoRA). Our best submissions ranked 2nd on Task 1, 2nd on Task 3 (API track), and 4th on Task 3 (GPU track).
