Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
MultiScale hierarchical attention network for stain free breast cancer detection in microscopic hyperspectral imaging
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 17 February 2026

MultiScale hierarchical attention network for stain free breast cancer detection in microscopic hyperspectral imaging

  • Zhuowei Chen1 na1,
  • Qingyu Yang2,3 na1,
  • Geng Qin4,
  • Xiaoying Ma4,
  • Zhuo Lu6,
  • Haiyan Li2,3 &
  • …
  • Binghua Su5,6 

Scientific Reports , Article number:  (2026) Cite this article

  • 647 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Cancer
  • Computational biology and bioinformatics
  • Mathematics and computing

Abstract

Microscopic hyperspectral imaging (MHSI) of unstained tissue provides quantitative, label-free cues for pathology, but practical diagnosis is hindered by weak morphological contrast and high-dimensional spectra. Patch-wise classification is therefore unstable: discriminative spectral signatures are subtle, spatially sparse, and easily confounded by noise and tissue heterogeneity. To address this, we construct a new unstained breast MHSI dataset and formulate slice-level diagnosis as a multiple instance learning (MIL) problem. We propose a Multi-Scale Hierarchical Attention Network (MS-HAN) tailored to hyperspectral MIL. Each instance (patch) is encoded by an Inception-like multi-branch extractor that operates at a fixed spatial resolution using parallel convolution kernels to capture spectral–spatial patterns at different receptive fields. To reduce high intra-class spectral variability, we introduce a prototype-based clustering regularization that softly assigns instance embeddings to learnable centers and refines the representation. We then apply dual attention directly on the spatial feature map: channel (spectral) attention generates band-wise weights from global spatial descriptors, explicitly modeling inter-band dependencies, followed by spatial attention producing a 2D attention map to localize informative cellular regions. These modules are trained end-to-end with only slice-level labels. Finally, a hierarchical aggregator models inter-patch dependencies via self-attention and performs attention pooling to obtain the slice representation for classification. On a strictly patient-split cohort of 60 patients, MS-HAN achieved 86.7% accuracy and 0.92 AUC, outperforming strong MIL baselines (e.g., TransMIL and DS-MIL). McNemar’s test demonstrated statistically significant improvements over ABMIL (\(p=0.0251\)) and DS-MIL (\(p=0.0198\)), with marginal significance against CLAM and TransMIL (\(p<0.1\)). Ablations verified the necessity of the prototype regularization and hyperspectral-specific attention. Attention visualizations highlighted regions consistent with tumor-related morphology and emphasized informative spectral ranges without pixel-level annotations, pending expert validation. MS-HAN suggests that hyperspectral-specific feature refinement and hierarchical MIL aggregation may improve robust, stain-free breast cancer detection from microscopic MHSI. Further multi-center validation and expert review of attention explanations are needed to establish clinical utility.

Similar content being viewed by others

Enhanced hierarchical attention mechanism for mixed MIL in automatic Gleason grading and scoring

Article Open access 08 May 2025

A multiscale transformer with spatial attention for hyperspectral image classification

Article Open access 13 January 2026

SMMILe enables accurate spatial quantification in digital pathology using multiple-instance learning

Article Open access 19 November 2025

Data availability

The datasets generated and/or analysed during the current study are available from the corresponding author on reasonable request.

Abbreviations

MHSI::

Microscopic Hyperspectral Imaging

MIL::

Multiple Instance Learning

CNN::

Convolutional Neural Network

WSI::

Whole Slide Image

ROI::

Region of Interest

AUC::

Area Under the Curve

SD::

Standard Deviation

