Abstract
Vision transformers (ViTs) are increasingly utilized for HSI classification due to their outstanding performance. However, ViTs encounter challenges in capturing global dependencies among objects of varying sizes, and fail to effectively exploit the spatial–spectral information inherent in HSI. In response to this limitation, we propose a novel solution: the multi-scale spatial–spectral transformer (MSST). Within the MSST framework, we introduce a spatial–spectral token generator (SSTG) and a token fusion self-attention (TFSA) module. Serving as the feature extractor for the MSST, the SSTG incorporates a dual-branch multi-dimensional convolutional structure, enabling the extraction of semantic characteristics that encompass spatial–spectral information from HSI and subsequently tokenizing them. TFSA is a multi-head attention module with the ability to encode attention to features across various scales. We integrated TFSA with cross-covariance attention (CCA) to construct the transformer encoder (TE) for the MSST. Utilizing this TE to perform attention modeling on tokens derived from the SSTG, the network effectively simulates global dependencies among multi-scale features in the data, concurrently making optimal use of spatial–spectral information in HSI. Finally, the output of the TE is fed into a linear mapping layer to obtain the classification results. Experiments conducted on three popular public datasets demonstrate that the MSST method achieved higher classification accuracy compared to state-of-the-art (SOTA) methods.
Funding Information
  • National Key Research and Development Program of China (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)
  • National Natural Science Foundation of China (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)
  • National Natural Science Foundation of China (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)
  • Postdoctoral Innovation Talents Support Program (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)
  • China Postdoctoral Science Foundation (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)
  • Natural Science Foundation of Sichuan Province (2022YFC3003201, 24NSFSC2264, 42301473, BX20230299, 2023M742884, 2022NSFSC1031)

This publication has 52 references indexed in Scilit: