让人类与AI协作生成可交互的动态文档,提升创作效率与控制力。
ViviDoc: Generating Interactive Documents through Human-Agent Collaboration
- 构建多智能体流程,分步完成规划、设计、执行与评估。
- 在101个真实主题上测试,交互质量与内容丰富度均领先。
- 支持三重人机协作控制,适合非技术用户参与创作。
交互式文档通过动态可视化、交互动画和探索性界面帮助读者理解复杂概念,但其制作成本高,需兼具领域知识与网页开发技能。现有基于大语言模型的智能体虽能自动化内容生成,但直接应用常导致输出难以控制。为此,我们提出ViviDoc,据我们所知首个系统性解决交互式文档生成问题的工作。ViviDoc引入多智能体流水线(规划者、样式器、执行者、评估者),并提供三级人类控制机制:(1) 基于状态、渲染、过渡、约束(SRTC)的文档规范(DocSpec)实现结构化规划;(2) 内容感知样式调色板,用于定制写作风格与交互方式;(3) 基于聊天的迭代编辑功能。我们还构建了ViviBench基准,涵盖11个领域的101个真实主题,包含8类交互类型及四维自动化评估框架,经验证与人工评分相关系数超过0.84。实验表明,ViviDoc在自动与人工评估中均达到最高内容丰富度与交互质量。12人用户研究证实系统易用,能有效控制生成过程,并产出满足用户需求的文档。
原文摘要 · Abstract (English)
Interactive documents help readers engage with complex ideas through dynamic visualization, interactive animations, and exploratory interfaces. However, creating such documents remains costly, as it requires both domain expertise and web development skills. Recent Large Language Model (LLM)-based agents can automate content creation, but directly applying them to interactive document generation often produces outputs that are difficult to control. To address this, we present ViviDoc, to the best of our knowledge the first work to systematically address interactive document generation. ViviDoc introduces a multi-agent pipeline (Planner, Styler, Executor, Evaluator). To make the generation process controllable, we provide three levels of human control: (1) the Document Specification (DocSpec) with SRTC Interaction Specifications (State, Render, Transition, Constraint) for structured planning, (2) a content-aware Style Palette for customizing writing and interaction styles, and (3) chat-based editing for iterative refinement. We also construct ViviBench, a benchmark of 101 topics derived from real-world interactive documents across 11 domains, along with a taxonomy of 8 interaction types and a 4-dimensional automated evaluation framework validated against human ratings (Pearson r > 0.84). Experiments show that ViviDoc achieves the highest content richness and interaction quality in both automated and human evaluation. A 12-person user study confirms that the system is easy to use, provides effective control over the generation process, and produces documents that satisfy users.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。