TL;DR
TLC-Plan is a novel generative model that directly synthesizes CAD-ready vector floorplans from input building boundaries, bypassing the error-prone rasterization steps used by previous methods. By employing a two-level VQ-VAE to separate global room layouts from local polygon geometries, it generates highly accurate, diverse, and structurally sound architectural designs end-to-end.
What Problem Does This Paper Address?
Automated floorplan generation is a classic spatial AI problem, but most existing deep learning approaches treat it as an image generation task. They output rasterized (pixel-based) floorplans that require messy, post-hoc vectorization heuristics to be useful in CAD software. This two-step process introduces structural artifacts—like misaligned walls, jagged corners, and overlapping rooms—and breaks end-to-end learning.
While some recent vector-based methods exist, they often rely on rigid constraints (like axis-aligned rectangles) or require explicit user-provided adjacency graphs. This limits their flexibility, making it difficult to generalize to complex, real-world building boundaries or to generate diverse layouts without heavy manual guidance.
Methods
The authors propose TLC-Plan, which mimics the human architectural workflow of macro-level planning followed by micro-level detailing.
- Hierarchical Representation (CodeTree): A floorplan is decomposed into a global layout (semantically labeled room bounding boxes) and local geometries (clockwise-ordered polygon vertices for each room).
- Two-Level VQ-VAE: The model trains two separate Vector-Quantized Variational Autoencoders. One learns a discrete codebook for room layouts, and the other learns a codebook for room polygons. To force the network to learn reusable design patterns rather than just memorizing shapes, the authors apply a masked reconstruction strategy (masking 30-70% of inputs during training).
- Autoregressive Generation: Given an input boundary polygon, a Transformer autoregressively predicts a unified "CodeTree" sequence. It first generates the layout codes, then the outer boundary, and finally the detailed polygon codes for each room. The output is a fully vectorized, topologically valid floorplan requiring zero post-processing.
Datasets
- RPLAN: The primary dataset used for training and evaluation, containing over 81,000 annotated residential layouts. The authors converted the original raster images into polygonal representations to train their vector-based pipeline.
- LIFULL: A dataset of ~10,800 Japanese residential floorplans. This was used to evaluate the model's ability to generalize to different architectural styles and a different room taxonomy (12 classes instead of RPLAN's 6).
Key Insights and Ideas
- Decoupling semantics from geometry works best: The authors found that removing room-type labels at the polygon decoding stage actually improved geometric accuracy. Because the layout-level codebook already captures the semantic structure (e.g., "this box is a kitchen"), the polygon codebook is free to focus purely on shape refinement.
- Masking prevents VQ-VAE memorization: By randomly masking inputs during codebook learning, the model is forced to learn abstract, reusable architectural patterns (like standard L-shaped rooms or common bathroom layouts) rather than overfitting to specific training examples.
- Implicit topology: Unlike previous graph-based methods, TLC-Plan doesn't need an explicit room adjacency graph. The autoregressive CodeTree naturally learns topological constraints just from the sequence of bounding boxes and polygons.
Key Results
- State-of-the-Art Visual Fidelity: On the RPLAN dataset, TLC-Plan achieved the best Fréchet Inception Distance (FID) of 1.84, beating both raster-based baselines (like MaskPLAN) and vector-based diffusion models (like GSDiff).
- High Geometric Precision: The model achieved incredibly low boundary violation metrics: a Mean Ratio of Gap (MRG) of just 0.71% and a Mean Ratio of Exceed (MRE) of 0.10%. This means the generated rooms fit snugly within the input boundaries without spilling over or leaving awkward empty spaces.
- Speed: It generates a complete vector floorplan in just 0.6 seconds, making it highly practical for interactive design tools.
- Diversity: A single input boundary can yield multiple structurally valid, distinct interior layouts via nucleus sampling.
Limitations and Future Work
- Extreme Complexity: The model struggles with highly irregular boundaries (e.g., >30 corners) or out-of-distribution shapes like slanted edges, which are rare in the Manhattan-world-heavy training data.
- Autoregressive Drift: Because the generation is sequential, local sampling errors can accumulate, occasionally leading to misplaced front doors or invalid room adjacencies.
- Dataset Bias: It sometimes generates unrealistic room counts for small units due to biases in the RPLAN dataset.
- Future Directions: The authors plan to incorporate richer conditioning (like text prompts or fixed structural elements), model finer interior details (doors, windows, furniture), and scale the approach to multi-floor buildings and city-scale urban layouts.
Summary updated