Should an AI draw slides directly as pictures, or write code that builds them — and does 'seeing' the result even help?
Does visual perception improve slide generation without text-based program output?
This explores whether letting a model actually *see* slides, by looking at rendered images rather than only reading code or text, makes slide generation better, and whether a model can skip writing code altogether and produce slides as images.
This explores whether visual perception helps slide generation and whether it can replace code-based output. The short answer from the corpus: seeing helps a lot, but as a critic, not as the thing that makes the slide. Drawing slides directly as images loses to writing a program that renders them. AutoPresent's benchmark found code-based approaches clearly beat image generators like Stable Diffusion and DALL-E, especially on getting the content right. A small 8B model fine-tuned on code came close to GPT-4o Does code generation beat image generation for slide creation?. Image generators struggle with exact text and layout. Image-model reward systems also share blind spots, such as missing duplicated objects or warped geometry Do text-to-image rewards all miss the same structural flaws?. For slides, that kind of error is fatal.
The pattern that works is a loop: the model writes code, the code is rendered, and the model or a reward looks at the picture. Simply showing GPT-4o snapshots of its own slides and letting it revise improved every metric. Most of the gain came in the first round, and later rounds added less each time Can models improve slides by viewing their own rendered output?. Training with rewards pushes the idea further. Neighboring fields that turn images into code arrived at the same recipe independently. RRVF trains models only on how closely the rendered output matches a target image, with no ground-truth code needed Can visual matching alone train image-to-code models without text?. RLRF does the same for SVG graphics and generalizes to unseen styles Can rendering feedback train better SVG generators than supervised learning alone?. MSRL found that rendered-image rewards break the plateau that supervised training hits on chart-to-code tasks Can visual similarity rewards break the chart-to-code learning plateau?. The shared idea: checking whether a picture looks right is easier than producing the right code, so the rendered image becomes the teacher.
The surprising part is that "perception" doesn't have to mean a vision-language model looking at the slide. AeSlides scored the rendered HTML with simple measurable rules, such as whether content fits the aspect ratio. That raised compliance from 36% to 85% and beat both reflection-based methods and Claude-Sonnet-4.5 Can rule-based rewards fix LLM slide layout quality?. Where vision judges are used, they work best when trained on real human taste. DesignSense, trained on about 10,000 human layout preference pairs, far outperformed GPT-4o as a judge and improved generation when used as a reward Can human layout preferences train a better design judge?. Other strong systems mix in text-side signals. One trains a small model to produce slides from which the original brief can be reconstructed, and it reaches 91% of Claude Opus quality Can inverse specification rewards align slide generation with source intent?. PPTAgent skips blank-page generation entirely and edits good reference slides through code Can slides be better generated by editing references instead of writing from scratch?.
Why does checking the rendered result matter so much? Generative UI tools leave about a quarter of their own stated design reasoning unimplemented Do generative UI tools actually implement their stated design rationales?. What a model *says* or *writes* about a design is not what shows up on screen. Rendering and looking is how you catch that gap. So the takeaway isn't to replace code with vision. Code gives precision, the render gives the truth, and the best systems use both.
Sources 11 notes
AutoPresent's benchmarking across 585 test cases shows program-based approaches beat image generation methods like Stable Diffusion and DALL-E, especially on content accuracy. An 8B LLaMA model fine-tuned on 7k examples achieved results comparable to GPT-4o.
Every tested reward model—aesthetic, preference, and consistency-based—develops its own failure mode, but all consistently fail to penalize geometric distortions, object duplication, and entity blending. A lightweight adaptive reward model trained on human-judged artifact examples can fill this gap.
GPT-4o refines its own slide programs after seeing rendered snapshots, improving performance across all metrics. The first refinement round delivers the largest gain; subsequent rounds show diminishing improvements.
RRVF rewards MLLMs for how closely rendered code output matches the source image, not for matching ground-truth text or code. This leverages asymmetry-of-verification: checking if rendered output matches is easier than generating code, making visual similarity a tractable RL reward signal.
RLRF post-training, which samples SVG outputs, renders them, and rewards pixel-level similarity to target images, significantly beats supervised fine-tuning and generalizes to unseen SVG styles. The approach works because rendering provides an evaluative signal where gradients cannot flow through discrete token sampling.
Show all 11 sources
MSRL pairs cheap rule-based textual rewards with costly MLLM-judged visual rewards comparing rendered code to ground-truth charts, improving ChartMimic and ReachQA scores by 6–10% beyond supervised-learning baselines. A two-stage curriculum applies textual rewards first, then adds visual feedback.
AeSlides uses GRPO with render-time metrics to train slide generation, raising aspect-ratio compliance from 36% to 85% and outperforming reflection methods and Claude-Sonnet-4.5. The key: scoring rendered HTML directly rather than judging markup.
DesignSense, trained on 10,235 human preference pairs, significantly outperforms existing judges (54.6% Macro F1 improvement over GPT-4o) and raises AesthetiQ's win rate from 14.27% to 17.97% when used as a reward model in reinforcement learning.
Six weighted reward signals—including structural checks, LLM aesthetic judgment, and brief reconstruction—fine-tune Qwen2.5-Coder-7B via GRPO to match 91.2% of Claude Opus 4.6's slide quality. The model scores 0.724 versus Opus's 0.794, a 33.1% gain over the base model.
PPTAgent, which selects exemplary reference slides and iteratively edits them via code APIs, significantly outperforms existing text-to-slides methods on content, design, and coherence. The improvement stems from mirroring human workflows of curation and refinement rather than single-pass synthesis.
A benchmark of 24 tasks across five tools found roughly 25% of design rationales go unimplemented, rising to 34% for functional requirements. Tools recognized only half the UX principles embedded in prompts.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewards
- AutoPresent: Designing Structured Visuals from Scratch
- ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding
- GameUIAgent: An LLM-Powered Framework for Automated Game UI Design with Structured Intermediate Representation
- Learning Only with Images: Visual Reinforcement Learning with Reasoning, Rendering, and Visual Feedback
- Rendering-Aware Reinforcement Learning for Vector Graphics Generation
- PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slides
- SlideCoder: Layout-aware RAG-enhanced Hierarchical Slide Generation from Design