AB037. AI-powered differentiation of thymomas (A and B3) and thymic carcinoma using histopathological analysis of H&E whole slide images
Abstract

AB037. AI-powered differentiation of thymomas (A and B3) and thymic carcinoma using histopathological analysis of H&E whole slide images

Anna Salut Esteve Domínguez1, Farhan Akram1, Stephanie Peeters2, Dirk De Ruysscher2, Jan von der Thüsen1

1Department of Pathology and Clinical Bioinformatics, Erasmus Medical Center, Rotterdam, The Netherlands; 2Department of Radiation Oncology (Maastro), GROW Research Institute for Oncology and Reproduction, Maastricht University Medical Center, Maastricht, The Netherlands

Correspondence to: Jan von der Thüsen, MD, PhD. Department of Pathology and Clinical Bioinformatics, Erasmus Medical Center, Dr. Molewaterplein 40, 3015 GD Rotterdam, The Netherlands. Email: j.vonderthusen@erasmusmc.nl.

Background: Thymic epithelial tumors (TETs), classified by the World Health Organization (WHO) into thymomas (A, AB, B1, B2, B3) and thymic carcinoma (TC), pose diagnostic challenges due to their morphological similarities. Distinguishing between thymomas (particularly A and B3) and TC is critical for tailored treatment and prognostic assessment. Despite B3’s classification as a well-differentiated TC, its resemblance to certain thymoma subtypes complicates accurate diagnosis. Our objective is to develop an artificial intelligence (AI) model that is adept at differentiating thymomas (A and B3) from TC, leveraging computational methods to enhance diagnostic accuracy and design appropriate treatment plans.

Methods: A binary convolutional neural network (CNN) classifier was developed to distinguish between thymoma (A-B3) and TC. The dataset comprised 31 patients diagnosed with TET by eight pathologists. The cases included 13 type A, 5 type B3 thymoma cases, and 13 TC cases. The hematoxylin and eosin (H&E) whole slide images (WSIs) were annotated using QuPath, and 512×512-pixel patches were extracted at 10× magnification. The images underwent stain normalization using the Vahadane method. The model underwent training and validation using stratified k-fold cross-validation (K=3), involving 21 patients for train-validation, and 10 patients for testing.

Results: Our classification model showed robust performance with a patient-level area under the curve (AUC) of 0.86±0.1 on validation and 0.86±0.04 on the test set. Notably, it achieved perfect AUC of 1 in validation and 0.92 in testing, with balanced accuracies of 1 and 0.91, respectively, identifying the best model in fold 3. However, it struggled to predict thymoma (A-B3) samples with lymphocyte densities similar to or higher than those in TC samples. GradCAM was used to visualize influential features affecting these predictions.

Conclusions: The proposed model effectively distinguishes thymoma (A-B3) from TC, demonstrating high generalizability in k-fold outcomes at the patient level. Accurate subtyping is crucial as TCs typically require chemotherapy, while thymomas are managed with surgical resection and potentially radiotherapy, but never chemotherapy. These findings underscore the importance of precise diagnoses to enhance treatment precision and prevent unnecessary chemotherapy in TET patients, highlighting the significant role of accurate classification in patient management.

Keywords: Thymic epithelial tumor (TET); artificial intelligence (AI); digital pathology


Acknowledgments

Funding: This study was supported by Hanarth Foundation grant.


Footnote

Conflicts of Interest: All authors have completed the ICMJE uniform disclosure form (available at https://med.amegroups.com/article/view/10.21037/med-24-ab037/coif). J.v.d.T. serves as an unpaid editorial board member of Mediastinum from May 2024 to December 2025. The authors report that this study was supported by Hanarth Foundation grant. S.P. reported this project is supported by the Hanarth fund. D.D.R. reported grants or contracts from AstraZeneca, BMS, Beigene, Philips, Olink and Eli-Lilly. The authors have no other conflicts of interest to declare.

Ethical Statement: The authors are accountable for all aspects of the work in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved. The study was conducted in accordance with the Declaration of Helsinki (as revised in 2013). The study was approved by the institutional ethics committee of Maastricht University Medical Center (No. METC-number: 2018-0491, amendment number: 2018-0491-A-9) and individual consent for this retrospective analysis was waived.

Open Access Statement: This is an Open Access article distributed in accordance with the Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License (CC BY-NC-ND 4.0), which permits the non-commercial replication and distribution of the article with the strict proviso that no changes or edits are made and the original work is properly cited (including links to both the formal publication through the relevant DOI and the license). See: https://creativecommons.org/licenses/by-nc-nd/4.0/.


doi: 10.21037/med-24-ab037
Cite this abstract as: Esteve Domínguez AS, Akram F, Peeters S, De Ruysscher D, von der Thüsen J. AB037. AI-powered differentiation of thymomas (A and B3) and thymic carcinoma using histopathological analysis of H&E whole slide images. Mediastinum 2024;8:AB037.

Download Citation