Architectural floor plan design demands joint reasoning over geometry, semantics, and spatial hierarchy, which remains a major challenge for current AI systems. Although recent diffusion and language models improve visual fidelity, they still struggle with coherent spatial reasoning and controllable generation. We present HouseMind, a multimodal large language model that unifies floor plan understanding, generation, and editing in one framework. We introduce discrete room-instance tokens to construct a unified vocabulary that bridges layouts and symbolic reasoning. With multimodal alignment and instruction tuning, the model synthesizes coherent, controllable layouts from text instructions. Experiments show how the framework achieves superior geometric validity and controllability while remaining efficient and locally deployable.
Figures & tables
Figure 2: Understanding : given a prompt, an outline, and an existing floor plan, the model outputs a textual description, a bubble diagram, and structured JSON capturing spatial semantics. Generation : given a prompt and an outline, the model produces a complete, coherent floor plan. Editing : given a prompt, an outline, and a reference floor plan, the model outputs an updated plan aligned with the editing intent.
Figure 3: Overall framework of HouseMind. The model is trained through a three-stage multimodal alignment and instruction tuning pipeline: (S1) Embedding Initialization establishes cross-modal compatibility between geometric and linguistic tokens; (S2) Multimodal Pre-training aligns text and spatial representations; and (S3) Instruction Tuning (SFT) enables task-aware spatial reasoning.
Table 2: Generation results. Micro/Macro IoU measure pixel-level overlap; SSIM [ 40 ] and PSNR quantify perceptual similarity; FID [ 6 ] and GED [ 30 ] evaluate distributional realism; Node F1 and Edge Overlap assess graph-level correctness. * denotes methods without released code; results are reproduced.
Method
Δ IoU
Δ MSE ↓
Micro IoU
Macro IoU
GED ↓
Node F1
Edge Ovl.
Time (s)
Before edit
–
–
0.880
0.821
3.06
0.934
0.740
–
FLUX.1-Kontext-dev
0.053
0.0162
0.289
0.185
8.91
0.765
0.222
∼ 240
Qwen-Image-Edit-2509
0.088
0.0074
0.567
0.429
7.96
0.915
0.426
∼ 240
HouseMind-E
0.608
0.0019
0.855
0.823
0.467
0.998
0.934
∼ 3
HouseMind-O
0.598
0.0022
0.844
0.813
0.653
0.997
0.908
∼ 3
Table 3: Editing results. Δ IoU and Δ MSE measure editing precision (spatial and pixel-level change correctness); Micro/Macro IoU assess final layout quality; GED evaluates distributional realism; Node F1 and Edge Overlap assess graph-level consistency.
Figure 4: Qualitative comparison results of understanding, generation, and editing. For understanding tasks (U), HouseMind accurately identifies the number of rooms and their connections. For generation tasks (G), HouseMind preserves both the room layout and the overall outline consistency; the generation prompts are provided in the supplementary materials. For editing tasks (E), HouseMind accurately executes the specified modifications when the instructions are explicit.
Model
Train Loss ↓
Eval Loss ↓
w/o Stage 1 & 2
0.0729
0.0836
w/o Stage 1
0.0659
0.0840
w/o Stage 2
0.0712
0.0831
Full
0.0644
0.0830
Table 4: Loss under different training-stage configurations.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure A.1 : VQ-VAE tokenization framework. The outline branch encodes the global boundary, while the conditional room branch encodes each room with outline context to capture spatial relations.
Ntokens
Codebook
PSNR
SSIM
4×4
256
20.003
0.911
4×4
512
22.188
0.946
4×4
1024
23.202
0.957
8×8
256
35.898
0.998
8×8
512
36.657
0.998
8×8
1024
37.053
0.998
Appendix
Table A.1 : Outline branch: PSNR (dB) and SSIM under different token grids and codebook sizes.
Ntokens
Codebook
PSNR
SSIM
4×4
256
31.896
0.994
4×4
512
33.106
0.995
4×4
1024
34.506
0.997
8×8
256
44.624
1.000
8×8
512
48.467
1.000
8×8
1024
51.769
1.000
Appendix
Table A.2 : Room branch: PSNR (dB) and SSIM under different token grids and codebook sizes.
Size
Ma. IoU
FID ↓
GED ↓
Node F1
Edge Ovl.
256
0.654
1.89
1.03
0.994
0.880
512
0.657
1.95
1.04
0.995
0.877
1024
0.657
1.97
1.00
0.994
0.881
Appendix
Table A.3 : Codebook size ablation study
Figure C.1 : Post-processing examples.
Metric
w/o Correction
w/ Correction
Micro IoU
0.710
0.710
Macro IoU
0.654
0.654
SSIM
0.887
0.887
PSNR
16.0
16.1
FID ↓
1.87
1.89
GED ↓
1.10
1.03
Appendix
Table C.1 : Impact of Structural Correction in HouseMind-O .
Figure D.1 : Result distribution across tasks. HouseMind-O maintains stable, high-performance distributions in understanding and generation, with the bimodal ΔIoU in editing mainly caused by unclear spatial instructions.
Figure D.2 : Pixel–structure coupling analysis. Scatter plots show the correlation between Macro IoU and Edge Overlap for three generation paradigms.
Figure F.1 : Results of HouseMind on out-of-distribution cases.