SpaBatch: Deep Learning‐Based Cross‐Slice Integration and 3D Spatial Domain Identification in Spatial Transcriptomics
Jinyun Niu, Donghai Fang, Jinyu Chen, Yi Xiong, Juan Liu, Wenwen Min · 2025 · 19 citationsRead the paper
With the rapid accumulation of spatial transcriptomics (ST) data across diverse tissues, individuals, and technological platforms, there is an urgent need for a robust and reliable multi-slice integration framework to enable 3D spatial domain identification. However, existing methods largely focus on 2D spatial domain identification within individual slices and fail to adequately account for inter-slice spatial correlations and batch effect correction, thereby limiting the accuracy of cross-slice 3D spatial domain identification. In this study, SpaBatch is presented, a novel framework for integrating and analyzing multi-slice ST data, which effectively corrects batch effects and enables cross-slice 3D spatial domain identification. To demonstrate the power of SpaBatch, SpaBatch is applied to eight real ST datasets, including human cortical slices from different individuals, mouse brain slices generated using two different techniques, mouse embryo slices, human embryonic heart slices, HER2+ breast cancer tissues and mouse hypothalamic slices profiled using the MERFISH platforms. Comprehensive validation demonstrates that SpaBatch consistently outperforms state-of-the-art methods in 3D spatial domain identification while effectively correcting batch effects. Moreover, SpaBatch efficiently captures conserved tissue architectures and cancer-associated substructures across slices, and leverages limited annotations to predict spatial domain in unannotated sections, highlighting its potential for tissue-structure interpretation and developmental biology studies. All code and public datasets used in this study are available at: https://github.com/wenwenmin/SpaBatch.
What the full text shows
Working prototype- Outperforms state-of-the-art methods in 3D spatial domain identification and batch effect correction across diverse ST datasets. (Tested on 8 real ST datasets including human cortical, mouse brain, mouse embryo, human heart, and breast cancer tissues)
- Accurately delineates cortical layers 1 to 6 and white matter (WM) in human DLPFC data. (Human DLPFC dataset (12 slices))
- Identifies specific spatial domains (olfactory bulb, cerebellar cortex) and shared domains spanning forebrain and hindbrain. (Mouse sagittal brain dataset)
- Corrects batch effects and enables 3D spatial domain identification using an end-to-end joint learning framework. (Multi-slice ST data from different individuals, platforms, or developmental stages)
- Setup
- 8 real ST datasets (10x Visium, Stereo-seq, MERFISH) including human DLPFC (12 slices), mouse brain (sagittal and coronal), mouse embryo (4 slices), human embryonic heart, HER2+ breast cancer, and mouse hypothalamus.
- How
- SpaBatch uses a masked variational graph autoencoder (VGAE) for latent representation learning, combined with a mask-based data augmentation strategy to handle sparsity. It employs a pretraining-and-finetuning paradigm with a deep embedded clustering (DEC) module and a triplet contrastive loss based on a readout aggregation strategy for batch effect correction.
- Limitations
- Requires manual annotations for ground truth validation in specific datasets · Performance on unannotated sections relies on the availability of limited annotations for prediction
Summarized by Gemma 4 from the open-access full text · 12 Oct 2026. Read it