A Balanced Spectral–Spatial Cross-Fusion Network for Hyperspectral Anomaly Detection
Highlights
- A balanced spectral–spatial cross-fusion network is developed for hyperspectral anomaly detection using spectral and multi-scale spatial features.
- The proposed method achieves effective anomaly detection on five benchmark hyperspectral datasets with different background conditions.
- Spectral–spatial feature interaction improves feature representation and reduces background interference in hyperspectral anomaly detection.
- The proposed framework improves anomaly detection results in complex hyperspectral scenes.
Abstract
1. Introduction
1.1. Statistical Modeling-Based Methods
1.2. Representation Learning-Based Methods
1.3. Deep Learning-Based Methods
1.4. Motivation and Contributions
- A multi-branch collaborative framework is proposed to extract spectral and spatial information from different perspectives. The framework integrates spectral modeling, local spatial representation, and global context perception to enhance feature diversity.
- A Bidirectional Spectral–Spatial Cross-Attention module is designed to enhance information interaction between spectral and spatial features. The bidirectional interaction mechanism promotes feature fusion and improves cross-domain consistency.
- A Multi-Scale Gated Refiner is developed to refine fused features through multi-scale aggregation and gated selection. This module suppresses background interference and preserves anomaly-related information during the reconstruction process.
1.5. Paper Organization
1.6. Related Works
LSNet
2. Materials and Methods
2.1. Spatial–Spectral Joint Network Architecture
2.2. Bidirectional Spectral–Spatial Cross-Attention
2.3. Multi-Scale Gated Refiner
2.3.1. Partial Channel Multi-Scale Spatial Enhancement Mechanism
2.3.2. Gated Channel-Wise Semantic Reweighting Mechanism
2.3.3. Mechanism Summary
3. Results
3.1. Experimental Datasets
3.2. Compared Methods and Experimental Settings
3.3. Experimental Results
3.4. Ablation Study
3.5. Computational Complexity Analysis
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Yu, L.; Liu, Y.; Gao, H. Blind-Spot KAN-Based Background Reconstruction Network with Prior Purification for Hyperspectral Anomaly Detection. Remote Sens. 2026, 18, 1628. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit]
- Garske, S.; Evans, B.; Artlett, C.; Wong, K.C. ERX: A fast real-time anomaly detection algorithm for hyperspectral line scanning. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5503617. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.-M.; Chang, C.-I. Multiple-window anomaly detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2013, 6, 644–658. [Google Scholar] [CrossRef] [Scilit]
- Guo, Q.; Zhang, B.; Ran, Q.; Gao, L.; Li, J.; Plaza, A. Weighted-RXD anomaly detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2014, 7, 2351–2366. [Google Scholar] [CrossRef] [Scilit]
- Ma, X.; Zhang, X.; Tang, X.; Zhou, H.; Jiao, L. Hyperspectral Anomaly Detection Based on Low-Rank Representation With Data-Driven Projection and Dictionary Construction. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 2226–2239. [Google Scholar] [CrossRef] [Scilit]
- Chang, C.-I.; Cao, H.; Chen, S.; Shang, X.; Yu, C.; Song, M. Orthogonal subspace projection-based Go-decomposition approach for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2021, 59, 2403–2429. [Google Scholar] [CrossRef] [Scilit]
- Li, F.; Zhang, Y.; Zhang, L.; Zhang, X.; Jiang, D. Hyperspectral anomaly detection using background learning and structured sparse representation. In Proceedings of the 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Beijing, China, 10–15 July 2016; pp. 1618–1621. [Google Scholar]
- Xu, Y.; Du, B.; Zhang, L.; Chang, S. Low-rank and sparse matrix decomposition-based anomaly detection. IEEE Geosci. Remote Sens. Lett. 2020, 17, 1248–1252. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Wang, W.; Qi, H.; Ayhan, B.; Kwan, C.; Vance, S. Low-rank tensor decomposition-based anomaly detection. In Proceedings of the 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada, 27–30 September 2015; pp. 4525–4529. [Google Scholar]
- Lin, S.; Cheng, X.; Zeng, Y.; Huo, Y.; Zhang, M.; Wang, H. Low-rank and sparse representation inspired interpretable network for hyperspectral anomaly detection. IEEE Trans. Instrum. Meas. 2024, 73, 5033116. [Google Scholar] [CrossRef] [Scilit]
- Li, W.; Du, Q. Collaborative representation for anomaly detection. IEEE Trans. Geosci. Remote Sens. 2015, 53, 1463–1474. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Wang, Q.; Hong, D.; Roy, S.K.; Chanussot, J. Tensor low-rank representation. IEEE Trans. Cybern. 2023, 53, 679–691. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, X.; Wei, Y.; Tan, J.; Li, S.; Tang, H.; Liu, W. LMamba: Local-Guided Mamba with Multi-Scale Filtering for Hyperspectral Image Classification. Remote Sens. 2026, 18, 1629. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.-X.; Yeh, H.-Y. A semi-supervised learning model based on convolutional autoencoder and convolutional neural network for image classification. In Proceedings of the 2019 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), Taipei, Taiwan, 3–6 December 2019. [Google Scholar]
- Chen, Y.; Zhang, H.; Wang, Y.; Wu, Q.M.J.; Yang, Y. Projected sliced Wasserstein autoencoder for hyperspectral anomaly detection. arXiv 2021, arXiv:2112.11243. [Google Scholar]
- Lv, S.; Zhao, S.; Li, D.; Pang, B.; Lian, X.; Liu, Y. Spatial–spectral joint hyperspectral anomaly detection. Remote Sens. 2023, 15, 2542. [Google Scholar] [CrossRef] [Scilit]
- Yu, D.; Gao, Z. VolFormer: Explore more comprehensive cube interaction for hyperspectral image restoration and beyond. In Proceedings of the 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 10–17 June 2025; pp. 28091–28101. [Google Scholar]
- Park, J.; Woo, S.; Lee, J.-Y.; Kweon, I.S. BAM: Bottleneck attention module. arXiv 2018, arXiv:1807.06514. [Google Scholar]
- Woo, S.; Park, J.; Lee, J.-Y.; Kweon, I.S. CBAM: Convolutional block attention module. In Computer Vision—ECCV 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 3–19. [Google Scholar]
- Chong, D.; Hu, B.; Gao, H.; Gao, X. Hyperspectral anomaly detection via super-resolution reconstruction. Appl. Opt. 2021, 60, 8109–8119. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, D.; Ren, L.; Sun, X.; Gao, L.; Chanussot, J. Nonlocal and local feature-coupled self-supervised network for hyperspectral anomaly detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 6981–6993. [Google Scholar] [CrossRef] [Scilit]
- Zhang, G.; Sun, T.; Lu, F.; Zhang, S.; Yin, J.; Wu, Y.; Xiong, Z. FS2CCTrans: Frequency–spatial–spectral joint analysis with criss-cross transformer for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5508218. [Google Scholar] [CrossRef] [Scilit]
- Gan, Y.; Li, X.; Wu, S.; Wang, M. MACNet: A multiscale attention guided contextual network for hyperspectral anomaly detection. IEEE Geosci. Remote Sens. Lett. 2025, 22, 5508905. [Google Scholar] [CrossRef] [Scilit]
- Ren, X.; Wang, J.; Ma, T.; Yue, C.; Bai, K. Adaptive background suppression method for IR small target detection. IEEE Access 2020, 8, 36930–36947. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Mu, Z.; Zhang, H.; Song, C.; Wang, X. Robust Hyperspectral Anomaly Detection via Unsupervised Multiscale Feature Fusion. Remote Sens. 2026, 18, 1554. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Yang, K.; Lu, J.; Liu, W.; Zeng, T. A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing. Remote Sens. 2026, 18, 1483. [Google Scholar] [CrossRef] [Scilit]
- Zhou, S.; Chen, D.; Pan, J.; Shi, J.; Yang, J. Adapt or perish: Adaptive sparse transformer with attentive feature refinement for image restoration. In Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; pp. 2952–2963. [Google Scholar]
- Wang, A.; Chen, H.; Lin, Z.; Han, J.; Ding, G. LSNet: See large, focus small. In Proceedings of the 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 10–17 June 2025; pp. 9718–9729. [Google Scholar]
- Howard, A.G.; Zhu, M.; Chen, B.; Kalenichenko, D.; Wang, W.; Weyand, T.; Andreetto, M.; Adam, H. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv 2017, arXiv:1704.04861. [Google Scholar]
- Wang, J.; Wu, Z.; Ouyang, W.; Han, X.; Chen, J.; Lim, S.-N.; Jiang, Y.-G. M2TR: Multi-modal multi-scale transformers for deepfake detection. In Proceedings of the 2022 International Conference on Multimedia Retrieval, Newark, NJ, USA, 27–30 June 2022; pp. 615–623. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems NIPS, Long Beach, CA, USA, 4–9 December 2017; pp. 5998–6008. [Google Scholar]
- Liu, S.; Zhu, C.; Ran, D.; Wen, G. Tensor multisubspace learning for anomaly detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 8178–8190. [Google Scholar] [CrossRef] [Scilit]
- Green, R.O.; Eastwood, M.L.; Sarture, C.M.; Chrien, T.G.; Aronsson, M.; Chippendale, B.J.; Faust, J.A.; Pavri, B.E.; Chovit, C.J.; Solis, M.; et al. Imaging Spectroscopy and the Airborne Visible/Infrared Imaging Spectrometer (AVIRIS). Remote Sens. Environ. 1998, 65, 227–248. [Google Scholar] [CrossRef] [Scilit]
- Kang, X.; Zhang, X.; Li, S.; Li, K.; Li, J.; Benediktsson, J.A. Hyperspectral Anomaly Detection with Attribute and Edge–Preserving Filters. IEEE Trans. Geosci. Remote Sens. 2017, 55, 5600–5611. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Wang, B. KACNet: Kolmogorov–Arnold convolution network for Hyperspectral Anomaly Detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5506514. [Google Scholar] [CrossRef] [Scilit]
- Fu, X.; Zhang, T.; Cheng, J.; Jia, S. MMR-HAD: Multiscale Mamba reconstruction network. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5516914. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Paoletti, M.E.; Su, H.; Tao, X.; Han, L.; Haut, J.M.; Plaza, A. Background-guided deformable convolutional autoencoder for hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5531816. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Wang, B. Transformer-Based Autoencoder Framework for Nonlinear Hyperspectral Anomaly Detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5508015. [Google Scholar] [CrossRef] [Scilit]
- Lian, J.; Wang, L.; Sun, H.; Huang, H. GT-HAD: Gated transformer for hyperspectral anomaly detection. IEEE Trans. Neural Netw. Learn. Syst. 2025, 36, 3631–3645. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- 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, 3246565. [Google Scholar] [CrossRef] [Scilit]
- Chang, C.-I.; Lin, C.-Y.; Chung, P.-C.; Hu, P.F. Iterative spectral–Spatial hyperspectral anomaly detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5504330. [Google Scholar] [CrossRef] [Scilit]
- Fu, X.; Jia, S.; Zhuang, L.; Xu, M.; Zhou, J.; Li, Q. Hyperspectral Anomaly Detection via Deep Plug-and-Play Denoising CNN Regularization. IEEE Trans. Geosci. Remote Sens. 2021, 59, 9553–9568. [Google Scholar] [CrossRef] [Scilit]






