[Paper Review] Semi-Supervised Histology Classification using Deep Multiple Instance Learning and Contrastive Predictive Coding
The paper proposes a two-stage semi-supervised pipeline combining contrastive predictive coding (CPC) with attention-based MIL to improve histology slide classification under limited labels, achieving state-of-the-art results on BACH data.
Convolutional neural networks can be trained to perform histology slide classification using weak annotations with multiple instance learning (MIL). However, given the paucity of labeled histology data, direct application of MIL can easily suffer from overfitting and the network is unable to learn rich feature representations due to the weak supervisory signal. We propose to overcome such limitations with a two-stage semi-supervised approach that combines the power of data-efficient self-supervised feature learning via contrastive predictive coding (CPC) and the interpretability and flexibility of regularized attention-based MIL. We apply our two-stage CPC + MIL semi-supervised pipeline to the binary classification of breast cancer histology images. Across five random splits, we report state-of-the-art performance with a mean validation accuracy of 95% and an area under the ROC curve of 0.968. We further evaluate the quality of features learned via CPC relative to simple transfer learning and show that strong classification performance using CPC features can be efficiently leveraged under the MIL framework even with the feature encoder frozen.
Motivation & Objective
- Address overfitting and poor feature learning in deep MIL under limited labeled histology data.
- Leverage self-supervised CPC to learn rich instance-level representations from unlabeled patches.
- Integrate CPC features with regularized attention-based MIL for effective bag-level classification.
- Demonstrate memory-efficient training by freezing the encoder while maintaining performance.
Proposed method
- Treat each image as a bag of patches in an attention-based MIL framework.
- Pretrain the feature encoder with self-supervised CPC on unlabeled patches to learn histology-specific representations.
- Use a margin-based loss with KL-divergence regularization to prevent overfitting on negative instances.
- Optionally transfer ImageNet-pretrained features or CPC features, with encoder frozen or finetuned.
- Enable memory-efficient training by freezing the encoder and adding a compact linear layer before the attention MIL network.
Experimental results
Research questions
- RQ1Can CPC-based pretraining improve MIL-based histology classification with limited labels?
- RQ2How does CPC + MIL compare to standard MIL and transfer learning on the BACH dataset?
- RQ3What is the impact of freezing the encoder on performance and training efficiency?
- RQ4Does regularization (KL-div) with a smooth margin loss mitigate negative bag over-attention?
- RQ5How many labels are needed to achieve strong AUC performance in CPC + MIL?
Key findings
- MIL + CPC with smooth SVM loss and KL-div regularization achieves 95.0% accuracy and 0.968 AUC across five random splits.
- MIL + CPC with ImageNet pretraining yields 91.8% accuracy and 0.959 AUC, while ImageNet alone underperforms.
- Frozen CPC features with MIL reach 90.6% accuracy and 0.939 AUC, enabling memory-efficient training.
- CPC features enable strong classification performance even when encoder is frozen, reducing trainable parameters to under 800k.
- Training with CPC + MIL shows good performance with as few as 16 labels per class and mean AUC > 0.82 (Fig 3).
- Attention maps focus on regions of high nuclei density and informative regions, with some missed necrotic or migrating cell regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.