NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PRiMeFlow: capturing complex expression heterogeneity in perturbation response modelling

Zichao Yan, Yan Wu, Mica Xu Ji, Chaitra Agrahar, Esther Wershof, Marcel Nassar, Mehrshad Sadria, Ridvan Eksi, Vladimir Trifonov, Ignacio L. Ibarra, Telmo Felgueira, Błażej Osiński, Rory Stark

TL;DR

PRiMeFlow is a novel generative modeling framework that uses flow matching to predict how single cells respond to genetic and chemical perturbations. By operating directly in the high-dimensional gene expression space—rather than a compressed latent space—and utilizing a U-Net architecture, it captures the complex, heterogeneous "spread" of cellular responses far more accurately than previous state-of-the-art models.

What Problem Does This Paper Address?

In drug discovery and functional genomics, we want to predict how a cell will change when we "perturb" it (e.g., knock out a gene or apply a drug). However, single-cell data is notoriously messy. Even within a group of identical cells treated with the same drug, the individual responses vary wildly—a phenomenon called expression heterogeneity.

Most existing models struggle with two things:

  1. Lossy Compression: They often compress data into a low-dimensional "latent space" (using PCA or VAEs) before modeling. This can discard subtle but critical biological signals.
  2. Predicting the Mean vs. the Distribution: Many models focus on predicting the average response of a cell population. In biology, the "average" cell often doesn't exist; capturing the full distribution (the variance and outliers) is essential for understanding complex drug effects.

Methods

The authors introduce PRiMeFlow, which applies conditional flow matching to perturbation modeling.

  • Flow Matching: Unlike standard diffusion models that can be slow to train and sample, flow matching learns a "velocity field" that maps a simple starting distribution (like Gaussian noise) to the complex target distribution (perturbed cells) through an Ordinary Differential Equation (ODE).
  • Direct Gene Expression Modeling: PRiMeFlow is "end-to-end." It doesn't rely on fixed pretrained embeddings. It learns to update gene expression vectors directly in their native high-dimensional space.
  • U-Net Architecture: Traditionally used in computer vision, the authors found that the U-Net’s ability to aggregate features at multiple scales provides a powerful inductive bias for capturing gene-gene dependencies, significantly outperforming standard Multi-Layer Perceptrons (MLPs).
  • Pretraining-Finetuning: To handle the data-hungry nature of the model, they scaled it across a massive "atlas" of nearly 7 million cells before finetuning it on specific tasks.

Datasets

The model was rigorously benchmarked using:

  • PerturBench: A standardized platform including the Srivatsan20 (small molecules), Jiang24 (genetic), and Norman19 (combinatorial genetic) datasets.
  • ARC Virtual Cell Challenge (VCC) 2025: A high-profile competition focused on predicting responses in H1 human embryonic stem cells (hESCs).
  • The Atlas: A massive pretraining dataset comprising ~6.97 million cells across 14 cell lines and over 10,000 unique gene knockdowns.

Key Insights and Ideas

  • The "Latent Space" Trap: The paper demonstrates that operating in the full gene expression space is superior for capturing distribution-level details. While latent models are computationally cheaper, they often suffer from "mode collapse," where the model only predicts a narrow, safe version of the truth.
  • U-Nets for Genes? It’s counter-intuitive because U-Nets assume a spatial relationship (pixels next to each other), while gene order is arbitrary. Yet, the empirical results show the U-Net's multi-scale feature aggregation is a "pragmatic choice" that captures complex biological noise better than permutation-invariant architectures like Transformers.
  • Simpler Coupling: They found that "independent coupling" (a straight-line path from noise to data) performed better than more complex "Optimal Transport" paths, suggesting that for cellular perturbations, the simplest path is often the most robust.
  • The Distribution Trade-off: There is a clear trade-off between predicting the mean (where older models like CPA excel) and predicting the variance (where PRiMeFlow wins). PRiMeFlow is specifically designed for the latter.

Key Results

  • SOTA Distribution Fitting: PRiMeFlow achieved state-of-the-art results on distributional metrics like MMD (Maximum Mean Discrepancy) and DEG (Differentially Expressed Gene) recall.
  • Capturing the "Spread": In the Srivatsan20 dataset, PRiMeFlow’s DEG recall was 0.26, compared to just 0.0073 for the popular CPA model.
  • Competition Success: PRiMeFlow attained the lowest average rank (the "Generalist" winner) in the ARC Virtual Cell Challenge, proving its ability to generalize across multiple metrics including Pearson correlation and Mean Absolute Error (MAE).
  • Visual Evidence: PCA visualizations show that PRiMeFlow samples actually "fill out" the same space as real perturbed cells, whereas baseline models often cluster into a tiny, inaccurate point.

Limitations and Future Work

  • Permutation Invariance: The authors acknowledge that the U-Net's reliance on gene order is theoretically sub-optimal. They suggest that future versions could use Cross-Attention or Perceiver-IO modules to achieve the same multi-scale benefits without assuming a fixed gene sequence.
  • Computational Intensity: Modeling the full gene expression space (often 15,000+ dimensions) is much more resource-heavy than modeling a 128-dimensional latent space.
  • Beyond RNA: The current model focuses on transcriptomics. Extending this flow-matching approach to multi-omic data (like protein levels or chromatin accessibility) remains an open frontier.

Summary updated

BibTeX
@inproceedings{yan2026primeflow,
  author = {Zichao Yan and Yan Wu and Mica Xu Ji and Chaitra Agrahar and Esther Wershof and Marcel Nassar and Mehrshad Sadria and Ridvan Eksi and Vladimir Trifonov and Ignacio L. Ibarra and Telmo Felgueira and Błażej Osiński and Rory Stark},
  title = {{PRiMeFlow: capturing complex expression heterogeneity in perturbation response modelling}},
  booktitle = {GenBio @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=QFf1HGYLbQ},
}
Figure