TL;DR
This paper tackles the challenging problem of reconstructing complete 2D floorplans from sparse, incomplete 3D indoor panorama data. They introduce a novel "floorplan restoration" task and a Transformer-based architecture that can "hallucinate" missing rooms and doors, significantly improving upon existing methods.
What Problem Does This Paper Address?
The proliferation of 360-degree panorama cameras has led to vast collections of indoor imagery, particularly for real estate. While these panoramas offer immersive views, they are often sparse, with limited visual overlap between rooms and sometimes entirely missing rooms. This makes it difficult to automatically generate accurate, complete 2D floorplans, a crucial task for applications ranging from real estate listings to virtual reality. Existing methods struggle with this "hallucination" of invisible architectural elements. This paper aims to bridge this gap by developing a system that can infer and reconstruct these missing parts of a floorplan.
Methods
The core of the proposed solution is a "cascading Transformer decoder" architecture. The process begins with an encoder that uses Convolutional Neural Networks (CNNs) and a Transformer to process the input partial floorplan (derived from panoramas) into a set of latent vectors. These vectors are then fed into three cascaded Transformer decoders. Each decoder is responsible for reconstructing specific types of missing elements:
- Direct Invisible Room Decoder: Reconstructs rooms directly behind detected doors.
- Indirect Invisible Room Decoder: Reconstructs rooms that are not directly visible from the input panoramas.
- Invisible Door Decoder: Reconstructs missing doors.
This cascading approach allows the model to progressively build a more complete floorplan, leveraging information from previous stages. The system also incorporates a post-processing step using a generative model (House-GAN++) to refine the raster floorplan output into a cleaner, vector-graphics representation.
Datasets
The paper introduces a new benchmark dataset consisting of 701 single-floor apartments/houses with ground-truth vector-graphics floorplan images. The input partial floorplans are derived from either an "extreme Structure from Motion" system or by manually removing rooms that don't contain panorama centers from the ground truth. They also use a synthetic dataset derived from the RPLAN dataset for additional evaluation.
Key Insights and Ideas
- "Hallucination" as a Core Task: The paper frames the problem not just as reconstruction but as "hallucination" of invisible architectural elements, highlighting the creative inference required.
- Cascading Decoders for Progressive Reconstruction: The sequential nature of the Transformer decoders is crucial. It allows the model to build upon previously reconstructed elements, enabling the inference of more complex and distant missing structures.
- Transformer's Strength in Spatial Reasoning: The use of Transformers is key to handling the spatial relationships between rooms and doors, even when they are not directly visible in the input.
- Importance of Instance-Awareness: The ablation studies suggest that for certain components (like doors), an instance-unaware representation is more effective, indicating a nuanced understanding of how different architectural elements should be processed.
Key Results
The proposed method achieves state-of-the-art performance on their newly introduced floorplan restoration task.
- Quantitative: On their main benchmark, their method achieves the highest F1 scores for both rooms and doors compared to MAT, Mask-RCNN, and DETR. For example, on the "Extreme-SfM output" setting, their method achieves an F1 score of 38.9 for rooms and 15.9 for doors, outperforming competitors. Similar improvements are seen on the RPLAN dataset.
- Qualitative: The qualitative results (Figure 3) demonstrate the system's ability to generate plausible and complete floorplans, including the reconstruction of previously invisible rooms and doors. The post-processing refinement step significantly improves the visual quality of the output.
Limitations and Future Work
The authors acknowledge that their results are "not always satisfactory" and identify major failure modes:
- Missing rooms.
- Inaccurate room shapes, particularly for corridors.
- Inaccessible rooms without doors.
They hope their work will inspire further research towards an "ultimate extreme floorplan reconstruction system" capable of handling the vast amount of sparse panorama data available. They plan to release their code and data (except for the panorama images due to privacy concerns).
Summary updated