INQUIRING LINE

Should an AI judge a slide's layout by its code, or by actually looking at the picture it renders?

How much do vision capabilities matter when evaluating and fixing slide layouts?

This explores whether AI systems need to actually see a rendered slide to judge and fix its layout well, or whether reading the code or measuring the output is enough.


This explores whether an AI needs to see a rendered slide to judge and fix its layout, or whether reading the underlying code is enough. The short answer from the corpus: looking at the rendered result matters a lot. Using a vision model to do that looking turns out to be only one option, and not always the best one. The key step is checking what the slide actually looks like after rendering, not what the markup says it should look like.

Start with the failure case. PPTAgent beats earlier text-to-slides systems on layout, but its self-correction loop only checks whether the code ran successfully. It never checks whether elements ended up overlapping or broke visually once rendered Can slide-editing agents fix visual flaws they cannot see?. Giving the model eyes fixes much of this. When GPT-4o was shown snapshots of its own rendered slides and asked to revise them, quality improved on every metric. Most of the gain came in the first round of revision, and later rounds added less and less Can models improve slides by viewing their own rendered output?. One careful look catches most of the problems.

The surprising part is that a ruler can beat an eye. AeSlides skips vision judging entirely. It measures the rendered HTML directly with rules a program can check, such as aspect-ratio compliance, and uses those scores as rewards in reinforcement learning. That raised compliance from 36% to 85% and outperformed both reflection-style methods and Claude-Sonnet-4.5 Can rule-based rewards fix LLM slide layout quality?. A similar idea shows up in document understanding: DocLLM captures layout from bounding-box coordinates alone, with no image encoder, at much lower computing cost Can bounding boxes replace image encoders for document understanding?. In GUI agents, vision models do better when screenshots are first converted into labeled structured elements, so the model doesn't have to work out what it's looking at and decide what to do at the same time Why do vision-only GUI agents struggle with screen interpretation?.

When you do use a vision judge, general-purpose vision isn't enough. Image reward models trained on photorealistic pictures fail at layout because they never learned spatial relationships or compositional balance Why do image reward models fail at layout evaluation?. DesignSense, trained on about 10,000 human layout preference pairs, beat GPT-4o as a judge by a wide margin, and it improved generation quality when used as a reward signal Can human layout preferences train a better design judge?. Vision judges also have blind spots. In web generation, VLM scoring misses broken functionality hidden under pages that look polished. The fix there is to run deterministic checks first and use the vision judge after them Can vision-language models alone detect broken website functionality?, or to add an agent that actually clicks through the page Can static screenshots alone evaluate interactive webpage quality?.

The pattern extends beyond slides: code that runs is not the same as output that is right. CAD models reach 91% executable code but only about 50% geometric accuracy until reasoning and RL close the gap Can CAD code be syntactically correct yet geometrically wrong?. Put together, a sensible recipe for slides looks like this. Always evaluate the rendered output. Use cheap measurable rules for anything you can measure, like overflow, overlap and proportions. Save a vision judge trained on layout for the parts that are about taste. The corpus doesn't include a direct head-to-head between all three approaches on the same slide benchmark, so the exact balance between them is still an open question.


Sources 10 notes

Can slide-editing agents fix visual flaws they cannot see?

PPTAgent outperforms text-to-slides baselines on layout but corrects only code-level execution, not rendered appearance. Its self-correction loop checks HTML representation success, not whether overlapping elements or other visual breaks occur after rendering.

Can models improve slides by viewing their own rendered output?

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.

Can rule-based rewards fix LLM slide layout quality?

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.

Can bounding boxes replace image encoders for document understanding?

DocLLM shows that bounding-box spatial information combined with decomposed transformer attention can capture text-spatial alignment in documents without pixel-based visual encoding. Pretraining on text-infilling objectives suited to irregular layouts achieves this at substantially lower computational cost than multimodal LLMs using image encoders.

Why do vision-only GUI agents struggle with screen interpretation?

OmniParser demonstrates that GPT-4V fails when forced to simultaneously identify icon meanings and predict actions from raw screenshots. Pre-parsing screenshots into structured semantic elements with descriptions lets the model focus solely on action prediction, removing the composite-task bottleneck.

Show all 10 sources
Why do image reward models fail at layout evaluation?

ImageReward, HPS, and PickScore models trained on photorealistic text-to-image data cannot capture human preferences for graphic layouts because they lack exposure to spatial relationships and compositional balance. This distributional mismatch shows that domain transfer for preference models cannot be assumed across visual domains.

Can human layout preferences train a better design judge?

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.

Can vision-language models alone detect broken website functionality?

WebGen-R1 found that VLM aesthetic scoring misses broken event handlers and logic chains hiding beneath visually perfect interfaces. The solution is to gate VLM scoring behind deterministic structural checks and actual build-render-execute pipelines first.

Can static screenshots alone evaluate interactive webpage quality?

The paper adds an interactive aesthetics agent that actively navigates and interacts with rendered pages, distinct from a static vision judge. This prevents the training signal from rewarding pages that look polished but fail to function.

Can CAD code be syntactically correct yet geometrically wrong?

Supervised fine-tuning alone produces 91% executable CAD code but only 50% geometric IoU. Chain-of-thought reasoning raises IoU to 61%, while RL post-training pushes it to 72%, showing the two capabilities decouple during early training.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.