Skip to main content
QUICK REVIEW

[Paper Review] Spectral-Spatial Contrastive Learning Framework for Regression on Hyperspectral Data

Mohamad Dhaini, Paul Honeine|arXiv (Cornell University)|Feb 11, 2026
Remote-Sensing Image ClassificationEngineering0 citations
TL;DR

A model-agnostic spectral-spatial contrastive learning framework for hyperspectral regression that combines 3D backbones (CNN or transformer) with a regression head, using spectral and spatial augmentations to improve performance on synthetic and real data.

ABSTRACT

Contrastive learning has demonstrated great success in representation learning, especially for image classification tasks. However, there is still a shortage in studies targeting regression tasks, and more specifically applications on hyperspectral data. In this paper, we propose a spectral-spatial contrastive learning framework for regression tasks for hyperspectral data, in a model-agnostic design allowing to enhance backbones such as 3D convolutional and transformer-based networks. Moreover, we provide a collection of transformations relevant for augmenting hyperspectral data. Experiments on synthetic and real datasets show that the proposed framework and transformations significantly improve the performance of all studied backbone models.

Motivation & Objective

  • Address the challenge of regression on hyperspectral data where labeled samples are scarce.
  • Introduce a spectral-spatial augmentation toolbox tailored for hyperspectral inputs.
  • Propose a framework compatible with 3D-CNN and transformer backbones to learn enriched representations.
  • Demonstrate the framework’s effectiveness on synthetic data and real-world hyperspectral datasets (including soil pollution prediction).

Proposed method

  • Process hyperspectral cubes via patches to capture local spectral-spatial information.
  • Use a shared 3D backbone (3D-CNN or transformer) to extract features from original and augmented patches.
  • Train with a joint objective: regression loss and a contrastive loss that pulls together views with similar regression targets.
  • Define positive pairs using a radius-based criterion in the regression label space (|y^i − y^j| ≤ r).
  • Apply a spectral-spatial augmentation toolbox including spectral shifts, spectral flipping, Hapke scattering, atmospheric compensation, elastic distortion, band erasure, band permutation, and nearest-neighbor mixing, plus standard spatial augmentations (rotation, elastic deformation, flipping, translation).
  • Optimize L_total = L_R + α L_Contrastive with L_R as mean squared regression error and L_Contrastive as a cosine-similarity-based contrastive loss over augmented views.
Fig. 1 : Architecture of the proposed framework.
Fig. 1 : Architecture of the proposed framework.

Experimental results

Research questions

  • RQ1Can spectral-spatial contrastive learning improve regression performance on hyperspectral data across backbones?
  • RQ2How do spectral, spatial, and combined augmentations contribute to performance gains in hyperspectral regression?
  • RQ3Is the framework effective on both synthetic and real hyperspectral datasets (e.g., Samson) and across different 3D backbones (CNN and transformers)?
  • RQ4What is the impact of using a radius-based positive-pair selection in regression-focused contrastive learning?

Key findings

  • The framework improves regression performance over baseline models across multiple 3D backbones on synthetic data.
  • Incorporating spectral then spatial (and especially their combination) yields the best regression metrics for each backbone.
  • Spectral-spatial transformer backbones achieve the best results among tested architectures on both synthetic and real data (Samson).
  • Contrastive learning provides robust gains under varying spectral and spatial perturbations, demonstrating the value of the augmentation toolbox for hyperspectral regression.
  • The approach is demonstrated on synthetic data with USGS endmembers and a Samson real dataset, showing consistent improvements over baselines in R^2 and MAE.
Fig. 2 : Original (blue) and transformed (orange) examples from real spectral data.
Fig. 2 : Original (blue) and transformed (orange) examples from real spectral data.

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.