Hyperspectral Classification Based on Lightweight 3-D-CNN With Transfer Learning

Haokui Zhang, Ying Li, Yenan Jiang, Peng Wang, Qiang Shen, Chunhua ShenIEEE TGRS 2019 · DOI

Abstract

Recently, hyperspectral image (HSI) classification approaches based on deep learning (DL) models have shown promising performance. However, due to limited training samples and massive model parameters, DL methods often suffer from overfitting. This paper proposes an end-to-end 3-D lightweight convolutional neural network (3-D-LWNet) for limited samples-based HSI classification. Compared with conventional 3-D-CNN models, 3-D-LWNet features a deeper network structure, fewer parameters, and lower computation costs. To further alleviate the small sample problem, two transfer learning strategies are introduced: a cross-sensor strategy and a novel cross-modal strategy using 2-D RGB images. Experiments on three public HSI datasets demonstrate that this model achieves competitive performance compared to several state-of-the-art methods.

Introduction

Hyperspectral images (HSIs) are "data cubes" capturing hundreds of narrow spectral bands for every pixel, providing a rich signature for land-cover classification. However, the field faces a major bottleneck: the small sample problem. While HSIs are high-dimensional, labeled training data is scarce and expensive to produce. Standard 3-D-CNNs are parameter-heavy, making them prone to massive overfitting on these tiny datasets. Consequently, most HSI models are shallow, limiting their ability to learn complex features. 3-D-LWNet addresses this by utilizing depthwise separable convolutions and transfer learning to achieve high accuracy with significantly fewer parameters.

The 3-D-LWNet Architecture

Figure 1: The overall architecture of the proposed 3-D-LWNet, illustrating the sample extraction, the three-part network structure, and the final classification result.

Instead of standard 3-D convolutions, the model uses Lightweight (LW) Units. These units employ 3-D depthwise separable convolutions, breaking the operation into a depthwise convolution (spatial/spectral filtering per channel) followed by a pointwise convolution (combining channels). This allows the network to be much deeper (tens of layers) while keeping the parameter count extremely low. As shown in Figure 1, the network is divided into three parts: initial feature extraction, a series of LW units with residual-like skip connections, and a global pooling layer followed by a fully connected layer for scoring.

Transfer Learning Strategies

To combat data scarcity, the authors propose two distinct strategies to initialize the network weights before fine-tuning on the target HSI data:

Figure 3: Overview of the proposed transfer learning strategies: (a) cross-sensor pretraining using source HSI data, and (b) cross-modal pretraining using inflated RGB images.
  1. Cross-Sensor Strategy: The model is pretrained on a large HSI dataset from one sensor (e.g., Salinas) and fine-tuned on a target dataset from a different sensor (e.g., Pavia University). Adaptive average pooling is used to handle the mismatch in the number of spectral bands between different sensors.
  2. Cross-Modal Strategy: This novel approach takes 2-D RGB datasets (like CIFAR-10) and "inflates" them into 3-D cubes by repeating the RGB channels. The 3-D model is pretrained on this "fake" 3-D data to learn general visual features before fine-tuning on real HSI data.

Key Results and Discussion

The model was evaluated on three benchmark datasets: Pavia University (ROSIS sensor), Indian Pines (AVIRIS sensor), and Kennedy Space Center (AVIRIS sensor).

  • Massive Efficiency: On the Indian Pines dataset, 3-D-LWNet used only 763,008 parameters compared to the 44,892,160 parameters of a standard 3-D-CNN—a reduction of 98.3%.
  • Superior Accuracy: Despite its smaller size, it outperformed state-of-the-art models. For example, on the KSC dataset, it achieved a 98.22% Overall Accuracy (OA), a nearly 2% improvement over conventional 3-D-CNNs.
  • Transfer Learning Boost: When training samples were extremely limited (only 25 samples per class), transfer learning from the Salinas dataset improved accuracy on Pavia University by over 4%.

These results demonstrate that depth is more critical than width for HSI classification; a deeper network with fewer parameters is more effective than a shallow, wide one. Furthermore, the success of the cross-modal strategy suggests that low-level features learned from everyday RGB photos are highly transferable to the complex spectral-spatial domain of remote sensing.

Conclusion

3-D-LWNet provides a robust and efficient solution for HSI classification under limited training data conditions. By breaking sensor dependency and leveraging cross-modal transfer learning, the method offers high practicality for real-world applications. Future work may involve using Neural Architecture Search (NAS) to automatically optimize the 3-D-LWNet structure and exploring more sophisticated ways to bridge the gap between 2-D and 3-D data domains.

Summary updated

BibTeX
@article{zhang2019hyperspectral,
  author = {Haokui Zhang and Ying Li and Yenan Jiang and Peng Wang and Qiang Shen and Chunhua Shen},
  title = {{Hyperspectral Classification Based on Lightweight 3-D-CNN With Transfer Learning}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2019},
  doi = {10.1109/tgrs.2019.2902568},
}
Figure