基于大语言模型的通过场景描述生成基于代理的叙事
LLM-Based Authoring of Agent-Based Narratives through Scene Descriptions
AI总结:
本文提出了一种基于大语言模型生成基于代理的叙事的系统,通过场景描述自动生成代理行为并支持动态交互。
摘要:
本文提出了一种利用大语言模型(LLMs)生成基于代理的叙事的系统。用户可以拖放多个代理和物体到一个场景中,每个实体会自动分配语义元数据,描述其身份、角色和可能的交互。然后将场景结构序列化为自然语言提示,并发送给LLM,LLM返回一个结构化的字符串,描述代理和物体之间的动作序列。返回的字符串编码了谁执行了哪些动作,何时执行以及如何执行。一个定制的解析器解释这个字符串并触发协调的代理行为、动画和交互模块。该系统支持基于代理的场景、动态物体操作和多样的交互类型。该系统设计用于易用性和快速迭代,能够生成适用于原型设计的虚拟代理活动。开发系统的性能通过四个流行的轻量级LLM进行评估。每个模型在多个复杂性场景下的处理过程和响应时间被测量。收集的数据被分析,以比较不同场景之间的一致性,并突出每个模型在生成基于代理的叙事中的相对效率和适用性。结果表明,LLMs能够可靠地将高级场景描述转换为可执行的基于代理的行为。
英文摘要:
This paper presents a system for procedurally generating agent-based narratives using large language models (LLMs). Users could drag and drop multiple agents and objects into a scene, with each entity automatically assigned semantic metadata describing its identity, role, and potential interactions. The scene structure is then serialized into a natural language prompt and sent to an LLM, which returns a structured string describing a sequence of actions and interactions among agents and objects. The returned string encodes who performed which actions, when, and how. A custom parser interprets this string and triggers coordinated agent behaviors, animations, and interaction modules. The system supports agent-based scenes, dynamic object manipulation, and diverse interaction types. Designed for ease of use and rapid iteration, the system enables the generation of virtual agent activity suitable for prototyping agent narratives. The performance of the developed system was evaluated using four popular lightweight LLMs. Each model's process and response time were measured under multiple complexity scenarios. The collected data were analyzed to compare consistency across the examined scenarios and to highlight the relative efficiency and suitability of each model for procedural agent-based narratives generation. The results demonstrate that LLMs can reliably translate high-level scene descriptions into executable agent-based behaviors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。