# Adversarial Procedural Modeling: Learning Programs for Building Interiors

> APM uses coding agents to write a reusable probabilistic program for furnished homes; a second program checks constraints and batch statistics. On 1,000 single-story briefs, it produced 99.1% valid floor plans and averaged 0.39 minutes to sample each home, excluding program development.

- arXiv: https://arxiv.org/abs/2611.40922
- Authors: Fedor Rodionov, Christian Stippel, Michael Birsak, Florian Rist, Ivan Viola, John Femiani, Peter Wonka
- Published: 2026-12-01
- Topic: Generative models
- Visual carousel: https://instaxiv.com/p/2611.40922
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can AI write a generator for entire homes?

**>450× faster** per-home sample time vs Infinigen, same briefs

## Make the generator, not each scene

**Scene-by-scene agents:** Related agentic systems such as SceneSmith construct individual 3D scenes, making each scene the unit of design.

**APM's reusable output:** APM's Generator Agent writes a reusable probabilistic program; random seeds produce different interiors, and the saved code samples them without further LLM calls.

Language-model cost is paid during development, then amortized across generated homes.

## Two programs, one revision loop

![Figure 1](https://cdn.instaxiv.com/figures/2611.40922/figure1.webp)

The Generator Agent revises a probabilistic G-program; the Discriminator Agent codes scene checks and compares batch statistics with reference data. Provenance links failures to construction histories; the Orchestrator directs revisions. (Figure 1)

## A batch can reveal what one scene cannot

1. **Check individual scenes**: Hard constraints such as access must hold in every completed home; ordinary checks can vary and are assessed across the batch.
2. **Compare the batch**: Across random seeds, compare room areas, room counts, or object-presence rates with reference data to expose repeated patterns.
3. **Revise the right program**: Revise G when generated patterns are wrong; revise D when checks miss or mislabel problems, then evaluate another batch.

## Provenance turns a collision into code to inspect

![Figure 2](https://cdn.instaxiv.com/figures/2611.40922/figure2.webp)

An overlap check links the stove and counter to their placement commands, source lines, and kitchen function. Provenance locates code, not every data dependency. (Figure 2)

## APM leads on measured quality; ProcTHOR samples faster

| Method | Valid plans (%) | Mean hard-check pass (%) | Colliding objects (%) | Min/home |
| --- | --- | --- | --- | --- |
| ProcTHOR (n=1,000) | 33.4 | 65.9 | 3.69 | 0.33 |
| Infinigen Indoors (n=1,000) | 73.9 | 60.8 | 6.39 | 178.4 |
| Holodeck Qwen3.8-27B (n=826) | 76.5 | 64.3 | 2.97 | 17.2 |
| Holodeck Gemma-4-31B (n=778) | 82.0 | 57.8 | 5.25 | 22.4 |
| **APM (ours, n=1,000)** | **99.1** | **99.5** | **0.36** | **0.39** |

_Same 1,000 single-story briefs; inputs vary. n=delivered homes, scores are means over them. Time includes failed attempts; hardware varies._

## In one run, richer feedback raised pass rates

**No D-program feedback:** After 10 revisions, 32.7% of completed homes passed every hard constraint. Without D-program results, the generator could inspect scenes but received no checks, batch statistics, or traces.

**Feedback with traces:** With full feedback and traces, 84.6% passed; keeping D-program revisions but removing traces reached 50.0%. All variants began at s00 and ran once on the same 300 development seeds.

Checks exposed geometric and functional defects that the original task requirements did not name.

## Same briefs, shared rendering rules

![Figure 4](https://cdn.instaxiv.com/figures/2611.40922/figure4.webp)

Rows compare ProcTHOR, Infinigen Indoors, Holodeck, and APM on the same brief under common lighting and camera rules; SceneSmith and MolmoSpaces are author-released scenes. (Figure 4)

## Participants preferred APM over Infinigen Indoors

**Blinded visual study:** Across 35 volunteers, blinded top-down pairs covered 100 shared briefs per baseline under one rendering pipeline; the prompt asked which looked more like a real, lived-in home.

**70.4% preferred APM:** Excluding 'equal,' 70.4% of human judgments favored APM over Infinigen Indoors (95% Wilson CI: [64.0, 76.1]).

## What these results do not establish

- **Tested building scope**: The main comparison uses 1,000 single-story briefs in Swiss, Finnish, and US styles; performance on multi-story homes is not established.
- **Visual preference**: Thirty-five volunteers judged one top-down render per home for lived-in realism; ties were allowed, so preference is not a functional check.
- **Sampling is not development**: The 0.39 min/home is sampling only; setup and one-time program learning are excluded. Infinigen used a reduced fast_solve setting.

Best used when: Best when many interiors must meet explicit constraints and match batch statistics from suitable reference data.

## Key takeaways

- The system's output is a reusable stochastic generator, rather than a separate LLM-written scene for every home.
- Use explicit constraints and reference statistics when generating many varied interiors; each sampled scene then needs no LLM call.
- Open question: will provenance-guided revision generalize beyond the tested single-story styles?

## Links

- arXiv: https://arxiv.org/abs/2611.40922
- PDF: https://arxiv.org/pdf/2611.40922
- Project page: https://olddelorean.github.io/APM/

## Citation

```bibtex
@article{rodionov2026adversarial,
  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 arXiv:2611.40922},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.40922}
}
```
