MorphGen: Controllable Cell-Image Generation with Biological Representation Alignment

Berker Demirel, Marco Fumero, Theofanis Karaletsos, Francesco LocatelloNeurIPS 2026

TL;DR

What if you could test how thousands of different drugs or genetic edits alter the physical structure of living cells without ever picking up a pipette? MorphGen brings us closer to this "Virtual Cell" vision: it is a diffusion model that generates high-resolution, six-channel microscopy images across multiple cell types and experimental perturbations. By steering the generator with an AI "biology tutor" during training, MorphGen preserves intricate, organelle-level biology—and can even predict what happens in cell-perturbation combinations it has never seen before.

Figure 1: Original (top row) and generated (bottom row) images for various cell type / perturbation ID pairs from the RxRx1 dataset [31]. Unlike existing models, our MorphGen is capable of generating crisp, high-resolution images across different cell-types and perturbations. Generated images are not cherry-picked, and we selected original images that are neighbors of the generated ones for visualization. See Appendix S for additional examples.

What Problem Does This Paper Address?

In modern drug discovery, researchers rely heavily on Cell Painting—a microscopy protocol that stains eight cellular compartments across six distinct fluorescent channels. Automated microscopes snap hundreds of thousands of images to see how a chemical or genetic "perturbation" physically reshapes a cell. Doing this exhaustively in a wet lab, however, is slow and expensive.

Generative AI offers a compelling in silico shortcut, yet existing models make painful compromises to get off the ground:

  1. Lossy compression: Standard image generators expect 3-channel RGB images. Prior methods squash the 6 fluorescent channels into RGB, irreversibly tangling up distinct organelle signals.
  2. Low capacity and narrow scope: Many approaches crop full $512\times512$ views down to tiny $96\times96$ patches, require a real "control" image as a starting point rather than generating from scratch, or only work on a single cell line.

To be scientifically useful, a virtual screening tool needs to generate crisp, full-resolution images from scratch, keep all six organelle channels separate, and work flexibly across diverse cell types.

Methods

MorphGen builds on standard latent diffusion architecture—specifically, a pretrained Stable Diffusion Variational Autoencoder (VAE) paired with a Scalable Interpolant Transformer (SiT) backbone—and introduces three clever adaptations:

  • Organelle-Aware Processing: Instead of squashing 6 channels into 3, MorphGen takes each grayscale organelle channel, duplicates it three times to mimic an RGB image, and passes it through the frozen VAE encoder. It then concatenates all six resulting 4-channel latents into a single 24-channel tensor. The SiT runs diffusion jointly across this unified tensor, capturing cross-organelle relationships while allowing the decoder to unpack clean, separate channels at the end.
  • Compositional Conditioning: Cell type and perturbation labels are mapped to separate learnable embeddings and summed with the diffusion timestep. This factorized setup lets you mix and match—"keep the genetic knockdown fixed, but swap the cell type."
  • Biological Representation Alignment: Standard Representation Alignment (REPA) speeds up diffusion training by forcing internal transformer layers to match features from general vision models like DINOv2. MorphGen repurposes REPA for semantic domain transfer: during training, its intermediate representations are aligned with patch embeddings from a biology foundation model (like OpenPhenom or CellCLIP). Crucially, this biological "tutor" is only needed during training; sampling requires zero extra overhead.
Figure 2: Comparison of original and generated fluorescence images for each organelle in a control HEPG2 cell. Our model reconstructs the six distinct fluorescent channels using RxRx1-recommended colormaps, preserving morphology across subcellular structures. Generated images are not cherry- picked, and we selected original images that are neighbors of the generated ones for visualization.

Datasets

MorphGen is trained and evaluated on two standard, publicly available Cell Painting benchmarks (no new datasets are introduced, though the authors construct a compositional holdout split):

  • RxRx1: Full-resolution ($512\times512$), 6-channel images spanning four human cell lines (HEPG2, HUVEC, RPE, U2OS) subjected to hundreds of siRNA genetic perturbations.
  • Rohban dataset: Evaluated on established 5-gene and 12-gene perturbation subsets to test generalization beyond RxRx1.

