Clustering augmented Self-Supervised Learning: Anapplication to Land Cover Mapping

Rahul Ghosh, Xiaowei Jia, Chenxi Lin, Zhenong Jin, Vipin KumararXiv 2021

TL;DR

This paper introduces Clustering-Augmented Segmentation (CAS), a self-supervised learning framework designed to map land cover using minimal labeled data. By combining a clustering-based pretext task with a reconstruction loss, the model captures complex intra-class variations (like different plantation densities) while preserving the fine-grained spatial details necessary for accurate semantic segmentation.

What Problem Does This Paper Address?

Accurate land cover mapping is vital for environmental monitoring and resource management, but it faces a significant bottleneck: data labeling is expensive and slow. While deep learning has revolutionized computer vision, standard "pre-training" on datasets like ImageNet often fails in Remote Sensing (RS). RS data involves multiple spectral bands beyond RGB and exhibits high intra-class heterogeneity—for example, a "cashew plantation" looks very different depending on whether the trees are packed densely or scattered sparsely.

Existing self-supervised methods often struggle with this. Some learn global features but lose the fine-grained pixel details needed for segmentation, while others fail to distinguish between similar-looking but different classes (e.g., low-density plantations vs. natural forests).

Figure 1: (a) Examples of high density Cashew plantations, low density Cashew plantations and other trees. We also show the decision boundaries (b) learned by traditional methods and (c) after the clustering structure is informed.

Methods

The authors propose CAS, a framework based on the U-Net architecture that utilizes a two-phase self-supervised pre-training strategy:

  1. Phase 1: Initialization via Reconstruction. The model is trained as an autoencoder to reconstruct input images. Crucially, the authors remove skip connections during this phase. This "handicaps" the decoder, forcing the encoder to compress all essential information into a bottleneck embedding, leading to higher-quality feature representations.
  2. Phase 2: Joint Clustering and Reconstruction. The model then optimizes a dual objective. It uses Deep Embedding Clustering (DEC) to group similar image patches into clusters, helping the model learn the "modes" of different land covers. Simultaneously, it maintains a reconstruction loss to ensure the embeddings don't lose the fine-level details required for pixel-wise segmentation.
Figure 2: Illustration of the self-supervised pre-trained architecture(best viewed in color). The components that are specifically present during the Pre-training and Fine-tuning stage are drawn in blue and red respectively, while the common components of these two stages are drawn in black. During the self-supervised pre-training step, the skip connections are removed and the classifi- cation layer is replaced by a reconstruction layer. These components, highlighted in red, are added back while fine-tuning using the limited labeled samples.

After pre-training on large amounts of unlabeled data, the skip connections are restored, and the model is fine-tuned on a small set of labeled samples.

Datasets

The researchers evaluated CAS on two societally significant tasks:

  • D1: Cashew Plantation Mapping (Benin): High-resolution (0.5m) 4-band imagery from AIRBUS. The goal is to distinguish cashew plantations from forests, urban areas, and background.
  • D2: Crop Mapping (US Midwest): Sentinel-2 imagery with 13 spectral bands. The task involves classifying pixels into Corn, Soybean, Sugarbeets, Water, and Urban classes.

Key Insights and Ideas

  • The Detail Dilemma: Standard clustering methods (like DEC) tend to collapse representations to a single "average" for a cluster, which destroys the fine details needed to draw sharp boundaries between fields or buildings. By adding a reconstruction loss back in, CAS preserves these details.
  • Clustering as a Discovery Tool: The clustering pretext task naturally discovers sub-classes (e.g., high-density vs. low-density cashew) without being told they exist. This makes the subsequent supervised learning task much easier, as the model already understands the internal structure of the data.
  • Active Learning Synergy: Because the model clusters the data, it can identify which areas are most "uncertain" or representative. The authors show that selecting training samples from these cluster centroids (Active Learning) significantly boosts performance compared to random sampling.
Figure 3: The reconstructed images for the same class using the embeddings learned by (a) DEC and (b) CAS.

Key Results

CAS consistently outperformed several baselines, including standard Autoencoders, Tile2Vec, and Colorization-based SSL.

  • Few-Shot Performance: On the Cashew dataset (D1) with only 10 labeled samples, CAS achieved a Mean F1 Score of 0.674, significantly higher than the 0.402 achieved by a model trained from scratch (OnlyLabeled) and the 0.628 from standard DEC.
  • Consistency: Qualitative results show that CAS produces much cleaner, more contiguous land cover maps that align better with ground truth than other methods, which often produce "noisy" or fragmented predictions.
Figure 4: Examples of land cover mapping made by different methods. The first column shows the reference RGB images and the second column shows the manually-created ground-truth data.

Limitations and Future Work

  • Temporal Data: The current model focuses on spatial and spectral information from single time-point images. The authors note that incorporating multi-temporal data (satellite time-series) could further improve accuracy, especially for distinguishing crops with different growing seasons.
  • Domain Knowledge: While the clustering is unsupervised, the authors suggest that future work could incorporate domain-specific pretext tasks (e.g., specific vegetation indices) to further refine the learned representations.

Overall, CAS represents a powerful step toward making large-scale environmental monitoring feasible in regions where ground-truth data is scarce.

Summary updated

BibTeX
@misc{ghosh2021clustering,
  author = {Rahul Ghosh and Xiaowei Jia and Chenxi Lin and Zhenong Jin and Vipin Kumar},
  title = {{Clustering augmented Self-Supervised Learning: Anapplication to Land Cover Mapping}},
  year = {2021},
  eprint = {2108.07323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.07323},
}
Figure