Masked vision transformer for hyperspectral image classification
Vision Transformer (ViT) has been thoroughly explored in hyperspectral image classification (HIC). Nevertheless, current ViT-based approaches still acquire discriminative features rather than pattern features, and the majority of them do not fully contemplate the significance of the central pixel in HIC. In this paper, we propose a masked vision Transformer (MViT) for HIC from the perspective of learning pattern features. First and foremost, MViT endeavors for the first time to introduce the masking operations in HIC to learn more robust pattern features instead of distinguishable features, thereby bestowing it with outstanding generalization performance. Secondly, during the training phase of MViT, when conducting random masking operations on the embedded features, we deliberately retain the embedding corresponding to the central pixel to guarantee the effectiveness of the model and emphasize the importance of the central pixel in HIC. Finally, MViT will deactivate the masking operations during the testing phase and utilize all the embedded features to accomplish the classification task, which endows the model with stronger discriminatory ability. Most crucially, MViT is an extremely lightweight model, and by introducing the masking operations during the training phase, its training speed will become unprecedentedly rapid. Experiments conducted on the WHU-Hi dataset demonstrate that MViT can consistently achieve excellent or even the optimal classification results in comparison with the most advanced methods.
Authors
- Heng Wang (ORCID: https://orcid.org/0000-0002-5678-7186)
- Liguo Wang (ORCID: https://orcid.org/0000-0001-9373-6233)
Institutions
- Harbin Engineering University (CN)
Publication Details
- Published
- 2025-04-23
- DOI
- https://doi.org/10.1117/12.3066060
- Primary Topic
- Infrared Target Detection Methodologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00