PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slides

Hao Zheng, Xinyan Guan, Hao Kong, Jia Zheng, Hongyu Lin, Yaojie Lu, Ben He, Xianpei Han, Le SunarXiv 2025 · DOI

Abstract

Creating engaging presentations from documents requires balancing content, design, and structure. Current AI methods primarily treat this as an abstractive summarization problem, often resulting in text-heavy, monotonous slides. This paper introduces PPTAgent, an AI system that mimics human workflows by iteratively editing high-quality reference slides rather than generating them from scratch. By treating slide creation as a code-driven editing task on HTML representations, PPTAgent produces visually appealing and coherent presentations. We also introduce PPTEval, a multi-modal evaluation framework that assesses content, design, and coherence. PPTAgent significantly outperforms existing text-to-slide generators, achieving high reliability through a self-correction mechanism.

Introduction

Turning dense documents into captivating slide decks is a complex task requiring a logical storyline, concise text, and aesthetic layouts. Existing "text-to-slides" methods often fail because they ignore the visual-centric nature of presentations, treating the task as a simple text extraction and template-filling exercise. This leads to "tedious text" and "boring layouts" that lack narrative flow. Furthermore, traditional NLP metrics like ROUGE are insufficient for evaluating the visual and narrative quality of a presentation, as they only measure text overlap.

Comparison of PPTAgent's edit-based generation versus traditional abstractive summarization.

Methodology

PPTAgent adopts an edit-based paradigm inspired by how humans create presentations: by adapting existing well-designed slides. The system operates in two primary stages:

  1. Presentation Analysis: The system uses Large Language Models (LLMs) and Multimodal LLMs (MLLMs) to cluster reference slides into structural (e.g., title, transition) and content categories, extracting a schema (title, image, text) for each.
  2. Presentation Generation: PPTAgent drafts an outline mapping document content to appropriate reference slides. To facilitate LLM interaction, the system renders slides into clean HTML rather than complex, verbose XML. A coding agent then writes Python scripts using custom APIs (e.g., replace_span, replace_image) to inject content.

To ensure robustness, PPTAgent employs a REPL (Read-Eval-Print Loop) self-correction mechanism. If the generated code fails to execute, the LLM analyzes the error traceback and attempts a correction.

The PPTAgent pipeline, featuring slide clustering, schema extraction, outline generation, and iterative slide editing with self-correction.

For assessment, the authors introduce PPTEval, an "MLLM-as-a-judge" framework. It uses models like GPT-4o to score presentations on a 1-5 scale across three dimensions: Content, Design, and Coherence.

Key Insights and Results

  • Editing vs. Generation: Treating slide creation as an editing task allows the model to bypass the difficulty of designing aesthetic layouts from scratch, leveraging the design expertise inherent in reference slides.
  • HTML Representation: Translating slides into HTML significantly reduces complexity for LLMs. Ablation studies showed that removing HTML rendering dropped the generation success rate from 95.0% to 74.6%.
  • Superior Performance: PPTAgent achieved a 95%+ success rate in generating error-free presentations. On the PPTEval scale, it scored an average of 3.67, significantly outperforming rule-based (DocPres, 2.85) and template-based (KCTV, 3.00) baselines. Notably, PPTAgent saw a 36.6% improvement in Coherence due to its explicit modeling of structural slides.

Conclusion

PPTAgent demonstrates that an edit-based approach combined with a self-correcting coding agent can produce high-quality, coherent presentations. While the system is currently bottlenecked by the quality of reference slides and lacks direct visual feedback during generation, it represents a significant step beyond simple text-to-slide summarization. Future research will focus on incorporating visual feedback loops to further refine layout and design elements.

Summary updated

BibTeX
@misc{zheng2025pptagent,
  author = {Hao Zheng and Xinyan Guan and Hao Kong and Jia Zheng and Hongyu Lin and Yaojie Lu and Ben He and Xianpei Han and Le Sun},
  title = {{PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slides}},
  year = {2025},
  eprint = {2501.03936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.03936},
}
Figure