Abstract
Developing deep learning models to analyze histology images has been computationally challenging, as the massive size of the images causes excessive strain on all parts of the computing pipeline. This paper proposes a novel deep learning-based methodology for improving the computational efficiency of histology image classification. The proposed approach is robust when used with images that have reduced input resolution and can be trained effectively with limited labeled data. Pre-trained on the original high-resolution (HR) images, our method uses knowledge distillation (KD) to transfer learned knowledge from a teacher model to a student model trained on the same images at a much lower resolution. To address the lack of large-scale labeled histology image datasets, we perform KD in a self-supervised manner. We evaluate our approach on two histology image datasets associated with celiac disease (CD) and lung adenocarcinoma (LUAD). Our results show that a combination of KD and self-supervision allows the student model to approach, and in some cases, surpass the classification accuracy of the teacher, while being much more efficient. Additionally, we observe an increase in student classification performance as the size of the unlabeled dataset increases, indicating that there is potential to scale further.
Introduction
Digital pathology relies on Whole-Slide Images (WSIs), which are gigapixel-scale digital maps of tissue samples. These images can reach dimensions of 150,000 × 150,000 pixels, creating a significant computational bottleneck for deep learning models. While high-resolution analysis is the gold standard, it requires expensive hardware and substantial processing time.
Traditional methods often involve "tiling"—chopping images into small patches—which can sacrifice holistic tissue context. This research explores whether a model can maintain diagnostic accuracy while operating at significantly lower resolutions through a process called Resolution-Based Distillation.
Methodology
The proposed framework combines Knowledge Distillation (KD) with Self-Supervised Learning to bridge the gap between high-resolution (HR) and low-resolution (LR) analysis.
Teacher-Student Framework
A "Teacher" model (ResNet) is first trained on HR images at 10x magnification. A "Student" model, using an identical architecture, is then trained on LR versions of the same images (ranging from 5x down to 0.625x).
Dual-Loss Distillation
To transfer knowledge effectively, the authors employed two loss functions:
- Soft Loss: Utilizes KL Divergence to align the final prediction logits of the teacher and student.
- Pixel-wise Loss: Uses Mean Squared Error (MSE) to align internal feature maps. Since spatial dimensions differ between resolutions, the teacher's feature maps are resized using max-pooling and bicubic interpolation to match the student's.
Self-Supervision
To overcome the scarcity of labeled medical data, distillation is performed on a large set of unlabeled images. This allows the student to learn robust tissue representations by mimicking the teacher's internal logic without requiring exhaustive manual annotations.
Experimental Results
The method was evaluated on two primary datasets: Celiac Disease (CD) and Lung Adenocarcinoma (LUAD).
Efficiency and Accuracy Gains
- Celiac Disease: The student model at 5x magnification not only matched but outperformed the 10x teacher across all metrics (accuracy, F1-score, precision, and recall) while requiring 4x fewer computations.
- Lung Adenocarcinoma: At 1.25x magnification, the student achieved performance within 3% of the 10x teacher model, representing a 64x reduction in computational cost.
Scaling with Unlabeled Data
The study found that performance scales with the volume of unlabeled data. For the lowest tested resolution (0.625x), incorporating additional unlabeled data for distillation improved accuracy by 4% over the baseline. This suggests that the distillation process acts as a regularizer, helping the model focus on essential structural patterns rather than high-resolution noise.
Conclusion
Resolution-Based Distillation offers a viable path toward making digital pathology more accessible on standard computational hardware. By reducing input resolution rather than network depth, the method achieves massive efficiency gains. Future work will focus on cross-institutional validation to ensure generalizability across different staining techniques and integrating visualization methods to enhance model explainability for clinical use.
Summary updated