mlsanityData to 7 Oct 2026

BarcodeMamba: State Space Models for Biodiversity Analysis

arXiv 2412.11084 ↗First posted 15 Dec 2024cs.LG q-bio.GN q-bio.QMcited by 4

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

DNA barcodes are crucial in biodiversity analysis for building automatic identification systems that recognize known species and discover unseen species. Unlike human genome modeling, barcode-based invertebrate identification poses challenges in the vast diversity of species and taxonomic complexity. Among Transformer-based foundation models, BarcodeBERT excelled in species-level identification of invertebrates, highlighting the effectiveness of self-supervised pretraining on barcode-specific datasets. Recently, structured state space models (SSMs) have emerged, with a time complexity that scales sub-quadratically with the context length. SSMs provide an efficient parameterization of sequence modeling relative to attention-based architectures. Given the success of Mamba and Mamba-2 in natural language, we designed BarcodeMamba, a performant and efficient foundation model for DNA barcodes in biodiversity analysis. We conducted a comprehensive ablation study on the impacts of self-supervised training and tokenization methods, and compared both versions of Mamba layers in terms of expressiveness and their capacity to identify "unseen" species held back from training. Our study shows that BarcodeMamba has better performance than BarcodeBERT even when using only 8.3% as many parameters, and improves accuracy to 99.2% on species-level accuracy in linear probing without fine-tuning for "seen" species. In our scaling study, BarcodeMamba with 63.6% of BarcodeBERT's parameters achieved 70.2% genus-level accuracy in 1-nearest neighbor (1-NN) probing for unseen species. The code repository to reproduce our experiments is available at https://github.com/bioscan-ml/BarcodeMamba.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 11 of its 22 references that are in the map. First posted on arXiv 15 Dec 2024.

Builds on

11 of 22 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  3. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Scaling Laws for Neural Language Modelscited by 6,411
  3. 2023HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolutioncited by 187
  4. 2023DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genomecited by 139
  5. 2024Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modelingcited by 108
  6. 2023BEND: Benchmarking DNA Language Models on biologically meaningful taskscited by 27
  7. 2021Fine-Grained Zero-Shot Learning with DNA as Side Informationcited by 20
  8. 2023To Transformers and Beyond: Large Language Models for the Genomecited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024An efficient solution to Hidden Markov Models on trees with coupled branches
  2. 2025FishNet++: Analyzing the capabilities of Multimodal Large Language Models in marine biology
  3. 2024DNAHLM -- DNA sequence and Human Language mixed large language Model
  4. 2025Evaluation of the Automated Labeling Method for Taxonomic Nomenclature Through Prompt-Optimized Large Language Model
  5. 2026ShellfishNet: A Domain-Specific Benchmark for Visual Recognition of Marine Molluscs
  6. 2025HybriDNA: A Hybrid Transformer-Mamba2 Long-Range DNA Language Model
  7. 2026Hierarchy-Aware Supervised Uncertainty Estimation for Black-box LLM Taxonomic Reasoning
  8. 2025Near-Lossless Model Compression Enables Longer Context Inference in DNA Large Language Models