Textual-to-Visual Iterative Self-Verification for Slide Generation

Yunqing Xu, Xinbei Ma, Jiyang Qiu, Hai ZhaoarXiv 2025 · DOI

Introduction

While Large Language Models (LLMs) have demonstrated exceptional proficiency in text summarization and content generation, they frequently struggle with the spatial reasoning required for high-quality graphic design. Automated slide generation often results in "robotic" layouts characterized by text overflow, overlapping elements, and a lack of logical flow. This discrepancy arises because LLMs primarily operate in textual or code-based domains (e.g., JSON or LaTeX), making it difficult for them to perceive how coordinate-based changes translate into visual outcomes. This paper introduces a novel framework designed to bridge this gap through a textual-to-visual iterative self-verification process.

The Two-Stage Framework

The proposed system mimics the human design process by decomposing slide generation into two distinct stages: Content Generation and Layout Generation.

Overview of the two-stage framework: (a) Content Generation and (b) Layout Generation.

1. Content Generation

To ensure that generated content is both relevant and appropriately sized for a slide, the system utilizes a Text Retriever to identify the most pertinent sections of an academic paper using cosine similarity. Simultaneously, a Figure Extractor identifies relevant charts and tables. A key innovation in this stage is the inclusion of "neighboring slides" as context, which helps the model maintain a consistent narrative flow throughout the presentation deck.

2. Layout Generation and Iterative Refinement

The core contribution of this work is the iterative Reviewer + Refiner workflow. The process begins with an initial layout draft generated in JSON format. To overcome the limitations of purely textual reasoning, the system performs a modality transformation, rendering the JSON into a visual image where every element is enclosed in a colored bounding box with a unique ID.

The iterative refinement process showing visual feedback from the Reviewer and subsequent adjustments by the Refiner.
  • The Reviewer: A multimodal LLM analyzes the rendered image to detect visual errors such as overlaps or misalignments. It provides structured, numerical feedback (e.g., "shift element 1260 upward").
  • The Refiner: A second agent receives these precise instructions and updates the underlying JSON code accordingly.

This loop continues until the layout achieves visual coherence, effectively allowing the AI to act as its own graphic editor.

Experimental Setup and Results

The framework was evaluated using a newly curated dataset from the ACL 2024 In-Person Poster Session, comprising academic papers and their corresponding professional slides. The researchers tested the system across three primary models: GPT-4o, Llama-3-8B, and Qwen-2.5-7B.

Key findings include:

  • Layout Quality: On a 5-point scale, the iterative method improved "Alignment & Space" scores from a baseline of 2.0 to 3.0, and "Visual Appeal" from 2.0 to 2.8.
  • Content Accuracy: ROUGE metrics confirmed that incorporating section retrieval and neighbor slide context significantly improved the logical relevance of the generated text.
  • Model Efficacy: GPT-4o was identified as the most effective "Reviewer," demonstrating superior precision in identifying and correcting complex layout errors.

Conclusion

This research highlights that visual feedback is non-negotiable for complex design tasks. By converting abstract layout code into a visual format that a multimodal LLM can "see," the framework achieves a level of spatial awareness previously unattainable in automated slide generation. Future work will focus on expanding this approach to more creative domains and incorporating advanced aesthetic elements like custom color palettes and typography.

Summary updated

BibTeX
@misc{xu2025textual,
  author = {Yunqing Xu and Xinbei Ma and Jiyang Qiu and Hai Zhao},
  title = {{Textual-to-Visual Iterative Self-Verification for Slide Generation}},
  year = {2025},
  eprint = {2502.15412},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.15412},
}
Figure