Fast TILs-A pipeline for efficient TILs estimation in non-small cell Lung cancer
- PMID: 40230809
- PMCID: PMC11994347
- DOI: 10.1016/j.jpi.2025.100437
Fast TILs-A pipeline for efficient TILs estimation in non-small cell Lung cancer
Abstract
The prognostic relevance of tumor-infiltrating lymphocytes (TILs) in non-small cell Lung cancer (NSCLC) is well-established. However, manual TIL quantification in hematoxylin and eosin (H&E) whole slide images (WSIs) is laborious and prone to variability. To address this, we aim to develop and validate an automated computational pipeline for the quantification of TILs in WSIs of NSCLC. Such a solution in computational pathology can accelerate TIL evaluation, thereby standardizing the prognostication process and facilitating personalized treatment strategies. We develop an end-to-end automated pipeline for TIL estimation in Lung cancer WSIs by integrating a patch extraction approach based on hematoxylin component filtering with a machine learning-based patch classification and cell quantification method using the HoVer-Net model architecture. Additionally, we employ randomized patch sampling to further reduce the processed patch amount. We evaluate the effectiveness of the patch sampling procedure, the pipeline's ability to identify informative patches and computational efficiency, and the clinical value of produced scores using patient survival data. Our pipeline demonstrates the ability to selectively process informative patches, achieving a balance between computational efficiency and prognostic integrity. The pipeline filtering excludes approximately 70% of all patch candidates. Further, only 5% of eligible patches are necessary to retain the pipeline's prognostic accuracy (c-index = 0.65), resulting in a linear reduction of the total computational time compared to the filtered patch subset analysis. The pipeline's TILs score has a strong association with patient survival and outperforms traditional CD8 immunohistochemical scoring (c-index = 0.59). Kaplan-Meier analysis further substantiates the TILs score's prognostic value. This study introduces an automated pipeline for TIL evaluation in Lung cancer WSIs, providing a prognostic tool with potential to improve personalized treatment in NSCLC. The pipeline's computational advances, particularly in reducing processing time, and clinical relevance demonstrate a step forward in computational pathology.
Keywords: Automated quantification; Computational pathology; Deep learning; Explainable AI; Frugal AI; Machine learning; Non-small cell Lung cancer; Resource-efficient AI; Tumor-infiltrating lymphocytes; Whole slide images.
© 2025 The Authors.
Conflict of interest statement
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this article.
Figures






Similar articles
-
A Pragmatic Machine Learning Approach to Quantify Tumor-Infiltrating Lymphocytes in Whole Slide Images.Cancers (Basel). 2022 Jun 16;14(12):2974. doi: 10.3390/cancers14122974. Cancers (Basel). 2022. PMID: 35740648 Free PMC article.
-
Tumor-Infiltrating Lymphocyte Recognition in Primary Melanoma by Deep Learning Convolutional Neural Network.Am J Pathol. 2023 Dec;193(12):2099-2110. doi: 10.1016/j.ajpath.2023.08.013. Epub 2023 Sep 20. Am J Pathol. 2023. PMID: 37734590
-
Evaluation of tumor-infiltrating lymphocytes using routine H&E slides predicts patient survival in resected non-small cell lung cancer.Hum Pathol. 2018 Sep;79:188-198. doi: 10.1016/j.humpath.2018.05.017. Epub 2018 Jun 6. Hum Pathol. 2018. PMID: 29885403
-
Integrating multi-omics data with artificial intelligence to decipher the role of tumor-infiltrating lymphocytes in tumor immunotherapy.Pathol Res Pract. 2025 Jul;271:156035. doi: 10.1016/j.prp.2025.156035. Epub 2025 May 23. Pathol Res Pract. 2025. PMID: 40435910 Review.
-
Pitfalls in machine learning-based assessment of tumor-infiltrating lymphocytes in breast cancer: A report of the International Immuno-Oncology Biomarker Working Group on Breast Cancer.J Pathol. 2023 Aug;260(5):498-513. doi: 10.1002/path.6155. Epub 2023 Aug 23. J Pathol. 2023. PMID: 37608772 Free PMC article. Review.
References
-
- Cifci D., Veldhuizen G.P., Foersch S., Kather J.N. AI in computational pathology of cancer: Improving diagnostic workflows and clinical outcomes? Annu Rev Cancer Biol. Apr. 2023;7(1)
-
- Acs B., Rantalainen M., Hartman J. Artificial intelligence as the next step towards precision pathology. J Intern Med. Jul. 2020;288(1):62–81. - PubMed
-
- Hendry S., et al. Assessing tumor-infiltrating lymphocytes in solid tumors: a practical review for pathologists and proposal for a standardized method from the international Immuno-oncology biomarkers working group: part 2: TILs in melanoma, gastrointestinal tract carcinomas, non-small cell Lung carcinoma and mesothelioma, endometrial and ovarian carcinomas, squamous cell carcinoma of the head and neck, genitourinary carcinomas, and primary brain tumors. Adv Anat Pathol. Nov. 2017;24(6):311–335. doi: 10.1097/PAP.0000000000000161. - DOI - PMC - PubMed
LinkOut - more resources
Full Text Sources
Research Materials