AI-generated layouts often look fine but are secretly broken — what's the best way to catch and fix the flaws automatically?
What filtering and correction steps best catch structural flaws in synthetic layouts?
This explores how to catch and fix broken structure (cramped rooms, objects stacked on top of each other, overlapping slide elements, websites that look fine but don't work) when an AI generates layouts, and which checks actually work better than others.
This explores how to catch and fix broken structure when AI generates layouts, whether the layout is a room, a slide or a web page. The corpus starts with a sobering number: about 55% of GPT-generated room layouts in Holodeck had structural flaws, including rooms that were nearly empty, furniture bunched into clusters, and the wrong number of objects or objects facing the wrong way. The OptiScene team had to filter and correct these by hand before the layouts were good enough to train other models on Why do GPT-generated room layouts fail so often?. So the problem is not rare. It is the default, and the question is which checks scale better than human cleanup.
The clearest lesson across domains is to **check the rendered result, not the code that describes it.** PPTAgent's self-correction loop only confirms that its HTML runs. It never looks at whether elements overlap once the slide is drawn, so visual breaks get through Can slide-editing agents fix visual flaws they cannot see?. CAD shows the same gap with numbers: fine-tuned models write CAD code that runs 91% of the time, yet the shapes match the target only about 50% of the time. Chain-of-thought reasoning and RL are needed to close that gap Can CAD code be syntactically correct yet geometrically wrong?. 'It runs' and 'it's right' are separate skills, and a filter that only tests the first will pass a lot of broken output.
The second lesson is less obvious: **an AI judge that looks at the rendered output is not enough on its own either.** WebGen-R1 found that vision-language models scoring how a website looks miss broken buttons and logic hidden under a polished interface. Their fix puts deterministic structural checks and an actual build, render and run step *before* any model scores the result Can vision-language models alone detect broken website functionality?. Image generation shows the same weakness at a larger scale. Every reward model tested had its own quirks, but all of them failed to penalize warped geometry, duplicated objects and objects blending into each other Do text-to-image rewards all miss the same structural flaws?. If structural flaws are a blind spot for every AI judge, you can't fix that by switching to a different general-purpose judge.
What does work tends to fall into two groups. The first is **rule-based measurements taken on the rendered output.** AeSlides trained a slide generator on programmatic layout metrics instead of a vision judge and raised aspect-ratio compliance from 36% to 85%, beating both reflection-based self-correction and Claude-Sonnet-4.5 Can rule-based rewards fix LLM slide layout quality?. The second is **judges trained specifically on human-labeled flaws.** DesignSense, trained on about 10,000 pairs of human layout preferences, far outperformed GPT-4o as a layout judge and improved generation when used as a reward Can human layout preferences train a better design judge?. A small artifact detector trained on human-judged examples likewise filled the image-reward blind spot Do text-to-image rewards all miss the same structural flaws?. A related idea from research-paper generation is to keep model judgment and deterministic checks in separate stages, so the pipeline's reliability doesn't depend on the model being right Can separating judgment from verification improve research paper reliability?.
Put together, the corpus suggests a layered order: first confirm the output executes, then render it and apply hard rules (no overlaps, correct counts, proportions, spacing), and only then bring in a learned judge for the subjective qualities that rules can't express. What you might not have expected is that the weakest link is usually the general-purpose AI judge, not the generator. Swapping in a smarter judge won't help much. The gains come from measuring the actual rendered result and from judges trained on the specific flaws you care about. The corpus has no head-to-head comparison of filtering pipelines for 3D room layouts specifically, so that piece is an inference drawn from slides, web pages, CAD and images.
Sources 8 notes
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.
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.
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.
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.
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.
Show all 8 sources
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.
Spark-to-Paper architects paper generation as composable skills that isolate model judgment from executable, verifiable operations and require evidence specification before results are observed, reducing dependence on model correctness for consistency.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- GameUIAgent: An LLM-Powered Framework for Automated Game UI Design with Structured Intermediate Representation
- AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewards
- AutoPresent: Designing Structured Visuals from Scratch
- Code Aesthetics with Agentic Reward Feedback
- DesignSense: A Human Preference Dataset and Reward Modeling Framework for Graphic Layout Generation
- Generative Floor Plan Design with LLMs via Reinforcement Learning with Verifiable Rewards
- UI-Bench: A Benchmark for Evaluating Design Capabilities of AI Text-to-App Tools
- ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding