← Latest papers
💻 computer science

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

This paper introduces DeepSlides, a template-free framework that decouples slide design from implementation through a hierarchical workflow, a specialized dataset, and multi-agent reinforcement learning to generate aesthetically pleasing presentation slides that outperform existing template-based or code-emission approaches.

Original authors: Zhiyao Cui, Chenxu Wang, Shuyue Hu, Yiqun Zhang, Wenqi Shao, Qiaosheng Zhang, Zhen Wang

Published 2026-05-27
📖 5 min read🧠 Deep dive

Original authors: Zhiyao Cui, Chenxu Wang, Shuyue Hu, Yiqun Zhang, Wenqi Shao, Qiaosheng Zhang, Zhen Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Cookie Cutter" vs. The "Messy Kitchen"

Imagine you need to make a presentation. Currently, most AI tools do one of two things:

  1. The Cookie Cutter: They force your content into a rigid, pre-made template. It looks neat, but it's boring and doesn't fit your specific story.
  2. The Messy Kitchen: They try to write the code for the slides and design them at the same time. This often leads to "spaghetti code" where the AI gets confused, the text overlaps the images, or the colors clash, resulting in a messy, unprofessional slide.

The authors of this paper argue that to make a truly beautiful presentation, you need to stop trying to do everything at once. You need to separate Designing from Building.

The Solution: DeepSlides (The "Architect and the Builder")

The paper introduces a new system called DeepSlides. Think of it like hiring a team for a house construction project, but for digital slides.

Instead of one robot trying to do everything, DeepSlides uses a hierarchical workflow with two distinct roles:

  1. The Architect (The Designer):

    • Role: This agent looks at your topic (e.g., "Urban Heat Island Mitigation") and decides the vibe. It chooses the color palette, the font styles, the layout rhythm, and how the story flows from page to page.
    • Analogy: Imagine an architect drawing a blueprint. They decide where the windows go, what the house looks like, and how light enters the room. They don't worry about the specific brand of nails or the exact torque of the screwdriver.
    • Key Feature: They create a "Style Guide" and a "Layout Plan" without worrying about the technical code yet.
  2. The Builder (The Coder):

    • Role: This agent takes the Architect's blueprint and writes the actual Python code to build the slide.
    • Analogy: This is the construction crew. They read the blueprint and hammer the nails, paint the walls, and install the fixtures. They are experts at making sure the code runs and the slide actually appears on the screen.
    • Key Feature: They focus purely on execution. If the Architect says "put a blue circle here," the Builder makes sure the blue circle appears exactly there without breaking the code.

The Process: How It Works

The paper describes a step-by-step journey to create a slide deck:

  1. Deep Research: Before making a single slide, the system acts like a detective. It searches the web for information and images related to your topic to build a solid outline.
  2. The "Design First" Phase:
    • The Architect decides the overall style (e.g., "Modern, clean, blue tones").
    • It then plans each slide individually, deciding where the title goes, where the image goes, and what the background looks like.
  3. The "Code Later" Phase:
    • The Builder takes those plans and writes the code to generate the PowerPoint file.
  4. The "Quality Control" Loop:
    • Before the slide is finished, a "Checker" looks at it. Did the text overlap the image? Is the color too bright? Is the code broken?
    • If there's a problem, the system sends it back to the Architect or Builder to fix it. This is called Iterative Refinement.

The Secret Sauce: Multi-Agent Reinforcement Learning

How did they teach the AI to be this good? They didn't just give it a textbook. They used a training method called Multi-Agent Reinforcement Learning (MARL).

  • The Analogy: Imagine training a dog and a cat to work together.
    • First, they teach them separately (Supervised Fine-Tuning) so the Architect knows how to draw, and the Builder knows how to code.
    • Then, they let them work together in a simulation. Every time they make a beautiful slide, they get a "treat" (a reward). If they make a messy slide, they get a "time-out."
    • Over time, they learn to communicate perfectly. The Architect learns to draw plans that are easy for the Builder to execute, and the Builder learns to follow the plans precisely.

The Results: Why It Matters

The authors tested DeepSlides against other tools (like Kimi, Manus, and direct AI generation) and found:

  • Human Preference: When real people looked at the slides, they overwhelmingly preferred DeepSlides. In head-to-head tests, DeepSlides won 76.5% of the time against open-source competitors and 52% against commercial giants.
  • Visual Quality: The slides were less "dull" and more "creative." They had better color harmony and clearer layouts.
  • No Templates: Unlike other tools that just swap text into a fixed box, DeepSlides creates unique layouts for every slide based on the content.

The Dataset: "SlideDesign"

To train these AI models, the researchers couldn't just use random internet slides. They built a new dataset called SlideDesign.

  • What is it? A massive collection of 420 different topics (from science to humanities) where every topic has a full set of: Research notes, a slide outline, a design plan, the final code, and the resulting image.
  • Why? It teaches the AI the difference between what the slide says and how it should look.

Summary

DeepSlides is a new way to make AI presentations. Instead of asking an AI to "make a slide" and hoping for the best, it splits the job into Designing (the creative part) and Coding (the technical part). By letting a "Designer" agent plan the look and a "Coder" agent build the file, and then training them together to learn from their mistakes, the system creates presentations that are not only informative but also visually stunning and professional—without needing pre-made templates.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →