Pixel Dag-Recurrent Neural Network for Spectral-Spatial Hyperspectral Image Classification

Xiufang Li, Qigong Sun, Lingling Li, Zhongle Ren, Fang Liu, Licheng Jiao

Abstract

Hyperspectral image (HSI) classification is a complex task due to high dimensionality and intricate spatial-spectral correlations. This paper introduces the Pixel Directed Acyclic Graph Recurrent Neural Network (Pixel DAG-RNN), a novel architecture inspired by the population receptive field (pRF) mechanism of the human visual cortex. By decomposing spatial dependencies into directed acyclic graphs and processing them with RNNs, the model effectively captures distance-dependent correlations. Experimental results on benchmark datasets show that the Pixel DAG-RNN outperforms traditional 3D-CNNs, particularly in scenarios with limited training data.

Introduction

Hyperspectral images (HSIs) capture hundreds of contiguous spectral bands, providing a rich data source for applications such as geological surveying and precision agriculture. However, classifying these images is challenging due to the "Hughes phenomenon," where performance degrades as dimensionality increases relative to available training samples. While deep learning methods like 3D Convolutional Neural Networks (3D-CNNs) have improved classification, they often rely on rigid grid convolutions that fail to fully capture the nuanced, distance-dependent correlations between adjacent pixels—a mechanism that biological vision systems naturally exploit.

Biological Motivation: The Population Receptive Field

To better capture spatial context, the authors draw inspiration from the population receptive field (pRF) mechanism in the human visual cortex. In biological vision, the influence of surrounding scenes on a focal point decreases as the distance from the center increases.

Biological inspiration from the population receptive field (pRF) in the human visual cortex, illustrating how spatial correlation decreases with distance.

This biological concept is translated into a neural network through an autoregressive RNN structure. As the RNN processes data from the edge of a patch toward the center, the accumulation of parameters naturally weakens the influence of distant pixels, mimicking the human visual focus.

The Pixel DAG-RNN Framework

The Pixel DAG-RNN adapts traditionally 1D Recurrent Neural Networks for 2D spatial contexts through a multi-step process:

  1. Graph Representation and Decomposition: Spatial relationships within an image patch are initially modeled as an Undirected Cyclic Graph (UCG). To enable sequential processing, this loopy graph is approximated using four Directed Acyclic Graphs (DAGs) that sweep across the patch in four directions: southeast, southwest, northeast, and northwest.
  2. Sequential Processing: A recurrent neural network is applied to these DAGs, calculating hidden states sequentially from the edges of the patch toward the target center pixel.
  3. Feature Fusion: The network extracts spectral-spatial features from all four directions, concatenates them at the final target vertex, and passes them through fully connected layers for final classification.
The end-to-end hyperspectral image classification pipeline, showing image decomposition, feature extraction via Pixel DAG-RNN, and final classification results.

A key finding was that an 8-neighborhood graph structure (including diagonals) significantly outperformed a 4-neighborhood version, proving that diagonal spatial dependencies carry critical contextual information for HSI classification.

Experimental Results

The proposed 8-neighborhood Pixel DAG-RNN (8-P-DAG-RNN) achieved state-of-the-art results on three standard HSI benchmark datasets, consistently outperforming 3D-CNN baselines.

Dataset Pixel DAG-RNN (OA) 3D-CNN (OA)
Indian Pines 96.42% 94.93%
University of Pavia 99.29% 98.61%
Kennedy Space Center 97.45% 94.29%

Notably, the model excelled in classifying categories with very few training samples, demonstrating robustness where traditional deep neural networks often struggle.

Conclusion

The Pixel DAG-RNN successfully bridges biological vision concepts with deep learning architectures. By adapting RNNs to process 2D spatial contexts through DAG decomposition, the model captures complex spatial dependencies more effectively than standard convolutional approaches. Future research will focus on optimizing the computational overhead of routing RNNs through multiple directional graphs per pixel patch.

Summary updated

BibTeX
@inproceedings{li2019pixel,
  author = {Xiufang Li and Qigong Sun and Lingling Li and Zhongle Ren and Fang Liu and Licheng Jiao},
  title = {{Pixel Dag-Recurrent Neural Network for Spectral-Spatial Hyperspectral Image Classification}},
  booktitle = {IGARSS},
  year = {2019},
  doi = {10.1109/igarss.2019.8900188},
}
Figure