Bidirectional Mamba for Single-Cell Data: Efficient Context Learning with Biological Fidelity

Cong Qi, Hanzhang Fang, Siqi Jiang, Xun Song, Tianxing Hu +1 more
4/22/2025
cs.CLcs.LGq-bio.GN

No confident code implementation found for this paper.

Abstract

Single-cell RNA sequencing (scRNA-seq) enables high-resolution analysis of cellular heterogeneity, but its complexity, which is marked by high dimensionality, sparsity, and batch effects, which poses major computational challenges. Transformer-based models have made significant advances in this domain but are often limited by their quadratic complexity and suboptimal handling of long-range dependencies. In this work, we introduce GeneMamba, a scalable and efficient foundation model for single-cell transcriptomics built on state space modeling. Leveraging the Bi-Mamba architecture, GeneMamba captures bidirectional gene context with linear-time complexity, offering substantial computational gains over transformer baselines. The model is pretrained on nearly 30 million cells and incorporates biologically informed objectives, including pathway-aware contrastive loss and rank-based gene encoding. We evaluate GeneMamba across diverse tasks, including multi-batch integration, cell type annotation, and gene-gene correlation, demonstrating strong performance, interpretability, and robustness. These results position GeneMamba as a practical and powerful alternative to transformer-based methods, advancing the development of biologically grounded, scalable tools for large-scale single-cell data analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qi2025bidirectional,
  title  = {Bidirectional Mamba for Single-Cell Data: Efficient Context Learning with Biological Fidelity},
  author = {Cong Qi and Hanzhang Fang and Siqi Jiang and Xun Song and Tianxing Hu and Wei Zhi},
  year   = {2025},
  eprint = {2504.16956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.16956v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.16956.svg)](https://codeofpaper.com/paper/2504.16956)

Discussion