Dual Selective Fusion Transformer Network for Hyperspectral Image Classification

Yichu Xu, Di Wang, Lefei Zhang, Liangpei Zhang
10/4/2024
cs.CV

Official code: YichuXu/DSFormer (104 stars, MIT, PyTorch, last commit 2026-03-22).

Abstract

Transformer has achieved satisfactory results in the field of hyperspectral image (HSI) classification. However, existing Transformer models face two key challenges when dealing with HSI scenes characterized by diverse land cover types and rich spectral information: (1) A fixed receptive field overlooks the effective contextual scales required by various HSI objects; (2) invalid self-attention features in context fusion affect model performance. To address these limitations, we propose a novel Dual Selective Fusion Transformer Network (DSFormer) for HSI classification. DSFormer achieves joint spatial and spectral contextual modeling by flexibly selecting and fusing features across different receptive fields, effectively reducing unnecessary information interference by focusing on the most relevant spatial-spectral tokens. Specifically, we design a Kernel Selective Fusion Transformer Block (KSFTB) to learn an optimal receptive field by adaptively fusing spatial and spectral features across different scales, enhancing the model's ability to accurately identify diverse HSI objects. Additionally, we introduce a Token Selective Fusion Transformer Block (TSFTB), which strategically selects and combines essential tokens during the spatial-spectral self-attention fusion process to capture the most crucial contexts. Extensive experiments conducted on four benchmark HSI datasets demonstrate that the proposed DSFormer significantly improves land cover classification accuracy, outperforming existing state-of-the-art methods. Specifically, DSFormer achieves overall accuracies of 96.59%, 97.66%, 95.17%, and 94.59% in the Pavia University, Houston, Indian Pines, and Whu-HongHu datasets, respectively, reflecting improvements of 3.19%, 1.14%, 0.91%, and 2.80% over the previous model. The code will be available online at https://github.com/YichuXu/DSFormer.

View on arXivView PDF

Code Implementations(1)

YichuXu/DSFormerOfficial100%
PyTorchMIT

[Neural Networks 2025] Dual Selective Fusion Transformer Network for Hyperspectral Image Classification

1045PythonSep 5, 20247 months agoMIT
computer-visiondeep-learninghyperspectral-image-classificationimage-processingpython+4 more

Similar Papers

Cite this paper

@article{xu2024dual,
  title  = {Dual Selective Fusion Transformer Network for Hyperspectral Image Classification},
  author = {Yichu Xu and Di Wang and Lefei Zhang and Liangpei Zhang},
  year   = {2024},
  eprint = {2410.03171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.03171v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.03171.svg)](https://codeofpaper.com/paper/2410.03171)

Discussion