Beyond Reconstruction: Reconstruction-to-Vector Diffusion for Hyperspectral Anomaly Detection
Organizations: Rocket Force University of Engineering, Xi’an 710025, China
Abstract
While Hyperspectral Anomaly Detection (HAD) excels at identifying sparse targets in complex scenes, existing models remain trapped in a scalar "reconstruction-as-endpoint" paradigm. This reliance on ambiguous scalar residuals consistently triggers sub-pixel anomaly vanishing during spatial downsampling, alongside severe confirmation bias when unpurified anomalies corrupt training weights. In this paper, we propose Reconstruction-to-Vector Diffusion (R2VD), which fundamentally redefines reconstruction as a manifold purification origin to establish a novel residual-guided generative dynamics paradigm. Our framework introduces a four-stage pipeline: (1) a Physical Prior Extraction (PPE) stage that mitigates early confirmation bias via dual-stream statistical guidance; (2) a Guided Manifold Purification (GMP) stage utilizing an OmniContext Autoencoder (OCA) to extract purified residual maps while preserving fragile sub-pixel topologies; (3) a Residual Score Modeling (RSM) stage where a Diffusion Transformer (DiT), guarded by a Physical Spectral Firewall (PSF), effectively isolates cross-spectral leakage; and (4) a Vector Dynamics Inference (VDI) stage that robustly decouples targets from backgrounds by evaluating high-dimensional vector interference patterns instead of conventional scalar errors. Comprehensive evaluations on eight datasets confirm that R2VD establishes a new state-of-the-art, delivering exceptional target detectability and background suppression. The code is available at https://github.com/Bondojijun/R2VD.
Figures & tables
| Dataset Name | Spatial Size | Bands | Anomaly Pixels | Ratio (%) |
| Urban-2 [ 48 ] | 100 100 | 207 | 155 | 1.55 |
| Aviris-2 [ 49 ] | 128 128 | 189 | 120 | 0.73 |
| Cri [ 51 ] | 400 400 | 46 | 860 | 0.54 |
| HAD100-40 [ 6 ] | 64 64 | 276 | 67 | 1.64 |
| HAD100-95 [ 6 ] | 64 64 | 276 | 85 | 2.08 |
| Hyperion [ 50 ] | 100 100 | 145 | 32 | 0.32 |
| Dataset | Metric | RX [ 19 ] | LSUN [ 20 ] | Auto-AD [ 10 ] | GT-HAD [ 11 ] | GAED [ 7 ] | NL2Net [ 55 ] | PDBSNet [ 53 ] | PUNNet [ 54 ] | BSDM [ 16 ] | ScoreAD [ 47 ] | Auto-AD +VD | GT-HAD +VD | R2VD |
| Urban-2 [ 48 ] | 0.9946 | 0.9721 | 0.9970 | 0.9953 | 0.9958 | 0.9969 | 0.9960 | 0.9951 | 0.9964 | 0.9867 | 0.9950 | 0.9974 | 0.9975 | |
| 0.1178 | 0.0653 | 0.2666 | 0.2183 | 0.1098 | 0.2718 | 0.1842 | 0.2317 | 0.1649 | 0.9577 | 0.3540 | 0.2989 | 0.7891 | ||
| 0.0135 | 0.0020 | 0.0031 | 0.0081 | 0.0045 | 0.0007 | 0.0011 | 0.0007 | 0.0133 | 0.7395 | 0.0244 | 0.0182 | 0.0471 | ||
| 1.0989 | 1.0354 | 1.2605 | 1.2055 | 1.1011 | 1.2680 | 1.1790 | 1.2262 | 1.1480 | 1.2049 | 1.3247 | 1.2782 | 1.7395 | ||
| 8.7151 | 32.4981 | 86.0995 | 27.0674 | 24.3536 | 372.9856 | 163.9466 | 352.3328 | 12.3745 | 1.2951 | 14.5160 | 16.4608 | 16.7709 | ||
| Aviris-2 [ 49 ] | 0.9181 | 0.9150 | 0.8950 | 0.8968 | 0.9034 | 0.9389 | 0.9453 | 0.9365 | 0.8967 | 0.6207 | 0.9241 | 0.9228 | 0.9878 |
| Metric | Aviris-2 | HAD100-95 | Segundo |
| 0.9865 0.0012 | 0.9944 0.0010 | 0.9932 0.0008 | |
| 0.5507 0.0125 | 0.5015 0.0173 | 0.4618 0.0130 | |
| 0.0500 0.0035 | 0.0446 0.0019 | 0.0008 0.0002 | |
| 1.4872 0.0142 | 1.4513 0.0163 | 1.4543 0.0133 | |
| 11.0700 0.8100 | 11.2500 0.4800 | 638.6604 180.3332 |
| Dataset | BSV | |||
| Aviris-2 | 5 | 0.9017 0.0108 | 7.72 | 0.5818 0.0851 |
| 50 | 0.9865 0.0012 | 1.15 | 0.0844 0.0134 | |
| HAD100-95 | 5 | 0.9619 0.0081 | 7.55 | 0.2587 0.0832 |
| 50 | 0.9944 0.0010 | 9.63 | 0.0126 0.0022 | |
| Segundo | 5 | 0.9440 0.0024 | 7.55 | 0.4482 0.0401 |
| 50 | 0.9932 0.0008 | 1.22 | 0.0459 0.0106 |
| Dataset | Model | SS | ||
| Aviris-2 | M0 | 0.7108 | 1.226 | 0.1035 |
| M1 | 0.7851 | 2.786 | 0.1311 | |
| M2 | 0.8254 | 3.196 | 0.1712 | |
| M3 | 0.8930 | 5.626 | 0.2671 | |
| R2VD | 0.9878 | 10.196 | 0.5127 | |
| HAD100-95 | M0 | 0.7233 | 1.268 | 0.1096 |
| Method | Params (M) | Total Running Time (s) |
| RX [ 19 ] | – | 0.18 |
| LSUN [ 20 ] | – | 7.04 |
| Auto-AD [ 10 ] | 3.25 | 4.60 |
| GT-HAD [ 11 ] | 0.26 | 6.80 |
| GAED [ 7 ] | 0.05 | 36.13 |
| NL2Net [ 55 ] | 0.77 | 138.69 |