TreeSegNet: Automatically Constructed Tree CNNs for Subdecimeter Aerial Image Segmentation

Kai Yue, Lei Yang, Ruirui Li, Wei Hu, Fan Zhang, Wei LiarXiv 2018

Abstract

For the task of subdecimeter aerial imagery segmentation, fine-grained semantic segmentation results are usually difficult to obtain because of complex remote sensing content and optical conditions. Recently, convolutional neural networks (CNNs) have shown outstanding performance on this task. Although many deep neural network structures and techniques have been applied to improve the accuracy, few have paid attention to better differentiating the easily confused classes. In this paper, we propose TreeSegNet which adopts an adaptive network to increase the classification rate at the pixelwise level. Specifically, based on the infrastructure of DeepUNet, a Tree-CNN block in which each node represents a ResNeXt unit is constructed adaptively according to the confusion matrix and the proposed TreeCutting algorithm. By transporting feature maps through concatenating connections, the Tree-CNN block fuses multiscale features and learns best weights for the model. In experiments on the ISPRS 2D semantic labeling Potsdam dataset, the results obtained by TreeSegNet are better than those of other published state-of-the-art methods. Detailed comparison and analysis show that the improvement brought by the adaptive Tree-CNN block is significant.

Introduction

In subdecimeter aerial imagery—where each pixel represents just 5-10cm of ground—the level of detail is incredible, but so is the complexity. Standard Convolutional Neural Networks (CNNs) often struggle with "fine-grained" semantic segmentation because certain classes are visually very similar or frequently interlaced. For example, distinguishing between a paved "impervious surface" and "clutter," or between "low vegetation" and "trees," is notoriously difficult.

Most existing architectures treat every class as an equal challenge. The authors of TreeSegNet argue that this is inefficient; easily confused classes require more specialized, hierarchical feature extraction to be properly differentiated. To address this, they introduce an adaptive, tree-structured CNN block that automatically configures its architecture to solve this "confusion problem."

Methodology

TreeSegNet is a two-stage architecture designed to adapt to the specific difficulties of a dataset through an automated construction process.

1. Backbone (DeepUNet)

The model starts with a modified U-Net structure called DeepUNet. This backbone uses residual "DownBlocks" and "UpBlocks" to extract multiscale features, providing the foundational segmentation map that is then refined by the subsequent module.

2. The Tree-CNN Block

This is the core innovation of the paper. It is a hierarchical structure composed of ResNeXt units, chosen for their efficiency and ability to prevent gradient vanishing. Unlike static architectures, the Tree-CNN block is constructed adaptively.

3. Automatic Construction (TreeCutting Algorithm)

Rather than designing the tree by hand, the authors developed an automated process:

  • Initial Training: Train an initial model without the tree block.
  • Confusion Analysis: Generate a confusion matrix to identify which classes the model frequently misclassifies.
  • Graph Conversion: Convert this matrix into an undirected graph where edge weights represent the degree of confusion.
  • TreeCutting: Use the TreeCutting algorithm to iteratively remove the weakest edges (least confusion) until the graph splits into subgraphs, forming a binary tree.

Classes that are highly confused stay grouped together longer in the tree, receiving more convolutional layers to help tell them apart. Through "concatenating connections," the Tree-CNN block reuses multiscale feature maps from the backbone, ensuring that the specialized tree nodes have access to both high-level context and low-level detail.

The TreeSegNet framework, showing the DeepUNet backbone followed by the adaptive Tree-CNN module.

Experimental Results

The model was evaluated on the ISPRS 2D Semantic Labeling Potsdam dataset, which consists of 38 very-high-resolution image patches (5cm ground sampling distance) across multiple channels (RGB, IRRG, and DSM).

TreeSegNet outperformed several established models, including SegNet, FCN, and the base DeepUNet. At the time of submission, TreeSegNet ranked 1st in both mean F1 score and Overall Accuracy (OA) on the ISPRS Potsdam benchmark.

Quantitative and Qualitative Gains

  • Overall Accuracy: 90.5% (compared to 89.4% for the base DeepUNet).
  • Mean F1 Score: 92.0% (compared to 91.1% for DeepUNet).
  • Hard Class Improvement: The F1 score for the "clutter" category—one of the most difficult—improved by 6.4% compared to the backbone alone.
  • Visual Sharpness: Qualitative analysis showed that TreeSegNet produced much sharper boundaries for trees and buildings, successfully avoiding the "blurred" or "sticky" pixel artifacts common in other methods.

Conclusion

The most powerful idea in TreeSegNet is that a network's structure should reflect the data it processes. By using the confusion matrix as a "recording memory," the network's final layers are custom-built to tackle the specific "hard cases" of the dataset. While the current process requires an initial training pass to generate the confusion matrix, the significant gains in accuracy for easily confused classes demonstrate the value of hierarchical specialization in remote sensing tasks.

Summary updated

BibTeX
@misc{yue2018treesegnet,
  author = {Kai Yue and Lei Yang and Ruirui Li and Wei Hu and Fan Zhang and Wei Li},
  title = {{TreeSegNet: Automatically Constructed Tree CNNs for Subdecimeter Aerial Image Segmentation}},
  year = {2018},
  eprint = {1804.10879},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.10879},
}
Figure