INQUIRING LINE

Can an AI judge rate how good a website looks before anyone checks whether its buttons actually work?

Do static and build checks catch structural failures before aesthetic scoring?

This explores whether cheap, rule-based checks (does the code compile, does the page render, do the buttons actually work) should run before an AI judge scores how good the output looks, and what goes wrong when they don't.


This explores whether cheap, rule-based checks should act as a gate before any AI judge rates how good generated output looks. The corpus says yes, and gives a sharper reason than tidiness: an aesthetic judge can't see the failures that matter most. WebGen-R1 found that a vision-language model scoring a website's screenshot can't tell that the event handlers are broken or that a click leads nowhere. A page can look perfect and do nothing. Their fix was to put deterministic structural checks and a real build-render-execute step in front of the visual scorer, so a broken site never reaches the judge (Can vision-language models alone detect broken website functionality?).

ReLook arrives at the same idea from the training side. It trains front-end code generation with a multimodal critic that judges rendered screenshots, and it adds a strict rule: if the code doesn't render, the reward is zero. Without that floor, the model being trained learns to game the critic (Can multimodal LLMs judge front-end code quality better than tests?). So the gate does two jobs. It filters bad outputs, and it closes a loophole that reinforcement learning would otherwise find and exploit.

Passing the gate doesn't mean the output is right, though. In CAD code generation, supervised fine-tuning alone produced 91% executable code but only 50% geometric overlap with the target shape. The code ran, but the object was wrong. Chain-of-thought and RL training were needed to close that gap (Can CAD code be syntactically correct yet geometrically wrong?). Room layout generation shows the same split: about 55% of GPT-generated layouts had flaws like wrong object counts or clustered furniture, which no 'does it load' check would catch (Why do GPT-generated room layouts fail so often?). The likely picture is three layers: does it build, is it structurally correct, does it look good. Each layer misses things the others catch.

How the gate fails matters as much as what it checks. One harness detected parsing errors and then quietly substituted a default score. Once an optimizer was ranking outputs, that default turned a detected failure into a valid-looking candidate (Does a default fallback defeat a safety check?). A structural check only protects anything if failure means rejection, as with ReLook's zero reward, and not a neutral middle score. The safety literature makes a related point at the system level: every component can pass its local check while the whole workflow still fails, because the local checks test different properties (Can individual components pass safety checks if the system still fails?).

Checker output can also be more than a pass/fail gate. FeedA11y feeds accessibility-checker violations back into code generation and clearly beats prompting alone. It still struggles with subtler requirements like keyboard navigation and focus management, which rule-based checkers handle poorly (Can feeding accessibility violations back into code generation improve results?). If you're worried the gates slow things down, verification can also run alongside generation and step in only when a rule is broken, with almost no added delay on correct runs (Can verifiers monitor reasoning without slowing generation down?).


Sources 8 notes

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

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.

Does a default fallback defeat a safety check?

A parsing check that substitutes a default score for detected failures becomes unsafe when a downstream optimizer ranks outputs, because it converts the failure into a valid-looking candidate. The failure path determines guardrail effectiveness, not the check itself.

Show all 8 sources
Can individual components pass safety checks if the system still fails?

Three mechanisms across SafeFlow, ChannelGuard, and Honest Quorum show that passing local checks (plausibility, alignment, protocol compliance) does not prevent system failures. The gap persists because local checks verify different properties than those that determine safe end-to-end behavior.

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.

Can verifiers monitor reasoning without slowing generation down?

Decoupling verification from generation lets verifiers run alongside a single trace, forking to extract verifiable state and intervening only on violations. On correct runs the latency penalty is near-zero; interwhen matches or beats CoT across benchmarks at similar token budgets.

Papers this line draws on 8

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