arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.25482cs.CLcs.AI
收藏

从World-Gen到Quest-Line:一种依赖驱动的提示管道用于连贯的RPG生成

From World-Gen to Quest-Line: A Dependency-Driven Prompt Pipeline for Coherent RPG Generation

Gdańsk University of Technology(格但斯克技术大学)

Dominik Borawski, Marta Szulc, Robert Chudy, Małgorzata Giedrowicz, Piotr Mironowicz

AI总结:

本文提出一种依赖驱动的提示管道,通过结构化中间表示建模叙事依赖,以生成连贯的RPG内容。该方法通过分阶段生成世界构建、NPC创建、玩家角色创建、战役级任务规划和任务扩展,减少叙事漂移并支持可扩展的叙事元素生成。

摘要:

大型语言模型(LLMs)在叙事生成中展现出强大潜力,但在复杂的、多层的角色扮演游戏(RPG)世界中的应用仍受限于连贯性、可控性和结构性一致性的问题。本文探讨了一种依赖感知、多阶段的提示管道,用于过程性RPG内容生成,通过结构化中间表示建模叙事依赖。该方法将生成分解为连续的阶段:世界构建、非玩家角色创建、玩家角色创建、战役级任务规划和任务扩展。每个阶段都基于前一阶段的结构化JSON输出进行条件生成。通过强制执行模式和显式数据流,该管道减少了叙事漂移,限制了幻觉,并支持可扩展的互联系统生成。系统通过人类中心分析在多个独立运行中进行定性评估。输出使用结构完整性、内部一致性、叙事连贯性、多样性以及可操作性等标准进行评估。结果表明,该管道能够一致地生成逻辑上合理且结构上有效的RPG内容,且在复杂性增加时质量不下降。将高层战役规划与详细任务扩展分离,提高了整体结构和局部叙事。这些发现表明,具有结构化中间表示的依赖感知提示管道是LLM过程性内容生成的有效设计模式。这种方法可能还适用于其他需要在演进的上下文中进行顺序推理的领域。

英文摘要:

Large Language Models (LLMs) have shown strong potential for narrative generation, but their use in complex, multi-layered role-playing game (RPG) worlds is still limited by issues of coherence, controllability, and structural consistency. This paper explores a dependency-aware, multi-stage prompt pipeline for procedural RPG content generation that models narrative dependencies through structured intermediate representations. The approach decomposes generation into sequential stages: world building, non-player character creation, player character creation, campaign-level quest planning, and quest expansion. Each stage conditions on structured JSON outputs from previous stages. By enforcing schemas and explicit data flow, the pipeline reduces narrative drift, limits hallucinations, and supports scalable creation of interconnected narrative elements. The system is evaluated qualitatively through human-centered analysis across multiple independent runs. Outputs are assessed using criteria such as structural completeness, internal consistency, narrative coherence, diversity, and actionability. Results show that the pipeline consistently generates logically sound and structurally valid RPG content, without quality degradation as complexity increases. Separating high-level campaign planning from detailed quest expansion improves both global structure and local storytelling. These findings suggest that dependency-aware prompt pipelines with structured intermediate representations are an effective design pattern for LLM-based procedural content generation. This approach may also generalize to other domains requiring sequential reasoning over evolving contextual states.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