All models

GSDiff (Graph-Structural Diffusion)

Diffusion and Transformer model that generates vector floorplans as graphs of wall junctions and wall segments.

Diffusion and generative · 1,262 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (12 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
29.1M
Operations
1,262
Framework
PyTorch
Recurrent
No
Published
AAAI 2025
Cited by
9 (as of 28 October 2026)
Authors
Sizhe Hu, Wenming Wu, Yuntao Wang and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16969
Graph hash
250a2366967cf6091bc33029e1fd28340b615a76449e4e38100309943f8de18b
Skeleton hash
6c797c7567aa84c501adce659a1357c9e3f30333fd788e7e8e4aeffb6822dc2d
Architecture hash
e0fb720689b7eec1b7363f753b1f4f15037d705f8e909bd90c33004cc3189296
Diagram SHA-256
fd50c331bdcab9825485036e3352286f59ba18cd1a833e7ea824bec0be0d5868
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

GSDiff generates architectural floorplans in vector form by building a structural graph, focusing on wall junction generation and wall segment prediction. The paper sets this against earlier rule-based and learning-based methods, which it says need extensive post-processing and tend to produce misalignment, overlap and gaps. The framework employs a diffusion model and a Transformer model, and it produces wall junctions, wall segments and room polygons with structural and semantic information.

The paper proposes two geometry enhancement methods. For wall junction generation the authors add an alignment loss function to improve geometric consistency, and for wall segment prediction they add a random self-supervision method to improve the model's perception of the overall geometric structure. The released code has test scripts for no constraints, topology constraints and boundary constraints, and the model on this page is the unconstrained one. Its structural graph data is extracted from the RPLAN dataset and split into 65,763 train, 3,000 val and 3,000 test files.

Key idea. GSDiff generates vector floorplans as structural graphs through wall junction generation and wall segment prediction, adding an alignment loss and random self-supervision to improve geometric consistency.

  • GSDiff
  • graph-structural diffusion
  • floorplan generation
  • vector floorplan
  • structural graph generation
  • wall junction generation
  • architectural floorplan design
  • floorplan diffusion model
  • RPLAN

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{hu2024gsdiffsynthesizingvectorfloorplans,
      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},
      primaryClass={cs.GR},
      url={https://arxiv.org/abs/2408.16258}, 
}