Single-Cell RNA-seq Synthesis with Latent Diffusion Model

Yixuan Wang, Shuangyin Li, Shimin Di, Lei ChenarXiv 2023 · DOI

Abstract

Single-cell RNA sequencing (scRNA-seq) provides critical insights into cellular heterogeneity but is often limited by high costs and data scarcity. Existing generative models like GANs and VAEs frequently struggle with mode collapse or low-fidelity outputs. This paper introduces Single-Cell Latent Diffusion (SCLD), a framework that leverages diffusion models in a compressed latent space. By incorporating pre-guidance and post-guidance mechanisms, SCLD generates high-quality, diverse synthetic cell populations. Experimental results on benchmark datasets demonstrate that SCLD produces nearly indistinguishable synthetic data while significantly reducing training time compared to state-of-the-art baselines.

Introduction

The advent of scRNA-seq has transformed biological research by enabling gene expression analysis at the individual cell level. However, the high cost and ethical constraints associated with obtaining large-scale datasets hinder the development of robust machine learning models. Generative models offer a potential solution by synthesizing "hallucinated" data. Yet, traditional approaches like Generative Adversarial Networks (GANs) often suffer from mode collapse, failing to capture rare cell types, while Variational Autoencoders (VAEs) tend to produce overly smooth, unrealistic data.

The SCLD Framework

SCLD adapts latent diffusion technology—originally popularized by image generation models like Stable Diffusion—to the domain of genomics. The architecture is designed to handle the high-dimensional, discrete nature of scRNA-seq data through several key innovations.

The SCLD architecture featuring latent space compression, U-Net denoising, and dual-guidance mechanisms.

1. Latent Space Compression

To manage computational complexity, SCLD uses a "Round" function to map high-dimensional gene expression counts into a continuous, lower-dimensional latent space. This allows the diffusion process to operate on essential biological patterns rather than raw noise.

2. Dual-Guidance Mechanisms

  • Pre-Guidance: During training, the model is conditioned on cluster-specific information (derived via Louvain clustering). This "guidance" helps the model learn the distinct signatures of various cell types.
  • Post-Guidance (The Scorer): A dedicated Scorer module evaluates the quality of generated samples. By retaining only the top 80% of synthetic cells, the framework ensures high biological fidelity.

3. Controllable Synthesis

Through classifier-free guidance, users can adjust a parameter ($\omega$) to control the output. This enables the generation of either a "holistic" representative population or specific, rare sub-populations, facilitating "what-if" simulations for rare disease research.

Experimental Evaluation

The researchers evaluated SCLD on two standard benchmarks: 68k PBMC (immune cells) and Brain Small (brain cells).

Data Fidelity

Using a Random Forest classifier to distinguish real from synthetic cells, SCLD achieved an AUC of 0.59 (where 0.50 represents perfect indistinguishability), significantly outperforming SC-GAN (AUC 0.73). Statistical similarity was further confirmed via Maximum Mean Discrepancy (MMD), where SCLD showed a closer fit (0.65) than SC-GAN (0.90) on the PBMC dataset.

Computational Efficiency

One of the most striking advantages of SCLD is its training speed. By operating in the latent space, it bypasses the heavy overhead of raw data processing.

Comparison of training times (in hours) between SCLD, ACTIVA, and SC-GAN across two datasets.

On the PBMC dataset, SCLD required only 1.7 hours to train, compared to 7.2 hours for SC-GAN and 39.5 hours for ACTIVA. This efficiency makes it highly accessible for researchers with limited computational resources.

Conclusion and Future Directions

SCLD represents a significant step forward in synthetic biology, providing a stable and efficient method for generating high-fidelity scRNA-seq data. While the iterative nature of diffusion models can lead to slower sampling (inference) times compared to GANs, the gains in data quality and training speed are substantial. Future work aims to implement acceleration techniques like "consistency models" to optimize inference and explore cross-modality synthesis, such as predicting protein expression from synthetic RNA profiles.

Summary updated

BibTeX
@misc{wang2023single,
  author = {Yixuan Wang and Shuangyin Li and Shimin Di and Lei Chen},
  title = {{Single-Cell RNA-seq Synthesis with Latent Diffusion Model}},
  year = {2023},
  eprint = {2312.14220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.14220},
}
Figure