TL;DR
The paper introduces scArches (single-cell architectural surgery), a transfer learning strategy that allows researchers to map new single-cell datasets onto existing reference atlases without sharing raw data. By fine-tuning only a tiny fraction of a model's parameters, scArches enables fast, decentralized, and iterative atlas building while preserving unique biological signals, such as disease-specific cell states.
Abstract
Large single-cell atlases are now routinely generated to serve as references for analysis of smaller-scale studies. Yet learning from reference data is complicated by batch effects between datasets, limited availability of computational resources and sharing restrictions on raw data. Here we introduce a deep learning strategy for mapping query datasets on top of a reference called single-cell architectural surgery (scArches). scArches uses transfer learning and parameter optimization to enable efficient, decentralized, iterative reference building and contextualization of new datasets with existing references without sharing raw data. Using examples from mouse brain, pancreas, immune and whole-organism atlases, we show that scArches preserves biological state information while removing batch effects, despite using four orders of magnitude fewer parameters than de novo integration. scArches generalizes to multimodal reference mapping, allowing imputation of missing modalities. Finally, scArches retains coronavirus disease 2019 (COVID-19) disease variation when mapping to a healthy reference, enabling the discovery of disease-specific cell states. scArches will facilitate collaborative projects by enabling iterative construction, updating, sharing and efficient use of reference atlases.
The Challenge of Single-Cell Integration
The field of single-cell genomics has entered an "atlas-building" era. Large-scale initiatives like the Human Cell Atlas are producing comprehensive references containing millions of cells. However, leveraging these massive datasets to contextualize new, smaller studies remains a significant challenge. Researchers typically face three major hurdles:
- Batch Effects: Technical variations in sequencing protocols and laboratory conditions introduce noise that obscures biological signals.
- Data Privacy: Legal and ethical restrictions often prevent the sharing of raw genomic data, precluding the possibility of "de novo" integration where all data is re-processed together.
- Computational Scalability: Re-integrating millions of cells every time a new dataset is added is computationally prohibitive for most research groups.
Traditional integration methods often struggle to distinguish between technical noise and meaningful biological variation, such as the unique signatures found in diseased tissues.
The scArches Framework
To address these challenges, we developed single-cell architectural surgery (scArches). This method utilizes transfer learning to map new "query" datasets onto pre-trained reference models. Instead of retraining a full deep learning architecture (such as a Variational Autoencoder), scArches performs "architectural surgery" by adding small, dataset-specific "adaptor" nodes to the input layer of a frozen reference model.
By optimizing only the parameters associated with these adaptors—typically four to five orders of magnitude fewer than the full model—scArches efficiently aligns the query data into the reference's latent space. This approach is model-agnostic and can be applied to various architectures, including scVI, trVAE, and totalVI.
Validation and Performance
We validated scArches across a diverse range of biological contexts, including mouse brain, pancreas, and human immune cell atlases. Key findings include:
- Efficiency: scArches can map one million query cells in under an hour on standard hardware, representing a 5x to 8x speedup over de novo methods.
- Accuracy: Benchmarking against ten different metrics for batch removal and biological conservation showed that scArches performs competitively with "gold-standard" de novo integration.
- Biological Preservation: Because the core reference weights are frozen, the model does not "force" unique query states to match the reference. This was demonstrated by mapping COVID-19 patient data onto a healthy lung reference; scArches successfully identified inflammatory macrophages as a distinct, disease-specific cluster.
- Multimodal Imputation: The framework can leverage CITE-seq references (containing both RNA and surface protein data) to accurately predict protein levels in RNA-only query datasets.
Discussion and Limitations
scArches enables a decentralized, "hub-and-spoke" model for collaborative science. Central consortia can share trained model weights, allowing individual labs to map private data locally without the need for raw data sharing.
However, several limitations remain. The quality of the mapping is fundamentally limited by the quality of the initial reference. Furthermore, the query and reference must share a significant number of highly variable genes; performance drops if more than 25% of the reference genes are missing from the query. Currently, scArches primarily produces a "latent embedding" rather than a corrected gene expression matrix, as the latter can introduce false signals similar to other denoising methods.
Future work will explore cross-species mapping and the extension of scArches to other modalities, such as epigenomics and spatial transcriptomics. By providing a scalable and privacy-preserving solution for atlas mapping, scArches facilitates the iterative construction and widespread utility of single-cell reference resources.
Summary updated