Learning representations for image-based profiling of perturbations

Nikita Moshkov, Michael Bornholdt, Santiago Benoit, Matthew Smith, Claire McQuin, Allen Goodman, Rebecca A. Senft, Yu Han, Mehrtash Babadi, Péter Horváth, Beth A. Cimini, Anne E. Carpenter, Shantanu Singh, Juan Carlos CaicedoNature Communications 2024

Abstract: Measuring the phenotypic effect of treatments on cells through imaging assays is an efficient and powerful way of studying cell biology, and requires computational methods for transforming images into quantitative data. Here, we present an improved strategy for learning representations of treatment effects from high-throughput imaging, following a causal interpretation. We use weakly supervised learning for modeling associations between images and treatments, and show that it encodes both confounding factors and phenotypic features in the learned representation. To facilitate their separation, we constructed a large training dataset with images from five different studies to maximize experimental diversity, following insights from our causal analysis. Training a model with this dataset successfully improves downstream performance, and produces a reusable convolutional network for image-based profiling, which we call Cell Painting CNN. We evaluated our strategy on three publicly available Cell Painting datasets, and observed that the Cell Painting CNN improves performance in downstream analysis up to 30% with respect to classical features, while also being more computationally efficient.

Introduction

In drug discovery and cell biology, researchers use "image-based profiling" to observe how different perturbations—such as drugs or genetic edits—alter a cell's appearance, or phenotype. The gold standard for this is the Cell Painting assay, which utilizes fluorescent dyes to highlight various cellular structures. However, extracting meaningful biological data from these images is challenging due to technical noise (batch effects) and the limitations of hand-engineered features.

Methods

The authors propose a strategy based on a causal interpretation of imaging experiments. They model the relationship between interventions (treatments), latent biological outcomes (phenotypes), technical noise (confounders), and the final images.

Causal framework for image-based profiling, showing the relationship between treatments (T), phenotypes (Y), confounders (C), and observations (O).

Key components of their approach include:

  • Weakly Supervised Learning (WSL): Instead of labeling specific biological "ground truths," they train an EfficientNet-B0 architecture to identify which treatment was applied to a single-cell image. This pretext task forces the network to learn features that distinguish one treatment from another.
  • Strategic Data Diversity: To prevent the model from memorizing batch effects, the authors constructed a massive training set by pooling data from five different studies. This diversity helps the model disentangle biological signals from technical noise.
  • Sphering (Batch Correction): They use a linear transformation called "sphering" (or whitening) to normalize the learned representations. This step effectively "zeroes out" the variation found in control cells, amplifying the unique signal caused by the treatments.
The Cell Painting CNN architecture, based on EfficientNet-B0, extracts single-cell features from multi-channel microscopy images.

Datasets

The study utilized a massive combined resource for training and three distinct public datasets for evaluation:

  • Combined Training Set: 8.3 million single-cell images pooled from five sources: LINCS, BBBC043, BBBC036, BBBC022, and BBBC037.
  • Evaluation Benchmarks:
    • BBBC037: Gene overexpression perturbations in U2OS cells.
  • BBBC022 & BBBC036: Large-scale compound (drug) screens.

Key Insights

  • WSL is a double-edged sword: Weakly supervised models naturally capture both biological phenotypes and technical confounders. Without proper batch correction, the model might appear to perform well by simply "learning the batch."
  • The "Strong Effect" Advantage: Training on treatments that produce a strong visual change significantly improves the model's ability to generalize. Weakly responding cells provide "noisy" labels that can degrade the representation.
  • Generalist vs. Specialist: A single "generalist" model trained on diverse data outperformed "specialist" models trained on individual datasets, suggesting the Cell Painting CNN has learned a universal "language" of cell morphology that can be reused across different biological contexts.

Key Results

The Cell Painting CNN demonstrated clear superiority over both classical features and standard CNNs pre-trained on natural images:

  • 30% Performance Gain: In matching treatments with the same biological mechanism of action (MoA), the new model improved Mean Average Precision (mAP) by up to 30% over classical CellProfiler features.
  • Superior Clustering: Qualitative UMAP projections show that the CNN-derived features group treatments by biological category much more cleanly than previous methods.
  • Efficiency: The deep learning pipeline is more computationally efficient than traditional image processing, making it better suited for massive high-throughput datasets.

Limitations and Future Work

Despite the progress, several challenges remain. The model still struggles with treatments that have very subtle phenotypic effects, which remain difficult to distinguish from background noise. Furthermore, explicit batch correction (like sphering) remains a mandatory step in the pipeline. Future work will involve updating benchmarks as biological annotations improve.

The authors have made the Cell Painting CNN publicly available, providing a powerful new tool for profiling cellular perturbations with unprecedented sensitivity.

Summary updated

BibTeX
@inproceedings{moshkov2024learning,
  author = {Nikita Moshkov and Michael Bornholdt and Santiago Benoit and Matthew Smith and Claire McQuin and Allen Goodman and Rebecca A. Senft and Yu Han and Mehrtash Babadi and Péter Horváth and Beth A. Cimini and Anne E. Carpenter and Shantanu Singh and Juan Carlos Caicedo},
  title = {{Learning representations for image-based profiling of perturbations}},
  booktitle = {Nature Communications},
  year = {2024},
  doi = {10.1038/s41467-024-45999-1},
}
Figure