Self-Supervised Learning of Phenotypic Representations from Cell Images with Weak Labels

Jan Oscar Cross-Zamirski, Guy Williams, Elizabeth Mouchet, Carola-Bibiane Schönlieb, Riku Turkki, Yinhai Wang · DOI

Introduction

In the field of drug discovery, high-content imaging (HCI) is a cornerstone for observing the effects of chemical compounds on cellular morphology. Identifying a drug's Mechanism of Action (MOA) requires extracting precise phenotypic features from these images. However, traditional computational pipelines face two significant hurdles: the high cost of single-cell segmentation and the scarcity of high-quality ground-truth labels. While "weak labels"—such as treatment metadata—are readily available, they are often underutilized in standard self-supervised learning frameworks. Furthermore, experimental "batch effects" frequently introduce technical noise that can mislead AI models.

Methodology: The WS-DINO Framework

To address these challenges, researchers introduced WS-DINO (Weakly Supervised DINO). This framework adapts the DINO (Self-Distillation with No Labels) algorithm to leverage weak metadata.

Unlike standard DINO, which compares different views of the same image, WS-DINO matches global crops from one image with local crops from a different image that shares the same weak label (e.g., the same chemical compound). This approach incentivizes the model to identify shared biological features induced by the treatment while ignoring image-specific artifacts or batch-related noise. The framework utilizes a Vision Transformer (ViT) backbone, which excels at capturing global context and provides interpretable attention mechanisms.

Results and Performance

The framework was evaluated on the BBBC021 dataset, a benchmark containing MCF-7 breast cancer cells treated with various compounds. WS-DINO achieved state-of-the-art performance, reaching 98% accuracy in "not-same-compound" (NSC) MOA prediction and 96% accuracy in "not-same-compound-and-batch" (NSCB) prediction.

Comparison of WS-DINO against existing methods on the BBBC021 dataset.

Notably, WS-DINO outperformed previous supervised and unsupervised methods, even those relying on complex single-cell segmentation. By operating on the full field of view, the model eliminates the need for expensive preprocessing steps like single-cell cropping.

Interpretability and Biological Relevance

A key advantage of the ViT architecture is its inherent interpretability. The model generates self-attention maps that reveal where the network is "looking" to make its classifications.

Attention maps from WS-DINO highlighting biologically relevant structures like nuclei and cytoskeleton.

As shown in the visualizations, the model focuses on biologically significant structures, such as the nuclei and the cytoskeleton (F-actin and $\beta$-tubulin channels), rather than background noise. This confirms that the learned representations are grounded in actual cellular morphology.

Discussion and Future Directions

WS-DINO demonstrates that weak labels can effectively guide self-supervised models to learn robust biological representations. By implicitly correcting for batch effects through cross-image comparison, the model achieves high accuracy without manual segmentation.

Future work will focus on scaling the framework to larger, more diverse "Cell Painting" datasets and exploring newer self-supervised techniques like Masked Siamese Networks. While the reliance on weak labels is a constraint, these labels are typically standard in laboratory metadata, making WS-DINO a practical and powerful tool for modern drug discovery pipelines.

Summary updated

BibTeX
@misc{crosszamirski2022self,
  author = {Jan Oscar Cross-Zamirski and Guy Williams and Elizabeth Mouchet and Carola-Bibiane Schönlieb and Riku Turkki and Yinhai Wang},
  title = {{Self-Supervised Learning of Phenotypic Representations from Cell Images with Weak Labels}},
  year = {2022},
  eprint = {2209.07819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.07819},
}
Figure