Robust Linear Spectral Unmixing using Anomaly Detection

Yoann Altmann, Stephen McLaughlin, Alfred O. HeroIEEE Trans. Computational Imaging 2015

Abstract

This paper presents a Bayesian algorithm for linear spectral unmixing of hyperspectral images that accounts for anomalies present in the data. The model proposed assumes that the pixel reflectances are linear mixtures of unknown endmembers, corrupted by an additional nonlinear term modelling anomalies and additive Gaussian noise. A Markov random field is used for anomaly detection based on the spatial and spectral structures of the anomalies. This allows outliers to be identified in particular regions and wavelengths of the data cube. A Bayesian algorithm is proposed to estimate the parameters involved in the model yielding a joint linear unmixing and anomaly detection algorithm. Simulations conducted with synthetic and real hyperspectral images demonstrate the accuracy of the proposed unmixing and outlier detection strategy for the analysis of hyperspectral images.

Introduction

Hyperspectral sensors capture hundreds of narrow spectral bands, providing a rich data cube for material identification through spectral unmixing (SU). The standard Linear Mixing Model (LMM) posits that each pixel's reflectance is a weighted linear combination of pure material signatures, known as endmembers. However, real-world conditions often violate LMM assumptions due to nonlinear effects (e.g., multiple scattering in vegetation), physical variations like shadows, or sensor-induced artifacts.

Standard "robust" unmixing techniques typically treat these deviations as sparse, independent noise. This paper addresses a more complex reality: anomalies often exhibit significant spatial and spectral structure. Ignoring these correlations can severely bias the estimation of material abundances and signatures.

Methodology

The proposed framework utilizes a hierarchical Bayesian model to decompose the observed pixel reflectance $y_n$ into three components:

$$y_n = M a_n + r_n + e_n$$

where $M a_n$ represents the linear mixture of endmembers and abundances, $r_n$ is the anomaly term, and $e_n$ is additive Gaussian noise.

3D Ising Markov Random Field

The core innovation lies in the modeling of the anomaly term $r_n$, which is decomposed into a location matrix $Z$ and a value matrix $X$. To capture the structured nature of outliers, a 3D Ising Markov Random Field (MRF) prior is applied to $Z$. This prior encodes the physical intuition that if a pixel is anomalous at a specific wavelength, its spatial neighbors and adjacent spectral bands are also likely to be anomalous.

Directed Acyclic Graph (DAG) of the proposed hierarchical Bayesian model.

Adaptive Inference

To perform inference on this complex model, the authors employ a Stochastic Gradient Markov Chain Monte Carlo (SGMCMC) algorithm. Unlike standard MCMC, which can be computationally prohibitive and requires manual hyperparameter tuning, this adaptive approach automatically estimates parameters (such as the spatial correlation weight $\beta$) directly from the data.

Experimental Setup

The model was evaluated using three distinct datasets:

  1. Synthetic Data: A $60 \times 60$ pixel image with 207 spectral bands and 3 endmembers, providing a ground truth for benchmarking.
  2. AVIRIS Moffett Field: A $50 \times 50$ subimage (189 bands) representing a mix of water, vegetation, and soil.
  3. Hyspex Villelongue: A high-resolution dataset ($300 \times 250$ pixels, 160 bands) of a forested area, used to test performance in complex natural environments.

Results and Discussion

The proposed Robust Bayesian Linear Unmixing (RBLU) method demonstrated significant improvements over traditional approaches:

  • Accuracy: In synthetic tests with 10% outlier corruption, RBLU achieved a Root Normalized Mean Square Error (RNMSE) for abundances of 0.74, vastly outperforming the 8.27 achieved by the standard VCA-FCLS method.
  • Endmember Recovery: Spectral Angle Mapper (SAM) scores were consistently lower, indicating more accurate recovery of pure material signatures despite heavy outliers.
  • Feature Discovery: On the Villelongue dataset, the model successfully identified a soil path obscured in true-color images and highlighted spectral deviations in tree canopies likely related to species health.

A key insight is that anomalies should be treated as structured information rather than random noise. By jointly estimating unmixing and anomaly detection, the processes inform each other, leading to more robust results.

Conclusion

While RBLU offers superior accuracy and automation, it comes with a higher computational cost—taking approximately 30 minutes for a $60 \times 60$ image compared to seconds for simpler methods. Future work will focus on optimizing the algorithm through parallelization and extending the model to handle non-Gaussian noise distributions.

Summary updated

BibTeX
@article{altmann2015robust,
  author = {Yoann Altmann and Stephen McLaughlin and Alfred O. Hero},
  title = {{Robust Linear Spectral Unmixing using Anomaly Detection}},
  journal = {IEEE Trans. Computational Imaging},
  year = {2015},
}
Figure