CausalGeD: Blending Causality and Diffusion for Spatial Gene Expression Generation

Rabeya Tus Sadia, Md. Atik Ahamed, Qiang Cheng

TL;DR

This paper introduces CausalGeD, a novel deep learning framework that integrates causal relationships between genes with diffusion models to improve the prediction of spatial gene expression. By explicitly modeling gene causality, CausalGeD achieves state-of-the-art performance in integrating single-cell RNA sequencing (scRNA-seq) and spatial transcriptomics (ST) data, offering deeper biological insights.

What Problem Does This Paper Address?

Understanding gene expression patterns in their spatial context is crucial for deciphering biological processes. Spatial transcriptomics (ST) provides this spatial information, but often at lower resolution or with missing data. Single-cell RNA sequencing (scRNA-seq) offers high-resolution gene expression data but lacks spatial context. Integrating these two data types is key to unlocking a comprehensive view of cellular function. However, existing methods struggle to achieve high accuracy, often failing to capture the underlying causal relationships between genes. These relationships, where one gene's expression directly influences another's, are fundamental to biological mechanisms but are often overlooked by traditional correlation-based approaches. This gap limits the predictive power and biological interpretability of current integration methods.

Methods

CausalGeD tackles this challenge by combining two powerful deep learning paradigms: diffusion models and autoregressive modeling, with a novel causality-aware Transformer (CAT) module.

  • Diffusion Models: These models are adept at generating complex data by gradually adding noise and then learning to reverse this process. CausalGeD uses this for generating gene expression, effectively filling in missing values.
  • Autoregressive Modeling: This approach models sequences by predicting the next element based on previous ones, mirroring how biological processes unfold sequentially.
  • Causality-Aware Transformer (CAT): This is the core innovation. It's a modified Transformer that incorporates a causal attention mask. This mask ensures that the model learns dependencies in a biologically plausible order, mimicking how upstream regulators influence downstream genes. This allows CausalGeD to capture both direct and indirect regulatory relationships without requiring predefined knowledge.
  • Latent Space Representation: A two-headed encoder maps scRNA-seq and ST data into a shared latent space, facilitating cross-modal learning.
  • Noisy Input Construction: A standard forward diffusion process adds noise to the latent representations.
  • Inference: During inference, the model uses scRNA-seq data as a condition to guide the denoising process, reconstructing the spatial gene expression.

Datasets

The study utilized ten diverse benchmark datasets, encompassing various tissue types (e.g., human breast cancer, mouse liver, mouse embryo) and sequencing platforms (e.g., 10X Chromium, Slide-seqV2, MERFISH). These datasets vary in sample size, missing data rates, and geographical measurement density, providing a robust testbed for evaluating CausalGeD's performance across different biological contexts and data characteristics.

Key Insights and Ideas

  • Causality is Key: The paper strongly argues that explicitly modeling gene-gene causal relationships is crucial for accurate spatial gene expression integration, outperforming methods that rely solely on correlation or spatial proximity.
  • Diffusion + Causality = Power: Combining the generative power of diffusion models with a causality-aware Transformer module offers a potent approach for complex biological data generation.
  • Biological Mimicry: The causal attention mask in the CAT module effectively mimics biological regulatory hierarchies, leading to more interpretable and accurate predictions.
  • Generalizability: CausalGeD demonstrates robust performance across a wide range of datasets, suggesting its broad applicability in spatial transcriptomics analysis.

Key Results

CausalGeD consistently outperformed state-of-the-art baselines across ten diverse tissue datasets, achieving improvements of 5-32% in key metrics like Pearson's correlation and structural similarity. UMAP visualizations showed that CausalGeD's predicted gene expression closely matched the actual gene expression, with minimal discrepancies, unlike the baseline methods. Hierarchical clustering analysis further validated CausalGeD's superior accuracy in predicting gene expression patterns. For instance, in the human breast cancer (HBC) dataset, CausalGeD achieved a 21.8% improvement in structural similarity, and in the mouse embryo (ME) dataset, a 34.9% increase in PCC.

Limitations and Future Work

The authors acknowledge that a potential limitation is the requirement for ST genes to be a subset of the genes present in the scRNA-seq data. They suggest that extending the approach to scenarios where ST genes are not a direct subset of scRNA-seq genes is a direction for future research.

Summary updated

BibTeX
@inproceedings{sadia2025causalged,
  author = {Rabeya Tus Sadia and Md. Atik Ahamed and Qiang Cheng},
  title = {{CausalGeD: Blending Causality and Diffusion for Spatial Gene Expression Generation}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3736875},
}
Figure