TL;DR
Slide2PPT is a training-free framework that reconstructs fully editable PowerPoint slides from images by predicting native object records (like charts with real data series) rather than raw code. By employing an iterative, localization-guided refinement loop, it bridges the gap between visual fidelity and functional editability, significantly outperforming traditional code-generation methods in both reliability and structural accuracy.
What Problem Does This Paper Address?
Converting a slide image back into a PowerPoint file is a classic "inverse problem" in document AI. Current approaches typically rely on direct code generation (e.g., asking an LLM to write a python-pptx script). This suffers from two major flaws:
- Brittleness: If the model makes a single syntax error, the resulting script fails, and you get no file at all.
- The "Dead Object" Problem: A reconstructed chart might look perfect but consist of static rectangles and lines. If you want to change a value in the bar chart, you’re out of luck because there’s no underlying data series.
The authors argue that true reconstruction requires recovering the native object structure—tables with cells and charts with series—so the user can actually edit the content after the fact.
Methods
Slide2PPT introduces a model-agnostic, training-free pipeline that works with off-the-shelf Vision-Language Models (VLMs) like GPT-4o or Qwen2-VL. Its architecture rests on three pillars:
- Shared Native State: Instead of code, the model predicts a sequence of JSONL "object records." Each record defines an object's type (textbox, shape, chart, table, etc.), geometry, and attributes.
- Fixed Renderer: A dedicated renderer materializes these records into a
.pptxfile. This decouples the content prediction from the rendering implementation, ensuring that the output is always a valid, readable file. - Localization-Guided Refinement: This is the core innovation. The system renders the current predicted state and compares it to the original reference image. It identifies "discrepancy boxes" where the reconstruction is off. It then feeds these specific crops back to the VLM, asking it to refine only the problematic regions. This iterative loop uses a "fidelity gate" (based on metrics like SSIM and LPIPS) to decide whether to accept or reject a proposed fix.
Datasets
The authors introduced Slide2PPT-Bench, a comprehensive collection of 1,080 images designed to test various aspects of reconstruction:
- Controlled Elements (200 images): Synthetic slides used to isolate specific object types and attributes.
- Real Slides (800 images): Sourced from existing datasets like DOC2PPT and PPTBench to test complex layouts and styles.
- Scientific Figures (80 images): Dense, challenging diagrams and plots that require high precision in text and layout recovery.
Key Insights and Ideas
- Reliability over Flexibility: By forcing the model to output structured data (JSONL) rather than free-form code, the "readable file" rate jumps from roughly 47% to 100%. The fixed renderer acts as a safety rail.
- Visual Feedback is a Strong Signal: Even without fine-tuning, a VLM can become its own critic. By seeing its "mistakes" (the rendered output) side-by-side with the goal, it can perform targeted edits that a single-pass model would miss.
- Regional vs. Global Context: The paper highlights a trade-off: fixing a small label requires a local crop for high resolution, but fixing a connector between two boxes requires a whole-slide view. Slide2PPT handles this by alternating between regional updates and whole-slide joint updates.
Key Results
- File Production: Slide2PPT achieved a 100% PPTX readability rate across 108 test configurations, whereas direct code generation failed more than half the time (47% success rate).
- Scientific Figure Recovery: On the challenging scientific figures subset, the refinement process raised the mean text-box F1 score from 0.27 to 0.44 and significantly lowered the Character Error Rate (CER).
- Native Object Availability: Compared to code-generation baselines, Slide2PPT produced significantly more native charts (77 vs. 24) and tables (126 vs. 40), proving it captures the "editability" that other models ignore.
Limitations and Future Work
- Semantic vs. Visual Correctness: The "fidelity gate" is purely visual. A model might fix a chart to look identical to the original but still have incorrect underlying data values if the text was unreadable.
- Dense Overlaps: In extremely crowded scientific figures, the localization logic can struggle to separate overlapping objects, leading to "merged" records.
- Future Directions: The authors suggest that integrating specialized OCR or chart-parsing tools into the refinement loop could further improve data accuracy. Additionally, exploring how this "shared native state" could be used for multi-slide consistency (e.g., keeping a template the same across a deck) is a promising next step.
Summary updated