Integrating large-scale single-cell RNA sequencing in central nervous system disease using self-supervised contrastive learning

Yi Fang, Junjie Chen, He Wang, Shousen Wang, Mengqi Chang, Qingcai Chen, Qinglei Shi, Liang Xian, Ming Feng, Baotian Hu, Renzhi WangCommunications 2024

Abstract

The central nervous system (CNS) comprises a diverse range of brain cell types with distinct functions and gene expression profiles. Although single-cell RNA sequencing (scRNA-seq) provides new insights into the brain cell atlases, integrating large-scale CNS scRNA-seq data still encounters challenges due to the complexity and heterogeneity among CNS cell types/subtypes. In this study, we introduce a self-supervised contrastive learning method, called scCM, for integrating large-scale CNS scRNA-seq data. scCM brings functionally related cells close together while simultaneously pushing apart dissimilar cells by comparing the variations of gene expression, effectively revealing the heterogeneous relationships within the CNS cell types/subtypes. The effectiveness of scCM is evaluated on 20 CNS datasets covering 4 species and 10 CNS diseases. Leveraging these strengths, we successfully integrate the collected human CNS datasets into a large-scale reference to annotate cell types and subtypes in neural tissues. Results demonstrate that scCM provides an accurate annotation, along with rich spatial information of cell state. In summary, scCM is a robust and promising method for integrating large-scale CNS scRNA-seq data, enabling researchers to gain insights into the cellular and molecular mechanisms underlying CNS functions and diseases.

Introduction

The central nervous system is arguably the most complex biological system, containing a staggering diversity of cell types and states. While single-cell RNA sequencing (scRNA-seq) has revolutionized our ability to profile these cells, two major hurdles remain: batch effects and data sparsity (dropout). Data generated by different labs or using different technologies often contain technical variations that mask true biological signals. Furthermore, scRNA-seq data is notoriously "noisy," where many expressed genes show zero counts due to technical limitations. Existing methods often struggle to scale to millions of cells or fail to maintain biological nuances when correcting these artifacts. The authors sought a robust way to integrate these disparate datasets into a unified reference map for CNS diseases.

Methods

To address these challenges, we developed scCM (single-cell Contrastive Momentum), built upon the MoCo v3 (Momentum Contrast) architecture—a state-of-the-art technique in computer vision adapted here for genomics.

The architecture of scCM utilizes a dual-encoder system and InfoNCE loss to learn robust cell representations.

Instead of relying on raw gene counts, scCM learns by comparing cells using an InfoNCE loss function. This pulls "similar" cells (positive pairs) closer together in a low-dimensional embedding space while pushing "dissimilar" cells (negative pairs) apart. The system employs a dual-encoder architecture: a query encoder and a momentum encoder. The momentum encoder’s weights are updated as a moving average of the query encoder, providing a stable and consistent "dictionary" of cell representations during training. Notably, scCM works directly on gene expression variations without requiring artificial data augmentation, making it highly suitable for transcriptomic data.

Data and Benchmarking

The study utilized a massive collection of 20 CNS datasets, totaling 924,425 cells.

Distribution of cells across species and diseases in the integrated CNS dataset.

These datasets encompass four species (human, primate, rodent, and fish) and 10 disease subcategories, including Alzheimer’s (AD), Multiple Sclerosis (MS), Glioblastoma (GBM), and Huntington’s Disease (HD). The model was benchmarked against seven established methods, including Seurat, Harmony, LIGER, scVI, and MARS.

Results and Discussion

scCM demonstrated superior performance across several key metrics:

  • Robustness to Noise: The model maintained high clustering accuracy even when 50% of expressed genes were randomly zeroed out, capturing the "latent identity" of cells better than traditional statistical methods.
  • Functional Proximity: Beyond simple cell-type clustering, scCM groups cells by state. In brain metastasis data, different cancer subtypes (e.g., breast vs. ovarian) were projected near each other based on functional similarities, revealing the heterogeneous landscape of the disease.
  • Automated Discovery: scCM successfully identified a cluster of "unknown" cells from a previous study as olfactory ensheathing cells, a specialized glial type involved in neural repair—a finding validated through Gene Ontology (GO) enrichment.
  • Scalability: The model integrated nearly one million cells in approximately 18 minutes (1122.4 seconds), significantly outperforming deep learning competitors that often require hours for similar tasks.

The integration also revealed five distinct astrocyte subtypes, with specific subtypes linked to Huntington’s Disease and Multiple Sclerosis, providing new targets for therapeutic research.

Conclusion

While scCM is a powerful tool, future work will explore its application to other complex tissues like the heart or immune system. Additionally, expanding the reference library will help in identifying even rarer cell subtypes. Currently, while embedding and clustering are automated, final biological interpretation still benefits from expert manual intervention and marker gene analysis.

In summary, scCM provides a robust, scalable framework for neuroscientists to navigate the complex cellular landscape of the diseased brain, offering a significant step forward in large-scale biological data integration.

Summary updated

BibTeX
@inproceedings{fang2024integrating,
  author = {Yi Fang and Junjie Chen and He Wang and Shousen Wang and Mengqi Chang and Qingcai Chen and Qinglei Shi and Liang Xian and Ming Feng and Baotian Hu and Renzhi Wang},
  title = {{Integrating large-scale single-cell RNA sequencing in central nervous system disease using self-supervised contrastive learning}},
  booktitle = {Communications},
  year = {2024},
  doi = {10.1038/s42003-024-06813-2},
}
Figure