NICHEVI: A PROBABILISTIC FRAMEWORK TO EMBED CELLULAR INTERACTION IN SPATIAL TRANSCRIPTOMICS

Nathan Levy, Florian Ingelfinger, Can Ergen-Behr, Boaz NadlerMLGenX @ ICLR 2024

TL;DR

NicheVI is a new deep learning framework that embeds cells within their spatial context in tissues. It goes beyond just gene expression to capture how a cell's neighborhood influences its state, enabling the discovery of novel cellular "niches" and finer distinctions within cell types. This is crucial for understanding complex tissue functions and diseases.

What Problem Does This Paper Address?

Understanding how cells interact and function within the complex, organized environment of a tissue is a major challenge in biology. While spatial transcriptomics (ST) technologies allow us to measure gene expression in situ (in its original location), existing computational methods often struggle to fully leverage this spatial information. Many methods focus on gene expression alone or treat spatial context superficially. This leaves a gap in our ability to computationally represent how a cell's immediate surroundings—its "niche"—shapes its identity and function. Without this, we miss crucial insights into tissue organization, cellular heterogeneity, and how diseases like cancer develop and progress.

Methods

NicheVI is a probabilistic, end-to-end deep learning model designed to address this gap. It builds upon variational autoencoders (VAEs), a common tool for learning low-dimensional representations of data. Here's what's novel:

  • Spatial Context Encoding: NicheVI takes into account not just a cell's own gene expression but also the composition of its neighboring cells (defined by K-nearest neighbors) and the average gene expression profiles of those neighbors, categorized by cell type.
  • Probabilistic Framework: It models the observed gene expression as a Poisson distribution, influenced by a latent variable that captures both intrinsic cell properties and spatial context. It also models the cell-type proportions of neighbors using a Dirichlet distribution and their average expression profiles.
  • End-to-End Learning: The model is trained to simultaneously decode the cell's gene expression, its niche's cell-type composition, and the variation in cell states within that niche.
  • Batch Correction: It incorporates batch information (like donor or sample ID) as a covariate, similar to established methods like scVI, to harmonize data from different experimental batches.

Datasets

The authors evaluated NicheVI on two key datasets:

  • MERFISH mouse brain atlas: This dataset provides high-resolution spatial transcriptomics data for a large number of cells across the entire adult mouse brain, annotated with cell types and anatomical regions.
  • 10X XENIUM human breast cancer: This dataset focuses on breast cancer tissues, identifying distinct tumor domains (ductal carcinoma in situ and invasive tumor) and allowing for the analysis of immune cells within these microenvironments.

The paper also references benchmarks against existing methods like scVI and SIMVI, using metrics such as batch correction, cell type preservation, and region label preservation.

Key Insights and Ideas

  • Niches are more than just cell types: NicheVI demonstrates that the spatial arrangement and composition of cells (the niche) significantly influence cellular states, leading to distinct "nichetypes" that are not captured by non-spatial methods.
  • Fine-grained heterogeneity: The model can uncover subtle differences within seemingly homogeneous cell populations, revealing specialized subtypes that are adapted to specific tissue microenvironments.
  • Linking niche to function: By identifying these nichetypes, NicheVI can help link specific cellular states to their spatial context and, consequently, to their functional roles in health and disease. For example, it can differentiate immune cells based on their proximity to different tumor subtypes.

Key Results

  • Mouse Brain: NicheVI successfully delineated region-specific microglia populations, identifying a quiescent microglia state in the hippocampus and a more activated state in the striatum, correlating with known gene expression patterns. It outperformed scVI and SIMVI in preserving anatomical region labels while maintaining cell type information.
  • Breast Cancer: In breast cancer tissues, NicheVI identified distinct niches for CD8+ T cells. T cells near pre-malignant DCIS cells showed markers of high cytotoxicity, while those near invasive tumor cells exhibited markers associated with immune evasion (e.g., CXCR4 upregulation), suggesting a role in tumor escape.
  • Benchmarking: NicheVI consistently showed superior performance in niche composition divergence, indicating that its embeddings better reflect the immediate microenvironments of cells compared to scVI and SIMVI.

Limitations and Future Work

  • Spatial Niche Independence: NicheVI's encoder learns the latent embedding of a cell based on its gene expression and spatial niche. However, if a cell's gene expression and its spatial niche are completely independent, NicheVI might not fully capture the spatial niche.
  • Neighboring Cell Influence: The paper notes that NicheVI primarily uncovers subtle changes in gene expression between cells in different niches, rather than directly modeling the effect of neighboring cells on a specific cell's gene expression. SIMVI, for instance, is mentioned as attempting to disentangle intrinsic and spatial variations by minimizing mutual information.
  • Future Directions: The authors suggest that further studying the identified cell states and their associated gene expression changes will improve our understanding of how cancers suppress or bypass effective antitumor immunity. The framework's ability to identify niche-specific states holds promise for advancing our understanding of tissue biology in both health and disease.

Summary updated

BibTeX
@inproceedings{levy2024nichevi,
  author = {Nathan Levy and Florian Ingelfinger and Can Ergen-Behr and Boaz Nadler},
  title = {{NICHEVI: A PROBABILISTIC FRAMEWORK TO EMBED CELLULAR INTERACTION IN SPATIAL TRANSCRIPTOMICS}},
  booktitle = {MLGenX @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=GtDIRfqFrv},
}
Figure