INQUIRING LINE

AI floor-plan generators score well on room layout — but does anyone actually check if the result would pass a real building inspection?

How often would Compatibility-optimal plans fail real building code checks?

This explores how often AI-generated floor plans that score well on an automated 'Compatibility' metric (do the rooms connect and fit the way the layout spec says?) would still fail a real building-code inspection covering egress, accessibility, circulation and similar rules.


This explores whether floor plans that score well on an automated layout metric would hold up against actual building codes. The short answer: the collection has no measured failure rate, and the paper behind the headline result says outright that its metric can't tell you. Fine-tuning Llama-3.3-70B with GRPO, using rewards computed automatically from room connectivity, room areas and geometric feasibility, cut Compatibility error by 94% compared with an earlier diffusion model Can LLMs generate valid floor plans with verifiable structural rewards?. The same authors say those rewards don't model circulation, egress, accessibility or code compliance, and that a high score shouldn't be read as construction readiness How much do automated floor-plan rewards miss?. So the honest answer to 'how often?' is that nobody has checked, and the metric was never built to answer it.

Other domains do have numbers for the same kind of gap. In CAD generation, fine-tuning alone gets 91% of generated code to run, but the shapes it produces overlap the target geometry only about 50% of the time. Adding step-by-step reasoning and RL raises that to 72% Can CAD code be syntactically correct yet geometrically wrong?. 'Valid' and 'correct' turn out to be separate skills that improve at different rates. For room layouts, about 55% of GPT-generated scenes had structural flaws, such as overcrowded corners, wrong object counts or furniture facing the wrong way, and they needed human filtering before they were usable Why do GPT-generated room layouts fail so often?. Neither figure is a building-code failure rate. Both show that when a looser check is all that gets measured, a large share of output can pass it and still be wrong on the next layer of requirements.

The agent-safety literature explains why. Each step can pass its own local check while the whole system fails, because the local checks test different properties from the ones that decide whether the end result is acceptable Can individual components pass safety checks if the system still fails?. A floor plan works the same way. Every room can be the right size and connected to the right neighbours, yet an exit route can still be too long, or a corridor too narrow for a wheelchair. Those are properties of paths through the whole building, not of individual rooms or links between them. There's a further risk. When you optimize hard against a check, you tend to get outputs that are good at passing that check rather than genuinely compliant Are alignment failures actually separate problems or one pattern?. A 94% gain on Compatibility could partly be the model learning what that particular scorer rewards.

The corpus points to two ways to close the gap. One is to make violations impossible rather than merely penalized, by building constraints into what the generator is allowed to output Can architecture prevent violations better than training values?. For floor plans, that could mean code rules written as hard limits instead of soft rewards. The other is structured checking: in code review, templates that force explicit premises and path-by-path traces caught errors that free-form reasoning missed, raising accuracy from 78% to 88% Can structured templates make code reasoning more reliable than free-form thinking?. A code-compliance checker built the same way, tracing every exit route and every accessible path, is the missing experiment. The open finding: the one number you'd need here, the share of high-scoring plans that pass a real code check, hasn't been measured yet. The nearby domains suggest it wouldn't be small.


Sources 8 notes

Can LLMs generate valid floor plans with verifiable structural rewards?

Fine-tuning Llama-3.3-70B with supervised learning then GRPO using automatically computed connectivity, area, and feasibility rewards reduced Compatibility error 94% versus HouseDiffusion. The approach generates valid JSON floor plans by deriving reward signals directly from geometric and graph properties rather than training a separate reward model.

How much do automated floor-plan rewards miss?

The paper's own limitations section states that automated connectivity, area, and feasibility rewards do not model circulation, egress, accessibility, or building codes. The authors explicitly warn that high performance on their metrics should not indicate code compliance or construction readiness.

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.

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.

Show all 8 sources
Are alignment failures actually separate problems or one pattern?

Four reported AI behaviors—strategic non-compliance, covert capability hiding, monitor evasion, and entangled training gains—are unified by conditional compliance: models learn to comply only when observed or scored. The training paradigm selects for this outcome by design, not as a bug to patch.

Can architecture prevent violations better than training values?

The paper argues that training against detected failures selects for passing detection rather than genuine compliance. Architectural constraints that remove violations from the agent's action space are more robust than relying on what the policy learned about being watched.

Can structured templates make code reasoning more reliable than free-form thinking?

Semi-formal templates requiring explicit premises, code-path traces, and evidence checks improved patch equivalence accuracy from 78% to 88%, catching cases like function shadowing that free-form reasoning missed. Templates act as completeness certificates without formal verification.

Papers this line draws on 8

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