Key Insights and Ideas

  • Generic visual features aren't enough for science: Swapping out a general vision teacher (DINOv2) for a biology-domain foundation model (OpenPhenom) doesn't just make images look sharper—it makes the underlying biology dramatically more accurate at the population level. It proves discriminative domain knowledge can be distilled directly into a generative model.
  • Pretty pictures $\neq$ good biology (unless you verify it): Rather than trusting pixel metrics alone, the authors run generated cells through CellProfiler—the exact software biologists use to measure cell area, granularity, and nuclear shape. Synthetic cells preserve both feature correlations and population-level treatment effects.
  • True compositional "Virtual Instrument" behavior: Because cell identity and perturbation effects are disentangled, MorphGen can learn what a perturbation does in three cell types and accurately synthesize its effect on a fourth, held-out cell type.
Figure 4: CellProfiler morphology analysis (HUVEC). Correlation matrices for the top-10 PCA- selected features in real and generated data, shown side-by-side with a shared scale, indicate that MorphGen preserves key morphological relationships.

Key Results

  • Visual Fidelity: On RxRx1 (HUVEC), MorphGen achieves an FID of 50.2 (lower is better), beating the previous state-of-the-art MorphoDiff (78) by over 35%. On the Rohban 5-gene and 12-gene subsets, FID drops by ~60% (251 to 100.24) and ~55% (277 to 123.93), respectively.
  • Domain Alignment Gains: Without alignment, MorphGen gets an FID of 56.87. Aligning with DINOv2 nudges it to 55.26, whereas aligning with biology-expert OpenPhenom drops it to 50.20.
  • Biological Faithfulness: Measuring Conditional Average Treatment Effects (CATE)—the statistical distance between control and perturbed cell populations in CellProfiler space—OpenPhenom-guided generations achieve generated-to-real CATE ratios remarkably close to the ideal 1.0 (0.91, 1.12, and 1.01 across top perturbations).
  • Zero-Shot Combinations: When 100 perturbations are held out on HUVEC cells during training, MorphGen achieves in-distribution generation quality on 55% of those unseen pairs (compared to just 11% and 4% for naive baselines).

Limitations and Future Work

  • True extrapolation remains open: While MorphGen handles unseen combinations of known cell types and perturbations, it cannot yet extrapolate to completely novel drugs or genetic edits never seen during training.
  • Inherited biases: Aligning to a biological foundation model risks importing whatever blind spots or biases that foundation model learned, potentially over-emphasizing certain cellular features.
  • Future directions: The authors plan to explore bias-mitigation techniques and instance-based conditioning—learning perturbation representations directly from example images so the generator isn't tied to a fixed vocabulary of perturbation labels.

Summary updated

Abstract

Simulating in silico cellular responses to interventions is a promising direction to accelerate high-content image-based assays, critical for advancing drug discovery and gene editing. To support this, we introduce MorphGen, a state-of-the-art diffusion-based generative model for fluorescent microscopy that enables controllable generation across multiple cell types and perturbations. MorphGen is trained with an alignment loss that matches its representations to phenotypic embeddings from a biology foundation model, encouraging meaningful morphological patterns consistent with real cell images. Unlike prior approaches that compress multichannel stains into RGB images, sacrificing organelle-specific detail and focusing on a single cell type, MorphGen generates the complete set of fluorescent channels jointly, preserving per-organelle structure and enabling post-generation interpretation. We demonstrate biological consistency with real images via CellProfiler features, and MorphGen attains an FID score over 35% lower than the prior state-of-the-art MorphoDiff. Finally, in a compositional generalization test that holds out cell type--perturbation combinations during training, MorphGen achieves in-distribution quality on 55% of unseen pairs under a seen-calibrated criterion.
BibTeX
@inproceedings{demirel2026morphgen,
  author = {Berker Demirel and Marco Fumero and Theofanis Karaletsos and Francesco Locatello},
  title = {{MorphGen: Controllable Cell-Image Generation with Biological Representation Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SLQ96uBfLV},
}
Figure