JOURNAL ARTICLE

Vision Transformer With Contrastive Learning for Hyperspectral Image Classification

Heng ZhouXin ZhangChunlei ZhangQiaoyu Ma

Year: 2023 Journal:   IEEE Geoscience and Remote Sensing Letters Vol: 20 Pages: 1-5   Publisher: Institute of Electrical and Electronics Engineers

Abstract

The vision transformer (ViT) has become a hot topic in image processing due to its global feature extraction capabilities. However, the ViT suffers from over-smoothing in feature extraction and over-fitting in the training procedure, so it is hard to achieve satisfactory performance in hyperspectral image (HSI) classification. To address these issues, we propose a ViT with contrastive learning (CViT). The network architecture includes a patch embedding module, transformer blocks, and a classifier. The training of CViT can be considered as an optimization problem with a supervised contrastive loss, an unsupervised contrastive loss, and an ℓ 1 -regularizer with respect to linear self-attention weights. Specifically, the supervised contrastive loss is proposed to alleviate the negative effects of HSI features’ spectral variability and spatial diversity by increasing intra-class consistency. On the other hand, the unsupervised contrastive loss is exploited to reduce redundancy by reconstructing global structural information. In particular, regularized linear self-attention weights reduce the over-smoothing issue. Extensive experimental results on three HSI datasets demonstrate that the proposed CViT achieves competitive performance.

Keywords:
Computer science Artificial intelligence Pattern recognition (psychology) Smoothing Hyperspectral imaging Feature extraction Classifier (UML) Feature learning Embedding Redundancy (engineering) Transformer Machine learning Computer vision

Metrics

25
Cited By
5.43
FWCI (Field Weighted Citation Impact)
27
Refs
0.95
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Remote-Sensing Image Classification
Physical Sciences →  Engineering →  Media Technology
Advanced Image Fusion Techniques
Physical Sciences →  Engineering →  Media Technology
Remote Sensing and Land Use
Physical Sciences →  Earth and Planetary Sciences →  Atmospheric Science

Related Documents

JOURNAL ARTICLE

Contrastive Learning Based on Transformer for Hyperspectral Image Classification

Xiang HuTeng LiTong ZhouYü LiuYuanxi Peng

Journal:   Applied Sciences Year: 2021 Vol: 11 (18)Pages: 8670-8670
JOURNAL ARTICLE

Vision Transformer With Contrastive Learning for Remote Sensing Image Scene Classification

Meiqiao BiMinghua WangZhi LiDanfeng Hong

Journal:   IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing Year: 2022 Vol: 16 Pages: 738-749
JOURNAL ARTICLE

Vision Transformer-Based Ensemble Learning for Hyperspectral Image Classification

Jun LiuHaoran GuoYile HeHuali Li

Journal:   Remote Sensing Year: 2023 Vol: 15 (21)Pages: 5208-5208
© 2026 ScienceGate Book Chapters — All rights reserved.