Skip to main content
QUICK REVIEW

[Paper Review] Deep Floor Plan Recognition Using a Multi-Task Network with Room-Boundary-Guided Attention

Zhiliang Zeng, Xianzhi Li|arXiv (Cornell University)|Aug 29, 2019
Video Surveillance and Tracking MethodsComputer Science23 references18 citations
TL;DR

This paper proposes a multi-task deep neural network with a room-boundary-guided attention mechanism to improve floor plan element recognition, including walls, doors, windows, and room types. By leveraging spatial context through attention and a cross-and-within-task weighted loss, the model achieves state-of-the-art performance on new benchmark datasets, significantly outperforming prior methods in overall accuracy and class-wise Fβ scores.

ABSTRACT

This paper presents a new approach to recognize elements in floor plan layouts. Besides walls and rooms, we aim to recognize diverse floor plan elements, such as doors, windows and different types of rooms, in the floor layouts. To this end, we model a hierarchy of floor plan elements and design a deep multi-task neural network with two tasks: one to learn to predict room-boundary elements, and the other to predict rooms with types. More importantly, we formulate the room-boundary-guided attention mechanism in our spatial contextual module to carefully take room-boundary features into account to enhance the room-type predictions. Furthermore, we design a cross-and-within-task weighted loss to balance the multi-label tasks and prepare two new datasets for floor plan recognition. Experimental results demonstrate the superiority and effectiveness of our network over the state-of-the-art methods.

Motivation & Objective

  • To address the challenge of recognizing diverse floor plan elements—such as walls, doors, windows, and room types—beyond simple segmentation.
  • To model hierarchical relationships among floor plan elements and exploit spatial dependencies for improved semantic understanding.
  • To develop a deep learning framework that jointly predicts room boundaries and room types while preserving spatial context.
  • To create two new, comprehensive datasets with fine-grained annotations for floor plan elements and room types.

Proposed method

  • Designs a multi-task network with two primary tasks: predicting room-boundary elements and classifying room types using shared encoder-decoder features.
  • Introduces a spatial contextual module with room-boundary-guided attention to enhance feature representation by focusing on relevant structural boundaries.
  • Employs direction-aware convolutional kernels within the spatial contextual module to capture spatial relationships in multiple directions.
  • Applies a cross-and-within-task weighted loss function to balance class imbalance and optimize performance across both tasks.
  • Utilizes VGG-based encoders and decoders for feature extraction and refinement, with skip connections to preserve spatial details.
  • Preprocesses and constructs two new datasets by combining existing data with newly collected floor plans, annotated with detailed labels for elements and room types.

Experimental results

Research questions

  • RQ1Can a multi-task learning framework effectively improve recognition of diverse floor plan elements by sharing features across related tasks?
  • RQ2How does incorporating room-boundary-guided attention enhance the accuracy of room-type classification?
  • RQ3To what extent does the cross-and-within-task weighted loss improve training stability and performance on imbalanced multi-label segmentation tasks?
  • RQ4Can a spatial contextual module that leverages structural boundaries outperform standard segmentation networks in floor plan understanding?
  • RQ5How does the proposed method generalize across complex layouts with non-uniform walls, curved structures, and irregular junctions?

Key findings

  • The proposed network achieves an overall accuracy of 0.89 and an average class accuracy of 0.80 on the R3D dataset, outperforming both baseline models.
  • The ablation study confirms that the full spatial contextual module with both attention and direction-aware kernels yields the best performance, improving average class accuracy by 3% over the no-attention variant.
  • The multi-task network with shared features and the spatial contextual module significantly improves performance over single-task baselines, demonstrating the benefit of feature sharing and context modeling.
  • The cross-and-within-task weighted loss effectively balances losses across and within tasks, contributing to improved convergence and generalization.
  • The method successfully recognizes complex structural elements such as non-uniform thickness walls, curved walls, and irregular junctions, as shown in qualitative results.
  • The framework enables accurate 3D reconstruction of floor plans, including curved and irregular room boundaries, demonstrating its practical utility in architectural modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.