FRI-Net: Floorplan Reconstruction via Room-Wise Implicit Representation

Honghao Xu, Juzhan Xu, Zeyu Huang, Pengfei Xu, Hui Huang, Ruizhen Hu

Introduction

Converting raw 3D point clouds into clean, vectorized 2D floorplans is a critical task for applications in AR/VR, robotics, and architectural modeling. Traditional approaches typically fall into two categories: corner-based methods, which often fail under noise or occlusion, and box-based methods, which are generally restricted to simple "Manhattan" layouts.

FRI-Net addresses these limitations by introducing a novel room-wise implicit representation. Instead of predicting local features like corners or edges, FRI-Net models rooms as an assembly of learned geometric lines. This global approach ensures that rooms are reconstructed as closed, geometrically regular polygons, even when input data is noisy or incomplete.

Conceptual overview of reconstructing floorplans from hyper-lines and room polygons.

Methodology

Pre-processing and Encoding

The pipeline begins by converting 3D point clouds into 2D representations. Rather than relying solely on top-down density maps, FRI-Net utilizes RANSAC to extract planes and generate a "height map." This preserves structural details that might be lost in standard density views.

The architecture employs a DETR-based transformer. A CNN backbone extracts spatial features, while a transformer encoder-decoder produces "room feature codes"—latent representations for each individual room in the scene.

The FRI-Net pipeline: from point cloud pre-processing to room-wise decoding.

Room-Wise Decoder and Shape Assembly

The core innovation lies in the room-wise decoder. For every room code, the decoder predicts a set of hyper-lines defined by the equation $ax + by + c = 0$. These lines are categorized into horizontal, vertical, and diagonal sets.

To form the final floorplan, the model groups these lines into convex primitives and merges them. Because the room boundaries are defined by the intersection of these predicted lines, the resulting shape is mathematically guaranteed to be a closed polygon with straight walls. This implicit geometry acts as a powerful regularizer, preventing the "wavy" or "broken" artifacts common in corner-based regression.

Training Strategy

The authors utilize a three-phase curriculum training strategy:

  1. Skeleton Training: Focuses on horizontal and vertical lines to establish a structural foundation.
  2. Diagonal Integration: Introduces diagonal lines to handle complex architecture.
  3. Fine-tuning: Optimizes the entire system to ensure "sharp," discretized outputs.

Evaluation and Results

FRI-Net was evaluated on two major benchmarks: Structured3D (synthetic indoor designs) and SceneCAD (RGB-D scans). The model demonstrated state-of-the-art performance across several metrics:

  • Accuracy: On Structured3D, FRI-Net achieved a 99.1% Room F1 score, surpassing previous leaders like RoomFormer (97.3%).
  • Geometric Precision: The "Angle F1" score, measuring wall orientation accuracy, jumped to 86.9% (compared to 81.2% for the previous best).
  • Robustness: In cross-dataset generalization tests (Structured3D → SceneCAD), FRI-Net maintained an 80.6 IoU, while competing models like HEAT dropped significantly to 52.5. This suggests that FRI-Net learns the underlying geometric "concept" of a room rather than memorizing dataset-specific noise.

Conclusion and Future Work

By shifting from explicit coordinate regression to an implicit line-based representation, FRI-Net provides a more robust and accurate solution for floorplan reconstruction. While the model currently faces challenges with very fine interior partitions (sometimes over-smoothing them) and carries some computational overhead due to its multi-phase training, it represents a significant step forward. Future research may extend this implicit line/plane logic to full 3D volumetric reconstruction.

Summary updated

BibTeX
@inproceedings{xu2024fri,
  author = {Honghao Xu and Juzhan Xu and Zeyu Huang and Pengfei Xu and Hui Huang and Ruizhen Hu},
  title = {{FRI-Net: Floorplan Reconstruction via Room-Wise Implicit Representation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73411-3\_1},
}
Figure