IDEAS home Printed from https://ideas.repec.org/a/plo/pdig00/0000792.html
   My bibliography  Save this article

A comparative study of explainability methods for whole slide classification of lymph node metastases using vision transformers

Author

Listed:
  • Jens Rahnfeld
  • Mehdi Naouar
  • Gabriel Kalweit
  • Joschka Boedecker
  • Estelle Dubruc
  • Maria Kalweit

Abstract

Recent advancements in deep learning have shown promise in enhancing the performance of medical image analysis. In pathology, automated whole slide imaging has transformed clinical workflows by streamlining routine tasks and diagnostic and prognostic support. However, the lack of transparency of deep learning models, often described as black boxes, poses a significant barrier to their clinical adoption. This study evaluates various explainability methods for Vision Transformers, assessing their effectiveness in explaining the rationale behind their classification predictions on histopathological images. Using a Vision Transformer trained on the publicly available CAMELYON16 dataset comprising of 399 whole slide images of lymph node metastases of patients with breast cancer, we conducted a comparative analysis of a diverse range of state-of-the-art techniques for generating explanations through heatmaps, including Attention Rollout, Integrated Gradients, RISE, and ViT-Shapley. Our findings reveal that Attention Rollout and Integrated Gradients are prone to artifacts, while RISE and particularly ViT-Shapley generate more reliable and interpretable heatmaps. ViT-Shapley also demonstrated faster runtime and superior performance in insertion and deletion metrics. These results suggest that integrating ViT-Shapley-based heatmaps into pathology reports could enhance trust and scalability in clinical workflows, facilitating the adoption of explainable artificial intelligence in pathology.Author summary: The objective of our research was to investigate methods for enhancing the explainability of state-of-the-art Vision Transformer models for medical image analysis in histopathology. These models are often perceived as opaque, lacking transparency, which can limit their deployment in clinical settings. In our study, we evaluated various approaches for generating visual explanations that highlight critical areas in histopathology images that influence the Vision Transformers’ decisions and serve as heatmaps for pathologists. By comparing different techniques, we identified that the ViT-Shapley method generated the most reliable and effective heatmaps. In evaluating the practical impact, we considered both clinical usability and computational efficiency. These heatmaps can help clinicians understand and trust the model’s decisions, potentially integrating these advanced AI tools into routine clinical workflows to improve diagnostic support. The findings of our study indicate that the integration of Transformer-based models with effective explainability methods can enhance the accuracy and transparency of automated whole slide image analysis, ultimately benefiting patient care.

