INQUIRING LINE

Can an AI-generated slide or CAD design look fine on paper but visibly broken once you actually see it rendered?

Should layout evaluation capture rendering artifacts like element overlap?

This explores whether tools that judge generated layouts (slides, web pages, rooms, images) should check what the output actually looks like once it is drawn on screen, including overlapping elements, rather than only checking whether the code ran or the structure looks right.


This explores whether layout evaluation should check the rendered result, meaning the actual pixels and boxes on screen, rather than stopping at whether the code ran. The corpus mostly says yes. Its main point is that code can run cleanly and still produce something visibly broken. The clearest case is slide generation. PPTAgent beats earlier text-to-slides systems on layout, but its self-correction loop only checks that its HTML executed. It never checks whether text boxes ended up on top of each other once the slide was drawn Can slide-editing agents fix visual flaws they cannot see?. CAD shows the same gap in another field: models trained only by supervised fine-tuning write CAD code that runs 91% of the time, yet the shapes it produces overlap the target shape only about 50% Can CAD code be syntactically correct yet geometrically wrong?. In both cases "it ran" and "it came out right" are separate skills, and an evaluator that only checks the first will train models that only learn the first.

There are two ways to look at the rendered output, and they catch different problems. One uses a vision model as a judge. ReLook scores screenshots with a multimodal LLM and gives zero reward to anything that fails to render, so the policy can't game the critic Can multimodal LLMs judge front-end code quality better than tests?. DesignSense trains a judge on about 10,000 pairs of layouts where humans picked the better one Can human layout preferences train a better design judge?. The other approach skips vision models. ALISA renders the generated page and the target page, matches elements by their text, and measures alignment, grouping and style directly Can rendering-based metrics better reward WebUI code generation?. That makes overlap something you can calculate instead of something a judge has to notice. DocLLM points the same way from the reading side: bounding boxes alone carry enough spatial information for a model to understand document layout without looking at pixels Can bounding boxes replace image encoders for document understanding?. That suggests box geometry is a cheap and reliable place to look for overlap.

The part you might not expect is that judges that look at images have blind spots of their own, and the blind spots are shared. In text-to-image training, every reward model tested (aesthetic, preference and consistency) failed to penalize the same structural flaws: distorted geometry, duplicated objects and objects merging into each other Do text-to-image rewards all miss the same structural flaws?. Element overlap in a layout is the same kind of flaw. So adding a general-purpose visual judge does not mean overlap gets caught. You probably need a check aimed at that specific flaw, either a measured one like ALISA's or a small model trained on human-labeled examples of the flaw.

Rendering also isn't the end of the story. WebGen-R1 found that pages can look perfect while their buttons and logic are broken, so it runs deterministic structure checks and a real build-render-execute step before any visual scoring Can vision-language models alone detect broken website functionality?. Another paper adds an agent that clicks through the page, because a still screenshot can't show whether things work Can static screenshots alone evaluate interactive webpage quality?. Outside the web, 55% of GPT-generated room layouts had problems like objects bunched together, rooms left too empty, or the wrong number of objects Why do GPT-generated room layouts fail so often?. Those are spatial errors that a check on the text description would miss.

Put together, the answer is a layered check rather than a plain yes. First confirm the output runs. Then measure the rendered geometry, including overlap. Then score how it looks. Then, where it matters, test whether it works. Each layer catches failures the others miss. Above all of this sits a gap no rendering check closes: generative UI tools leave about a quarter of their stated design reasoning unimplemented Do generative UI tools actually implement their stated design rationales?. Accessibility feedback loops show the same thing, since they still miss subtle requirements like keyboard navigation Can feeding accessibility violations back into code generation improve results?. A layout with no overlaps can still miss what the design was supposed to do.


Sources 12 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 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.

Can multimodal LLMs judge front-end code quality better than tests?

ReLook trains a reward model on visual screenshots rather than unit tests, using a strict zero-reward rule for invalid renders to prevent reward hacking. It outperformed baselines across three benchmarks by embedding pixel-level visual judgment into the policy training loop.

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 rendering-based metrics better reward WebUI code generation?

ALISA computes RL rewards by rendering generated and ground-truth pages, then matching elements by text similarity and measuring spatial alignment, grouping, and style consistency. This avoids vision-model overhead and DOM-structure brittleness caused by code asymmetry in crawled training data.

Show all 12 sources
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.

Do text-to-image rewards all miss the same structural flaws?

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.

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.

Why do GPT-generated room layouts fail so often?

About 55% of Holodeck's GPT-generated layouts contained structural flaws including under-population, clustering, and wrong object counts or orientations. OptiScene required manual filtering and correction before the layouts could train downstream models.

Do generative UI tools actually implement their stated design rationales?

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.

Can feeding accessibility violations back into code generation improve results?

FeedA11y's ReAct-based feedback loop significantly outperforms zero-shot, few-shot, and self-criticism prompting by iteratively feeding evaluator results back into generation. However, it still struggles with nuanced ARIA constraints like keyboard navigation and focus management, suggesting evaluator feedback alone cannot substitute for domain expertise.

Papers this line draws on 8

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