
We learn a program that can be sampled repeatedly to produce furnished homes. The Generator Agent revises this G-program; the Discriminator Agent writes checks and compares batch statistics with reference data. Language-model calls are made during development, not when sampling a home.
01 / Interactive
Home explorer
Select a room or object. State shows its record and Program the source line that created it. Use Top to read the layout or Build to replay construction.
02 / Results
Comparisons
ProcTHOR, Infinigen Indoors and Holodeck were given briefs sampled for 1,000 single-storey homes. SceneSmith and MolmoSpaces are evaluated on scenes released by their authors.
Side by side
APM is on the left. Red marks identify failed hard constraints. These pairs illustrate failures, not their frequency.
Comparison films

Complete-scene generation
Means over homes. The hard-constraint column gives the percentage of checks passed per home, averaged over homes.
| Method | N | Floor plan | Constraints | Adherence | Plausibility | #Obj | Cost / home | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Valid % ↑ | Reach % ↑ | Hard constr. % ↑ | Types % ↑ | Graph % ↑ | Area ↓ | ACC % ↑ | NAV % ↑ | COL % ↓ | OOB % ↓ | $ ↓ | min ↓ | |||
| (a) Released scenes | ||||||||||||||
| SceneSmith | 31 | 90.3 | 100.0 | 77.5 | -- | -- | -- | 94.9 | 97.3 | 8.12 | 0.20 | 214.1 | 13.98* | 206* |
| MolmoSpaces | 636 | 84.4 | 100.0 | 67.2 | -- | -- | -- | 96.0 | 99.6 | 12.57 | 0.23 | 159.5 | n/a | n/a |
| (b) Same briefs · 1,000 single-storey homes | ||||||||||||||
| ProcTHOR | 1000 | 33.4 | 96.1 | 65.9 | 100.0 | 1.7 | 2.1% | 98.7 | 99.8 | 3.69 | 0.02 | 73.4 | 0† | 0.33 |
| Infinigen Indoors | 1000 | 73.9 | 98.8 | 60.8 | 100.0 | 97.0 | 2.6% | 90.8 | 96.3 | 6.39 | 1.51 | 143.9 | 0 | 178.4 |
| Holodeck (Qwen3.8-27B) | 826 | 76.5 | 89.7 | 64.3 | 97.8 | n/a | 57.0% | 97.7 | 99.2 | 2.97 | 0.10 | 87.3 | 0† | 17.2 |
| Holodeck (Gemma-4-31B) | 778 | 82.0 | 93.1 | 57.8 | 99.7 | n/a | 29.7% | 97.8 | 99.2 | 5.25 | 0.14 | 93.2 | 0† | 22.4 |
| APM (ours) | 1000 | 99.1 | 100.0 | 99.5 | 100.0 | 99.7 | 0.0% | 99.6 | 99.7 | 0.36 | 0.00 | 88.8 | 0 | 0.39 |
Table notes
* SceneSmith reports cost and time per room-level scene, not per house. † Local GPUs or paid API calls are required and not included. Sampling time includes failed attempts but excludes setup, evaluation, rendering and the one-time cost of learning the G-program. Holodeck’s rows average over the subset of briefs for which it delivered a home.
03 / Island
Homes on an island
Every home begins as a graph of rooms and their connections. The film replays how the G-program turns that graph into walls, roofs and furnished rooms, then walks through one of the results.
04 / Approach
The learning loop
Coding agents learn a program, not a scene. Language-model calls happen while the program is developed; sampling a home afterwards needs none.

- Task specificationDesign constraints, reference data, an asset catalogue and scene types define what to generate.
- Generator AgentWrites and revises the G-program, a probabilistic program that turns each random seed into a complete scene.
- Discriminator AgentWrites the D-program: checks on single scenes, such as reachability and clearances, and comparisons of batch statistics with the reference data.
- Trace backEvery element is recorded with the command and source line that created it, so a failed check leads straight to the code to revise.
- Orchestrator AgentChooses the next revision from the check results, selected visual reviews and optional user feedback.
05 / Method
How a home is made
A brief specifies rooms, target areas and required connections. The G-program constructs the architectural program, then the layout, furnishing and decoration.
From a failed check to a source line
When a stove overlaps a counter, the scene records identify both placement commands. Each points to its emitting source line and the calling function that supplied the arguments.
06 / Generated homes
Ten more examples
Single-story homes sampled from the G-program evaluated in the paper. Each film follows its camera around the furnished rooms.
07 / Citation
BibTeX
The arXiv identifier will be added when the preprint is public.
@article{rodionov2026apm,
title = {Adversarial Procedural Modeling: Learning Programs for Building Interiors},
author = {Rodionov, Fedor and Stippel, Christian and Birsak, Michael and Rist, Florian and
Viola, Ivan and Femiani, John and Wonka, Peter},
journal = {arXiv preprint},
year = {2026}
}