APMProject page

Adversarial Procedural
Modeling:

Learning Programs for Building Interiors

Fedor Rodionov1 Christian Stippel2 Michael Birsak1 Florian Rist1,2 Ivan Viola1 John Femiani3 Peter Wonka1

1King Abdullah University of Science and Technology (KAUST) 2TU Wien 3Miami University

Cutaway of a two-storey home and views from its kitchen, living room, bathroom and bedroom.
Figure S1A home generated by the learned G-program, from floor plan to furniture and decoration. The icons locate the four interior cameras.
Overview

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.

Figure S2A recorded home with its scene state and source-level provenance. The cutaway and build replay do not change the saved G-program.

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

Kitchens and bedrooms from ProcTHOR, Infinigen Indoors, Holodeck, SceneSmith, MolmoSpaces and APM.
Figure S3Kitchens and bedrooms rendered with the same lighting and camera rules. ProcTHOR, Infinigen Indoors, Holodeck and APM share the brief within each row; the other methods show released scenes.Full size ↗

Complete-scene generation

Means over homes. The hard-constraint column gives the percentage of checks passed per home, averaged over homes.

Table S1
BestSecondThird
Table S1. Complete-scene generation. Arrows show the preferred direction of each metric.
MethodNFloor planConstraintsAdherencePlausibility#ObjCost / home
Valid % ↑Reach % ↑Hard constr. % ↑Types % ↑Graph % ↑Area ↓ACC % ↑NAV % ↑COL % ↓OOB % ↓$ ↓min ↓
(a) Released scenes
SceneSmith3190.3100.077.5------94.997.38.120.20214.113.98*206*
MolmoSpaces63684.4100.067.2------96.099.612.570.23159.5n/an/a
(b) Same briefs · 1,000 single-storey homes
ProcTHOR100033.496.165.9100.01.72.1%98.799.83.690.0273.40†0.33
Infinigen Indoors100073.998.860.8100.097.02.6%90.896.36.391.51143.90178.4
Holodeck (Qwen3.8-27B)82676.589.764.397.8n/a57.0%97.799.22.970.1087.30†17.2
Holodeck (Gemma-4-31B)77882.093.157.899.7n/a29.7%97.899.25.250.1493.20†22.4
APM (ours)100099.1100.099.5100.099.70.0%99.699.70.360.0088.800.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.

Video S5Seven recorded homes. Landscape, roofs, wall finishes, the build animation and the camera are presentation choices.

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 specification feeding a Generator Agent, a Discriminator Agent and an Orchestrator Agent; the G-program produces scenes, the D-program checks them, and a failed check is traced back to the generator code.
OverviewThe Generator Agent writes and revises a probabilistic G-program, which produces batches of scenes from different random seeds. The Discriminator Agent develops a D-program that checks individual scenes and compares batch statistics with reference data. The green arrows show how a failed clearance check leads from the affected element back to the generator code. Bottom: rendered examples, which the orchestrator may inspect with a vision-capable model.Full size ↗
  1. Task specificationDesign constraints, reference data, an asset catalogue and scene types define what to generate.
  2. Generator AgentWrites and revises the G-program, a probabilistic program that turns each random seed into a complete scene.
  3. Discriminator AgentWrites the D-program: checks on single scenes, such as reachability and clearances, and comparisons of batch statistics with the reference data.
  4. 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.
  5. 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.

Required rooms and connections, room geometry, furnished home, and a sofa’s provenance record.
Figure S4From spaces and connections (a), to walls and openings (b), to furniture and decoration (c). Room colours match across panels. The sofa record (d) links its placement command to a source line.Full size ↗

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.

A stove and counter overlap traced through placement commands to generator code.
Figure S5An overlap (a), the two placement commands (b) and the source lines available for revision (c). Colours follow each object across panels. This is execution provenance, not complete data-flow tracking.Full size ↗

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