计算机科学
过度拟合
变压器
高光谱成像
卷积神经网络
特征提取
人工智能
计算
像素
内存占用
模式识别(心理学)
人工神经网络
算法
操作系统
物理
量子力学
电压
作者
Xuming Zhang,Yuanchao Su,Lianru Gao,Lorenzo Bruzzone,Xingfa Gu,Qingjiu Tian
标识
DOI:10.1109/tgrs.2023.3297858
摘要
Transformer is a powerful tool for capturing long-range dependencies and has shown impressive performance in hyperspectral image (HSI) classification. However, such power comes with a heavy memory footprint and huge computation burden. In this article, we propose two types of lightweight self-attention modules (a channel lightweight multihead self-attention (CLMSA) module and a position lightweight multihead self-attention (PLMSA) module) to reduce both memory and computation while associating each pixel or channel with global information. Moreover, we discover that transformers are ineffective in explicitly extracting local and multiscale features due to the fixed input size and tend to overfit when dealing with a small number of training samples. Therefore, a lightweight transformer (LiT) network, built with the proposed lightweight self-attention modules, is presented. LiT adopts convolutional blocks to explicitly extract local information in early layers and employs transformers to capture long-range dependencies in deep layers. Furthermore, we design a controlled multiclass stratified (CMS) sampling strategy to generate appropriately sized input data, ensure balanced sampling, and reduce the overlap of feature extraction regions between training and test samples. With appropriate training data, convolutional tokenization, and LiTs, LiT mitigates overfitting and enjoys both high computational efficiency and good performance. Experimental results on several HSI datasets verify the effectiveness of our design.
科研通智能强力驱动
Strongly Powered by AbleSci AI