SlideCoder:基于设计的布局感知、RAG增强的分层幻灯片生成
SlideCoder: Layout-aware RAG-enhanced Hierarchical Slide Generation from Design
AI总结:
该研究提出参考图像到幻灯片生成任务,构建 Slide2Code 基准,并通过布局感知、检索增强的 SlideCoder 框架及 7B 模型 SlideMaster 显著提升可编辑幻灯片生成质量。
摘要:
手动制作幻灯片耗时费力,并且需要专业先验知识。现有的基于自然语言的 LLM 生成方法难以捕捉幻灯片设计中的视觉与结构细微差别。为解决这一问题,我们形式化定义了参考图像到幻灯片生成任务,并提出 Slide2Code,这是首个基于新型幻灯片复杂度度量、包含按难度分层样本的基准。我们提出 SlideCoder,这是一个布局感知、检索增强的框架,可根据参考图像生成可编辑幻灯片。SlideCoder 集成了基于颜色梯度的分割算法和分层检索增强生成方法,以分解复杂任务并增强代码生成。我们还发布了 SlideMaster,这是一个使用改进的逆向工程数据微调的 7B 开源模型。实验表明,SlideCoder 相比最先进基线最高高出 40.5 分,在布局保真度、执行准确性和视觉一致性方面展现出强劲性能。我们的代码可在 https://github.com/vinsontang1/SlideCoder 获取。
英文摘要:
Manual slide creation is labor-intensive and requires expert prior knowledge. Existing natural language-based LLM generation methods struggle to capture the visual and structural nuances of slide designs. To address this, we formalize the Reference Image to Slide Generation task and propose Slide2Code, the first benchmark with difficulty-tiered samples based on a novel Slide Complexity Metric. We introduce SlideCoder, a layout-aware, retrieval-augmented framework for generating editable slides from reference images. SlideCoder integrates a Color Gradient-based Segmentation algorithm and a Hierarchical Retrieval-Augmented Generation method to decompose complex tasks and enhance code generation. We also release SlideMaster, a 7B open-source model fine-tuned with improved reverse-engineered data. Experiments show that SlideCoder outperforms state-of-the-art baselines by up to 40.5 points, demonstrating strong performance across layout fidelity, execution accuracy, and visual consistency. Our code is available at https://github.com/vinsontang1/SlideCoder.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。