Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion
Highlights
- A robust unsupervised multi-scale feature fusion network (UMF2Net) is developed for HSI-AD.
- Central difference convolution and 3D convolution feature weighting are integrated to capture multi-scale spatial-spectral signatures.
- By effectively fusing hierarchical features, UMF2Net achieved competitive results in four different remote sensing scenarios.
- The framework provides a robust solution for detecting anomalies of varying sizes without requiring prior target information.
Abstract
1. Introduction
- (1)
- We propose an unsupervised HSI-AD network based on multi-scale feature fusion. The network extracts high-, medium-, and low-level spatial features from different neighborhoods through multi-scale central difference convolutions of different scales. Then, feature weighting is performed to emphasize informative features more effectively. Furthermore, we propose two multi-scale feature fusion methods based on attention modules, which perform deep and shallow feature fusion on the three different scale features mentioned above.
- (2)
- We develop a 3D convolution feature weighting module that evaluates the importance of each feature by performing feature weight calculation on the above features and applies feature weights to achieve stronger constraints or attention to useful features. Thus, the performance of the model is improved.
- (3)
- We introduce two multi-scale feature fusion methods. They are the spatial and channel attention fusion module and the cross-deformable attention fusion module. The spatial and channel attention fusion module simultaneously considers channel and spatial information, which can effectively enhance the model’s ability to focus on key features. The cross-deformable attention fusion module aims to enhance the representation ability of features through deformable convolution and cross-scale interaction, thereby better handling multi-scale features. These two fusion methods effectively integrate the advantages of different features, compensate for their respective shortcomings, and improve the performance of the model.
2. Related Work
2.1. RX Algorithm
2.2. Central Difference Convolution
3. Proposed Method
3.1. Multi-Scale Feature Extraction
3.2. Feature Weight
3.3. Multi-Scale Feature Fusion
- (1)
- Feature fusion module based on spatial and channel attention: Spatial attention and channel attention are generally considered complementary. Spatial attention captures correlations between different positions in input features, while channel attention enhances the model’s perception of different feature channels. By combining both mechanisms, the model can better utilize spatial-channel relationships to obtain more comprehensive information representations, thereby improving the performance and generalization ability [26]. To effectively fuse the weighted features and obtained in Section 3.2, we propose a feature fusion module based on spatial and channel attention. Figure 2 illustrates the overall framework.
- (2)
- Feature fusion module based on cross-deformable attention: This paper employs a cross-deformable attention fusion module to deeply integrate the small-scale feature with the shallow feature T. Since small-scale fine features preserve finer local details, using the query from small-scale features together with the key and value from large-scale features enables better handling of cross-scale relationships. This approach simultaneously incorporates a broader global context while preserving detailed local information, thereby enhancing the model’s robustness against multi-scale variations. The complete fusion process is illustrated in Figure 3.
3.4. Algorithm Implementation Process
| Algorithm 1 Hyperspectral anomaly detection algorithm. |
| Input: Hyperspectral image I; training epochs E Output: Detection map L For to E do 1. Perform three different scale-central difference convolution operations , , and on the normalized HSI to extract multi-scale spatial features , , and from different neighborhoods; 2. Perform 3D convolution operation on the outputs of multi-scale modules , , and to obtain feature weights , , and ; 3. Multiply with separately to calculate weighted features , , and ; 4. Based on the feature fusion module of spatial and channel attention, shallow fusion is performed on features and to obtain feature T; 5. According to the cross-deformable attention fusion module, deep fusion is performed on features T and to obtain feature F; End For Perform RX calculation on the fused feature F to obtain the final detection result L. |
4. Analysis and Experiment
4.1. Experimental Settings
4.1.1. Implementation
4.1.2. Datasets
4.2. Parameter Settings
- (1)
- Central difference convolution parameter analysis: The parameter assigns different weights to the integration of ordinary convolution and differential convolution to control their impact on the output features. This balanced fusion enables the network to adaptively extract features according to task-specific requirements and data characteristics. This paper analyzes the impact of different values on the results. As shown in Figure 5a, the optimal value in the above datasets was .
- (2)
- Learning rate: The learning rate influences the speed of model convergence. Selecting an appropriate learning rate prevents oscillation or divergence phenomena caused by parameter updates. This paper analyzes the AD results of the experimental datasets at different learning rates. The evaluation process is illustrated in Figure 5b, and the optimal learning rate was .
4.3. Analysis of Experimental Results
- (1)
- Subjective analysis: Figure 6 displays the detection results of each algorithm on the experimental datasets. Most of the compared algorithms exhibited excessive suppression. While the detection results of RGAE and GAED could capture target outlines, the lack of an effective feature weighting mechanism often led to the misclassification of high-frequency background noise as anomalous points, resulting in significant false alarms. Notably, the proposed UMF2Net algorithm exhibited a clear advantage in subjective visual analysis. It not only precisely depicted the full morphology of tiny targets, such as aircraft and vehicles, but also produced an extremely clean background, significantly enhancing the target-to-background contrast. This demonstrates that the multi-scale feature fusion strategy achieved an excellent balance between maintaining target integrity and suppressing complex background interference.
- (2)
- Objective analysis: Figure 7 shows the ROC curves of UMF2Net and the compared algorithms on the experimental datasets. The ROC curve of UMF2Net was generally above those of the compared methods. The black curve reached the upper-left region earlier, indicating that this algorithm can achieve higher detection rates while ensuring low false alarm rates.
4.4. Ablation Experiment
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Cuellar, A.; Mahalanobis, A. Detection of small moving targets in cluttered infrared imagery. IEEE Trans. Aerosp. Electron. Syst. 2023, 59, 1506–1517. [Google Scholar]
- Hu, J.; Zheng, W.; Wang, R.; Zhao, M. A band-selected and regularized network for hyperspectral anomaly detection. IEEE Trans. Instrum. Meas. 2025, 74, 5037514. [Google Scholar] [CrossRef]
- Wang, R.; Hu, J. Gaussian-inspired attention mechanism for hyperspectral anomaly detection. IEEE Geosci. Remote Sens. Lett. 2025, 22, 5500705. [Google Scholar] [CrossRef]
- Wu, S.; Zhang, X.; Wang, G.; Chen, P.; Gu, J.; Cheng, X.; Jiao, L. VJDNet: A simple variational joint discrimination network for cross-image hyperspectral anomaly detection. Remote Sens. 2025, 17, 2438. [Google Scholar] [CrossRef]
- Liu, Y.; Jiang, K.; Xie, W.; Zhang, J.; Li, Y.; Fang, L. Hyperspectral anomaly detection with self-supervised anomaly prior. Neural Netw. 2025, 187, 107294. [Google Scholar] [CrossRef]
- Zhao, D.; Zhang, H.; Arun, P.V.; Jiao, C.; Zhou, H.; Xiang, P.; Cheng, K. SiamSTU: Hyperspectral Video Tracker based on Spectral Spatial Angle Mapping Enhancement and State Aware Template Update. Infrared Phys. Technol. 2025, 150, 105919. [Google Scholar] [CrossRef]
- Zhao, D.; Zhang, H.; Huang, K.; Zhu, X.; Arun, P.V.; Jiang, W.; Li, S.; Pei, X.; Zhou, H. SASU-Net: Hyperspectral video tracker based on spectral adaptive aggregation weighting and scale updating. Expert Syst. Appl. 2025, 272, 126721. [Google Scholar] [CrossRef]
- Jiang, W.; Zhao, D.; Wang, C.; Yu, X.; Arun, P.V.; Asano, Y.; Xiang, P.; Zhou, H. Hyperspectral video object tracking with cross-modal spectral complementary and memory prompt network. Knowl.-Based Syst. 2025, 330, 114595. [Google Scholar] [CrossRef]
- Reed, I.S.; Yu, X. Adaptive multiple-band CFAR detection of an optical pattern with unknown spectral distribution. IEEE Trans. Acoust. Speech Signal Process. 1990, 38, 1760–1770. [Google Scholar] [CrossRef]
- Ren, L.; Zhao, L.; Wang, Y. A superpixel-based dual window RX for hyperspectral anomaly detection. IEEE Geosci. Remote Sens. Lett. 2019, 17, 1233–1237. [Google Scholar] [CrossRef]
- Kwon, H.; Nasrabadi, N.M. Kernel RX-algorithm: A nonlinear anomaly detector for hyperspectral imagery. IEEE Trans. Geosci. Remote Sens. 2005, 43, 388–397. [Google Scholar] [CrossRef]
- Liu, C.; Ma, S.; Wang, H.; Wang, Y.; Li, H. A density-based cluster kernel RX algorithm for hyperspectral anomaly detection. Spectrosc. Spectr. Anal. 2019, 39, 1878–1884. [Google Scholar]
- Xu, Y.; Du, B.; Zhang, L.; Chang, S. A low-rank and sparse matrix decomposition-based dictionary reconstruction and anomaly extraction framework for hyperspectral anomaly detection. IEEE Geosci. Remote Sens. Lett. 2020, 17, 1248–1252. [Google Scholar] [CrossRef]
- Ruhan, A.; Mu, X.; He, J. Enhance tensor RPCA-based Mahalanobis distance method for hyperspectral anomaly detection. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6008305. [Google Scholar]
- Wang, X.; Wang, Y.; Mu, Z.; Zhang, Y. UFBSM: Unmixing fusion and background sparse dictionary model for hyperspectral anomaly detection. Int. J. Remote Sens. 2024, 45, 3541–3559. [Google Scholar] [CrossRef]
- Jiang, K.; Xie, W.; Lei, J.; Jiang, T.; Li, Y. LREN: Low-rank embedded network for sample-free hyperspectral anomaly detection. Proc. AAAI Conf. Artif. Intell. 2021, 35, 4139–4146. [Google Scholar] [CrossRef]
- Wang, X.; Wang, Y.; Mu, Z.; Wang, M. FCAE-AD: Full convolutional autoencoder based on attention gate for hyperspectral anomaly detection. Remote Sens. 2023, 15, 4263. [Google Scholar] [CrossRef]
- Li, S.; Zhang, K.; Hao, Q.; Duan, P.; Kang, X. Hyperspectral anomaly detection with multiscale attribute and edge-preserving filters. IEEE Geosci. Remote Sens. Lett. 2018, 15, 1605–1609. [Google Scholar] [CrossRef]
- Liu, H.; Su, X.; Shen, X.; Zhou, X. MSNet: Self-supervised multi-scale network with enhanced separation training for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 3411009. [Google Scholar] [CrossRef]
- Wang, Z.; Wang, X.; Tan, K.; Han, B.; Ding, J.; Liu, Z. Hyperspectral anomaly detection based on variational background inference and generative adversarial network. Pattern Recognit. 2023, 143, 109795. [Google Scholar] [CrossRef]
- Zhang, L.; Lin, F.; Fu, B. A joint model based on graph and deep learning for hyperspectral anomaly detection. Infrared Phys. Technol. 2024, 139, 105335. [Google Scholar] [CrossRef]
- Sun, X.; Zhang, Y.; Dong, Y.; Du, B. Contrastive Self-Supervised Learning-Based Background Reconstruction for Hyperspectral Anomaly Detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5504312. [Google Scholar] [CrossRef]
- Chen, W.; Zhi, X.; Jiang, S.; Huang, Y.; Han, Q.; Zhang, W. DWSDiff: Dual-Window Spectral Diffusion for Hyperspectral Anomaly Detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5504617. [Google Scholar] [CrossRef]
- Sun, D.; Zhong, S.; Gong, C. Mamba-Enhanced Background Suppression Diffusion Model for Hyperspectral Anomaly Detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2026, 19, 5168–5182. [Google Scholar] [CrossRef]
- Wang, X.; Wang, L.; Vizziello, A.; Gamba, P. Hyperspectral anomaly detection based on multiscale central difference convolution network. IEEE Geosci. Remote Sens. Lett. 2023, 20, 3305814. [Google Scholar] [CrossRef]
- Fu, J.; Liu, J.; Tian, H.; Li, Y.; Bao, Y.; Fang, Z.; Lu, H. Dual attention network for scene segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 16–21 June 2019; pp. 3146–3154. [Google Scholar]
- Dai, Y.; Gieseke, F.; Oehmcke, S.; Wu, Y.; Barnard, K. Attentional feature fusion. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Virtual, 5–9 January 2021; pp. 3560–3569. [Google Scholar]
- Xia, Z.; Pan, X.; Song, S.; Li, L.E.; Huang, G. Vision transformer with deformable attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 4794–4803. [Google Scholar]
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 9992–10002. [Google Scholar]
- Mu, Z.; Wang, M.; Wang, Y.; Song, R.; Wang, X. SI2FM: SID isolation double forest model for hyperspectral anomaly detection. Remote Sens. 2023, 15, 612. [Google Scholar] [CrossRef]
- Mu, Z.; Wang, Y.; Zhang, Y.; Song, C.; Wang, X. MPDA: Multivariate probability distribution autoencoder for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 3496355. [Google Scholar] [CrossRef]
- Xiang, P.; Ali, S.; Jung, S.K.; Zhou, H. Hyperspectral anomaly detection with guided autoencoder. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5538818. [Google Scholar] [CrossRef]
- Fan, G.; Ma, Y.; Mei, X.; Fan, F.; Huang, J.; Ma, J. Hyperspectral anomaly detection with robust graph autoencoders. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5511314. [Google Scholar] [CrossRef]
- Wang, D.; Zhuang, L.; Gao, L.; Sun, X.; Huang, M.; Plaza, A. BockNet: Blind-block reconstruction network with a guard window for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5531916. [Google Scholar] [CrossRef]
- Gao, L.; Wang, D.; Zhuang, L.; Sun, X.; Huang, M.; Plaza, A. BS3LNet: A new blind-spot self-supervised learning network for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5504218. [Google Scholar] [CrossRef]
- Wang, D.; Zhuang, L.; Gao, L.; Sun, X.; Zhao, X.; Plaza, A. Sliding dual-window-inspired reconstruction network for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5504115. [Google Scholar] [CrossRef]
- Wang, D.; Zhuang, L.; Gao, L.; Sun, X.; Huang, M.; Plaza, A.J. PDBSNet: Pixel-shuffle downsampling blind-spot reconstruction network for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5511914. [Google Scholar] [CrossRef]








