TaleFrame用结构化数据生成可控故事,让创作更直观高效。
TaleFrame: An Interactive Story Generation System with Fine-Grained Control and Large Language Models
- 将故事拆解为实体、事件、关系和大纲四部分,通过结构化输入精准控制生成过程。
- 基于9851条JSON数据微调Llama模型,生成故事在七维评估中表现优异。
- 提供拖拽编辑界面,支持用户交互式调整,适合创意写作与教学场景。
随着自然语言生成技术的发展,创意故事生成系统受到越来越多关注。然而,现有系统因缺乏细粒度控制和模糊的输入规范,难以准确实现用户意图,限制了实际应用。为此,我们提出TaleFrame,一个结合大语言模型(LLMs)与人机交互(HCI)的故事生成系统,通过结构化信息实现对生成过程的精确控制。其创新之处在于将故事结构分解为四个基本单元:实体、事件、关系和故事大纲。我们利用Tinystories数据集,解析并构建了一个包含9,851个JSON格式条目的偏好数据集,并用于微调本地Llama模型。通过JSON2Story方法,结构化数据被转化为连贯故事。TaleFrame还提供直观界面,支持用户创建和编辑实体与事件,并通过简单交互(如拖拽、连接)影响故事细节与推进。生成故事可从七个维度(如创意性、结构完整性)进行评估,系统据此给出优化建议。用户可迭代调整直至满意。最终的定量评估与用户研究均验证了TaleFrame的有效性。数据集已公开于https://huggingface.co/datasets/guodaosun/tale-frame。
原文摘要 · Abstract (English)
With the advancement of natural language generation (NLG) technologies, creative story generation systems have gained increasing attention. However, current systems often fail to accurately translate user intent into satisfactory story outputs due to a lack of fine-grained control and unclear input specifications, limiting their applicability. To address this, we propose TaleFrame, a system that combines large language models (LLMs) with human-computer interaction (HCI) to generate stories through structured information, enabling precise control over the generation process. The innovation of TaleFrame lies in decomposing the story structure into four basic units: entities, events, relationships, and story outline. We leverage the Tinystories dataset, parsing and constructing a preference dataset consisting of 9,851 JSON-formatted entries, which is then used to fine-tune a local Llama model. By employing this JSON2Story approach, structured data is transformed into coherent stories. TaleFrame also offers an intuitive interface that supports users in creating and editing entities and events and generates stories through the structured framework. Users can control these units through simple interactions (e.g., drag-and-drop, attach, and connect), thus influencing the details and progression of the story. The generated stories can be evaluated across seven dimensions (e.g., creativity, structural integrity), with the system providing suggestions for refinement based on these evaluations. Users can iteratively adjust the story until a satisfactory result is achieved. Finally, we conduct quantitative evaluation and user studies that demonstrate the usefulness of TaleFrame. Dataset available at https://huggingface.co/datasets/guodaosun/tale-frame.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。