MSD: A Benchmark Dataset for Floor Plan Generation of Building Complexes

Casper van Engelenburg, Fatemeh Mostafavi, Yuntae Jeon, Matthias Standfest, Jan van Gemert, Seyran Khademi

Abstract: Diverse and realistic floor plan data are essential for the development of useful computer-aided methods in architectural design. Today's large-scale floor plan datasets predominantly feature simple floor plan layouts, typically representing single-apartment dwellings only. To compensate for the mismatch between current datasets and the real world, we develop Modified Swiss Dwellings (MSD) -- the first large-scale floor plan dataset that contains a significant share of layouts of multi-apartment dwellings. MSD features over 5.3K floor plans of medium- to large-scale building complexes, covering over 18.9K distinct apartments. We validate that existing approaches for floor plan generation, while effective in simpler scenarios, cannot yet seamlessly address the challenges posed by MSD. Our benchmark calls for new research in floor plan machine understanding. Code and data are open.

Introduction: Moving Beyond the Box

Generating a floor plan is a high-stakes puzzle of spatial functionality, structural constraints, and human movement. While AI has made significant strides in automating this process, most existing research has focused on "toy" problems: single-apartment units with simple, axis-aligned (Manhattan-style) geometries. This creates a significant mismatch between current AI benchmarks and professional architectural practice. In the real world, buildings often consist of multiple interconnected apartments, irregular shapes, and strict structural constraints like shared staircases and load-bearing walls.

The Modified Swiss Dwellings (MSD) Dataset

To address this gap, we introduce the Modified Swiss Dwellings (MSD) dataset. Derived from the Swiss Dwellings (SD) dataset and rigorously cleaned, MSD represents a new frontier in floor plan machine understanding.

Representative multi-apartment floor plans from the MSD dataset, showcasing complex geometries and inter-unit connectivity.

MSD includes 5,372 floor plans of medium-to-large building complexes, encompassing over 18,900 distinct apartments. Compared to the widely used RPLAN dataset, MSD is significantly more "dense" and architecturally complex. For instance, MSD features an average of 8.68 corners per room compared to RPLAN's 5.04, and averages 3.52 units per floor compared to RPLAN's single-unit focus.

Typical single-unit layouts from the RPLAN dataset, which lack the structural and multi-apartment complexity of MSD.

Benchmarking Generative Models

To establish baselines for this new challenge, we adapted two dominant paradigms in generative design:

  1. Modified HouseDiffusion (MHD): A polygon-based approach that incorporates a Wall-Cross Attention (WCA) module. This allows the model to "see" the building's structural skeleton while iteratively denoising room polygons. It also utilizes a Graph Attention Network (GAT) to predict room types based on a zoning graph.
  2. Graph-informed U-Net (UN): A pixel-based segmentation approach that constrains the latent space using a Graph Convolutional Network (GCN) to encode topological relationships.

Key Insights and Results

Our benchmarking reveals that current state-of-the-art models struggle significantly with real-world architectural complexity:

  • Topology vs. Geometry: Models were surprisingly effective at maintaining the "logic" of the floor plan, with Graph Compatibility scores reaching up to 87.1%. However, visual accuracy (Mean Intersection-over-Union) was low, peaking at only 42.4%. This suggests models understand where rooms should go relative to each other but fail to define precise, feasible boundaries.
  • The "Manhattan" Bias: Existing models are heavily biased toward rectangular rooms. MSD’s inclusion of irregular, non-axis-aligned shapes proved to be a major stumbling block, often leading to infeasible layouts with overlapping rooms or gaps.
  • Structural Importance: The addition of the WCA module significantly improved visual quality, proving that generative models must be conditioned on a building's structural skeleton to produce realistic results.

Conclusion

The MSD benchmark demonstrates that floor plan generation is far from solved. Current models struggle with "unit connectivity"—the complex way different apartments share walls and corridors. Future research must move beyond simple 2D representations and integrate deeper architectural domain knowledge to ensure that generated spaces are not just statistically probable, but actually livable and structurally sound.

Summary updated

BibTeX
@inproceedings{engelenburg2024msd,
  author = {Casper van Engelenburg and Fatemeh Mostafavi and Yuntae Jeon and Matthias Standfest and Jan van Gemert and Seyran Khademi},
  title = {{MSD: A Benchmark Dataset for Floor Plan Generation of Building Complexes}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=RbVJ5Ac6l4},
}
Figure