Learning from Thresholds: Fully Automated Classification of Tumor Infiltrating Lymphocytes for Multiple Cancer Types

Shahira Abousamra, Le Hou, Rajarsi R. Gupta, Chao Chen, Dimitris Samaras, Tahsin M. Kurç, Rebecca Batiste, Tianhao Zhao, Kenneth Shroyer, Joel H. SaltzarXiv 2019

Abstract

Deep learning classifiers for characterization of whole slide tissue morphology require large volumes of annotated data to learn variations across different tissue and cancer types. As is well known, manual generation of digital pathology training data is time consuming and expensive. In this paper, we propose a semi-automated method for annotating a group of similar instances at once, instead of collecting only per-instance manual annotations. This allows for a much larger training set, that reflects visual variability across multiple cancer types and thus training of a single network which can be automatically applied to each cancer type without human adjustment. We apply our method to the important task of classifying Tumor Infiltrating Lymphocytes (TILs) in H&E images. Prior approaches were trained for individual cancer types, with smaller training sets and human-in-the-loop threshold adjustment. We utilize these thresholded results as large scale "semi-automatic" annotations. Combined with existing manual annotations, our trained deep networks are able to automatically produce better TIL prediction results in 12 cancer types, compared to the human-in-the-loop approach.

Introduction

In precision medicine, Tumor Infiltrating Lymphocytes (TILs) serve as critical biomarkers. These white blood cells migrate into tumors, and their density often predicts a patient's response to immunotherapy. However, identifying TILs in Whole Slide Images (WSIs)—gigapixel-sized digital biopsies—presents a significant challenge. Manual annotation is prohibitively slow and expensive. Furthermore, existing models often suffer from bias, over- or under-estimating TILs depending on the specific tissue or cancer type. Historically, this necessitated a "human-in-the-loop" (HITL) approach, where experts manually adjusted probability thresholds for every slide, creating a bottleneck that prevents large-scale analysis.

Whole-slide TIL mapping and example patches of lymphocytes and non-lymphocytes.

Methodology: Learning from Thresholds

To overcome the annotation bottleneck, this research introduces a semi-automated method. Instead of labeling individual cells, the authors leveraged an existing classifier to generate TIL maps. Human experts then spent a few minutes per slide selecting an optimal threshold for that specific map. This process efficiently converted minimal human effort into hundreds of thousands of "weak" annotations.

These weak labels were combined with a smaller set of "strong" (manually labeled) annotations to train VGG-16 and Inception-V4 architectures. The study introduced a "Mix" training strategy:

  1. Strong Labels: 86,000 manually labeled patches.
  2. Weak Labels: Between 69,000 and 301,000 patches generated via the thresholding method.
  3. Fixed Thresholding: Unlike previous HITL models, the new models utilize a fixed threshold determined by Youden’s index, balancing false positives and negatives without per-slide human intervention.

The study utilized data from The Cancer Genome Atlas (TCGA) across 12 cancer types, including lung (LUAD, LUSC), breast (BRCA), and melanoma (SKCM).

Results and Discussion

The "Mix" models, trained on a combination of manual and semi-automatic data, consistently outperformed previous state-of-the-art methods. As shown in the performance comparison table, the VGG-mix model achieved an overall accuracy of 84.22%, a significant improvement over the 79.56% achieved by the HITL baseline.

Performance comparison of various models across overall, LUAD, and BRCA datasets.

Key insights from the results include:

  • Generalization through Volume: Massive amounts of "imperfect" thresholded data proved more valuable for generalization than smaller sets of "perfect" data. This allowed the networks to learn visual variability across diverse cancer types.
  • Removing the Human Bottleneck: By training on data that accounts for cross-cancer variance, the models became "self-correcting," eliminating the need for manual threshold adjustments for new slides.
  • Performance in Unseen Contexts: The models performed well even on cancer types where no manual annotations were provided, demonstrating the effectiveness of the semi-automatic data in teaching generalization.

Conclusion

This research demonstrates that "learning from thresholds" is a viable strategy for scaling deep learning in digital pathology. By treating human-verified thresholds as a data generation tool, the authors developed a fully automated TIL classification system that outperforms human-in-the-loop baselines. While limitations exist—such as data paucity in specific cancers like Uveal Melanoma and reliance on an initial classifier—this methodology paves the way for integrating large-scale TIL analysis into standard clinical diagnostic pipelines.

Summary updated

BibTeX
@misc{abousamra2019learning,
  author = {Shahira Abousamra and Le Hou and Rajarsi R. Gupta and Chao Chen and Dimitris Samaras and Tahsin M. Kurç and Rebecca Batiste and Tianhao Zhao and Kenneth Shroyer and Joel H. Saltz},
  title = {{Learning from Thresholds: Fully Automated Classification of Tumor Infiltrating Lymphocytes for Multiple Cancer Types}},
  year = {2019},
  eprint = {1907.03960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.03960},
}
Figure