arXiv:2502.18690cs.AIcs.RO2025-02中稿 · presentation at Du…被引 1

用投票机制匹配角色与任务,提升游戏沉浸感。

Hybrid Voting-Based Task Assignment in Role-Playing Games

  • 基于角色能力与任务需求构建匹配矩阵,通过六种投票方法决策
  • 结合预训练LLM与冲突搜索算法,实现高效任务分配
  • 适用于生成独特战斗与叙事,适合游戏AI研发者参考

在角色扮演游戏中,沉浸感至关重要,尤其当游戏代理向玩家传递任务、提示或想法时。为准确理解玩家情绪与情境细节,需借助大语言模型(LLM)实现基础认知。然而,在多情境切换下保持LLM专注,需更稳健的方法,如将LLM与专用任务分配模型结合以引导其表现。为此,我们提出基于投票的任务分配框架(VBTA),受人类任务分配推理启发。VBTA为代理分配能力画像,为任务分配描述,生成衡量代理能力与任务需求匹配度的适宜性矩阵。利用六种不同投票方法、预训练LLM,并集成冲突搜索(CBS)进行路径规划,VBTA能高效识别并分配最适配的代理执行每项任务。相较现有仅聚焦单一游戏元素(如任务或战斗)的方法,本方法因具备通用性,在生成独特战斗与叙事方面展现潜力。

原文摘要 · Abstract (English)

In role-playing games (RPGs), the level of immersion is critical-especially when an in-game agent conveys tasks, hints, or ideas to the player. For an agent to accurately interpret the player's emotional state and contextual nuances, a foundational level of understanding is required, which can be achieved using a Large Language Model (LLM). Maintaining the LLM's focus across multiple context changes, however, necessitates a more robust approach, such as integrating the LLM with a dedicated task allocation model to guide its performance throughout gameplay. In response to this need, we introduce Voting-Based Task Assignment (VBTA), a framework inspired by human reasoning in task allocation and completion. VBTA assigns capability profiles to agents and task descriptions to tasks, then generates a suitability matrix that quantifies the alignment between an agent's abilities and a task's requirements. Leveraging six distinct voting methods, a pre-trained LLM, and integrating conflict-based search (CBS) for path planning, VBTA efficiently identifies and assigns the most suitable agent to each task. While existing approaches focus on generating individual aspects of gameplay, such as single quests, or combat encounters, our method shows promise when generating both unique combat encounters and narratives because of its generalizable nature.

角色扮演任务分配LLM应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。