EMS-NET: Efficient Multi-Temporal Self-Attention for Hyperspectral Change Detection

Meiqi Hu, Chen Wu, Bo Du

Abstract

Hyperspectral change detection (HSCD) is a critical task in remote sensing, leveraging the rich spectral information of hyperspectral images (HSI) to identify surface alterations over time. However, the high dimensionality of HSI data often leads to significant spectral redundancy and prohibitive computational costs, particularly when employing modern Transformer-based architectures. This paper presents EMS-Net, a novel Siamese network designed to address these challenges through an Efficient Multi-temporal Self-attention (EMS) module. By distilling redundant feature maps and incorporating a supervised contrastive loss, EMS-Net achieves state-of-the-art accuracy while maintaining a lightweight computational profile.

Introduction

Hyperspectral images capture hundreds of narrow, contiguous spectral bands, providing a unique "spectral fingerprint" for materials on the Earth's surface. This high spectral resolution makes HSI exceptionally well-suited for change detection (CD), allowing for the identification of subtle land-cover transitions that multispectral sensors might miss.

Despite these advantages, HSCD faces two primary hurdles. First, the "curse of dimensionality" results in high redundancy; many feature maps generated from bi-temporal images are either highly similar or contain negligible change information. Second, while modern Transformer architectures excel at capturing global relationships via self-attention, their computational complexity grows quadratically with the number of features. In the context of high-dimensional HSI data, this creates a massive bottleneck for practical deployment. EMS-Net is proposed to extract cleaner change features while keeping the network efficient enough for real-world applications.

Methodology

EMS-Net is structured as a deep Siamese network, ensuring consistent feature extraction across bi-temporal images. The architecture consists of three primary components:

Multi-scale Feature Extraction

The model utilizes a CNN-based backbone consisting of Preprocess and Feature Blocks. This stage extracts spatial-spectral features at multiple scales, ensuring the model captures both fine-grained geometric edges and high-level semantic information necessary for identifying complex changes.

Efficient Multi-temporal Self-attention (EMS) Module

The core innovation of EMS-Net is the EMS module. Unlike standard self-attention mechanisms that treat all feature maps equally, the EMS module introduces a distill weight matrix ($W$). This matrix projects the high-dimensional feature space into a significantly lower-dimensional space ($C' < C$) prior to calculating attention. This process effectively "distills" the most informative change features, filtering out noise from unchanged areas and drastically reducing the computational overhead associated with global context modeling.

Hybrid Loss Function

To improve the discriminative power of the network, EMS-Net employs a hybrid loss strategy. In addition to standard cross-entropy, the model integrates a Supervised Contrastive Loss ($\mathcal{L}_{SupCon}$). This loss function forces the feature embeddings of "unchanged" pixels to cluster tightly together in the feature space. By minimizing the intra-class variance of unchanged pixels, the model makes it significantly easier for the final classifier to distinguish them from "changed" pixels, even when the unchanged materials (e.g., water, soil, buildings) are heterogeneous.

Experimental Results

Datasets and Setup

The model was evaluated on two benchmark hyperspectral datasets:

  1. Farmland Dataset: Captured by the Hyperion sensor over Yuncheng, China, featuring 155 spectral bands.
  2. Bay Dataset: Captured by the AVIRIS sensor over Patterson, California, featuring 224 spectral bands and representing complex urban/suburban environments.

To test robustness, the authors evaluated the model under a limited training sample regime, using only 100 changed and 100 unchanged samples.

Performance Metrics

EMS-Net demonstrated superior performance compared to traditional algorithms (CVA, ISFA) and contemporary deep learning models (BIT, CSA-Net):

  • Bay Dataset: EMS-Net achieved an Overall Accuracy (OA) of 97.37% and a Kappa coefficient of 0.9472, outperforming the next best model, CSA-Net (95.68% OA).
  • Farmland Dataset: The model achieved a Precision of 0.9728, highlighting its ability to minimize false alarms.
  • Qualitative Analysis: Visual inspections of the binary change maps indicate that EMS-Net produces significantly cleaner results with fewer "salt-and-pepper" noise artifacts than standard 2D or 3D CNN approaches.

Discussion and Conclusion

The success of EMS-Net stems from two key insights: attention distillation and embedding compactness. By learning which feature maps are redundant before applying expensive self-attention, the model gains the benefits of global context without the memory explosion typical of Transformers. Furthermore, the use of contrastive loss effectively manages the diversity of the "unchanged" class, reducing false positives.

While EMS-Net is highly efficient, future research could further explore the sensitivity of the distillation ratio ($C'$) across different terrain types and provide more granular computational benchmarking (e.g., FLOPs) against standard Transformers. Nonetheless, the architecture provides a robust framework for high-dimensional remote sensing tasks, with potential applications extending to multi-class change identification.

Summary updated

BibTeX
@inproceedings{hu2023ems,
  author = {Meiqi Hu and Chen Wu and Bo Du},
  title = {{EMS-NET: Efficient Multi-Temporal Self-Attention for Hyperspectral Change Detection}},
  booktitle = {IGARSS},
  year = {2023},
  doi = {10.1109/igarss52108.2023.10282722},
}
Figure