NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

End-to-End Graph-Constrained Vectorized Floorplan Generation with Panoptic Refinement

Jiachen Liu, Yuan Xue, José Pinto Duarte, Krishnendra Shekhawat, Zihan Zhou, Xiaolei Huang

Introduction

Automated floorplan generation is a critical intersection of computer vision and architectural design. While recent advancements have produced visually impressive results, most existing research focuses on generating rasterized images—grids of pixels that represent layouts. For professional architects, these raster outputs are often impractical; they are difficult to edit, frequently contain disconnected room fragments, and fail to respect strict geometric constraints like perfectly straight, axis-aligned walls.

Furthermore, many vectorized approaches have historically been "unconditional," generating random layouts rather than adhering to specific user requirements. This paper introduces a novel two-stage framework designed to generate high-fidelity, editable, and graph-constrained floorplans as vectorized data, transforming user-defined "bubble diagrams" into functional architectural layouts.

Methodology: A Two-Stage Generative Pipeline

The proposed system mimics the human architectural design process by splitting generation into a drafting phase and a polishing phase. This approach addresses the inherent limitations of autoregressive models, which often struggle with global coherence.

1. The Draft Stage

The process begins with a user-provided bubble diagram—a graph where nodes represent rooms or doors and edges represent desired connections or adjacencies.

  • Architecture: A Graph Convolutional Network (GCN) encodes the room connectivity requirements. This encoding is fed into an autoregressive Transformer (based on the GPT-1 architecture).
  • Generation: The model generates the layout "one room at a time," outputting a sequence of 1-D vectors that represent room bounding box coordinates $(x_{left}, y_{top}, x_{right}, y_{bottom})$.

2. The Panoptic Refinement Stage

Autoregressive models often suffer from "tunnel vision," where the placement of early rooms does not account for the spatial requirements of rooms generated later in the sequence. To correct this, the authors introduced the Panoptic Refinement Network (PRN).

  • Global Context: The PRN takes the entire draft sequence as input, using a secondary GCN and Transformer to evaluate the global context and "polish" the initial layout.
  • Geometric Loss: To ensure that rooms touch precisely as dictated by the connectivity graph, the framework employs a specialized differentiable loss function. By utilizing a "soft-argmax" strategy, the network can optimize for Intersection-over-Union (IoU) directly, ensuring geometric integrity and minimizing overlaps or gaps.

Data and Training

The model was trained using the RPLAN dataset, which contains over 80,000 real-world residential floorplans. To prepare the data for a vectorized pipeline, the researchers converted complex RPLAN polygons into rectangular bounding boxes. A rigorous filtering process was applied to remove "noisy" data, such as instances where doors were incorrectly placed inside rooms or where impossible spatial overlaps occurred during the vectorization process.

Key Insights

  • Vector Superiority: By predicting coordinates rather than pixels, the model guarantees architectural properties like axis-aligned walls and closed loops—elements that Generative Adversarial Networks (GANs) often struggle to maintain.
  • The Importance of Refinement: The two-stage approach acknowledges that a single-pass generation is insufficient for complex spatial reasoning. The "Panoptic" stage allows the model to fix errors made during the initial draft by viewing the house as a holistic unit.
  • Hybrid Sorting: The authors discovered that autoregressive stability is highly dependent on data ordering. Sorting rooms by their average spatial position (e.g., placing entrances first and doors last) significantly improved training convergence and output quality.

Experimental Results

The framework was evaluated against state-of-the-art baselines, including HouseGAN++ and LayoutTransformer, across several metrics:

  • Realism and Diversity: In user studies, both experts and amateurs ranked the model's outputs as more visually and functionally realistic. Additionally, the model achieved lower FID scores, indicating a higher diversity of valid designs for a given input.
  • Graph Compatibility: Using Graph Edit Distance (GED), the researchers demonstrated that their model is significantly more effective at respecting user-requested connections, achieving a score of 2.8 compared to HouseGAN++’s 3.5.
  • Efficiency: Despite the complexity of the two-stage architecture, the model maintains an inference speed of 4.22 FPS and consumes less memory than its raster-based competitors.

Limitations and Future Work

While the model represents a significant step forward, it currently focuses on rectangular room geometries. Real-world architecture often involves L-shaped rooms or non-standard polygons; the authors suggest that future iterations should move toward multi-edge polygon generation. Additionally, while the model excels at standard residential layouts (5-6 rooms), maintaining perfect connectivity becomes more challenging as the number of rooms increases to 8 or more. Future work may also involve deeper integration of "circulation spaces" (hallways) and functional constraints like plumbing adjacency to further align the tool with professional architectural standards.

Summary updated

BibTeX
@inproceedings{liu2022end,
  author = {Jiachen Liu and Yuan Xue and José Pinto Duarte and Krishnendra Shekhawat and Zihan Zhou and Xiaolei Huang},
  title = {{End-to-End Graph-Constrained Vectorized Floorplan Generation with Panoptic Refinement}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19784-0\_32},
}
Figure