arXiv:2412.17350cs.CV2024-12被引 22

用差异注意力提升高光谱图像分类精度

DiffFormer: a Differential Spatial-Spectral Transformer for Hyperspectral Image Classification

  • 引入差异多头自注意力,强化邻近光谱-空间块的细微差异
  • 在多个基准数据集上达到更高准确率,且计算效率优于主流方法
  • 适合遥感图像分析、资源探测等需要高精度分类的应用

高光谱图像分类(HSIC)因其能够处理富含光谱与空间信息的高维数据而受到广泛关注。本文提出一种新型框架——差异光谱-空间变换器(DiffFormer),以应对光谱冗余和空间不连续性等挑战。DiffFormer采用差异多头自注意力(DMHSA)机制,通过引入差异注意力突出相邻光谱-空间块间的细微变化,增强局部特征区分能力。架构结合三维卷积块嵌入、位置编码及配备SWiGLU激活函数的堆叠变换层,实现高效特征提取。基于标记的分类头保障鲁棒表示学习,实现像素级精确标注。在多个基准高光谱数据集上的大量实验表明,与现有最先进(SOTA)方法相比,DiffFormer在分类精度、计算效率和泛化能力方面均表现更优。此外,本文还详细分析了计算复杂度,展示了模型在大规模遥感应用中的可扩展性。源代码将在首轮修订后公开于https://github.com/mahmad000/DiffFormer。

原文摘要 · Abstract (English)

Hyperspectral image classification (HSIC) has gained significant attention because of its potential in analyzing high-dimensional data with rich spectral and spatial information. In this work, we propose the Differential Spatial-Spectral Transformer (DiffFormer), a novel framework designed to address the inherent challenges of HSIC, such as spectral redundancy and spatial discontinuity. The DiffFormer leverages a Differential Multi-Head Self-Attention (DMHSA) mechanism, which enhances local feature discrimination by introducing differential attention to accentuate subtle variations across neighboring spectral-spatial patches. The architecture integrates Spectral-Spatial Tokenization through three-dimensional (3D) convolution-based patch embeddings, positional encoding, and a stack of transformer layers equipped with the SWiGLU activation function for efficient feature extraction (SwiGLU is a variant of the Gated Linear Unit (GLU) activation function). A token-based classification head further ensures robust representation learning, enabling precise labeling of hyperspectral pixels. Extensive experiments on benchmark hyperspectral datasets demonstrate the superiority of DiffFormer in terms of classification accuracy, computational efficiency, and generalizability, compared to existing state-of-the-art (SOTA) methods. In addition, this work provides a detailed analysis of computational complexity, showcasing the scalability of the model for large-scale remote sensing applications. The source code will be made available at \url{https://github.com/mahmad000/DiffFormer} after the first round of revision.

高光谱图像注意力机制遥感分析变换器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。