Convolutional neural networks (CNNs) have been widely used in hyperspectral image (HSI) classification tasks because of their excellent local spatial feature extraction capabilities. However, because it is difficult to establish dependencies between long sequences of data for CNNs, there are limitations in the process of processing hyperspectral spectral sequence features. To overcome these limitations, inspired by the Transformer model, a spatial–spectral transformer with cross-attention (CASST) method is proposed. Overall, the method consists of a dual-branch structures, i.e., spatial and spectral sequence branches. The former is used to capture fine-grained spatial information of HSI, and the latter is adopted to extract the spectral features and establish interdependencies between spectral sequences. Specifically, to enhance the consistency among features and relieve computational burden, we design a spatial–spectral cross-attention module with weighted sharing to extract the interactive spatial–spectral fusion feature intra Transformer block, while also developing a spatial–spectral weighted sharing mechanism to capture the robust semantic feature inter Transformer block. Performance evaluation experiments are conducted on three hyperspectral classification datasets, demonstrating that the CASST method achieves better accuracy than the state-of-the-art Transformer classification models and mainstream classification networks.
23 August 2022 in IEEE Transactions on Geoscience and Remote Sensing
Hyperspectral images (HSIs) contain abundant information in the spatial and spectral domains, allowing for a precise characterization of categories of materials. Convolutional neural networks (CNNs) have achieved great success in HSI classification, owing to their excellent ability in local contextual modeling. However, CNNs suffer from fixed filter weights and deep convolutional layers, which lead to a limited receptive field and high computational burden. The recent vision transformer (ViT) models long-range dependencies with a self-attention mechanism and has been an alternative backbone to CNNs traditionally used in HSI classification. However, such transformer-based architectures designate all the input pixels of the receptive field as feature tokens in terms of feature embedding and self-attention, which inevitably limits the ability for learning multiscale features and increases the computational cost. To overcome this issue, we propose a local semantic feature aggregation-based transformer (LSFAT) architecture which allows transformers to represent long-range dependencies of multiscale features more efficiently. We introduce the concept of the homogeneous region into the transformer by considering a pixel aggregation strategy and further propose neighborhood-aggregation-based embedding (NAE) and attention (NAA) modules, which are able to adaptively form multiscale features and capture locally spatial semantics among them in a hierarchical transformer architecture. A reusable classification token is included together with the feature tokens in the attention calculation. In the last stage, a fully connected layer is used to perform classification on the reusable token after transformer encoding. We verify the effectiveness of the NAE and NAA modules compared with the traditional ViT through extensive experiments. Our results demonstrate the excellent classification performance of the proposed method in comparison to other state-of-the-art approaches on several public HSIs.
28 February 2023 in IEEE Transactions on Geoscience and Remote Sensing
Deep neural networks play a significant role in hyperspectral image (HSI) processing, yet they can be easily fooled when trained with adversarial samples (generated by adding tiny perturbations to clean samples). These perturbations are invisible to the human eye, but can easily lead to misclassification by the deep learning model. Recent research on defense against adversarial samples in HSI classification has improved the robustness of deep networks by exploiting global contextual information. However, available methods do not distinguish between different classes of contextual information, which makes the global context unreliable and increases the success rate of attacks. To solve this problem, we propose a robust context-aware network able to defend against adversarial samples in HSI classification. The proposed model generates a global contextual representation by aggregating the features learned via dilated convolution, and then explicitly models intraclass and interclass contextual information by constructing a class context-aware learning module (including affinity loss) to further refine the global context. The module helps pixels obtain more reliable long-range dependencies and improves the overall robustness of the model against adversarial attacks. Experiments on several benchmark HSI datasets demonstrate that the proposed method is more robust and exhibits better generalization than other advanced techniques.
25 August 2023 in IEEE Transactions on Neural Networks and Learning Systems
Anomaly detection is a fundamental task in hyperspectral image (HSI) processing. However, most existing methods rely on pixel feature vectors and overlook the relational structure information between pixels, limiting the detection performance. In this article, we propose a novel approach to hyperspectral anomaly detection that characterizes the HSI data using a vertex-and edge-weighted graph with the pixels as vertices. The constructed graph encodes rich structural information in an affinity matrix. A crucial innovation of our method is the ability to obtain internal relations between pixels at multiple topological scales by processing different powers of the affinity matrix. This power processing is viewed as a graph evolution, which enables anomaly detection using vertex extraction formulated as a quadratic programming problem on graphs of varying topological scales. We also design a hierarchical guided filtering architecture to fuse multiscale detection results derived from graph evolution, which significantly reduces the false alarm rate. Our approach effectively characterizes the topological properties of HSIs, leveraging the structural information between pixels to improve anomaly detection accuracy. Experimental results on four real HSIs demonstrate the superior detection performance of our proposed approach compared to some state-of-the-art hyperspectral anomaly detection methods.
3 May 2023 in IEEE Transactions on Instrumentation and Measurement
Hyperspectral images (HSIs) often contain irregular ground cover with mixed spectral features and noise, which makes it challenging to identify the ground cover using only pixel features, superpixel features, or a combination of both. To alleviate the above problem, this paper proposes a superpixel-pixel-subpixel multilevel network (SPSM), which compensates for the insufficiencies of the different levels and decrease the information loss. For arbitrary irregular regions, superpixel features are simulated as network nodes using a graph convolutional network (GCN) to capture the spatial texture structure of the HSI, which improves the smooth classification results of local regions while facilitating the identification of different vegetation features in the region. Additionally, the global attention module (GAM) learns local regular regions based on pixel-level features to extend the global interactive representation capability and reduce information loss. To overcome spectral mixing and enhance material discrimination, the normalized attention module (NAM) is used to suppress unimportant subpixel information and identify and remove irrelevant details, thereby improving the identification of critical features that differentiate different materials. Finally, the three features are fused to build a SPSM classification framework to improve robustness to overfitting, reduce computational complexity, and facilitate target recognition. Experimental results on four HSI datasets demonstrate that the method is more capable of recognizing detailed features than other advanced comparison methods.
24 August 2020 in IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing
Hyperspectral images (HSIs) have fine spectral information, and rich spatial information, of which the feature quality is one of the key factors that affect the classification performance. Therefore, how to extract essential features, and eliminate redundant features from hyperspectral data are the main research focus of this article. Here, we propose a spectral-spatial feature extraction method based on ensemble empirical mode decomposition for HSI classification, which contains several steps as follows: First, the dimension reduction for HSI is performed by using the principal component analysis method. Second, in order to decrease the sensitivity to noise, and extract rough outline features, the adaptive total variation filtering (ATVF) is conducted on the selected principal components. Furthermore, by using the ensemble empirical mode decomposition (EEMD) to resolve each spectral band into sequence components, the features of HSIs can be better coalesced into the transform domain. Finally, the first K principal components of the input image, and the outputs of the ATVF, and EEMD are integrated into a stacking system to obtain the final feature image, which is then classified by a pixel-wise classifier. The experimental results of three authentic hyperspectral datasets show that the proposed algorithm obtains a superior classification performance compared with other methods.