References

  1. Sung, H. et al. Global Cancer Statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J. Clin. 74(3), 209–49 (2024).

    Google Scholar 

  2. Gurcan, M. N. et al. Histopathological image analysis: A review. IEEE Rev. Biomed. Eng. 2, 147–71 (2009).

    Google Scholar 

  3. Elmore, J. G. et al. Diagnostic concordance among pathologists interpreting breast biopsy specimens. JAMA 313(11), 1122–32 (2015).

    Google Scholar 

  4. Roth, H.R., Lu, L., Seff, A., Cherry, K.M., Wu, J., Lu, S., et al. A new 2.5D representation for lymph node detection using random sets of deep convolutional neural network observations. In: Medical Image Computing and Computer-Assisted Intervention-MICCAI 2014. Springer; p. 520–7, (2014).

  5. de Oliveira, A. M. D. C. F., da Mota, P. A. F. C., de Albuquerque, V. H. C. & de Farias, T. M. P. Microscopic hyperspectral imaging: a new tool for pathology. Expert Rev. Med. Devices 19(10), 837–51 (2022).

    Google Scholar 

  6. Shahshahan, M., Tsen, S. D. W., Kj, Bae, Peng, T. Q. & Esfandyarpour, R. Label-free hyperspectral imaging and deep learning for tracking the metabolic response of single cancer cells to chemotherapy. Sci. Rep. 9(1), 18663 (2019).

    Google Scholar 

  7. Li, S. et al. Hyperspectral image classification: A review of recent advances. IEEE Geosci. Remote Sens. Magaz. 8(3), 25–43 (2020).

    Google Scholar 

  8. Lu, G. & Fei, B. Medical hyperspectral imaging: A review. J. Biomed. Opt. 19(1), 010901 (2014).

    Google Scholar 

  9. Campanella, G. et al. Clinical-grade computational pathology using weakly supervised deep learning on whole slide images. Nat. Med. 25(8), 1301–9 (2019).

    Google Scholar 

  10. Lu, M. Y. et al. Data-efficient and weakly supervised computational pathology on whole-slide images. Nat. Biomed. Eng. 5(6), 555–70 (2021).

    Google Scholar 

  11. Surface Optics Corporation. SOC-710 Hyperspectral Imager Datasheet. Surface Optics Corporation; 2024. Accessed: 2025–06-18. Available from: https://www.surfaceoptics.com/products/hyperspectral-imaging-systems/soc-710-hyperspectral-imager/.

  12. Woo, S., Park, J., Lee, J.Y., Kweon, I.S. (2018) CBAM: Convolutional Block Attention Module. In: Proceedings of the European conference on computer vision (ECCV); p. 3–19.

  13. Li, B., Li, Y., Eliceiri, K.W. (2021) Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; p. 14318–28.

  14. Shao, Z. et al. TransMIL: Transformer based correlated multiple instance learning for whole slide image classification. Adv. Neural. Inf. Process. Syst. 34, 2136–47 (2021).

    Google Scholar 

  15. Ye, Z. et al. HAMIL: Hierarchical attention multi-instance learning for label-free colorectal cancer typing. Laser Photon. Rev. 18(6), 2301072 (2024).

    Google Scholar 

  16. Ye, Z. et al. DFLNet: Disentangled feature learning network for breast cancer ultrasound image segmentation. Digital Signal Process. 145, 104331 (2024).

    Google Scholar 

  17. Li, Y., Zhang, H. & Shen, Q. Spectral-spatial classification of hyperspectral imagery with 3D convolutional neural networks. Remote Sens. 9(1), 67 (2017).

    Google Scholar 

  18. Ahmad, J., Farman, H. & Jan, Z. 3D-convolutional neural networks for medical imaging analysis: A systematic review. Multim. Tools Appl. 82, 27373–415 (2023).

    Google Scholar 

  19. Rajpurkar, P., Chen, E., Banerjee, O. & Chen, Y. Appraising the state of the art in medical AI. Nat. Med. 30(5), 1264–74 (2024).

    Google Scholar 

  20. Kelly, C. J., Karthikesalingam, A., Suleyman, M., Corrado, G. & King, D. Key challenges for delivering clinical impact with artificial intelligence. BMC Med. 17(1), 195 (2019).

    Google Scholar 

  21. Bancroft, J. D. & Gamble, M. Bancroft’s Theory and Practice of Histological Techniques 8th edn. (Elsevier, 2019).

    Google Scholar 

  22. Swanson Biotechnology Center, MIT. Pricing | Histology. Massachusetts Institute of Technology; n.d. Available from: https://ki-sbc.mit.edu/histology/pricing.

  23. MUSC College of Medicine. Services & Prices | Histology & Immunohistochemistry. Medical University of South Carolina (MUSC); n.d. https://medicine.musc.edu/departments/pathology-laboratory-medicine/divisions/experimental-pathology/cores/histology-immunohistochemistry/services-prices.

  24. UC Davis Health. Research Histology: Rates. UC Davis Health; n.d. https://health.ucdavis.edu/pathology/research/research_labs/histology/rates.html.

  25. Roche Diagnostics. VENTANA HE 600 automated staining system. Roche Diagnostics; n.d. https://diagnostics.roche.com/us/en/products/instruments/ventana-he-600-ins-4090.html.

  26. Vale-Silva, L. & Rohr, K. A review on deep learning-based methods for multi-modal medical imaging fusion. Expert Syst. Appl. 239, 121542 (2024).

    Google Scholar 

  27. Novis, D. A. & Zarbo, R. J. Interinstitutional comparison of frozen section turnaround time. A College of American Pathologists Q-Probes study of 32868 frozen sections in 700 hospitals. Arch. Patholo. Lab. Med. 121(6), 559–67 (1997).

    Google Scholar 

  28. Chen, Y., Anderson, K. R., Xu, J., Goldsmith, J. D. & Heher, Y. K. Frozen-section checklist implementation improves quality and patient safety. Am. J. Clin. Pathol. 151(6), 607–12 (2019).

    Google Scholar 

  29. World Medical Association. World Medical Association Declaration of Helsinki: Ethical principles for medical research involving human subjects. JAMA 310(20), 2191–4 (2013).

    Google Scholar 

  30. Wolff, A. C. et al. Human Epidermal Growth Factor Receptor 2 Testing in Breast Cancer: American Society of Clinical Oncology/College of American Pathologists Clinical Practice Guideline Focused Update. J. Clin. Oncol. 36(20), 2105–22 (2018).

    Google Scholar 

  31. Vo-Dinh, T. editor. Biomedical Photonics Handbook, Second Edition: Biomedical Diagnostics. CRC Press; (2014).

  32. Loshchilov, I., Hutter, F. Decoupled Weight Decay Regularization; (2019). OpenReview paper. International Conference on Learning Representations (ICLR). Available from: https://openreview.net/forum?id=Bkg6RiCqY7.

  33. Ilse, M., Tomczak, J., Welling, M. Attention-based Deep Multiple Instance Learning. In: International Conference on Machine Learning (ICML). PMLR; p. 2127–36, (2018).

