Application of Deep Learning for 3D building generalization

Yue Wu, Yevgeniya Filippovska, Valentina Schmidt, Martin KadaProceedings of the ICA 2019

Abstract The generalization of 3D buildings is a challenging task, which needs to consider geometry information, semantic content and topology relations of 3D buildings. Although many algorithms with detailed and reasonable designs have been developed for the 3D building generalization, there are still cases that could be further studied. As a fast-growing technique, Deep Learning has shown its ability to build complex concepts out of simpler concepts in many fields. Therefore, in this paper, Deep Learning is used to solve the regression (generalization of individual 3D building) and classification problems (classification of roof type) simultaneously. Firstly, the test dataset is generated and labelled with the generalization results as well as the classification of roof types. Buildings with saddleback, half-hip, and hip roof are selected as the experimental objects since their generalization results can be uniformly represented by a common vector which aims to meet the compatible representation of Deep Learning. Then, the pre-trained ResNet50 is used as the baseline network. The optimal model capacity is searched within an extensive ablation study in the framework of the building generalization problem. After that, a multi-task network is built by adding a branch of classification to the above network, which is in parallel with the generalization branch. In the process of training, the imbalance problems of tasks and classes are solved by adjusting their donations to the total loss function. It is found that less error rate is obtained after adding a classification branch. For the final results, two improved metrics are used to evaluate the generalization performance. The accuracy of generalization reached over 95% for horizontal information and 85% for height, while the accuracy of classification reached 100% on the test dataset.

Introduction

In cartography, generalization is the essential process of simplifying map data to maintain clarity and functionality at smaller scales. For 3D city models, this involves removing non-essential geometric details—such as small chimneys or minor wall indentations—while preserving the building's core shape and semantic identity. Traditionally, this has relied on rigid, rule-based algorithms that often struggle with the messy variety of real-world architecture. This research explores the application of Deep Learning to automate this process, treating 3D generalization as a multi-task computer vision problem.

Methodology

The proposed workflow converts 3D building models into 2D rasters to leverage standard Convolutional Neural Networks (CNNs).

Data Transformation and Parametric Templates

To ensure compatibility with neural networks, 3D models are rotated into a "canonical orientation" (aligning ridges horizontally) and rendered as 2D height-mapped images. Instead of predicting every vertex, the model predicts a parametric shape defined by an 8-element vector. This vector describes the simplified footprint, ridge line, and height ratio of the building.

Comparison of original building footprints (a) with simplified Minimum Area Bounding Box (MABB) representations (b, c).

Multi-Task Architecture

The researchers utilized a pre-trained ResNet50 backbone with two parallel output layers:

  1. Regression Branch: Predicts the 8 geometric parameters for the simplified 3D template.
  2. Classification Branch: Identifies the specific roof type.

An ablation study determined that the 14th residual unit provided the optimal balance for feature extraction. A key finding was the "Multi-Task Advantage": forcing the model to classify the roof type improved its internal representation, leading to more accurate geometric regression.

Dataset and Training

The study utilized a 3D city model of Stuttgart, Germany. From an initial pool of over 60,000 buildings, a filtered set of 6,358 complex buildings was selected. The research focused on three common architectural styles: saddleback, half-hip, and hip roofs.

The three 3D building roof types analyzed: (a) saddleback, (b) half-hip, and (c) hip roofs.

Key Results

The model demonstrated high accuracy across both tasks on the test dataset:

  • Roof Classification: Achieved 100% accuracy.
  • Horizontal Generalization: Footprint and ridge placement accuracy exceeded 95%.
  • Vertical Generalization: Height information accuracy reached 85%.
  • Performance Gain: The inclusion of the classification branch reduced the validation loss from 0.0057 to 0.0039, proving that semantic understanding aids geometric simplification.

Conclusion and Future Work

While successful for standard building types, the current model is limited to structures that can be represented by a single ridgeline and rectangular footprint. Future research will aim to scale this approach to more complex geometries, such as L-shaped or T-shaped buildings, potentially utilizing recurrent neural networks (RNNs) to handle multi-part structures sequentially.

Summary updated

Abstract

The generalization of 3D buildings is a challenging task, which needs to consider geometry information, semantic content and topology relations of 3D buildings. Although many algorithms with detailed and reasonable designs have been developed for the 3D building generalization, there are still cases that could be further studied. As a fast-growing technique, Deep Learning has shown its ability to build complex concepts out of simpler concepts in many fields. Therefore, in this paper, Deep Learning is used to solve the regression (generalization of individual 3D building) and classification problems (classification of roof type) simultaneously. Firstly, the test dataset is generated and labelled with the generalization results as well as the classification of roof types. Buildings with saddleback, half-hip, and hip roof are selected as the experimental objects since their generalization results can be uniformly represented by a common vector which aims to meet the compatible representation of Deep Learning. Then, the pre-trained ResNet50 is used as the baseline network. The optimal model capacity is searched within an extensive ablation study in the framework of the building generalization problem. After that, a multi-task network is built by adding a branch of classification to the above network, which is in parallel with the generalization branch. In the process of training, the imbalance problems of tasks and classes are solved by adjusting their donations to the total loss function. It is found that less error rate is obtained after adding a classification branch. For the final results, two improved metrics are used to evaluate the generalization performance. The accuracy of generalization reached over 95% for horizontal information and 85% for height, while the accuracy of classification reached 100% on the test dataset.
BibTeX
@inproceedings{wu2019application,
  author = {Yue Wu and Yevgeniya Filippovska and Valentina Schmidt and Martin Kada},
  title = {{Application of Deep Learning for 3D building generalization}},
  booktitle = {Proceedings of the ICA},
  year = {2019},
  doi = {10.5194/ica-proc-2-147-2019},
}
Figure