Accurate recognition of colorectal cancer with semi-supervised deep learning on pathological images

Gang Yu, Kai Sun, Chao Xu, Xinghua Shi, Chong Wu, Ting Xie, Run-Qi Meng, Xiang‐He Meng, Kuan-Song Wang, Hong‐Mei Xiao, Hong‐Wen Deng

Abstract

Machine-assisted pathological recognition has been focused on supervised learning (SL) that suffers from a significant annotation bottleneck. We propose a semi-supervised learning (SSL) method based on the mean teacher architecture using 13,111 whole slide images of colorectal cancer from 8803 subjects from 13 independent centers. SSL (~3150 labeled, ~40,950 unlabeled; ~6300 labeled, ~37,800 unlabeled patches) performs significantly better than the SL. No significant difference is found between SSL (~6300 labeled, ~37,800 unlabeled) and SL (~44,100 labeled) at patch-level diagnoses (area under the curve (AUC): 0.980 ± 0.014 vs. 0.987 ± 0.008, P value = 0.134) and patient-level diagnoses (AUC: 0.974 ± 0.013 vs. 0.980 ± 0.010, P value = 0.117), which is close to human pathologists (average AUC: 0.969). The evaluation on 15,000 lung and 294,912 lymph node images also confirm SSL can achieve similar performance as that of SL with massive annotations. SSL dramatically reduces the annotations, which has great potential to effectively build expert-level pathological artificial intelligence platforms in practice.

Introduction

In digital pathology, supervised learning (SL) has traditionally required massive amounts of manually annotated data to achieve high diagnostic accuracy. Pathologists must identify cancerous regions across thousands of high-resolution "patches," creating a significant "annotation bottleneck" that slows the deployment of AI in clinical settings. This study addresses this challenge by implementing a semi-supervised learning (SSL) approach, which leverages a small amount of labeled data alongside a vast pool of unlabeled pathological images to achieve expert-level performance.

Methodology: The Mean Teacher Framework

The researchers utilized a Mean Teacher architecture to train Inception V3 neural networks. This framework employs a "Student" model that learns from labeled data and a "Teacher" model that maintains a moving average of the Student’s weights. By enforcing a consistency cost—requiring the Student to match the Teacher’s predictions on unlabeled data—the system learns the underlying tissue structures without explicit labels.

Experimental workflow for dataset splitting and model training across patch and patient levels.

The study utilized a massive dataset of 13,111 whole slide images (WSIs) from 8,803 subjects across 13 independent centers. To transition from patch-level predictions to patient-level diagnosis, the team employed a clustering-based inference method where a slide is flagged as cancerous only if a cluster of at least four positive patches is detected.

Results: Breaking the 10% Barrier

The most significant finding is the "10% rule": a model trained on roughly 6,300 labeled patches (10% of the training set) plus unlabeled data performed comparably to a fully supervised model using 44,100 labels. This represents a seven-fold reduction in the manual labor required from pathologists.

Comparison of AUC performance showing that SSL models significantly outperform SL models at low labeling ratios and match high-label SL performance.

At the patch level, the SSL model (10% labels) achieved an AUC of 0.980, statistically indistinguishable from the Supervised model (70% labels) at 0.987. At the patient level, the SSL model reached an AUC of 0.974, surpassing the average human pathologist performance of 0.969. Furthermore, the model demonstrated robust generalization across 13 different centers and successfully transferred to lung cancer and lymph node datasets, maintaining high accuracy with minimal labeling.

Conclusion and Future Directions

This research demonstrates that semi-supervised learning can effectively bypass the annotation bottleneck in medical AI. By achieving human-parity performance with a fraction of the labeled data, SSL paves the way for scalable, expert-level diagnostic platforms. Future work will focus on refining the "smoothness" assumption across diverse staining techniques and exploring weakly supervised learning to further reduce the reliance on detailed patch-level annotations.

Summary updated

BibTeX
@inproceedings{yu2021accurate,
  author = {Gang Yu and Kai Sun and Chao Xu and Xinghua Shi and Chong Wu and Ting Xie and Run-Qi Meng and Xiang‐He Meng and Kuan-Song Wang and Hong‐Mei Xiao and Hong‐Wen Deng},
  title = {{Accurate recognition of colorectal cancer with semi-supervised deep learning on pathological images}},
  booktitle = {Nature Communications},
  year = {2021},
  doi = {10.1038/s41467-021-26643-8},
}
Figure