Leveraging Large Language Models for Active Merchant Non-Player Characters

Abstract

We highlight two significant issues leading to the passivity of current merchant non-player characters (NPCs): pricing and communication. While immersive interactions with active NPCs have been a focus, price negotiations between merchant NPCs and players remain underexplored. First, passive pricing refers to the limited ability of merchants to modify predefined item prices. Second, passive communication means that merchants can only interact with players in a scripted manner. To tackle these issues and create an active merchant NPC, we propose a merchant framework based on large language models (LLMs), called MART, which consists of an appraiser module and a negotiator module. We conducted two experiments to explore various implementation options under different training methods and LLM sizes, considering a range of possible game environments. Our findings indicate that finetuning methods, such as supervised finetuning (SFT) and knowledge distillation (KD), are effective in using smaller LLMs to implement active merchant NPCs. Additionally, we found three irregular cases arising from the responses of LLMs.

Cite

Text

Kim et al. "Leveraging Large Language Models for Active Merchant Non-Player Characters." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/1123

Markdown

[Kim et al. "Leveraging Large Language Models for Active Merchant Non-Player Characters." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/kim2025ijcai-leveraging/) doi:10.24963/IJCAI.2025/1123

BibTeX

@inproceedings{kim2025ijcai-leveraging,
  title     = {{Leveraging Large Language Models for Active Merchant Non-Player Characters}},
  author    = {Kim, Byungjun and Kim, Minju and Seo, Dayeon and Kim, Bugeun},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {10108-10116},
  doi       = {10.24963/IJCAI.2025/1123},
  url       = {https://mlanthology.org/ijcai/2025/kim2025ijcai-leveraging/}
}