Download references

Author information

Author notes
  1. Zhuowei Chen and Qingyu Yang contributed equally to this work.

Authors and Affiliations

  1. The Faculty of Data Science, City University of Macau, Macau, China

    Zhuowei Chen

  2. Department of General Surgery (Breast Surgery), The Sixth Affiliated Hospital, Sun Yat-sen University, Guangzhou, China

    Qingyu Yang & Haiyan Li

  3. Biomedical Innovation Center, The Sixth Affiliated Hospital, Sun Yat-sen University, Guangzhou, China

    Qingyu Yang & Haiyan Li

  4. Beijing Key Laboratory of Fractional Signals and Systems, Beijing Institute of Technology, Beijing, China

    Geng Qin & Xiaoying Ma

  5. Key Laboratory of Photoelectric Imaging and Systems, Beijing Institute of Technology, Zhuhai, China

    Binghua Su

  6. Beijing Institute of Technology, Beijing, China

    Zhuo Lu & Binghua Su

Authors
  1. Zhuowei Chen
    View author publications

    Search author on:PubMed Google Scholar

  2. Qingyu Yang
    View author publications

    Search author on:PubMed Google Scholar

  3. Geng Qin
    View author publications

    Search author on:PubMed Google Scholar

  4. Xiaoying Ma
    View author publications

    Search author on:PubMed Google Scholar

  5. Zhuo Lu
    View author publications

    Search author on:PubMed Google Scholar

  6. Haiyan Li
    View author publications

    Search author on:PubMed Google Scholar

  7. Binghua Su
    View author publications

    Search author on:PubMed Google Scholar

Contributions

Z.C. and Q.Y. contributed equally to this work. Z.C. and Q.Y. performed the data analysis, developed the model, and wrote the main body of the manuscript. G.Q., X.M., and Z.L. conducted the data acquisition. H.L. and B.S. provided guidance and supervision for the project. All authors reviewed the manuscript.

Corresponding authors

Correspondence to Haiyan Li or Binghua Su.

Ethics declarations

Ethics approval and consent to participate

This study was conducted in accordance with the Declaration of Helsinki29 and received approval from the Institutional Review Board (IRB) of the Sixth Affiliated Hospital of Sun Yat-sen University (approval number: 2022ZSLYEC-241). Informed consent was obtained from all participants prior to their inclusion.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, Z., Yang, Q., Qin, G. et al. MultiScale hierarchical attention network for stain free breast cancer detection in microscopic hyperspectral imaging. Sci Rep (2026). https://doi.org/10.1038/s41598-026-39267-z

Download citation

  • Received: 15 December 2025

  • Accepted: 04 February 2026

  • Published: 17 February 2026

  • DOI: https://doi.org/10.1038/s41598-026-39267-z

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Breast Cancer
  • Hyperspectral Imaging
  • Multiple Instance Learning
  • Computational Pathology
  • Stain-free Histopathology
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing: Cancer

Sign up for the Nature Briefing: Cancer newsletter — what matters in cancer research, free to your inbox weekly.

Get what matters in cancer research, free to your inbox weekly. Sign up for Nature Briefing: Cancer