arXiv:2412.11084cs.LGq-bio.GN2024-12中稿 · Foundation Models …被引 6

用状态空间模型提升生物多样性分析中的物种识别效率与精度

BarcodeMamba: State Space Models for Biodiversity Analysis

  • 基于Mamba架构设计高效序列建模方法,适配DNA条形码数据
  • 参数量仅需BarcodeBERT的8.3%即达99.2%物种级准确率
  • 在未见物种识别上表现优异,适合资源受限的生物分类场景

DNA条形码在生物多样性分析中至关重要,可用于自动识别已知物种并发现未知物种。与人类基因组建模不同,基于条形码的无脊椎动物识别面临物种多样性大、分类复杂等挑战。尽管基于Transformer的BarcodeBERT在物种级别识别上表现优异,但其计算开销高。近期,结构化状态空间模型(SSMs)因其亚二次时间复杂度成为替代方案。我们设计了BarcodeMamba,一个针对生物条形码优化的高效基础模型。通过全面消融实验,评估自监督训练与分词策略的影响,并对比Mamba及其变体在表达能力与未见物种识别上的性能。结果表明,BarcodeMamba在仅使用8.3%参数量的情况下,物种级线性探测准确率达99.2%,无需微调;在参数量为BarcodeBERT的63.6%时,1-近邻探测对未见物种的属级准确率达70.2%。代码已开源。

原文摘要 · Abstract (English)

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.

生物信息状态空间序列建模物种识别

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。