利用大型语言模型构建主动商人非玩家角色
Leveraging Large Language Models for Active Merchant Non-player Characters
AI总结:
针对商人NPC在定价和沟通上的被动性问题,提出基于LLM的MART框架,包含估价与协商模块,发现SFT和KD等微调方法能有效用较小LLM实现主动商人NPC。
摘要:
我们强调导致当前商人非玩家角色(NPC)被动性的两个重要问题:定价和沟通。尽管与主动NPC的沉浸式交互一直备受关注,但商人NPC与玩家之间的价格协商仍未被充分探索。首先,被动定价是指商人修改预定义物品价格的能力有限。其次,被动沟通意味着商人只能以脚本化方式与玩家交互。为了解决这些问题并创建主动的商人NPC,我们提出了一种基于大型语言模型(LLM)的商人框架,称为MART,它由一个估价器模块和一个协商器模块组成。我们进行了两项实验,探索了在不同训练方法和LLM规模下的各种实现选项,并考虑了一系列可能的游戏环境。我们的研究结果表明,监督微调(SFT)和知识蒸馏(KD)等微调方法在有效使用较小的LLM来实现主动商人NPC方面是有效的。此外,我们发现了由LLM响应引起的三种异常情况。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。