Suggested Citation

  • Jens Rahnfeld & Mehdi Naouar & Gabriel Kalweit & Joschka Boedecker & Estelle Dubruc & Maria Kalweit, 2025. "A comparative study of explainability methods for whole slide classification of lymph node metastases using vision transformers," PLOS Digital Health, Public Library of Science, vol. 4(4), pages 1-21, April.
  • Handle: RePEc:plo:pdig00:0000792
    DOI: 10.1371/journal.pdig.0000792
    as

    Download full text from publisher

    File URL: https://journals.plos.org/digitalhealth/article?id=10.1371/journal.pdig.0000792
    Download Restriction: no

    File URL: https://journals.plos.org/digitalhealth/article/file?id=10.1371/journal.pdig.0000792&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pdig.0000792?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Ruiz, Luis M. & Valenciano, Federico & Zarzuelo, Jose M., 1998. "The Family of Least Square Values for Transferable Utility Games," Games and Economic Behavior, Elsevier, vol. 24(1-2), pages 109-130, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ulrich Faigle & Michel Grabisch, 2019. "Least Square Approximations and Linear Values of Cooperative Game," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-02381231, HAL.
    2. Michel Grabisch & Agnieszka Rusinowska, 2020. "k -additive upper approximation of TU-games," PSE-Ecole d'économie de Paris (Postprint) halshs-02860802, HAL.
    3. Wenna Wang & Hao Sun & Rene (J.R.) van den Brink & Genjiu Xu, 2018. "The family of ideal values for cooperative games," Tinbergen Institute Discussion Papers 18-002/II, Tinbergen Institute.
    4. Zhengxing Zou & René Brink & Youngsub Chun & Yukihiko Funaki, 2021. "Axiomatizations of the proportional division value," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 57(1), pages 35-62, July.
    5. Andrea Caggese & Ander Pérez-Orive, 2017. "Capital Misallocation and Secular Stagnation," Finance and Economics Discussion Series 2017-009, Board of Governors of the Federal Reserve System (U.S.).
    6. Calvo, Emilio & Gutiérrez-López, Esther, 2021. "Recursive and bargaining values," Mathematical Social Sciences, Elsevier, vol. 113(C), pages 97-106.
    7. Anirban Kar & Arunava Sen, 2014. "The Shapley value as the maximizer of expected Nash welfare," International Journal of Game Theory, Springer;Game Theory Society, vol. 43(3), pages 619-627, August.
    8. Zou, Zhengxing & van den Brink, René & Funaki, Yukihiko, 2021. "Compromising between the proportional and equal division values," Journal of Mathematical Economics, Elsevier, vol. 97(C).
    9. Radzik, Tadeusz & Driessen, Theo, 2013. "On a family of values for TU-games generalizing the Shapley value," Mathematical Social Sciences, Elsevier, vol. 65(2), pages 105-111.
    10. Sylvain Béal & Eric Rémila & Philippe Solal, 2017. "Axiomatization and implementation of a class of solidarity values for TU-games," Theory and Decision, Springer, vol. 83(1), pages 61-94, June.
    11. Xu, Genjiu & Driessen, Theo S.H. & Sun, Hao & Su, Jun, 2013. "Consistency for the additive efficient normalization of semivalues," European Journal of Operational Research, Elsevier, vol. 224(3), pages 566-571.
    12. Surajit Borkotokey & Sujata Goala & Niharika Kakoty & Parishmita Boruah, 2022. "The component-wise egalitarian Myerson value for Network Games," Papers 2201.02793, arXiv.org.
    13. Julia Belau, 2018. "The class of ASN-position values," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 50(1), pages 65-99, January.
    14. Li Zhang & Genjiu Xu & Hao Sun & Wenzhong Li, 2024. "Cohesive players: characterizations of a subclass of efficient, symmetric, and linear values," Annals of Operations Research, Springer, vol. 332(1), pages 765-779, January.
    15. L. Hernández-Lamoneda & Francisco Sánchez-Sánchez, 2015. "Cooperative games with homogeneous groups of participants," Theory and Decision, Springer, vol. 79(3), pages 451-461, November.
    16. Lee, Joosung & Driessen, Theo S.H., 2012. "Sequentially two-leveled egalitarianism for TU games: Characterization and application," European Journal of Operational Research, Elsevier, vol. 220(3), pages 736-743.
    17. Sylvain Béal & Eric Rémila & Philippe Solal, 2015. "A Class of Solidarity Allocation Rules for TU-games," Working Papers 2015-03, CRESE.
    18. Chameni Nembua, C. & Miamo Wendji, C., 2016. "Ordinal equivalence of values, Pigou–Dalton transfers and inequality in TU-games," Games and Economic Behavior, Elsevier, vol. 99(C), pages 117-133.
    19. Sylvain Béal & Eric Rémila & Philippe Solal, 2012. "Compensations in the Shapley value and the compensation solutions for graph games," International Journal of Game Theory, Springer;Game Theory Society, vol. 41(1), pages 157-178, February.
    20. Casajus, André & Huettner, Frank, 2013. "Null players, solidarity, and the egalitarian Shapley values," Journal of Mathematical Economics, Elsevier, vol. 49(1), pages 58-61.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pdig00:0000792. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: digitalhealth (email available below). General contact details of provider: https://journals.plos.org/digitalhealth .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.