AutoPresent: Designing Structured Visuals from Scratch

Jiaxin Ge, Zora Zhiruo Wang, Xuhui Zhou, Yi-Hao Peng, Sanjay Subramanian, Qinyue Tan, Maarten Sap, Alane Suhr, Daniel Fried, Graham Neubig, Trevor Darrell

Abstract: Designing structured visuals such as presentation slides is essential for communicative needs, necessitating both content creation and visual planning skills. In this work, we tackle the challenge of automated slide generation, where models produce slide presentations from natural language (NL) instructions. We first introduce the SlidesBench benchmark, the first benchmark for slide generation with 7k training and 585 testing examples derived from 310 slide decks across 10 domains. SlidesBench supports evaluations that are (i) reference-based to measure similarity to a target slide, and (ii) reference-free to measure the design quality of generated slides alone. We benchmark end-to-end image generation and program generation methods with a variety of models, and find that programmatic methods produce higher-quality slides in user-interactable formats. Built on the success of program generation, we create AutoPresent, an 8B Llama-based model trained on 7k pairs of instructions paired with code for slide generation, and achieve results comparable to the closed-source model GPT-4o. We further explore iterative design refinement where the model is tasked to self-refine its own output, and we found that this process improves the slide's quality. We hope that our work will provide a basis for future work on generating structured visuals.

Introduction

Creating effective presentation slides is a high-effort task that requires two distinct skills: content creation (writing the text) and visual planning (arranging elements, choosing colors, and sourcing images). While Large Language Models (LLMs) excel at text and diffusion models at artistic imagery, neither is naturally suited for creating structured, editable visuals. Diffusion models often produce non-editable "flat" images with garbled text, while standard LLMs struggle to translate spatial layouts into functional code without specialized training.

Methodology: The Programmatic Approach

AutoPresent addresses these challenges by treating slide generation as a Natural Language-to-Code problem. Instead of generating a static image, the model generates Python code using the python-pptx library.

SLIDESLIB and Model Training

To reduce the complexity of code generation, the authors developed SLIDESLIB, a high-level library that abstracts layout logic into simple functions like add_title(), search_image(), and set_background_color(). This abstraction significantly lowers the "reasoning tax" on the model, reducing average program length from 170 lines of raw code to just 13.

The AutoPresent pipeline illustrates the flow from natural language instructions to slide generation via code or image generation, followed by comprehensive evaluation.

The AutoPresent model is a Llama-3.1-8B model fine-tuned on 7,000 instruction-code pairs. It maps natural language descriptions to specific SLIDESLIB calls. The system also incorporates an iterative refinement loop where the model generates a draft, "inspects" it via a Vision-Language Model, and self-corrects for aesthetic issues like spacing or alignment.

SLIDESBENCH: A New Evaluation Standard

The paper introduces SLIDESBENCH, the first large-scale benchmark for this task, featuring 7,000 training and 585 testing examples across 10 domains. It evaluates models across three instruction levels:

  1. Detailed + Images: User provides text and specific image files.
  2. Detailed Only: User provides text and image descriptions.
  3. High-Level: User provides a general prompt, requiring the model to brainstorm content and layout.

Key Results and Insights

Programmatic generation ensures that text is perfectly rendered and the final output remains fully editable. The 8B AutoPresent model achieved an execution success rate of 84.1%, nearly matching the 86.7% achieved by GPT-4o in complex settings.

Qualitative results across different models and instruction levels demonstrate that programmatic generation with SLIDESLIB significantly outperforms end-to-end image generation.

As shown in the qualitative comparisons, models using SLIDESLIB produce structured, readable slides that closely follow instructions, whereas image generation baselines (like DALL-E 3) often struggle with text legibility and layout consistency. The results prove that even smaller models can compete with closed-source giants when augmented with specialized programmatic tools.

Conclusion and Future Work

AutoPresent demonstrates that programmatic abstraction is key to enabling AI to design structured visuals. While current models show a slight "style gap" compared to human designers, the move toward editable code provides a practical foundation for future multi-slide consistency and human-in-the-loop interactive design tools.

Summary updated

BibTeX
@inproceedings{ge2025autopresent,
  author = {Jiaxin Ge and Zora Zhiruo Wang and Xuhui Zhou and Yi-Hao Peng and Sanjay Subramanian and Qinyue Tan and Maarten Sap and Alane Suhr and Daniel Fried and Graham Neubig and Trevor Darrell},
  title = {{AutoPresent: Designing Structured Visuals from Scratch}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=m1jJvKdm9A},
}
Figure