GSDiff: Synthesizing Vector Floorplans via Geometry-enhanced Structural Graph Generation

Sizhe Hu, Wenming Wu, Yuntao Wang, Benzhu Xu, Liping Zheng
8/29/2024
cs.GRcs.CV

Official code: SizheHu/GSDiff (32 stars, GPL-3.0, last commit 2026-04-04).

Abstract

Automating architectural floorplan design is vital for housing and interior design, offering a faster, cost-effective alternative to manual sketches by architects. However, existing methods, including rule-based and learning-based approaches, face challenges in design complexity and constrained generation with extensive post-processing, and tend to obvious geometric inconsistencies such as misalignment, overlap, and gaps. In this work, we propose a novel generative framework for vector floorplan design via structural graph generation, called GSDiff, focusing on wall junction generation and wall segment prediction to capture both geometric and semantic aspects of structural graphs. To improve the geometric rationality of generated structural graphs, we propose two innovative geometry enhancement methods. In wall junction generation, we propose a novel alignment loss function to improve geometric consistency. In wall segment prediction, we propose a random self-supervision method to enhance the model's perception of the overall geometric structure, thereby promoting the generation of reasonable geometric structures. Employing the diffusion model and the Transformer model, as well as the geometry enhancement strategies, our framework can generate wall junctions, wall segments and room polygons with structural and semantic information, resulting in structural graphs that accurately represent floorplans. Extensive experiments show that the proposed method surpasses existing techniques, enabling free generation and constrained generation, marking a shift towards structure generation in architectural design. Code and data are available at https://github.com/SizheHu/GSDiff.

View on arXivView PDF

Code Implementations(1)

SizheHu/GSDiffOfficial100%
GPL-3.0

Official implementation of the AAAI 2025 paper: "GSDiff: Synthesizing Vector Floorplans via Geometry-enhanced Structural Graph Generation"

328PythonDec 16, 20246 months agoGPL-3.0

Similar Papers

Cite this paper

@article{hu2024gsdiff,
  title  = {GSDiff: Synthesizing Vector Floorplans via Geometry-enhanced Structural Graph Generation},
  author = {Sizhe Hu and Wenming Wu and Yuntao Wang and Benzhu Xu and Liping Zheng},
  year   = {2024},
  eprint = {2408.16258},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.16258v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.16258.svg)](https://codeofpaper.com/paper/2408.16258)

Discussion