Generic Knowledge Boosted Pretraining for Remote Sensing Images

Ziyue Huang, Mingming Zhang, Yuan Gong, Qingjie Liu, Yunhong Wang

TL;DR

This paper introduces GeRSP, a novel pre-training framework that combines self-supervised learning on remote sensing (RS) images with supervised learning on natural images (like ImageNet). By leveraging both domain-specific RS knowledge and general visual knowledge from natural images, GeRSP significantly boosts performance on various RS downstream tasks, addressing the domain gap that plagues existing methods.

What Problem Does This Paper Address?

Deep learning models have become indispensable for understanding remote sensing (RS) imagery, powering tasks like scene classification, object detection, and segmentation. Traditionally, these models are initialized with weights pre-trained on the massive ImageNet dataset. However, a significant "domain gap" exists between natural images (like those in ImageNet) and RS images due to differences in capture perspective (bird's-eye view vs. ground-level), image resolution, and object appearance. This gap often leads to suboptimal performance when ImageNet pre-trained models are directly applied to RS tasks.

While some pre-training methods specifically for RS exist, they often rely solely on RS data. This can lead to "vague generalization," meaning the models might not capture the broad, foundational visual features necessary for robust performance across diverse RS applications. The authors aim to bridge this gap by creating a pre-trained model that effectively combines the strengths of both general visual knowledge and RS-specific domain knowledge.

Methods

The core of the proposed GeRSP framework is a teacher-student architecture that simultaneously learns from two distinct pre-training branches:

  1. Remote Sensing Contrastive Learning (RSCL): This branch uses unlabeled RS images. It employs a self-supervised contrastive learning approach (specifically, inspired by MoCo) to learn domain-specific representations. RS images are augmented, and the model learns to distinguish between different views of the same image (positive pairs) while pushing apart views of different images (negative pairs).
  2. Natural Image Auxiliary Learning (NIAL): This branch uses labeled natural images (from ImageNet). It employs a supervised learning approach, specifically cross-entropy loss, to learn general visual features. This branch is trained on the student network only.

The teacher network's parameters are updated using an exponential moving average (EMA) of the student network's parameters, promoting stable learning. The framework combines the losses from both branches (contrastive loss for RSCL and cross-entropy loss for NIAL) to jointly train the student model. Data augmentation strategies, including random cropping, resizing, color jittering, Gaussian blur, and flipping, are applied to both branches to enhance robustness.

Datasets

  • For Pre-training:
    • ImageNet: A large-scale dataset of natural images used for supervised learning (NIAL).
  • Million-AID (MAID): A large-scale RS scene classification dataset containing over 1 million images across 51 scene categories, used for self-supervised learning (RSCL).
  • For Downstream Tasks (Fine-tuning and Evaluation):
    • Scene Classification: EuroSAT and NWPU-RESISC45 datasets.
  • Object Detection: DOTA and DIOR datasets.
  • Semantic Segmentation: LoveDA dataset.

Key Insights and Ideas

  • Domain Gap is Real and Detrimental: The paper strongly emphasizes that directly applying ImageNet pre-trained models to RS tasks is suboptimal due to inherent domain differences.
  • Two-Pronged Approach is Key: Simply pre-training on RS data alone isn't enough for broad generalization. Combining RS-specific learning with general visual knowledge from natural images is crucial.
  • Teacher-Student Architecture for Synergy: The teacher-student setup allows for collaborative learning, where the teacher guides the student's learning process, and EMA updates ensure stability.
  • NIAL Prevents Forgetting: The supervised learning on natural images (NIAL) acts as a regularizer, preventing the model from "forgetting" general visual knowledge acquired during pre-training, which can be a problem in sequential pre-training approaches.
  • Robustness Through Augmentation: The use of strong data augmentation for both RSCL and NIAL is vital for learning invariant features and improving transferability.

Key Results

GeRSP consistently outperformed existing pre-training methods (including ImageNet pre-training, MoCo variants, SeCo, Geo-Aware, CACO, and TOV) across all three downstream tasks:

  • Scene Classification: GeRSP achieved state-of-the-art top-1 accuracy on EuroSAT and NWPU-RESISC45 datasets, showing significant improvements over ImageNet pre-training (e.g., +2.0% on NWPU-RESISC45).
  • Object Detection: GeRSP demonstrated substantial improvements in mean Average Precision (mAP) on both DIOR and DOTA datasets. For instance, on DIOR with Faster R-CNN, GeRSP improved mAP from 65.1% to 67.1% compared to ImageNet pre-training. GeRSP also showed superior stability compared to other methods.
  • Semantic Segmentation: GeRSP achieved the highest mean Intersection over Union (mIoU) on the LoveDA dataset for both PSANet and DeepLabV3+ models, with improvements of up to +4.89% for PSANet and +5.43% for DeepLabV3+ over other methods.

Limitations and Future Work

  • Computational Cost: While not explicitly detailed as a limitation, the dual pre-training branches and teacher-student architecture likely increase computational requirements compared to single-branch methods.
  • Hyperparameter Sensitivity: The paper briefly investigates the balance coefficient ($\alpha$) between the two loss terms, finding it has a minor impact, suggesting some robustness. However, other hyperparameters might require careful tuning.
  • Future Work: The authors suggest exploring other pre-training strategies, such as masked image modeling and explicitly learning image descriptors, as potential alternatives or complements to supervised learning for achieving similar or enhanced generalization performance. They also mention further considerations for future work in their conclusion.

Summary updated

BibTeX
@article{huang2024generic,
  author = {Ziyue Huang and Mingming Zhang and Yuan Gong and Qingjie Liu and Yunhong Wang},
  title = {{Generic Knowledge Boosted Pretraining for Remote Sensing Images}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2024},
  url = {https://openreview.net/forum?id=9yMHoZyprm},
}
Figure