Masked Angle-Aware Autoencoder for Remote Sensing Images

Zhihao Li, Biao Hou, Siteng Ma, Zitong Wu, Xianpeng Guo, Bo Ren, Licheng Jiao

Abstract

Remote sensing (RS) imagery presents unique challenges for self-supervised learning due to the overhead perspective and arbitrary orientation of objects. While standard Masked Autoencoders (MAE) have shown success in natural image domains, they often fail to capture the rotational variance inherent in satellite and aerial data. We present the Masked Angle-Aware Autoencoder (MA3E), a framework designed to bridge this domain gap. MA3E introduces a scaling center crop technique, learnable angle embeddings, and an Optimal Transport (OT) loss to reconstruct rotated image patches effectively. Experimental results on benchmarks like MillionAID and DOTA1.0 demonstrate that MA3E significantly improves performance in oriented object detection, scene classification, and semantic segmentation, particularly for objects with high angular inclination.

Introduction

Most contemporary computer vision models are pre-trained on "natural" images (e.g., ImageNet), where gravity dictates a fixed orientation—trees grow upward, and horizons are horizontal. However, remote sensing images are captured from an overhead perspective. In this "bird's-eye view," objects such as airplanes, ships, and buildings can appear at any angle relative to the sensor.

Standard self-supervised methods like the Masked Autoencoder (MAE) focus on reconstructing missing pixels within a fixed grid but often ignore these diverse rotations. This creates a significant domain gap where models struggle to recognize tilted or rotated objects. The Masked Angle-Aware Autoencoder (MA3E) was developed to bridge this gap by making the model explicitly aware of angles during the initial pre-training phase, forcing the AI to learn features that are robust to orientation.

Methodology

MA3E builds upon the popular MAE architecture but introduces three critical modifications to handle the geometric complexities of remote sensing data:

1. Scaling Center Crop

To introduce rotation without creating "dead zones" (black corners) or altering the scale of the image, the authors developed a specific cropping technique. The process involves taking a square region, identifying its largest inscribed circle, and then extracting a smaller rotated square from within that circle. This ensures the model consistently sees a valid, full-scene patch regardless of the random angle applied.

2. Angle Embedding

Just as standard models use positional embeddings to understand a patch's location in a grid, MA3E incorporates a learnable angle embedding. This acts as a geometric hint, prompting the model to recognize that a specific region has been tilted. This allows the transformer backbone to process the patch with the context of its orientation.

3. Optimal Transport (OT) Loss

The mathematical core of MA3E is the use of Optimal Transport loss. When an image patch is rotated, its pixels no longer align perfectly with the original image grid. A standard pixel-to-pixel comparison, such as Mean Squared Error (MSE), would fail because the "target" pixels have moved spatially. Instead, the authors use an OT loss—solved via the Sinkhorn-Knopp algorithm—which automatically matches predicted patches to the most similar original patches based on feature similarity, regardless of slight spatial shifts.

Experimental Setup

The model was pre-trained and evaluated on a comprehensive suite of remote sensing benchmarks:

  • Pre-training: The model utilized MillionAID, a large-scale dataset containing approximately one million RS images.
  • Object Detection: Evaluation was conducted on DOTA1.0 and DIOR-R, both of which focus on "oriented" or rotated object detection.
  • Scene Classification: Benchmarks included NWPU-RESISC45, AID, and UC Merced.
  • Semantic Segmentation: The model was tested on the iSAID and Potsdam datasets.

Key Results and Insights

MA3E demonstrated superior performance across all major downstream tasks, proving the value of rotation-invariant feature learning.

  • Object Detection: On the DOTA1.0 dataset, MA3E achieved a 79.47 mAP, outperforming the standard MAE (77.53) and other specialized RS models. Notably, the model showed the most significant gains on objects with "large inclinations" (angles between 10° and 80°), where traditional models typically struggle.
  • Scene Classification: The framework achieved near-perfect accuracy on the UC Merced dataset (99.81%) and significantly outperformed models pre-trained on natural images.
  • Semantic Segmentation: On the Potsdam dataset, it reached a 91.50 mF1 score, indicating that its learned features are precise enough for pixel-level mapping.

Beyond accuracy, the authors found that MA3E is highly efficient. Despite the added complexity of the OT loss, the training time per epoch only increased by approximately 0.2 hours on a single GPU compared to standard MAE, making it a practical upgrade for large-scale training.

Discussion and Future Work

The "Aha" moment of this research lies in treating reconstruction as a matching problem (via Optimal Transport) rather than a fixed-grid problem. By doing so, the model learns to understand the geometry of objects—recognizing a wing as a wing regardless of its tilt—rather than simply memorizing local textures.

However, limitations remain. The authors acknowledge that angle awareness is most beneficial for man-made objects with distinct orientations. For natural land covers like forests or water, angle information is less critical. Furthermore, while MA3E masters rotation, RS images also suffer from massive scale differences depending on satellite altitude. The next logical step for a universal remote sensing foundation model is the integration of both angle and scale awareness.

Summary updated

BibTeX
@inproceedings{li2024masked,
  author = {Zhihao Li and Biao Hou and Siteng Ma and Zitong Wu and Xianpeng Guo and Bo Ren and Licheng Jiao},
  title = {{Masked Angle-Aware Autoencoder for Remote Sensing Images}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73242-3\_15},
}
Figure