Due to the data-hungry nature of deep neural networks and the high dimensionality of hyperspectral imagery (HSI) data, the scarcity of training samples remains a significant challenge for HSI classification based on deep learning. Recently, the pairing or recombining of samples has proven to be an efficient approach to increase the amount of input training data, and accordingly, the architecture of a network trained by these samples has to be redesigned, since the input is no longer a single sample. Following this strategy, in this article, we propose a spatial–spectral relation network (SS-RN) for HSI classification with limited training samples. The SS-RN takes advantage of the relation network architecture to precisely capture the profound similarity between samples. Additionally, to make SS-RN more suitable for HSI classification, an entire three-dimensional (3-D) neighborhood instead of the isolated pixel is considered to explore both spectral and spatial information thoroughly. Multiple support samples are also selected for each class to make sure that the extracted features are stable enough to avoid the intraclass similarity and interclass dissimilarity problem of HSI. The network is composed on the basis of 3-D convolutional neural network blocks with the aim of extracting spatial–spectral features. Extensive experiments on three widely used HSI datasets demonstrate that the proposed method can achieve better classification accuracy than conventional deep learning methods with limited labeled training samples.
Since hyperspectral images (HSI) captured by different sensors often contain different number of bands, but most of the convolutional neural networks (CNN) require a fixed-size input, the generalization capability of deep CNNs to use heterogeneous input to achieve better classification performance has become a research focus. For classification tasks with limited labeled samples, the training strategy of feeding CNNs with sample-pairs instead of single sample has proven to be an efficient approach. Following this strategy, we propose a Siamese CNN with three-dimensional (3D) adaptive spatial-spectral pyramid pooling (ASSP) layer, called ASSP-SCNN, that takes as input 3D sample-pair with varying size and can easily be transferred to another HSI dataset regardless of the number of spectral bands. The 3D ASSP layer can also extract different levels of 3D information to improve the classification performance of the equipped CNN. To evaluate the classification and generalization performance of ASSP-SCNN, our experiments consist of two parts: the experiments of ASSP-SCNN without pre-training and the experiments of ASSP-SCNN-based transfer learning framework. Experimental results on three HSI datasets demonstrate that both ASSP-SCNN without pre-training and transfer learning based on ASSP-SCNN achieve higher classification accuracies than several state-of-the-art CNN-based methods. Moreover, we also compare the performance of ASSP-SCNN on different transfer learning tasks, which further verifies that ASSP-SCNN has a strong generalization capability.