Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Feature Learning by Autoencoder and Prototypical Contrastive Learning for Hyperspectral Classification

Zeyu Cao, Xiaorun Li|arXiv (Cornell University)|Sep 2, 2020
Remote-Sensing Image ClassificationEngineering37 references9 citations
TL;DR

This paper proposes an unsupervised hyperspectral classification method combining variational autoencoders (VAE), adversarial autoencoders (AAE), and a novel contrastive learning network (ContrastNet) to learn more representative features without labeled data. By decoupling feature extraction and contrastive learning, the method achieves state-of-the-art accuracy—reaching 99.46% overall accuracy on the Indian Pines dataset—while maintaining fast inference speed and reduced computational demands compared to prior methods.

ABSTRACT

Unsupervised learning methods for feature extraction are becoming more and more popular. We combine the popular contrastive learning method (prototypical contrastive learning) and the classic representation learning method (autoencoder) to design an unsupervised feature learning network for hyperspectral classification. Experiments have proved that our two proposed autoencoder networks have good feature learning capabilities by themselves, and the contrastive learning network we designed can better combine the features of the two to learn more representative features. As a result, our method surpasses other comparison methods in the hyperspectral classification experiments, including some supervised methods. Moreover, our method maintains a fast feature extraction speed than baseline methods. In addition, our method reduces the requirements for huge computing resources, separates feature extraction and contrastive learning, and allows more researchers to conduct research and experiments on unsupervised contrastive learning.

Motivation & Objective

  • To address the data scarcity and high computational cost of supervised deep learning in hyperspectral classification.
  • To improve feature representation in unsupervised settings by combining autoencoder-based reconstruction with contrastive learning.
  • To reduce the computational burden of contrastive learning while maintaining high classification performance.
  • To enable efficient, scalable unsupervised feature learning suitable for broader research adoption.

Proposed method

  • Proposes two autoencoder variants—VAE and AAE—for unsupervised feature extraction, focusing on reconstructing input spectra and spatial features.
  • Designs a ContrastNet that learns by contrasting positive pairs (augmented views of the same sample) and negative pairs (different samples) to enhance discriminative feature learning.
  • Uses data augmentation to generate positive sample pairs from a single input, enabling self-supervised contrastive learning without labels.
  • Separates the training of autoencoders and ContrastNet, allowing efficient feature extraction using only the encoder during inference.
  • Employs a prototypical contrastive loss to maximize inter-class separation and intra-class compactness in the embedding space.
  • Integrates spectral and spatial feature learning by applying 1D and 2D convolutions in the autoencoder encoders.

Experimental results

Research questions

  • RQ1Can combining autoencoder-based representation learning with contrastive learning improve unsupervised hyperspectral classification beyond existing methods?
  • RQ2How does the proposed ContrastNet compare to standalone autoencoders (VAE, AAE) in terms of feature discriminability and classification accuracy?
  • RQ3Does the decoupled training of autoencoders and contrastive networks reduce computational cost while preserving performance?
  • RQ4How does the method perform under class-imbalanced data conditions compared to supervised and unsupervised baselines?

Key findings

  • ContrastNet achieved 99.46% overall accuracy on the Indian Pines dataset, outperforming all compared supervised and unsupervised methods.
  • The method reached 98.83% average accuracy (AA) on Indian Pines, surpassing even some supervised models.
  • Feature visualization via t-SNE confirmed that ContrastNet produces more compact intra-class clusters and larger inter-class separations.
  • ContrastNet’s inference speed was significantly faster than its training time, with feature extraction taking only 12.77 seconds on Indian Pines—faster than 3DCAE and EPLS.
  • Despite longer training times due to joint training, ContrastNet reduced the need for high-end computing resources by decoupling feature extraction and contrastive learning.
  • On imbalanced datasets, ContrastNet maintained higher overall accuracy than AAE and VAE, though with slightly lower average accuracy, indicating robustness to class imbalance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.