SlideCoder turns one picture into one slide's code — so what does it take to build a whole, coherent deck?
What limits SlideCoder to single-slide generation from reference images?
This explores why SlideCoder works one slide at a time, copying a single reference image into editable code, instead of building whole presentations, and what the rest of the collection says about getting from one slide to a full deck.
This explores why SlideCoder stops at reproducing one slide from one picture, and what it would take to go further. First, a direct answer: the collection doesn't record the SlideCoder authors explaining this limit. The note on Can AI convert slide images into editable code automatically? describes what the system does. It splits a slide image into regions by color changes, then three cooperating agents write Python-pptx code that rebuilds it. It's scored on layout fidelity and on whether the code runs. That framing explains most of the boundary. The task is reconstruction: here is a picture, make an editable copy. Every input is one image and every success measure compares one output to that image. Nothing in the setup asks what the next slide should say, or whether ten slides hang together as a talk.
The neighboring work shows that a full deck is a different problem, not just more of the same one. Can slides be better generated by editing references instead of writing from scratch? also uses reference slides, but as templates to choose from and edit. It plans content across a presentation and is judged on coherence as well as design, much as a person curates and revises a deck. Can inverse specification rewards align slide generation with source intent? goes further. It rewards a model when someone could recover the original brief from the finished slides, which checks whether the deck carries the intended message. SlideCoder has no brief to recover, because its 'intent' is simply the pixels it was given.
There's also a quieter reason single slides are attractive: they're easy to check. A whole family of methods relies on the idea that comparing rendered output to a target is easier than generating it. Can visual matching alone train image-to-code models without text? trains image-to-code models on visual match alone. Can rendering feedback train better SVG generators than supervised learning alone? does the same for SVG graphics, and Can visual similarity rewards break the chart-to-code learning plateau? for charts. Each works because there is one clear target image to measure against. Once you move to deck generation, that target disappears. You need other ways to measure quality, such as the rule-based layout checks in Can rule-based rewards fix LLM slide layout quality? or the critique of rendered snapshots in Can models improve slides by viewing their own rendered output?.
The takeaway you might not have expected: 'one slide from one image' is less a technical ceiling than a choice of benchmark. Slide generation is splitting into two jobs. One is faithful visual copying, where SlideCoder, ScreenCoder (Can filtered agent-generated data improve UI code generation models?) and AutoPresent's code-over-images finding (Does code generation beat image generation for slide creation?) belong. The other is communicating a message across many slides, which needs planning, reference selection and intent-based rewards. Joining the two, so a copied slide style carries through a deck that is actually planned, is a gap the collection hasn't yet filled.
Sources 10 notes
SlideCoder uses color-gradient segmentation and a three-agent pipeline to generate Python-pptx code from reference slide images, reportedly outperforming baselines by up to 40.5 points on layout fidelity and execution accuracy. The authors also released SlideMaster, a 7B fine-tuned model approaching GPT-4o performance.
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.
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.
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 10 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.
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.
ScreenCoder's three-agent pipeline filtered 50,000 webpages into 10,000 high-quality image-code pairs (Screen-10K), then post-trained an open-source MLLM via supervised fine-tuning and reinforcement learning, demonstrating substantial gains in UI generation.
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.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- AutoPresent: Designing Structured Visuals from Scratch
- AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewards
- SlideCoder: Layout-aware RAG-enhanced Hierarchical Slide Generation from Design
- ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding
- PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slides
- Rendering-Aware Reinforcement Learning for Vector Graphics Generation
- Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generation
- ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learning