An Unsupervised Deep Hyperspectral Anomaly Detector

Ning Ma, Yu Peng, Shaojun Wang, Philip Heng Wai Leong2018

TL;DR

This paper introduces a novel unsupervised anomaly detection method for hyperspectral images (HSI) using Deep Belief Networks (DBNs) and adaptive weights. By learning high-level features without assuming background distributions and intelligently down-weighting potentially anomalous neighboring pixels, the method achieves superior detection accuracy compared to existing techniques.

What Problem Does This Paper Address?

Hyperspectral imaging captures detailed spectral information across hundreds of narrow bands, making it powerful for applications like environmental monitoring and defense. However, identifying "anomalies" – rare objects or events that differ significantly from the background – is challenging. Traditional methods often rely on assumptions about the background's statistical distribution (e.g., Gaussian), which can lead to false alarms when these assumptions are violated. Furthermore, local anomaly detectors can be contaminated by anomalous pixels appearing within the local neighborhood, leading to misclassification. This paper aims to address these limitations by developing an unsupervised anomaly detector that is robust to distribution assumptions and resistant to local anomaly contamination.

Methods

The core of the proposed method is a Deep Belief Network (DBN) configured as an auto-encoder. This DBN learns to extract high-level features and reconstruct input hyperspectral pixels without requiring any prior knowledge of the background distribution. The reconstruction error for each pixel serves as an initial indicator of anomaly.

To mitigate the issue of anomalous pixels contaminating local detection, the authors introduce an adaptive weight strategy. This strategy leverages the reconstruction errors of neighboring pixels. Pixels with higher reconstruction errors (suggesting they might be anomalous) are assigned lower weights, effectively reducing their influence on the anomaly score calculation for the target pixel. This is combined with the "code image" generated by the DBN, which represents the learned spectral-spatial features. The anomaly score is then computed as a weighted Euclidean distance between the code of the under-test pixel and the codes of its neighbors, where the weights are derived from the reconstruction errors. This approach aims to balance the spectral-spatial information captured by the DBN with a robust weighting mechanism to handle local contamination.

Datasets

The proposed method was evaluated on:

  • One synthetic dataset: Created by embedding 15 building image blocks (5x5 pixels) into a real HSI image acquired over Lake Salvador.
  • A second synthetic dataset: Generated using an AVIRIS image of San Jose, where anomaly targets were created by mixing ship pixels with background pixels.
  • One real HSI dataset: Collected over the San Diego airport, containing ground truth labels for anomaly targets (planes).

Key Insights and Ideas

  • DBNs as distribution-agnostic feature extractors: The use of DBNs as auto-encoders effectively learns meaningful features from HSI data without making restrictive assumptions about the background's statistical properties, a significant advantage over traditional methods.
  • Adaptive weighting for anomaly robustness: Assigning lower weights to neighboring pixels with high reconstruction errors is a clever way to reduce the impact of local anomalies on the overall anomaly score, preventing contamination.
  • Synergy of spectral-spatial features and reconstruction errors: Combining the learned spectral-spatial codes from the DBN with reconstruction error-based adaptive weights leads to a more accurate anomaly detection score than using either component alone.
  • The importance of local context: While DBNs capture global features, incorporating local neighborhood information through weighted distances proves crucial for accurate anomaly localization.

Key Results

The proposed adaptive weight DBN detector consistently outperformed existing methods, including the classic Reed-Xiaoli detector (RXD), Local RXD (LRXD), and the state-of-the-art Collaborative Representation Detector (CRD), across all tested datasets.

  • Lake Salvador HSI: Achieved an AUC of 0.998, matching LRXD but with significantly less detection time (19.510s vs. 66.455s).
  • San Jose HSI: Achieved the highest AUC of 0.949, outperforming other methods. It was also more efficient than LRXD and CRD in terms of detection time.
  • San Diego airport HSI: Demonstrated a dramatic improvement in AUC, reaching 0.935 with adaptive weights, compared to 0.870 for DBN-AD (without adaptive weights) and 0.907 for DBN-LAD (using local detection but no adaptive weights).

Limitations and Future Work

  • Computational Efficiency: While the proposed method is more efficient than some local detectors like LRXD and CRD, it is still slower than global detectors like RXD and DBN-AD due to the added distance computation and weighting steps. The authors suggest further improvements in computational efficiency are possible.
  • Window Size Optimization: The performance of local detectors is sensitive to window size. While an optimization process was performed, finding the optimal window size can be time-consuming.
  • Penalty Factor Tuning: The weight penalty factor ($P_f$) was found to influence AUC, with a recommended value of 0 for optimal performance on the San Diego dataset. However, further investigation into its generalization across different datasets might be beneficial.

Future work could focus on enhancing computational efficiency and improving detection performance at very low false positive rates.

Summary updated

BibTeX
@misc{ma2018unsupervised,
  author = {Ning Ma and Yu Peng and Shaojun Wang and Philip Heng Wai Leong},
  title = {{An Unsupervised Deep Hyperspectral Anomaly Detector}},
  year = {2018},
  doi = {10.3390/s18030693},
}
Figure