Abstract
HouseDiffusion is a novel generative framework that produces vector-graphics floorplans directly from room-connectivity graphs (bubble diagrams). By utilizing a Transformer-based diffusion model with a hybrid discrete-continuous denoising objective, it generates geometrically precise layouts that significantly outperform previous state-of-the-art GAN-based methods in diversity, realism, and architectural compatibility.
Introduction
Generating floorplans automatically is a core challenge in architectural design. Historically, researchers have relied on raster-based models, such as GANs, which represent rooms as pixel masks. However, these models suffer from significant flaws: vectorization artifacts like "jagged" boundaries, frequent violations of input graph constraints, and geometric imprecision where walls fail to align perfectly. HouseDiffusion addresses these by moving the entire process into the vector domain, treating floorplans as sets of 1D polygonal loops (corners and edges) rather than images.
Methods
The core of HouseDiffusion is a diffusion model that learns to reverse the process of adding Gaussian noise to vector coordinates.
Hybrid Denoising Objective
The model's primary innovation is a dual-branch denoising objective. It simultaneously predicts a continuous noise estimate to invert the diffusion process and the final 2D coordinates as 8-bit binary numbers. This discrete branch encourages the model to "snap" corners to exact integer values, facilitating shared walls and perfect orthogonality—a critical requirement for architectural realism.
Specialized Transformer Architecture
The model utilizes a Transformer architecture to process every corner of every room. To manage complex spatial relationships, it employs three types of attention:
- Component-wise Self Attention (CSA): Focuses on corners within the same room to maintain shape.
- Global Self Attention (GSA): Enables global layout reasoning across all corners.
- Relational Cross Attention (RCA): Constrains attention based on the input bubble diagram, ensuring that only rooms with functional connections (e.g., shared doors) interact.
Results and Evaluation
HouseDiffusion was evaluated on the RPLAN dataset (60,000 residential plans) and a new Non-Manhattan RPLAN benchmark designed to test non-rectilinear structures.
Key Metrics
Compared to the previous state-of-the-art, House-GAN++, HouseDiffusion achieved:
- Diversity: A 67% improvement in FID, indicating a significantly wider variety of valid layouts.
- Compatibility: A 32% improvement in matching input bubble diagrams, with fewer missing or extraneous architectural elements.
- Realism: In a blind user study, HouseDiffusion results were judged as realistic as ground-truth plans 81% of the time.
Conclusion
By adopting a vector-first approach and a hybrid denoising objective, HouseDiffusion overcomes the limitations of raster-based floorplan generation. The "discrete snapping" effect ensures architectural precision, while the relational attention mechanisms maintain high fidelity to input constraints. Future work will explore scaling these methods to larger commercial structures and integrating 3D structural constraints.
Summary updated