Design First, Code Later: Aesthetically Pleasing Template-Free Slides Generation

Zhiyao Cui, Chenxu Wang, Shuyue Hu, Yiqun Zhang, Wenqi Shao, Qiaosheng Zhang, Zhen WangarXiv 2026

TL;DR

DeepSlides is a novel hierarchical framework that generates visually stunning, template-free presentation slides by explicitly decoupling graphic design from code implementation. By leveraging a multi-agent reinforcement learning approach and a newly curated dataset, it produces highly creative, cohesive, and natively editable PowerPoint (.pptx) decks that significantly outperform both open-source and commercial baselines in human preference.

What Problem Does This Paper Address?

While large language models (LLMs) excel at generating text, automated slide generation remains a major challenge. Current tools usually fall into one of two traps: they either rely on rigid, repetitive templates (which look boring and lack creative flair) or they attempt to generate code (like HTML or LaTeX) directly from text in a single step.

This single-step approach forces the model to handle content generation, spatial layout, and low-level syntax all at once. The result? Visually dull, poorly composed slides that lack structural hierarchy and semantic grounding. Furthermore, outputs in HTML or LaTeX sacrifice native PowerPoint editability, making it frustrating for users to make quick, drag-and-drop adjustments.

Methods

The authors introduce DeepSlides, a hierarchical, design-first workflow that mimics how a human professional designs slides. The process is split into distinct stages:

  1. User Requirement Simulation & DeepResearch: The system uses a research module to perform web searches, synthesize information into a report, and generate a multi-level slide outline.
  2. Slides-Level Design: Before diving into individual pages, the system establishes global style guidelines (color palettes, typography, shapes, and tone) to ensure inter-page coherence, while planning layout variations to avoid visual fatigue.
  3. Page-Level Generation: For each slide, the design is decomposed into three distinct layers:
  4. Background layer: Decorative elements, textures, and backgrounds.
  5. Layout layer: Spatial arrangement and functional roles of structural blocks (e.g., title, text, images).
  6. Content layer: The exact text snippets and images to populate the blocks.
  7. Implementation: A dedicated coder agent translates these high-level design specifications into executable Python code using the python-pptx library, ensuring the final output is a fully editable PowerPoint file.
  8. Iterative Refinement: An evaluation agent reviews the rendered slide image across three dimensions—completeness, compliance (checking for overlaps or text overflows), and aesthetics—providing feedback for multi-round corrections.
Figure 1: Overview of the DeepSlides workflow. Given a topic and optional user-specified page-level require- ments, the system first determines the high-level slide style. Subsequently, each slide is generated through iterative refinement.

To power this workflow, the authors trained SlideQwens, a family of specialized models (a Designer and a Coder), using a Multi-Agent Reinforcement Learning (MARL) paradigm based on the GRPO framework. The Designer is rewarded based on layout compliance and aesthetic quality, while the Coder is rewarded based on code executability and fidelity to the design.

Datasets

The paper introduces SlideDesign, a multidisciplinary, multimodal dataset tailored for slide generation tasks.

  • It covers 420 topics structured under the Field of Science (FOS) taxonomy, spanning 6 primary areas and 42 secondary disciplines.
  • It includes paired textual and visual resources, layout designs, and executable code.
  • Through a rigorous filtering pipeline, the authors generated 1,286 high-quality training pairs used for supervised fine-tuning (SFT) and reinforcement learning.

Key Insights and Ideas

  • Decoupling is Key: Separating design reasoning (where to put things and what colors to use) from code realization (writing the actual Python code) prevents low-level coding constraints from compromising aesthetic intent.
  • Native Editability Matters: By generating native PowerPoint files via Python instead of rendering to static images or HTML/LaTeX, DeepSlides preserves the exact workflow professionals expect—allowing fine-grained, drag-and-drop post-editing.
  • Reinforcement Learning Boosts Creativity: Moving beyond standard Supervised Fine-Tuning (SFT) to Multi-Agent RL with Vision-Language Model (VLM) rewards allowed the models to drastically improve spatial balance and color harmony without relying on hardcoded templates.
Figure 2: Comparative visualization of slide decks generated for the topic "Urban Heat Island Mitigation", contrast- ing slides produced by direct model generation, Auto-Slides, EvoPresent, DeepSlides (ours), and two commercial solutions, Manus and Kimi. Additional cases can be found in Appendix F.

Key Results

DeepSlides was evaluated against several baselines using both automated VLM-as-a-judge metrics and human trials:

  • VLM Evaluation: DeepSlides achieved the highest average score (3.78 out of 5) across layout, hierarchy, and color scheme metrics, outperforming prominent open-source pipelines like EvoPresent (3.69) and Auto-Slides (3.25).
  • Human Preference Share: In blind tests with 20 human evaluators, DeepSlides achieved a dominant 76.5% Top-1 preference share against open-source baselines when using Claude Haiku 4.5.
  • vs. Commercial Giants: Even when stacked against powerful closed-source commercial systems like Kimi and Manus, DeepSlides secured a 52.0% win rate, with evaluators praising its superior visual design, clarity, and structural innovation.
  • Model Efficiency: By applying their MARL training strategy to a lightweight 0.6B parameter backbone (Qwen3-0.6B), the resulting SlideQwens model achieved an impressive 86.0% code execution success rate and high visual scores, proving that massive model scale isn't strictly necessary if the workflow is well-architected.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Inference Latency: The multi-stage pipeline (research, design, code, execute, check, refine) increases operational complexity and takes longer than single-pass generation methods.
  • Brand Consistency: Achieving strict, enterprise-level brand compliance (such as adhering to rigid corporate typography and exact logo placements) remains difficult without explicit user-provided style references.
  • Domain Generalization: The dataset and testing were primarily focused on academic and scientific presentation styles; expanding to marketing, sales pitches, or broader creative domains remains an open avenue for future research.

Summary updated

BibTeX
@misc{cui2026design,
  author = {Zhiyao Cui and Chenxu Wang and Shuyue Hu and Yiqun Zhang and Wenqi Shao and Qiaosheng Zhang and Zhen Wang},
  title = {{Design First, Code Later: Aesthetically Pleasing Template-Free Slides Generation}},
  year = {2026},
  eprint = {2605.26451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.26451},
}
Figure