CRNDiff: Count-Native Diffusion Framework via Chemical Reaction Networks
Organizations: Institute of Industrial Science The University of Tokyo Tokyo 153-8505, Japan
Abstract
Scientific measurements such as single-cell RNA (scRNA) sequencing often take the form of nonnegative integer counts, whereas continuous-state diffusion models approximate this discrete structure using continuous coordinates. Building on stochastic chemical reaction networks (CRNs), a class of count-native Markov jump processes, we introduce CRNDiff, a structured framework that combines count-space diffusion with inference-time conditioning on rare subpopulations. An independent birth--death instantiation yields a closed-form transition kernel for forward noising. This kernel enables reverse sampling via forward-filtering backward-sampling (FFBS) and supports data-driven selection of the terminal noising time, eliminating the need for a validation sweep. This tractability also lets us introduce tilted Feynman--Kac (FK) steering, a method for sampling target subpopulations from a frozen generator without retraining. By tilting posterior marginals before FK particle correction, steering mitigates importance-weight concentration when the target population is rare. Using scRNA-seq data from the human heart cell atlas, we test the ability of CRNDiff to generate cell-type-specific distributions. Across the three evaluated target populations, CRNDiff achieves the highest conditional fidelity among the evaluated generative models, with larger mean purity margins for rarer target populations. Generated cells preserve marker-level differential-expression structure. Replacing real training cells for the target classes with generated cells yields downstream classification performance approaching that of the real-data reference.
Figures & tables
| Method | Purity | MMD 2 | PCC | |
|---|---|---|---|---|
| Endothelial abundant , training cells | ||||
| Real cells | ||||
| CRNDiff | ||||
| MDLM ( Sahoo et al., 2024 ) | ||||
| CFGen ( Palma et al., 2025 ) | ||||
| scANVI ( Xu et al., 2021 ) | ||||
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Value |
|---|---|
| Generator | |
| Architecture | Transformer encoder; self-attention across genes |
| Input encoding | Scaled/log-count features, gene embeddings, time MLP |
| Layers / width / attention heads | 3 / 128 / 4 |
| Output head | Categorical over counts |
| Optimizer | AdamW |
| Conditioning | Purity | MMD 2 | PCC | |
|---|---|---|---|---|
| Endothelial abundant , training cells; | ||||
| Best-of- , | 0.830 | 0.046 | 0.0012 | 0.998 |
| Best-of- , | 0.949 | 0.051 | 0.0033 | 0.998 |
| Best-of- , | 0.958 | 0.078 | 0.0079 | 0.996 |
| [3pt/2pt]Value-guided, | 0.711 | 0.119 | 0.0117 | 0.992 |
| Value-guided, | 0.889 | 0.029 | 0.0006 | 0.999 |
Diffusion Models
Diffusion models learn to reverse gradual data corruption, enabling flexible generation, editing, forecasting, and inference.
See all 1,169 papers