| Algorithm | Parameter Settings |
|---|---|
| RX | — |
| GAED | |
| RGAE | |
| BockNet | |
| BS3LNet | |
| DirectNet | |
| PDBSNet |
| Dataset | RX | GAED | RGAE | BockNet | BS3LNet | DirectNet | PDBS | UMF2Net |
|---|---|---|---|---|---|---|---|---|
| Airport-1 | 0.8221 | 0.8022 | 0.6387 | 0.9282 | 0.7849 | 0.9085 | 0.8978 | 0.9504 |
| Pavia Center | 0.9934 | 0.9948 | 0.9927 | 0.9896 | 0.9297 | 0.9964 | 0.9977 | 0.9979 |
| Airport-3 | 0.9288 | 0.8587 | 0.8874 | 0.9314 | 0.8122 | 0.8544 | 0.9225 | 0.9508 |
| Texas Coast | 0.9907 | 0.9408 | 0.9823 | 0.9939 | 0.8958 | 0.9484 | 0.9910 | 0.9929 |
| Module | Airport-1 | Pavia | Airport-3 | Texas |
|---|---|---|---|---|
| None | 0.9143 | 0.9947 | 0.9149 | 0.9832 |
| Weighted feature extraction | 0.9307 | 0.9954 | 0.9336 | 0.9849 |
| Weighted + shallow fusion | 0.9416 | 0.9964 | 0.9422 | 0.9885 |
| Full UMF2Net | 0.9504 | 0.9979 | 0.9508 | 0.9929 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, Y.; Mu, Z.; Zhang, H.; Song, C.; Wang, X. Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion. Remote Sens. 2026, 18, 1554. https://doi.org/10.3390/rs18101554
Wang Y, Mu Z, Zhang H, Song C, Wang X. Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion. Remote Sensing. 2026; 18(10):1554. https://doi.org/10.3390/rs18101554
Chicago/Turabian StyleWang, Yihan, Zhenhua Mu, Hanyu Zhang, Chuanming Song, and Xianghai Wang. 2026. "Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion" Remote Sensing 18, no. 10: 1554. https://doi.org/10.3390/rs18101554
APA StyleWang, Y., Mu, Z., Zhang, H., Song, C., & Wang, X. (2026). Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion. Remote Sensing, 18(10), 1554. https://doi.org/10.3390/rs18101554

