Hyperspectral (HS) images are characterized by approximately contiguous spectral information, enabling the fine identification of materials by capturing subtle spectral discrepancies. Owing to their excellent locally contextual modeling ability, convolutional neural networks (CNNs) have been proven to be a powerful feature extractor in HS image classification. However, CNNs fail to mine and represent the sequence attributes of spectral signatures well due to the limitations of their inherent network backbone. To solve this issue, we rethink HS image classification from a sequential perspective with transformers, and propose a novel backbone network called \ul{SpectralFormer}. Beyond band-wise representations in classic transformers, SpectralFormer is capable of learning spectrally local sequence information from neighboring bands of HS images, yielding group-wise spectral embeddings. More significantly, to reduce the possibility of losing valuable information in the layer-wise propagation process, we devise a cross-layer skip connection to convey memory-like components from shallow to deep layers by adaptively learning to fuse "soft" residuals across layers. It is worth noting that the proposed SpectralFormer is a highly flexible backbone network, which can be applicable to both pixel- and patch-wise inputs. We evaluate the classification performance of the proposed SpectralFormer on three HS datasets by conducting extensive experiments, showing the superiority over classic transformers and achieving a significant improvement in comparison with state-of-the-art backbone networks. The codes of this work will be available at \url{https://sites.google.com/view/danfeng-hong} for the sake of reproducibility.
翻译:超光谱( HIS) 图像的特征特征是近乎毗连的光谱信息,从而能够通过捕捉微微光谱差异来细化地辨识材料。由于超光谱网络具有极好的本地背景建模能力,因此在 HS 图像分类中, convolual 神经网络(CNNs) 被证明是一个强大的特征提取器。然而,CNN 因其内在网络主干线的局限性,未能开采并代表光谱签名的序列属性。为了解决这个问题,我们从变压器的顺序角度重新思考HS图像分类,并提议建立一个名为\ul{SpectralFormer}的新颖的主干网。除了经典变压器的带带带带宽频的外, Spectral Former 能够从相光谱中学习本地的序列信息, 生成群集光谱光谱光谱光谱的光谱的光谱, 更显著的Slovealalal- silveyal combal laveal lave 。我们提出的Slal-salalalalalal- sal comliversal complassal complassal laviewal 工作将展示一个高频变压/s。我们提议的Slal-dal-dal-dalalal-s