DataMagic:通过声明式多智能体编排创作数据视频

·

研究论文 · 2026/10/02

数据视频通过动态图表、语音旁白和同步动画传达数据洞察,已成为广泛采用的数据叙事形式。但制作数据视频需要数据分析、叙事设计和视频编辑方面的专业知识。静态可视化工具缺乏叙事和动画能力;创作工具依赖预先准备好的图表而非原始数据;像素级模型端到端生成视频,但无法保证数据准确性或溯源。端到端自动生成面临两个核心挑战:如何统一表示图表、旁白和动画及其时间关系,以及如何高效搜索庞大的设计空间以找到叙事连贯的构图。我们提出 DataMagic,它通过声明式多智能体编排从原始表格数据创作数据视频。首先,声明式规范 DVSpec 通过数据绑定引用和声明式同步统一图表、旁白和动画,确保数据溯源和自动视听对齐。其次,“先生成后编排”的多智能体策略并行生成候选场景,然后通过全局编排优化叙事连贯性。DVSpec 为三种互补的交互模式提供共享状态,连接全自动化与细粒度人工控制。在 109 个真实世界样本上的评估表明,即使最先进的 LLM(如 GPT-5)也仅达到 2.13/5,执行成功率在 48.62% 至 86.24% 之间;DataMagic 将质量提升至 3.89(+83%),成功率超过 95%,在动画和叙事维度上提升最为显著。用户研究表明,与对话式 LLM 工作流相比,DataMagic 提高了创作效率(任务时间减少 79.7%)并降低了感知认知负荷。项目页面:https://github.com/HKUSTDial/DataMagic。

该研究解决了数据视频自动生成中数据准确性与叙事连贯性的核心难题,通过声明式多智能体编排显著提升了生成质量与效率,对数据可视化与自动叙事领域具有重要参考价值。

Data videos communicate data insights through dynamic charts, voice narration, and synchronized animations, and have become a widely adopted form of data storytelling. However, producing them requires expertise in data analysis, narrative design, and video editing. Static visualization tools lack narrative and animation capabilities; authoring tools rely on pre-prepared charts rather than raw data; and pixel-level models generate videos end-to-end but cannot guarantee data accuracy or provenance. End-to-end automatic generation faces two core challenges: how to uniformly represent charts, narration, and animations together with their temporal relationships, and how to efficiently search a vast design space for narrative-coherent compositions. We present DataMagic, which authors data videos from raw tabular data through declarative multi-agent orchestration. First, the declarative specification DVSpec unifies charts, narration, and animations with data-bound references and declarative synchronization, ensuring data provenance and automatic audio-visual alignment. Second, a "Generate-then-Orchestrate" multi-agent strategy generates candidate scenes in parallel and then optimizes narrative coherence through global orchestration. DVSpec provides a shared state for three complementary interaction modes, bridging full automation with fine-grained human control. Evaluations on 109 real-world samples show that even the most advanced LLM (e.g., GPT-5) achieves only 2.13/5 with execution success rates between 48.62% and 86.24%; DataMagic improves quality to 3.89 (+83%) with success rates above 95%, with the most significant gains in animation and narrative dimensions. A user study shows that, compared to a conversational LLM workflow, DataMagic improves creation efficiency (79.7% reduction in task time) and reduces perceived cognitive load. Project page: https://github.com/HKUSTDial/DataMagic.

阅读原文

参与讨论