Joint Flow Matching Enables Continuous Dose-Conditioned Cell Morphing
Organizations: University of Zurich · University Children’s Hospital Zurich
Abstract
Generative modeling has shown increasing promise for predicting cellular perturbation effects under chemical compound treatments. Existing approaches either model perturbation as a distribution-to-distribution mapping without explicit concentration handling, or treat concentration as a discrete class label, precluding continuous dose control. We introduce a joint flow matching approach that simultaneously models cell latents and drug concentration via a dual-timestep formulation, enabling dose-conditioned single-cell morphing through the invertibility of flow matching. The joint formulation induces a monotonic dose-response geometry in latent space and additionally supports concentration estimation from cell morphology. As proof of concept, we further demonstrate generalization to an unseen dose held out during training. Empirically, our method achieves competitive or improved per-concentration metrics on two compounds compared with representative baselines, while enabling capabilities structurally unavailable to discrete-class methods.
Figures & tables
| ODE steps | PSNR | SSIM |
|---|---|---|
| 10 | ||
| 25 | ||
| 50 | ||
| 100 | ||
| 200 | ||
| 500 |
| Concentration ( M) | |||||||
|---|---|---|---|---|---|---|---|
| Method | Metric | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 | Pooled |
| ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ||
| Latent CellFlux [ 42 ] | FID | — | — | — | — | — | 25.19 |
| KID | — | — | — | — | — | 1.90 | |
| IMPA [ 28 ] | FID | — | — | — | — | — | 17.58 |
| KID | — | — | — | — | — | 0.97 | |
| Concentration ( M) | |||||||
|---|---|---|---|---|---|---|---|
| VAE training | Metric | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 | Pooled |
| C7-only | FID | 35.26 | 33.39 | 34.37 | 33.89 | 31.54 | 24.84 |
| KID | 2.18 | 2.09 | 2.14 | 2.06 | 2.01 | 1.94 | |
| Multi-drug | FID | 30.02 | 27.20 | 27.50 | 27.85 | 25.02 | 18.98 |
| KID | 1.58 | 1.40 | 1.37 | 1.39 | 1.28 | 1.25 | |
| Concentration ( M) | |||||||
|---|---|---|---|---|---|---|---|
| Conc. transform | Metric | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 | Pooled |
| Raw ( ) | FID | 30.27 | 27.72 | 29.94 | 28.50 | 27.02 | 20.31 |
| KID | 1.61 | 1.46 | 1.67 | 1.46 | 1.48 | 1.35 | |
| FID | 30.02 | 27.20 | 27.50 | 27.85 | 25.02 | 18.98 | |
| KID | 1.58 | 1.40 | 1.37 | 1.39 | 1.28 | 1.25 | |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| ODE steps | PSNR | SSIM |
|---|---|---|
| 10 | ||
| 25 | ||
| 50 | ||
| 100 | ||
| 200 | ||
| 500 |
| Concentration ( M) | |||||||
|---|---|---|---|---|---|---|---|
| Method | Metric | 0.625 | 1.25 | 2.5 | 5.0 | 10.0 | Pooled |
| ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ||
| Latent CellFlux [ 42 ] | FID | — | — | — | — | — | 21.48 |
| KID | — | — | — | — | — | 1.60 | |
| IMPA [ 28 ] | FID | — | — | — | — | — | 20.93 |
| KID | — | — | — | — | — | 1.23 | |
| C7 | ||||||
|---|---|---|---|---|---|---|
| Concentration ( M) | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 | Pooled |
| FID | 27.09 | 26.34 | 27.27 | 28.71 | 29.28 | 18.79 |
| KID | 1.32 | 1.24 | 1.34 | 1.26 | 1.36 | 1.25 |
| CK-666 | ||||||
| Concentration ( M) | 0.625 | 1.25 | 2.5 | 5.0 | 10.0 | Pooled |
| FID | 26.61 | 27.09 | 27.53 | 30.30 | 27.01 | 19.34 |
| Method | Top-1 | neighbor |
|---|---|---|
| Joint FM | 34.0% | 68.0% |
| ResNet-18, real real | 48.0% | 74.8% |
| Concentration ( M) | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 |
|---|---|---|---|---|---|
| Joint FM | 44.3% | 24.1% | 21.5% | 20.7% | 54.6% |
| ResNet-18 (real real) | 31.8% | 53.9% | 14.5% | 48.8% | 79.2% |
| Concentration ( M) | |||||||
|---|---|---|---|---|---|---|---|
| Metric | 0.037 | 0.11 | 0.33 | 1.0 | 3.0 | Pooled | |
| 0.1 | FID | 29.83 | 28.52 | 30.15 | 29.95 | 26.16 | 20.42 |
| KID | 1.56 | 1.51 | 1.62 | 1.58 | 1.41 | 1.37 | |
| 0.5 | FID | 30.02 | 27.20 | 27.50 | 27.85 | 25.02 | 18.98 |
| KID | 1.58 | 1.40 | 1.37 | 1.39 | 1.28 | 1.25 | |
| 1.0 | FID | 31.48 | 28.21 | 28.91 | 30.41 | 25.66 | 20.32 |
| PSNR | SSIM | |||||
|---|---|---|---|---|---|---|
| Steps | Euler | Heun | RK4 | Euler | Heun | RK4 |
| 10 | ||||||
| 25 | ||||||
| 50 | ||||||
| 100 | ||||||
| 200 | ||||||
| Method | Batch Latency (ms) | Per-Cell (ms) |
|---|---|---|
| Latent CellFlux | ||
| IMPA | ||
| PhenDiff | ||
| Ours (cond. only) | ||
| Ours (Joint Latent FM) |