Predicting cell morphological responses to perturbations using generative modeling

Alessandro Palma, Fabian J. Theis, Mohammad Lotfollahi

Abstract

Advancements in high-throughput screenings enable the exploration of rich phenotypic readouts through high-content microscopy, expediting the development of phenotype-based drug discovery. However, analyzing large and complex high-content imaging screenings remains challenging due to incomplete sampling of perturbations and the presence of technical variations between experiments. To tackle these shortcomings, we present IMage Perturbation Autoencoder (IMPA), a generative style-transfer model predicting morphological changes of perturbations across genetic and chemical interventions. We show that IMPA accurately captures morphological and population-level changes of both seen and unseen perturbations on breast cancer and osteosarcoma cells. Additionally, IMPA accounts for batch effects and can model perturbations across various sources of technical variation, further enhancing its robustness in diverse experimental conditions. With the increasing availability of large-scale high-content imaging screens generated by academic and industrial consortia, we envision that IMPA will facilitate the analysis of microscopy data and enable efficient experimental design via in-silico perturbation prediction.

Introduction

High-content screening (HCS) is a cornerstone of modern drug discovery, utilizing high-throughput microscopy to capture cellular responses to chemical and genetic perturbations. Despite its power, HCS faces two significant challenges: the combinatorial explosion of potential interventions and technical variability, known as batch effects. Testing every possible combination is economically unfeasible, and technical noise often obscures biological signals. Existing computational models frequently fail to generalize to novel drugs or require paired "before-and-after" data, which is unattainable in destructive imaging assays.

Methods: Disentangling Content and Style

The IMage Perturbation Autoencoder (IMPA) addresses these challenges by framing biological perturbations as a "style" that can be transferred onto control cells. Built upon the StarGANv2 architecture, IMPA employs a disentangled representation strategy to separate a cell's identity from its response to treatment.

Architecture of the IMage Perturbation Autoencoder (IMPA) showing the disentanglement of content and style.

The model consists of three primary components:

  1. Content Encoder: Extracts the invariant "identity" of a cell (shape, structure) independent of treatment.
  2. Condition Encoder: Maps biological perturbations (e.g., Morgan fingerprints for drugs, genomic sequences for genes) into a continuous "perturbation space."
  3. AdaIN (Adaptive Instance Normalization): Injects the learned perturbation style into the decoder to reconstruct the predicted image.

This approach allows the model to learn a biological "language," enabling the prediction of cellular responses to unseen treatments by interpolating within the style space.

Key Results

IMPA was validated across multiple benchmarks, including BBBC021, RxRx1, and JUMP-cpg0000. The model demonstrated superior performance in both qualitative and quantitative metrics compared to existing state-of-the-art generative models.

Quantitative performance comparison of IMPA against baseline generative models across various metrics.

Key findings include:

  • Enhanced Image Fidelity: IMPA achieved a 17% improvement in average metric value over the next best method, outperforming diffusion models like PhenDiff in Fréchet Inception Distance (FID).
  • Generalization to Unseen Perturbations: The model accurately predicted the Mode of Action (MoA) for drugs not encountered during training by leveraging biologically informed embeddings.
  • Robust Batch Correction: By treating technical batches as a style, IMPA improved batch mixing metrics by 45% on the RxRx1 dataset, effectively removing technical noise while preserving biological signals.
  • Population-Level Accuracy: Generated images accurately reflected quantitative biological changes, such as cell count and total cell area, which are critical for toxicity and efficacy studies.

Discussion

IMPA represents a significant step toward "in-silico" virtual screenings. By disentangling cellular content from perturbation style, it provides a robust framework for predicting counterfactual phenotypes and correcting technical artifacts. One of the model's most versatile applications is treating technical batches as just another "style," allowing for seamless translation between experimental conditions. While the model's performance remains dependent on the quality of input embeddings, its ability to generate realistic, biologically meaningful images moves the field closer to reducing the time and cost of drug discovery through virtual experimentation.

Summary updated

BibTeX
@inproceedings{palma2025predicting,
  author = {Alessandro Palma and Fabian J. Theis and Mohammad Lotfollahi},
  title = {{Predicting cell morphological responses to perturbations using generative modeling}},
  booktitle = {Nature Communications},
  year = {2025},
  url = {https://openreview.net/forum?id=GlEbF3BD5q},
}
Figure