arXiv:2610.17178cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17178

ModRes: A modification of the ResPlan dataset ready for floor plan analysis and graph machine learning

Emma Shelley, Wassim Jabi, Thomas Woolley, Katerina Kaouri

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Emma Shelley

School of Computational and Mathematical Sciences

Cardiff University

Cardiff

shelleye@cardiff.ac.uk

Thomas Woolley

School of Computational and Mathematical Sciences

Cardiff University

Cardiff

woolleyt1@cardiff.ac.uk

Wassim Jabi

Welsh School of Architecture

Cardiff University

Cardiff

jabiw@cardiff.ac.uk

Katerina Kaouri

School of Computational and Mathematical Sciences

Cardiff University

Cardiff

kaourik@cardiff.ac.uk

ABSTRACT

Floor plan datasets underpin computational analysis of building layouts, spatial connectivity and graph machine learning. However, publicly available datasets often require substantial preprocessing before they can be used reliably. We present ModRes, a cleaned and enriched version of the ResPlan dataset, containing 8,431 valid and unique residential floor plans. Invalid and duplicate floor plans are removed through a dedicated cleaning workflow, producing a ready-to-use dataset. For each floor plan, ModRes provides two-dimensional geometry, images, three-dimensional building representations and three complementary dual graphs in CSV and JSON formats with graph-, node- and edge-level features. Continuous and categorical graph attributes support machine learning workflows. We characterise the dataset using graph-based statistics and demonstrate its utility through a range of case studies. ModRes provides structured geometric, topological and semantic representations needed to automate spatial analysis and support machine learning-based workflows for building design and performance evaluation.

Keywords Floor plan dataset · Graph Machine Learning · Spatial analysis · TopologicPy

1 Introduction

Floor plans provide a geometric representation of an indoor environment, showing the structure of, and spatial relationships between, architectural spaces. Floor plans typically show features such as rooms, walls, and doors, and how these features are arranged and connected to each other. Floor plans are widely used across a range of fields, including architecture [1], real estate, spatial analysis [2], and robotics [3]. Floor plans provide a concise representation of a building's layout, making them valuable for design, analysis, and automated processing across these fields.

Spatial analysis techniques are widely used to evaluate how the layout of a building affects accessibility, visibility within the building and occupant behaviour [4, 5]. These techniques can be used to improve the functionality of a built environment. For example, when designing a shop, spatial analysis can be useful to ensure there is high visibility throughout the shop so that more products are seen by customers.

An example of spatial analysis techniques is space syntax, in which floor plans are represented as a network that captures spatial relationships between different areas of a building, allowing researchers to evaluate how people may move through a building [6]. For example, space syntax could be utilised when designing an office building, to ensure meeting rooms are in an area of the building with high footfall. Furthermore, visibility within a building can be evaluated using isovist analysis, which measures the total area visible from different points in the building [7]. Isovist analysis helps to

guest roomkitchenbedroom 1
dinning room
living roomwashroom
bedroom 2

(a) Planar graph

Figure

(b) Dual graph

Figure 1: The planar (primary) and dual graph of a floor plan. Source: [14].

analyse the openness of a floor plan, which can be useful when designing a building where visibility is a key design objective. For example, buildings where privacy and confidentiality are important, such as government buildings, would benefit from lower visibility values whereas buildings where collaboration and supervision are essential, such as an emergency department, require higher visibility values.

More recently, due to advances in machine learning techniques, there is an increased interest in automated floor plan analysis [8]. Because of this interest, there is demand for large-scale floor plan datasets, which can be used for computational analysis, or training machine learning models. Floor plan datasets have been used for a range of applications, such as building and room classification [9] and accessibility analysis [10]. Unlike other fields such as healthcare, the architecture, engineering and construction (AEC) sector lacks publicly available datasets, as floor plans are often not publicly released due to confidentiality risks. We address this lack of datasets in this paper, by presenting a preprocessed, publicly available dataset that is ready for use. This dataset is a cleaned and processed version of ResPlan [11].

Floor plan datasets can also be used in Graph Machine Learning (GML) [12]. GML is a branch of machine learning that works on structured data, where data points are represented by nodes, and their connections are shown by edges. Unlike traditional machine learning methods, GML methods extract relationships between different parts of the graph, instead of regarding them as separate entities. In the context of floor plans, a building can be represented as a graph. The primary (or planar) graph of a floor plan has edges that correspond to the walls of the building, and nodes representing the intersections between walls [13]. The dual graph, which we use in this work, has nodes representing architectural components such as rooms and doors, and edges representing relationships between these components (see Figure 1) [14].

Graph neural networks can then be trained for a range of tasks, such as building classification [15] or estimating energy usage [16]. Representing floor plans as dual graphs allows machine learning methods to focus on the structure and connectivity of a building, instead of relying on the building's full geometry, which can be a more computationally efficient way of analysing buildings. Thus, we will incorporate multiple graphical representations of each floor plan into our dataset.

References (25)