[论文解读] Dungeons and Dragons as a Dialog Challenge for Artificial Intelligence
本文引入了一个大规模、真实世界的《龙与地下城》(D&D)文字游戏数据集,包含896场游戏,涵盖80万条对话轮次、5800万词以及53.2万次掷骰结果,将该数据集作为AI角色扮演对话的挑战任务。研究训练了一个微调过的大型语言模型(LaMDA),使其能够生成符合角色的或非角色扮演风格的回应,并追踪游戏状态。结果表明,对游戏状态和角色扮演风格进行条件控制能显著提升响应质量,但状态追踪仍是主要挑战。
AI researchers have posited Dungeons and Dragons (D&D) as a challenge problem to test systems on various language-related capabilities. In this paper, we frame D&D specifically as a dialogue system challenge, where the tasks are to both generate the next conversational turn in the game and predict the state of the game given the dialogue history. We create a gameplay dataset consisting of nearly 900 games, with a total of 7,000 players, 800,000 dialogue turns, 500,000 dice rolls, and 58 million words. We automatically annotate the data with partial state information about the game play. We train a large language model (LM) to generate the next game turn, conditioning it on different information. The LM can respond as a particular character or as the player who runs the game--i.e., the Dungeon Master (DM). It is trained to produce dialogue that is either in-character (roleplaying in the fictional world) or out-of-character (discussing rules or strategy). We perform a human evaluation to determine what factors make the generated output plausible and interesting. We further perform an automatic evaluation to determine how well the model can predict the game state given the history and examine how well tracking the game state improves its ability to produce plausible conversational output.
研究动机与目标
- 为评估复杂叙事与角色扮演类AI,解决缺乏大规模、依赖历史记录、多方参与对话数据集的问题。
- 探究大型语言模型是否能在类似D&D的协作性、叙事驱动型游戏中生成合理、符合角色的对话。
- 评估对游戏状态和对话风格(角色内 vs. 角色外)进行条件控制对响应质量的影响。
- 探索大型语言模型在动态、多智能体叙事环境中进行游戏状态追踪的可行性。
- 为未来交互式、创造性及上下文感知对话系统的研究,提供基准数据集与模型框架。
提出的方法
- 从在线论坛收集了896个真实的D&D文字游戏,共获得815,106条对话轮次和5800万词。
- 基于对话上下文的启发式规则,自动标注游戏状态变量(如角色属性、战斗状态、行动等)。
- 在D&D特定对话数据上微调基于LaMDA的大型语言模型,包括角色内与角色外的对话轮次。
- 通过对话历史、角色描述和游戏状态特征对模型进行条件控制,以生成上下文恰当的回应。
- 通过人工评估,比较不同条件设置下生成回应的合理性和趣味性。
- 通过微调后的大型语言模型,自动评估游戏状态追踪性能,对比有无状态条件控制的结果。
实验结果
研究问题
- RQ1对游戏状态信息进行条件控制,如何影响大型语言模型生成的D&D对话轮次的质量与合理性?
- RQ2大型语言模型在多大程度上能生成既引人入胜又符合上下文的、符合角色的、角色扮演准确的回应?
- RQ3大型语言模型能否仅从对话历史中有效追踪并预测游戏状态变量(如战斗状态、物品栏、生命值等)?
- RQ4角色内与角色外对话的区分,如何影响模型性能与感知质量?
- RQ5多方参与、依赖历史记录的对话,对大型语言模型在叙事角色扮演场景中的表现有何影响?
主要发现
- 对大型语言模型进行游戏状态条件控制,能显著提升生成对话的质量与上下文相关性,尤其在与角色职业和游戏背景保持一致方面表现突出。
- 通过控制角色内与角色外风格,生成的回应在趣味性和合理性方面均有显著提升,人工评估已证实此结论。
- 尽管经过微调,大型语言模型在自动游戏状态追踪方面的表现仍然较低,表明当前语言模型在结构化、多维度状态追踪方面仍存在困难。
- 该数据集展现出强烈的依赖历史记录特性,对话质量对先前轮次高度敏感,验证了其作为对话系统挑战性基准的有效性。
- 模型能够生成富有表现力、叙事丰富的回应,适合作为DM的灵感来源,表明其在辅助新手DM方面具有实用价值。
- 启发式游戏状态标注存在不完整且易出错的问题,凸显未来工作中需采用更精确、程序化的状态提取方法。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。