FloorplanVLM: A Vision-Language Model for Floorplan Vectorization
Yuanqing Liu, Ziming Yang, Yulong Li, Yue Yang
TL;DR
FloorplanVLM reframes floorplan vectorization as image-conditioned sequence generation that outputs a structured JSON describing walls, openings, and rooms, enabling topology-aware, engineering-grade vector graphics. It couples a scalable data engine (Floorplan-2M and Floorplan-HQ-300K) with a three-stage training pipeline, culminating in Group Relative Policy Optimization (GRPO) to enforce strict geometric alignment and watertightness. On FPBench-2K, FloorplanVLM achieves an external-wall IoU of 0.9252 and strong generalization to non-Manhattan geometries, validating end-to-end sequence modeling for complex architectural layouts. The work also provides FPBench-2K as an open benchmark and demonstrates how data scale, structure-aware sampling, and RL-based geometric rewards together enable robust, scalable floorplan vectorization beyond traditional heuristics.
Abstract
Converting raster floorplans into engineering-grade vector graphics is challenging due to complex topology and strict geometric constraints. To address this, we present FloorplanVLM, a unified framework that reformulates floorplan vectorization as an image-conditioned sequence modeling task. Unlike pixel-based methods that rely on fragile heuristics or query-based transformers that generate fragmented rooms, our model directly outputs structured JSON sequences representing the global topology. This 'pixels-to-sequence' paradigm enables the precise and holistic constraint satisfaction of complex geometries, such as slanted walls and curved arcs. To support this data-hungry approach, we introduce a scalable data engine: we construct a large-scale dataset (Floorplan-2M) and a high-fidelity subset (Floorplan-HQ-300K) to balance geometric diversity and pixel-level precision. We then employ a progressive training strategy, using Supervised Fine-Tuning (SFT) for structural grounding and quality annealing, followed by Group Relative Policy Optimization (GRPO) for strict geometric alignment. To standardize evaluation on complex layouts, we establish and open-source FPBench-2K. Evaluated on this rigorous benchmark, FloorplanVLM demonstrates exceptional structural validity, achieving $\textbf{92.52%}$ external-wall IoU and robust generalization across non-Manhattan architectures.
