[Paper Review] Self-Supervised Learning of Phenotypic Representations from Cell Images with Weak Labels
This paper proposes WS-DINO, a self-supervised knowledge distillation framework using vision transformers to learn biologically meaningful phenotypic representations from high-content cell images with weak labels (e.g., compound or treatment). It achieves state-of-the-art performance—98% accuracy in not-same-compound and 96% in not-same-compound-and-batch mechanism of action prediction on the BBBC021 dataset, while learning structurally interpretable features via self-attention maps without requiring single-cell cropping.
We propose WS-DINO as a novel framework to use weak label information in learning phenotypic representations from high-content fluorescent images of cells. Our model is based on a knowledge distillation approach with a vision transformer backbone (DINO), and we use this as a benchmark model for our study. Using WS-DINO, we fine-tuned with weak label information available in high-content microscopy screens (treatment and compound) and achieve state-of-the-art performance in not-same-compound mechanism of action prediction on the BBBC021 dataset (98%), and not-same-compound-and-batch performance (96%) using the compound as the weak label. Our method bypasses single cell cropping as a pre-processing step, and using self-attention maps we show that the model learns structurally meaningful phenotypic profiles.
Motivation & Objective
- To develop a method that leverages weak labels (e.g., compound, treatment) in self-supervised learning for phenotypic representation learning from high-content microscopy images.
- To improve mechanism of action (MOA) prediction performance without relying on fully annotated single-cell data or extensive pre-processing.
- To learn biologically interpretable representations that capture structural features of cells using attention maps.
- To enable batch correction in high-content screening data by exploiting weak label structures across multiple batches.
- To create a generalizable framework adaptable to other self-supervised models and datasets with partial label information.
Proposed method
- WS-DINO extends the DINO self-supervised learning framework by incorporating weak labels through knowledge distillation, where the student network is trained to align with the teacher network using contrastive loss.
- The method uses a vision transformer (ViT) backbone for both student and teacher networks, with input images split into global and local crops to enable contrastive learning.
- Weak labels (compound or treatment) are used to sample image pairs with the same label, increasing the likelihood that the student learns to group similar phenotypic responses.
- The model employs a weighted random sampler during training to ensure balanced representation of all weak label groups, improving generalization.
- Self-attention maps are visualized to interpret which cellular structures the model focuses on, validating biological relevance of learned features.
- The framework uses exponential moving average (EMA) to update teacher network weights based on student weights, stabilizing training.
Experimental results
Research questions
- RQ1Can weak label information (e.g., compound or treatment) be effectively integrated into a self-supervised learning framework to improve phenotypic representation learning?
- RQ2Does incorporating weak labels via knowledge distillation lead to better downstream performance in mechanism of action (MOA) prediction compared to unsupervised pre-training?
- RQ3Are the learned representations biologically meaningful and structurally interpretable, as evidenced by attention maps?
- RQ4Can the framework implicitly perform batch correction in high-content screening data where images from the same compound are distributed across multiple batches?
- RQ5How does WS-DINO compare to existing state-of-the-art methods on benchmark datasets like BBBC021 in terms of not-same-compound (NSC) and not-same-compound-and-batch (NSCB) MOA prediction?
Key findings
- WS-DINO achieves 98% accuracy in not-same-compound (NSC) mechanism of action prediction on the BBBC021 dataset when using compound as the weak label, outperforming prior methods.
- The model reaches 96% accuracy in not-same-compound-and-batch (NSCB) MOA prediction using the same weak label, demonstrating effective batch correction.
- Using treatment as the weak label yields no improvement over unsupervised DINO (92% NSC), suggesting that treatment labels may be less effective due to batch-level confounding.
- Self-attention maps reveal that the model learns to focus on biologically relevant structures such as nuclei, microtubules, and actin filaments, confirming interpretability.
- The method bypasses the need for single-cell cropping and segmentation, reducing pre-processing complexity while maintaining high performance.
- The framework generalizes well: it can be adapted to other self-supervised models and applied to datasets with partial MOA labels, enabling practical use in real-world drug discovery pipelines.
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.