Conditional Random Field and Deep Feature Learning for Hyperspectral Image Segmentation

Fahim Irfan Alam, Jun Zhou, Alan Wee-Chung Liew, Xiuping Jia, Jocelyn Chanussot, Yongsheng GaoarXiv 2017

Introduction

Hyperspectral imaging (HSI) captures a dense spectral "fingerprint" across hundreds of narrow bands, providing unparalleled detail for material identification in remote sensing. However, segmenting these images is notoriously difficult due to the "curse of dimensionality"—where high-dimensional data meets sparse manual labeling—and spatial incoherence, which often results in fragmented or "blobby" segmentation maps that fail to respect physical object boundaries.

This paper presents 3DCNN-CRF, a hybrid framework that combines 3D Convolutional Neural Networks (CNNs) with Conditional Random Fields (CRFs) and a deconvolutional network. This approach produces smooth, high-resolution segmentation maps and achieves state-of-the-art accuracy even when training data is extremely scarce.

The 3DCNN-CRF Framework

The proposed system integrates deep feature learning with probabilistic graphical modeling in an end-to-end fashion. Unlike traditional methods that use CRFs as a simple post-processing filter, this framework learns the CRF parameters directly from the data as part of the training process.

The overall 3DCNN-CRF architecture, illustrating the flow from 3D convolution feature extraction to final refined segmentation.

3D-CNN Feature Extraction

Standard 2D CNNs often struggle with the spectral depth of HSI. The 3DCNN-CRF model utilizes 3D kernels to process "spectral cubes"—localized groups of 20-25 bands. This allows the network to learn complex spectral-spatial correlations simultaneously, which the authors found to be more discriminative than processing the entire spectrum at once.

Integrated Deep CRF

The core innovation is the formulation of the CRF’s unary (pixel-wise) and pairwise (neighbor-relationship) potentials using stacks of 3D-CNNs. By training these potentials as part of the deep network, the model learns a sophisticated version of spatial smoothing that respects actual object boundaries rather than just blurring the output.

The internal structure of the Deep CRF component, detailing how unary and pairwise potential networks are learned via 3D-CNN stacks to refine segmentation.

Spatial Refinement via Deconvolution

To recover the spatial resolution lost during the "pooling" stages of the CNN, the authors include a deconvolutional branch. This network uses unpooling and deconvolution layers to sharpen edges and connect regions belonging to the same segment, effectively fixing the loss of detail typical of standard deep classifiers.

Addressing Data Scarcity: Virtual Sampling

To combat the lack of labeled training data, the authors developed a "virtual sampling" technique. This method creates new training instances by mathematically mixing real samples of the same class while adding Gaussian noise and simulated lighting variations. In extreme cases with only three training samples per class, this augmentation boosted overall accuracy by nearly 35%.

Key Results and Discussion

The 3DCNN-CRF model was evaluated on the Indian Pines and Pavia University benchmarks, as well as a new Griffith-USGS dataset created from AVIRIS scenes.

  • State-of-the-Art Accuracy: The model achieved 99.15% Overall Accuracy (OA) on Indian Pines and 99.63% on Pavia University, significantly outperforming traditional SVMs.
  • Boundary Precision: On the Griffith-USGS dataset, the deconvolution network improved accuracy by approximately 7% over the baseline CNN by sharpening object boundaries and recovering fine details.
  • Efficiency: Despite its complexity, the model is computationally efficient during inference; testing a full scene takes roughly one minute on a standard desktop CPU.

Conclusion

By bridging the gap between deep feature learning and probabilistic modeling, the 3DCNN-CRF framework provides a robust solution for HSI segmentation. The combination of 3D-CNNs for feature extraction, learned CRF potentials for spatial consistency, and deconvolution for boundary refinement allows for high-precision mapping even in data-poor environments.

Summary updated

BibTeX
@misc{alam2017conditional,
  author = {Fahim Irfan Alam and Jun Zhou and Alan Wee-Chung Liew and Xiuping Jia and Jocelyn Chanussot and Yongsheng Gao},
  title = {{Conditional Random Field and Deep Feature Learning for Hyperspectral Image Segmentation}},
  year = {2017},
  eprint = {1711.04483},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.04483},
}
Figure