Abstract
For the past few years, deep generative models have increasingly been used in biological research for a variety of tasks. Recently, they have proven to be valuable for uncovering subtle cell phenotypic differences that are not directly discernible to the human eye. However, current methods employed to achieve this goal mainly rely on Generative Adversarial Networks (GANs). While effective, GANs encompass issues such as training instability and mode collapse, and they do not accurately map images back to the model's latent space, which is necessary to synthesize, manipulate, and thus interpret outputs based on real images. In this work, we introduce PhenDiff: a multi-class conditional method leveraging Diffusion Models (DMs) designed to identify shifts in cellular phenotypes by translating a real image from one condition to another. We qualitatively and quantitatively validate this method on cases where the phenotypic changes are visible or invisible, such as in low concentrations of drug treatments. Overall, PhenDiff represents a valuable tool for identifying cellular variations in real microscopy images. We anticipate that it could facilitate the understanding of diseases and advance drug discovery through the identification of novel biomarkers.
Introduction
In drug discovery and biological research, high-throughput imaging is a cornerstone for observing cellular responses to various treatments. However, identifying the resulting phenotypic changes is often challenging because many biological shifts are incredibly subtle or even "invisible" to human experts. Traditional analysis techniques rely on manual feature extraction—measuring parameters like cell size, shape, or intensity—which can be difficult to interpret and may overlook critical signals.
To address these limitations, researchers have explored image-to-image translation using Generative Adversarial Networks (GANs). While GANs can visualize transitions between conditions, they suffer from significant drawbacks: they are difficult to "invert" (mapping a real image accurately into the model's latent space) and are prone to "mode collapse," where the model fails to capture the full diversity of the data. This paper introduces PhenDiff, a framework based on Diffusion Models that overcomes these hurdles to provide high-fidelity phenotypic translation.
Methodology
PhenDiff utilizes Denoising Diffusion Implicit Models (DDIMs) to perform deterministic image translation. Unlike GANs, which require complex optimization for inversion, DDIMs allow for a precise mapping of real microscopy images into a latent representation.
The process consists of two primary stages:
- Image Inversion: The model takes a real source image ($x_{source}$) and, through a deterministic forward process, identifies the unique latent code ($x_{latent}$) that represents that specific cell.
- Conditional Generation: Using this latent code and a target condition label (e.g., a specific drug concentration), the model performs a reverse diffusion process to generate a target image ($x_{target}$). This synthetic image retains the structural identity of the original cell while adopting the biological features of the target condition.
The architecture employs a single, multi-class conditional U-Net with approximately 70 million parameters, capable of handling multiple drug treatments and concentrations within a unified model.
Experimental Setup
The performance of PhenDiff was evaluated on two key microscopy datasets:
- BBBC021: A benchmark dataset of MCF-7 breast cancer cells treated with 113 molecules. The study focused on three compounds: Latrunculin B, Nocodazole, and Herbimycin A, across eight concentrations.
- Golgi Dataset: HeLa cells with fluorescently labeled Golgi apparatus, used to validate the model's ability to replicate known physical phenomena, such as Golgi fragmentation under Nocodazole treatment.
Results and Discussion
PhenDiff demonstrated significant improvements over GAN-based baselines (StarGAN and CycleGAN) in both image quality and reconstruction fidelity.
Image Quality and Reconstruction
Quantitatively, PhenDiff achieved much lower Fréchet Inception Distance (FID) scores. For instance, in the Latrunculin B treatment, PhenDiff's FID scores ranged from 14 to 23, whereas StarGAN often exceeded 100. Furthermore, PhenDiff's reconstruction accuracy was nearly five times higher than the best GAN baseline, with an L2 loss of 415.15 compared to approximately 1895 for the competition.
Biological Validation
A critical strength of PhenDiff is its ability to capture subtle biological signals. In the Golgi dataset, the model successfully replicated Golgi fragmentation. Statistical analysis of the Golgi area in synthetic images yielded a p-value of $1.1 \times 10^{-14}$, mirroring the conclusions drawn from real experimental data.
Qualitative results across the BBBC021 dataset show that PhenDiff preserves the "context" of the original image—such as cell count and spatial arrangement—while accurately shifting the biological markers relevant to the treatment, even at low concentrations where changes are typically invisible to the eye.
Conclusion
PhenDiff represents a significant advancement in the use of generative models for biological imaging. By leveraging the deterministic inversion of Diffusion Models, it provides a reliable method for visualizing and quantifying subtle cellular phenotypes. This capability is expected to be highly valuable for biomarker discovery, allowing researchers to identify novel visual cues for disease states and drug efficacy. Future work will focus on scaling the framework to handle thousands of chemical perturbations in larger-scale datasets.
Summary updated