[Paper Review] SSIG: A Visually-Guided Graph Edit Distance for Floor Plan Similarity
This paper proposes SSIG, a visually-guided graph edit distance that combines Intersection-over-Union (IoU) and Graph Edit Distance (GED) to measure structural similarity in floor plans. By fusing image-level and graph-level metrics, SSIG enables efficient, accurate ranking of large-scale floor plan databases, outperforming IoU and GED individually and matching learned methods in retrieval quality without requiring training.
We propose a simple yet effective metric that measures structural similarity between visual instances of architectural floor plans, without the need for learning. Qualitatively, our experiments show that the retrieval results are similar to deeply learned methods. Effectively comparing instances of floor plan data is paramount to the success of machine understanding of floor plan data, including the assessment of floor plan generative models and floor plan recommendation systems. Comparing visual floor plan images goes beyond a sole pixel-wise visual examination and is crucially about similarities and differences in the shapes and relations between subdivisions that compose the layout. Currently, deep metric learning approaches are used to learn a pair-wise vector representation space that closely mimics the structural similarity, in which the models are trained on similarity labels that are obtained by Intersection-over-Union (IoU). To compensate for the lack of structural awareness in IoU, graph-based approaches such as Graph Matching Networks (GMNs) are used, which require pairwise inference for comparing data instances, making GMNs less practical for retrieval applications. In this paper, an effective evaluation metric for judging the structural similarity of floor plans, coined SSIG (Structural Similarity by IoU and GED), is proposed based on both image and graph distances. In addition, an efficient algorithm is developed that uses SSIG to rank a large-scale floor plan database. Code will be openly available.
Motivation & Objective
- To address the limitations of existing metrics like IoU and GED in capturing holistic structural similarity in floor plans.
- To develop a simple, non-learning-based metric that robustly measures structural similarity by integrating image and graph representations.
- To enable efficient large-scale floor plan retrieval by combining the strengths of IoU and GED in a computationally efficient framework.
- To provide a strong baseline for evaluating floor plan generation and retrieval systems without relying on deep metric learning.
- To establish a task-agnostic, unified measure of floor plan similarity that compensates for individual metric failures.
Proposed method
- Proposes SSIG (Structural Similarity by IoU and GED), a hybrid metric that combines IoU for visual shape and overlap similarity with GED for topological and connectivity similarity.
- Uses IoU as a coarse initial filter to identify candidate floor plans, followed by GED for fine-grained structural comparison.
- Employs a two-stage ranking strategy: first rank via IoU to limit candidate set size, then compute SSIG on the top-n candidates for final ranking.
- Develops an efficient algorithm that computes SSIG in 1–5 seconds per query on a single CPU, significantly faster than GMN-based methods (1500s per query).
- Applies the SSIG-based ranking to the RPLAN dataset, demonstrating scalability and retrieval effectiveness.
- Uses a weighted combination of IoU and GED to compute SSIG, with the final score reflecting both spatial overlap and topological structure.

Experimental results
Research questions
- RQ1Can a simple, non-learning-based metric outperform IoU and GED individually in measuring structural similarity of floor plans?
- RQ2How do IoU and GED correlate on real-world floor plan data, and in what ways do they fail to capture structural similarity?
- RQ3Can combining image-level (IoU) and graph-level (GED) metrics produce a more robust and holistic similarity measure for floor plans?
- RQ4Is the proposed SSIG metric efficient and scalable enough for large-scale floor plan retrieval without deep learning?
- RQ5To what extent does SSIG improve retrieval quality compared to IoU-only, GED-only, and learned metric baselines?
Key findings
- IoU and GED are weakly correlated, indicating they capture different aspects of structural similarity and are not interchangeable.
- IoU is highly sensitive to geometric perturbations and fails to detect topological changes like door or wall removal, while GED ignores shape and scale changes.
- SSIG achieves retrieval results qualitatively comparable to state-of-the-art deep metric learning methods that use Graph Matching Networks (GMNs).
- The proposed algorithm computes SSIG in 1–5 seconds per query on a single CPU, making it 300x faster than GMN-based inference (1500s per query).
- For RPLAN, using top-50 IoU candidates for SSIG computation yields stable and high-quality retrieval results, with minimal improvement beyond n ≥ 50.
- SSIG effectively compensates for individual failures: cases with low IoU but high GED, or vice versa, are correctly ranked due to the fusion of both metrics.

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.