Abstract
With the advancement of technology, we can generate and access large-scale, high-dimensional, and diverse genomics data, especially through single-cell RNA sequencing (scRNA-seq). However, integrative downstream analysis from multiple scRNA-seq datasets remains challenging due to batch effects. In this paper, we propose a light-structured deep learning framework called ResPAN for scRNA-seq data integration. ResPAN is based on a Wasserstein Generative Adversarial Network (WGAN) combined with random walk mutual nearest neighbor pairing and fully skip-connected autoencoders to reduce the differences among batches. Our model achieves leading performance on both batch correction and biological information conservation and maintains scalability to datasets with over half a million cells.
Introduction
In single-cell genomics, researchers frequently combine data from disparate experiments, laboratories, or sequencing technologies. These integrated datasets often suffer from batch effects—technical variations such as different reagents or operators that can obscure genuine biological signals. Correcting these effects presents a "Goldilocks" challenge: over-correction can erase unique biological features (e.g., rare cell types), while under-correction leaves technical noise that prevents meaningful cross-study comparisons. Furthermore, as datasets scale to millions of cells, traditional statistical methods often become computationally prohibitive.
Methodology
ResPAN (Residual autoencoder and mutual nearest neighbor Paring guided Adversarial Network) addresses these challenges through a three-stage workflow:
- Training Data Selection: Instead of using all cells, ResPAN identifies Mutual Nearest Neighbors (MNN)—pairs of cells that are each other's closest matches across different batches. To provide sufficient data for deep learning, the model employs random walks (rwMNN) to expand these pairs, ensuring it learns from biologically similar cells.
- Architecture: The framework utilizes a Wasserstein GAN with Gradient Penalty (WGAN-GP). The Generator is a light-structured, fully skip-connected residual autoencoder, designed for stability and speed. The Discriminator attempts to distinguish between the reference and corrected query batches, driving the generator to produce realistic, batch-corrected data.
- Sequential Integration: For multi-batch studies, ResPAN integrates datasets one by one into an expanding reference set.
Key Results and Benchmarking
The authors conducted extensive benchmarking against seven popular methods (including Seurat v4, Harmony, and scVI) across 10 simulated scenarios and 10 real-world datasets:
- Superior Performance: ResPAN achieved the highest overall scores, effectively balancing batch mixing with biological conservation. On the Cell Line (CL) dataset, its performance score was 24.25% higher than the next best performer.
- Extreme Scalability: On an 800,000-cell Mouse Brain dataset, ResPAN completed processing in under 3 minutes (0.0491 hours) using 35GB of RAM. In contrast, Seurat v4 required 74 hours and over 850GB of RAM.
- Biological Discovery: In a Colorectal Cancer (CRC) case study, ResPAN successfully mapped sparse 10x platform data onto high-quality Smart-seq2 references, revealing previously invisible ligand-receptor interactions.
Discussion and Insights
ResPAN’s success stems from its architectural simplicity and strategic data selection. The "light" residual autoencoder proved more stable than complex GAN models, which often suffer from sensitivity to random seed initialization. The inclusion of skip connections for every symmetric layer pair consistently improved batch correction metrics. Additionally, the MNN-based selection acts as a gatekeeper, preventing the model from forcing unique, batch-specific biological information to conform to the reference, thereby preserving rare cell types.
Conclusion
ResPAN offers a robust and scalable solution for the integration of large-scale scRNA-seq datasets. While the current sequential integration strategy is effective, future work may explore the impact of batch ordering and extend the model to multi-omics data integration. The open-source implementation is available to the community to facilitate high-throughput single-cell analysis.
Availability: https://github.com/AprilYuge/ResPAN
Summary updated