Abstract
Single-cell RNA-Sequencing (scRNA-Seq) profiles gene expression at the level of individual cells. While throughput is increasing, the high cost of large-scale experiments often necessitates the integration of multiple independent datasets to improve statistical power. However, technical "batch effects" from different sequencing runs or conditions often confound biological signals. Existing integration methods, primarily based on the Mutual Nearest Neighbors (MNN) paradigm, frequently fail to fully correct these effects or inadvertently destroy the data's local structure. We present BATMAN (BATch integration via minimum-weight MAtchiNg), a novel framework that frames dataset integration as a global minimum-weight matching problem. Across simulations and real-world datasets, BATMAN outperforms state-of-the-art tools by up to 80% in batch effect correction while significantly better preserving cell-to-cell biological relationships.
Introduction
The integration of scRNA-Seq datasets is essential for large-scale analyses, such as identifying cell-type-specific eQTLs. The primary challenge is removing technical noise—batch effects—without losing the underlying biological variation. Current state-of-the-art methods rely on MNN, which identifies pairs of cells that are mutual neighbors across datasets. While effective in some scenarios, MNN is a local, greedy approach that can struggle with large batch effects or misaligned biological signals, leading to "over-correction" and loss of local data structure.
The BATMAN Algorithm
BATMAN addresses these limitations by adopting a "parsimonious" global optimization strategy. Instead of local neighbor searches, it seeks the smallest total correction necessary to align two datasets.
The algorithm proceeds through several key stages:
- Representative Cell Identification: To ensure scalability, cells are clustered, and cluster centers are identified as "representative cells" in a reduced PCA space.
- Anchor Graph Construction: A weighted bipartite graph is built where nodes represent cluster centers from two datasets, and edge weights correspond to Euclidean distances.
- Global Minimum-Weight Matching: BATMAN solves for a global minimum-weight bipartite matching. This ensures the best overall pairing of clusters, avoiding the pitfalls of local greedy choices.
- Batch Effect Correction: The difference between matched pairs defines batch effect vectors, which are extrapolated to all individual cells using a weighted average of the $k$ nearest representative anchors.
Key Insights: Global vs. Local Optimization
The shift from local MNN to global minimum-weight matching is the core innovation of BATMAN. As shown in the figure above, MNN's local focus can lead to incorrect pairings (red arrows) when batch effects are significant. BATMAN’s global approach (green arrows) maintains the overall structure of the data, ensuring that the integration process respects the global distribution of cell types across batches.
Furthermore, BATMAN excels at preserving the "local structure" of the data. Using the $k$-retained nearest neighbors ($k$-RNN) metric, the authors demonstrated that while other tools might mix datasets well, they often scramble the internal relationships between cells. BATMAN maintains these relationships much more effectively, even in high-dimensional spaces where MNN-based methods typically degrade.
Results and Performance
The authors evaluated BATMAN against leading tools like Seurat v3.0 and MNNcorrect using both simulated (Splatter) and real-world (Pancreas, PBMC) datasets.
- Integration Quality: In simulations with large batch effects, BATMAN achieved an iLISI score of 1.84, indicating near-perfect mixing, whereas competitors like Seurat and MNNcorrect failed to mix the datasets (score of 1.00).
- Biological Preservation: BATMAN preserved 92% of local cell-to-cell relationships (50-RNN score), significantly higher than Seurat (58%) and MNN (51%).
- Computational Efficiency: On a 10X Genomics dataset of ~12,000 cells, BATMAN completed integration in 20.1 seconds, compared to nearly 18 minutes for MNNcorrect.
- Robustness: In a "held-out" experiment where one cell type was missing from one dataset, BATMAN correctly aligned the shared types without forcing the unique cell type into an incorrect cluster.
Conclusion
BATMAN provides a fast, accurate, and robust solution for scRNA-Seq dataset integration. By leveraging global optimization, it overcomes the limitations of local MNN-based methods, providing superior batch correction while safeguarding the biological integrity of the data. Future work will focus on extending the framework to multi-dataset integration and further optimizing the matching step for extremely large-scale atlases.
Availability: BATMAN is open-source and available at https://github.com/mandricigor/batman.
Summary updated