DEEP LEARNING TRAINING WITH UNBALANCE SAMPLE DISTRIBUTION FOR REMOTE SENSING IMAGE SEGMENTATION

Yinghao Xu, Xiangyun Hu, Junfang Gong, Xin Huang, John Li2022 · DOI

Abstract

The intelligent interpretation of remote sensing images based on deep learning has become a focal point due to the rapid development of aerospace technology. However, the spatial distribution of natural features is inherently inhomogeneous, leading to a "long-tail" distribution in sample datasets where a few common classes dominate and rare classes are under-represented. This imbalance biases training models and compromises accuracy. This paper addresses these challenges in landcover classification using high spatial and spectral resolution (HSSR) images. We implement an iterative stratification method to ensure representative class proportions across training and validation sets and propose a weighted loss algorithm based on the "effective number of samples." Experiments on a large-scale HSSR dataset demonstrate a 2% increase in landcover classification accuracy.

Introduction

Deep learning models are notoriously data-hungry and prone to bias when trained on imbalanced datasets. In remote sensing, this is a pervasive issue: a single satellite image may contain vast agricultural fields but only a few pixels of specific industrial structures. Standard random data splitting often results in a validation set that lacks rare classes entirely, making it impossible to measure true model performance. This study aims to mitigate these biases in the context of High Spatial and Spectral Resolution (HSSR) remote sensing by focusing on data redundancy and class-balanced learning.

Methodology

The FPGA Framework

To capture global spatial information without the artifacts of patch-based methods, we utilize the FPGA (Fast Patch-free Global Learning) framework. This encoder-decoder Fully Convolutional Network (FCN) is designed to process whole images, integrating spectral attention modules to leverage the rich information in hyperspectral data.

The FPGA model architecture featuring an encoder-decoder structure with spectral attention modules.

Iterative Stratification

Instead of simple random splitting, we employ an iterative stratification algorithm for multi-label data. This ensures that both training and validation datasets maintain a consistent and representative proportion of all landcover classes, preventing rare categories from being marginalized during the data division phase.

Proportion of categories across training, validation, and test sets achieved through iterative stratification.

Class-Balanced Loss

We adopt a re-weighting scheme based on the "effective number of samples." The core insight is that as more samples of a class are added, the marginal benefit decreases due to inherent data redundancy. We calculate a weighting factor inversely proportional to this effective volume, forcing the model to prioritize rare, high-information samples over redundant common ones.

Experimental Results

Dataset: Luojia-HSSR

The study utilizes the Luojia-HSSR dataset, covering 161 square kilometers of Shenyang, China. The data features a 0.75-meter spatial resolution with 249 spectral bands. For this experiment, 47 original categories were consolidated into 23, resulting in a final dataset of over 249 million pixels across 6,438 image pairs.

Quantitative and Qualitative Gains

The application of balancing techniques improved the Frequency Weighted Intersection over Union (FWIoU) from 0.7098 to 0.7325. Notably, 16 out of 23 categories showed improved IoU. For instance, "Greenhouse" accuracy jumped from 0.56 to 0.65. Qualitatively, the adjusted model produced more continuous and complete linear features, such as roads, which were previously fragmented in the baseline model.

Discussion and Conclusion

While the proposed methods significantly boost performance for rare classes, challenges remain. Certain categories with similar spatial textures—such as rivers and sandy surfaces—still experience misclassification. This suggests that while spectral richness is a powerful tool, it cannot entirely compensate for limitations in spatial feature extraction. Future work will focus on enhancing the model's ability to discriminate between geometrically distinct but spectrally similar classes. In conclusion, combining iterative stratification with class-balanced loss provides a robust framework for handling the long-tail distributions inherent in real-world remote sensing data.

Summary updated

Abstract

The intelligent interpretation of remote sensing images based on deep learning has become a hot spot with the increasing satellite images acquired due to the rapid development of aerospace technology. Sufficient and reasonable distributed samples are essential for the accuracy of deep learning. The spatial distribution of natural features is inhomogeneous in the real world. When people create sample dataset, they often collect within a certain local range, which may bring problems of unbalanced distribution of samples, including the unbalance between training dataset and validation dataset, and the unbalance among different sample categories. This long-tail distribution of samples (i.e., a few classes account for most of the data, while most classes are under-represented) can lead to bias in the training model and make it difficult to ensure accuracy.In this paper we tried to solved the above-mentioned problem in landcover classification with high spatial and spectral resolution (HSSR) remote sensing images. We first adopted an iterative stratification method for multi-label data classification to ensure that both training dataset and validation dataset contain reasonable proportion of landcover classes. Then we proposed a weighted loss algorithm to further strengthen the learning ability of the model for rare categories. Experiments on a large volume HSSR dataset shows that with our methods the accuracy of landcover classification increased by 2%.
BibTeX
@inproceedings{xu2022deep,
  author = {Yinghao Xu and Xiangyun Hu and Junfang Gong and Xin Huang and John Li},
  title = {{DEEP LEARNING TRAINING WITH UNBALANCE SAMPLE DISTRIBUTION FOR REMOTE SENSING IMAGE SEGMENTATION}},
  booktitle = {˜The},
  year = {2022},
  doi = {10.5194/isprs-archives-xliii-b3-2022-223-2022},
}
Figure