用语义抽象层让生成幻灯片更准确、更易维护。
SeaSlides: Semantic Abstraction Layer for Agentic Slide Generation

- 用可复用组件和能力模块替代手动写坐标与样式
- 在128+32项测试中,内容可读性优于传统SVG生成方式
- 适合需要公式、代码、图表的复杂技术演示场景
智能幻灯片生成需保持源内容一致、视觉设计连贯、特殊元素准确渲染,并输出可用成果。现有系统仅满足部分需求:模板虽保证规范但限制灵活性,自由格式的HTML或SVG则让模型陷入底层渲染细节。这种错配导致长篇技术幻灯片容易出错,尤其涉及公式、代码或数据图时。本文提出SeaSlides,一种基于语义抽象层的智能幻灯片生成框架。模型不再直接编写坐标、内联样式或原始SVG,而是通过可复用组件与能力模块构建结构化内容,布局、风格与渲染由模板统一管理。我们在HTML与Typst两种后端实现该原则:SeaSlides-HTML使用模板定义的DOM组件,SeaSlides-Typst使用模板函数与包支持的模块。能力模块将公式、代码、图表路由至专用渲染器,经三阶段反馈机制在导出前定位构建错误、项目约束违规与视觉缺陷。两者保留各自后端语法与契约,共享相同创作边界。评估采用128任务的UltraPresent基准与新提出的32任务的SeaSlidesBench-Rich(强调数学、代码、伪代码、表格、图表与图形)。在四类生成模型下,两个后端均产出更清晰、以内容为导向的源码;其中一后端在三种模型下的丰富内容宏平均得分最高,同时整体质量保持领先。结果表明,语义抽象是跨后端可行的实用创作范式。
原文摘要 · Abstract (English)
Agentic presentation generation must preserve source content, maintain coherent visual design, render specialized objects, and produce usable artifacts. Existing systems meet only part of this requirement: templates preserve regularity but restrict adaptation, whereas free-form HTML or SVG gives models flexibility at the cost of low-level rendering decisions. This mismatch makes long technical decks brittle, especially when slides contain formulas, code, or data graphics. We present SeaSlides, an agentic slide-generation framework built around a semantic abstraction layer. Rather than authoring coordinates, inline styles, or raw SVG geometry, the model writes structured slide content through reusable components and capability modules, while templates own layout, style, and rendering. We instantiate this principle separately in HTML and Typst: SeaSlides-HTML uses template-defined DOM components, whereas SeaSlides-Typst uses template functions and package-backed modules. Capability modules route equations, code, and charts to dedicated renderers, and three feedback stages localize build errors, project-constraint violations, and visual defects before export. The two systems retain backend-specific syntax and contracts while sharing the same authoring boundary. For evaluation, we combine the 128-task UltraPresent validation setting with SeaSlidesBench-Rich, a new 32-task benchmark stressing mathematics, code, pseudocode, tables, charts, and diagrams. Across four generation models, both SeaSlides backends produce more readable, content-oriented source than SVG-heavy generation. A SeaSlides backend attains the highest rich-content macro-average under three of the four models while maintaining competitive overall qualitative performance. These results support semantic abstraction as a practical authoring principle across presentation backends.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。