Joint Classification of Hyperspectral Images and LiDAR Data Based on Dual-Branch Transformer

Qingyan Wang, Binbin Zhou, Junping Zhang, Jinbao Xie, Yujing Wang2024

TL;DR

This paper introduces a novel dual-branch Transformer network for jointly classifying hyperspectral imagery (HSI) and LiDAR data. By effectively fusing spectral and spatial information through specialized attention mechanisms and a group embedding module, the proposed method achieves state-of-the-art performance on complex land cover classification tasks, outperforming existing fusion techniques.

What Problem Does This Paper Address?

Classifying land cover using remote sensing data is crucial for Earth observation, but relying on a single data source often leads to information insufficiency. Hyperspectral imagery (HSI) excels at capturing spectral details but can suffer from low spatial resolution and spectral similarity between different materials. LiDAR, on the other hand, provides rich elevation information but lacks spectral detail. Combining these modalities offers a more comprehensive view, but challenges remain in effectively integrating their disparate data dimensions and physical features. Previous fusion methods often rely on manual feature engineering or struggle to capture complex inter-modal relationships, limiting their performance. This paper aims to address these limitations by proposing a deep learning framework that can effectively learn and fuse features from both HSI and LiDAR data.

Methods

The core of the proposed method is a Dual-Branch Transformer Feature Fusion Network. This network processes HSI and LiDAR data in separate branches before fusing them.

  • Shallow Feature Extraction: Both HSI and LiDAR data are initially processed by convolutional neural networks (CNNs) to extract shallow features. For HSI, this helps reduce spectral dimensionality while maintaining sequence length. For LiDAR, 2D convolutions extract elevation information.
  • Feature Embedding: The extracted features are then embedded to prepare them for the Transformer encoder.
  • HSI Branch (Group Embedding Module - GEM): To address the potential loss of spatial information in Transformer's sequential processing of HSI, a novel Group Embedding Module (GEM) is introduced. GEM enhances self-attention by incorporating neighborhood information, capturing both static spatial context and dynamic spatial relevance through convolutions. This allows the HSI branch to better represent local spectral-spatial relationships.
  • LiDAR Branch (Spatial Attention - SA): The LiDAR branch utilizes a Spatial Attention (SA) mechanism. This module is designed to learn representative spatial features by capturing both short- and long-range pixel interactions within the LiDAR data.
  • Cross-Attention Fusion: A key innovation is the cross-attention fusion mechanism. This allows the network to dynamically weight features from one modality based on the representation of the other. By exchanging keys between the Transformer layers of each branch, the network learns to focus on complementary information, effectively integrating the strengths of both HSI and LiDAR.
  • Adaptive Weighting: Fusion weights are adaptively determined based on shallow features from both modalities, allowing the network to prioritize HSI or LiDAR features as needed, reflecting their unequal importance in different scenarios.
  • Classification: Finally, the fused features are fed into fully connected layers for pixel-wise classification.

Datasets

The proposed method was evaluated on three publicly available multimodal remote sensing datasets:

  • Houston2013 Dataset: Comprises 144 spectral bands of HSI and a single band of LiDAR elevation data. It has 15 land cover categories.
  • MUUFL Gulfport Hyperspectral and LiDAR (MUUFL) Dataset: Contains 72 spectral bands of HSI and LiDAR elevation data. It includes 11 land cover categories.
  • Trento Dataset: Features 63 spectral bands of HSI and LiDAR DSM data. It has 6 object categories.

Key Insights and Ideas

  • Transformer for Multimodal Fusion: The paper demonstrates the power of Transformer architectures, not just for single-modal tasks, but for effectively fusing heterogeneous multimodal data by leveraging self-attention and cross-attention.
  • Addressing HSI Spatial Information Loss: The GEM module is a significant contribution, specifically designed to mitigate the loss of spatial context when applying Transformers to hyperspectral data, which is traditionally a weakness of Transformer models in image processing.
  • Synergistic Fusion: The cross-attention mechanism is crucial for achieving true synergy between HSI and LiDAR. Instead of simple concatenation or averaging, it allows modalities to inform each other, leading to a more robust representation.
  • Adaptive Feature Weighting: The use of learnable fusion weights, informed by shallow features, is a more intelligent approach than fixed fusion strategies, allowing the model to adapt to the varying importance of spectral vs. spatial information.

Key Results

The proposed dual-branch Transformer network consistently outperformed several state-of-the-art methods across all three datasets.

  • Houston2013 Dataset: Achieved an Overall Accuracy (OA) of 96.55% and a Kappa coefficient of 96.27%, outperforming CCNN and HCT (dual-branch architectures) by 1.45% and 0.94% respectively.
  • MUUFL Dataset: Reached an OA of 90.51% and a Kappa coefficient of 87.57%, with an average accuracy of 91.10%.
  • Trento Dataset: Achieved an OA of 99.46% and a Kappa coefficient of 97.67%.

The experiments also highlighted the effectiveness of the GEM module, showing significant improvements in OA, AA, and Kappa values when it was integrated. The optimal spatial patch size for input was found to be 11x11.

Limitations and Future Work

  • Computational Cost: While effective, Transformer-based models can be computationally intensive. The paper does not explicitly detail the computational complexity or inference speed compared to other methods.
  • Dataset Specificity: The performance of the adaptive weighting mechanism might be further explored across a wider range of datasets with varying characteristics.
  • Future Work: The authors suggest exploring more advanced fusion strategies and potentially incorporating other modalities to further enhance classification performance. The paper also implicitly points towards the need for more sophisticated attention mechanisms that can better handle the inherent differences between data types.

Summary updated

BibTeX
@misc{wang2024joint,
  author = {Qingyan Wang and Binbin Zhou and Junping Zhang and Jinbao Xie and Yujing Wang},
  title = {{Joint Classification of Hyperspectral Images and LiDAR Data Based on Dual-Branch Transformer}},
  year = {2024},
  doi = {10.3390/s24030867},
}
Figure