| Notation | Description |
|---|---|
| Input hyperspectral feature representation | |
| Spatial feature embedding after convolution | |
| Spectral sequence representation of input features | |
| Spatial feature representation | |
| Initial spectral features after 1D convolution | |
| Channel-refined spectral features | |
| Final spectral feature representation after reshaping | |
| Global spatial response map generated by large-kernel branch | |
| Local spatial attention map | |
| Local spatial features extracted by grouped convolution | |
| Local spatial features refined by spatial attention | |
| Spatial-guided spectral enhancement feature | |
| Spectral-guided spatial compensation feature | |
| Feature representation after BSCA fusion | |
| Learnable residual scaling factor in BSCA | |
| Selected channel group for spatial enhancement in msGR | |
| Untouched channel group retaining original features | |
| r | Channel partition ratio in partial-channel enhancement |
| Features extracted by the local convolution branch in msGR | |
| Features extracted by dilated convolution with dilation rate 2 | |
| Multi-scale spatial features after feature fusion | |
| Enhanced spatial representation after channel reconstruction | |
| Flattened pixel-wise feature sequence | |
| Feature branch and gating branch after channel split | |
| Depthwise convolution enhanced feature branch | |
| Gated feature representation | |
| Final refined feature representation from msGR | |
| Learnable residual scaling factor in msGR | |
| Weight matrix of the first linear layer in the MLP | |
| Weight matrix of the second linear layer in the MLP | |
| Bias vector of the first linear layer | |
| Bias vector of the second linear layer |
| Dataset | RX | MSNet | DCAE | NL2Net | GT-HAD | BS3LNet | BSCF-Net |
|---|---|---|---|---|---|---|---|
| AVIRIS | 0.8073 | 0.9863 | 0.9899 | 0.9503 | 0.9389 | 0.9997 | 0.9891 |
| Gulfport | 0.9526 | 0.9853 | 0.9740 | 0.5768 | 0.9648 | 0.9459 | 0.9866 |
| HYDICE Urban | 0.9857 | 0.9759 | 0.8973 | 0.6529 | 0.8681 | 0.8784 | 0.9962 |
| Urban-2 | 0.9952 | 0.9671 | 0.9992 | 0.9993 | 0.9939 | 0.9565 | 0.9994 |
| San Diego | 0.9403 | 0.9676 | 0.8971 | 0.7401 | 0.9755 | 0.9549 | 0.9705 |
| Dataset | DCAE | NL2Net | BS3LNet | BSCF-Net |
|---|---|---|---|---|
| AVIRIS | 0.9838 ± 0.0106 | 0.9501 ± 0.0048 | 0.9996 ± 0.0002 | 0.9883 ± 0.0064 |
| Gulfport | 0.9792 ± 0.0082 | 0.5775 ± 0.0126 | 0.9462 ± 0.0051 | 0.9842 ± 0.0223 |
| HYDICE Urban | 0.9081 ± 0.0040 | 0.6534 ± 0.0187 | 0.8791 ± 0.0128 | 0.9952 ± 0.0016 |
| Urban-2 | 0.9993 ± 0.0002 | 0.9993 ± 0.0002 | 0.9568 ± 0.0087 | 0.9994 ± 0.0001 |
| San Diego | 0.8962 ± 0.0055 | 0.7412 ± 0.0154 | 0.9552 ± 0.0063 | 0.9692 ± 0.0073 |
| Dataset | Full Model | w/o msGR | w/o BSCA |
|---|---|---|---|
| HYDICE Urban | 0.9962 | 0.9701 | 0.7681 |
| Urban-2 | 0.9994 | 0.9862 | 0.9740 |
| San Diego | 0.9705 | 0.9543 | 0.7132 |
| AVIRIS | 0.9891 | 0.9797 | 0.9488 |
| gulfport | 0.9917 | 0.9072 | 0.7001 |
| Dataset | Params (M) | FLOPs (G) | Inference Time (ms/Image) |
|---|---|---|---|
| AVIRIS | 0.3611 | 10.2622 | 48.1710 |
| Gulfport | 0.3561 | 7.0267 | 23.3947 |
| San Diego | 0.3553 | 7.0113 | 23.9320 |
| HYDICE Urban | 0.3499 | 5.5230 | 15.4207 |
| Urban-2 | 0.3588 | 7.0804 | 23.5384 |
| Average | 0.3562 | 7.3807 | 26.8914 |
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
Gan, Y.; Wang, M.; Zhang, L.; Zhang, W.; Yu, T.; Wang, H. A Balanced Spectral–Spatial Cross-Fusion Network for Hyperspectral Anomaly Detection. Remote Sens. 2026, 18, 2820. https://doi.org/10.3390/rs18162820
Gan Y, Wang M, Zhang L, Zhang W, Yu T, Wang H. A Balanced Spectral–Spatial Cross-Fusion Network for Hyperspectral Anomaly Detection. Remote Sensing. 2026; 18(16):2820. https://doi.org/10.3390/rs18162820
Chicago/Turabian StyleGan, Yuquan, Mengjiao Wang, Lei Zhang, Weidong Zhang, Tao Yu, and Hongwei Wang. 2026. "A Balanced Spectral–Spatial Cross-Fusion Network for Hyperspectral Anomaly Detection" Remote Sensing 18, no. 16: 2820. https://doi.org/10.3390/rs18162820
APA StyleGan, Y., Wang, M., Zhang, L., Zhang, W., Yu, T., & Wang, H. (2026). A Balanced Spectral–Spatial Cross-Fusion Network for Hyperspectral Anomaly Detection. Remote Sensing, 18(16), 2820. https://doi.org/10.3390/rs18162820

