[Paper Review] Room Classification on Floor Plan Graphs using Graph Neural Networks
This paper proposes a graph neural network (GNN)-based approach to improve room classification in floor plans by modeling floor plans as undirected graphs, where rooms are nodes and adjacencies are edges. Using the House-GAN dataset, GraphSAGE and Topology Adaptive GCN achieved 81% and 80% accuracy respectively, outperforming MLP by over 15%, and demonstrated robustness to oversmoothing even with deeper architectures.
We present our approach to improve room classification task on floor plan maps of buildings by representing floor plans as undirected graphs and leveraging graph neural networks to predict the room categories. Rooms in the floor plans are represented as nodes in the graph with edges representing their adjacency in the map. We experiment with House-GAN dataset that consists of floor plan maps in vector format and train multilayer perceptron and graph neural networks. Our results show that graph neural networks, specifically GraphSAGE and Topology Adaptive GCN were able to achieve accuracy of 80% and 81% respectively outperforming baseline multilayer perceptron by more than 15% margin.
Motivation & Objective
- Address the challenge of room classification in floor plans without explicit semantic labels, leveraging structural relationships between adjacent rooms.
- Improve upon baseline methods like multilayer perceptrons (MLP) by exploiting graph-based relational inductive biases inherent in floor plan layouts.
- Investigate the performance and robustness of various GNN architectures—GCN, GAT, GraphSAGE, and TAGCN—on the room classification task using vectorized floor plans.
- Analyze the impact of network depth on GNN performance, particularly regarding the oversmoothing problem, and compare models in terms of their ability to capture relational inductive biases.
- Evaluate whether untrained GNNs can capture structural patterns in the graph, providing insight into model inductive biases before training.
Proposed method
- Represent each floor plan as an undirected graph, with rooms as nodes and adjacent rooms connected by edges based on spatial proximity.
- Extract node features from room bounding boxes, wall coordinates, door presence, and room categories, using geometric and structural properties as input features.
- Train multiple GNN architectures—GCN, GAT, GraphSAGE, and TAGCN—alongside a baseline MLP for node classification to predict room categories.
- Apply message passing mechanisms in GNNs to aggregate features from neighboring nodes, enabling relational reasoning across the graph structure.
- Use t-SNE visualization on node embeddings from untrained models to assess the inherent ability of each GNN to capture relational inductive biases.
- Evaluate model performance across varying depths (2 to 12 layers) to analyze robustness to oversmoothing, particularly comparing GraphSAGE and TAGCN with GCN and GAT.
Experimental results
Research questions
- RQ1Can graph neural networks significantly improve room classification accuracy compared to traditional MLP baselines when modeling floor plans as graphs?
- RQ2How do different GNN architectures (GCN, GAT, GraphSAGE, TAGCN) perform in terms of classification accuracy and robustness to depth on the room classification task?
- RQ3To what extent do GCN and GAT models capture relational inductive biases in the graph structure, as evidenced by node embedding visualization before training?
- RQ4Why do GraphSAGE and TAGCN maintain or improve performance with increasing depth, while GCN and GAT degrade, especially under deeper architectures?
- RQ5Can untrained GNNs reveal inherent structural inductive biases in the data, and how does this correlate with final model performance?
Key findings
- GraphSAGE and Topology Adaptive GCN (TAGCN) achieved 81% and 80% classification accuracy respectively, significantly outperforming the baseline MLP, which achieved less than 65% accuracy.
- The performance gap between GraphSAGE/TAGCN and MLP exceeded 15 percentage points, demonstrating the effectiveness of leveraging graph structure for room classification.
- GraphSAGE and TAGCN showed stable or improved performance with increasing network depth (up to 12 layers), indicating robustness to the oversmoothing problem.
- In contrast, GAT performance degraded with more layers, and GCN showed performance drops at 11–12 layers, suggesting susceptibility to oversmoothing.
- t-SNE visualization of untrained node embeddings revealed partial class clusters for bedroom, bathroom, and balcony in GraphSAGE and TAGCN, indicating strong inherent relational inductive bias.
- GCN and GAT showed no meaningful clustering in untrained embeddings, suggesting poor initial capture of relational structure, which correlates with their lower final performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.