arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.11084cs.LGq-bio.GNq-bio.QM
收藏

BarcodeMamba:用于生物多样性分析的状态空间模型

BarcodeMamba: State Space Models for Biodiversity Analysis

University of Guelph(圭尔夫大学);Vector Institute for AI(矢量人工智能研究院)

Tiancheng Gao, Graham W. Taylor

AI总结:

本研究提出BarcodeMamba,一种基于状态空间模型的高效基础模型,用于DNA条形码生物多样性分析,以更少参数在物种识别和未知物种发现上超越BarcodeBERT。

摘要:

DNA条形码在生物多样性分析中至关重要,用于构建能够识别已知物种和发现未知物种的自动识别系统。与人类基因组建模不同,基于条形码的无脊椎动物识别面临着物种多样性巨大和分类复杂性高的挑战。在基于Transformer的基础模型中,BarcodeBERT在无脊椎动物的物种级识别中表现出色,突显了在条形码特定数据集上进行自监督预训练的有效性。近年来,结构化状态空间模型(SSMs)应运而生,其时间复杂度随上下文长度呈次二次方增长。与基于注意力的架构相比,SSMs提供了序列建模的高效参数化方法。鉴于Mamba和Mamba-2在自然语言处理中的成功,我们设计了BarcodeMamba,一个用于生物多样性分析中DNA条形码的高性能且高效的基础模型。我们对自监督训练和分词方法的影响进行了全面的消融研究,并比较了两种版本的Mamba层在表达能力及其识别训练中保留的“未知”物种的能力方面的差异。我们的研究表明,即使仅使用BarcodeBERT参数量的8.3%,BarcodeMamba的性能也优于BarcodeBERT,并且在无需微调的线性探测中,对“已知”物种的物种级准确率提升至99.2%。在我们的扩展研究中,参数量为BarcodeBERT的63.6%的BarcodeMamba,在1-最近邻(1-NN)探测中对未知物种实现了70.2%的属级准确率。用于复现我们实验的代码仓库可在https://github.com/bioscan-ml/BarcodeMamba获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