arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.15006q-bio.GNcs.AIcs.CEcs.CL
收藏

DNABERT-2:面向多物种基因组的高效基础模型与基准

DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genome

Northwestern University(西北大学);Stony Brook University(石溪大学)

Zhihan Zhou, Yanrong Ji, Weijian Li, Pratik Dutta, Ramana Davuluri, Han Liu

AI总结:

针对k-mer标记化低效问题,提出用BPE替代并构建DNABERT-2基因组基础模型,同时推出多物种基准GUE,以21倍更少参数和92倍更少GPU时间达到最先进性能。

摘要:

解码基因组的语言复杂性是生物学中的一个关键问题,预训练基础模型如DNABERT和Nucleotide Transformer在这一领域已取得显著进展。现有工作大多依赖于k-mer,即A、T、C和G的固定长度排列,作为基因组语言的标记,因其简单性而广泛使用。然而,我们认为k-mer标记化带来的计算和样本低效性是开发大型基因组基础模型的主要障碍。我们提供了关于基因组标记化的概念性和实证性见解,在此基础上提出用字节对编码(BPE)替代k-mer标记化,BPE是一种基于统计的数据压缩算法,通过迭代合并语料库中最频繁共现的基因组片段来构建标记。我们证明BPE不仅克服了k-mer标记化的局限性,还受益于非重叠标记化的计算效率。基于这些见解,我们推出了DNABERT-2,一个精细化的基因组基础模型,它采用了高效的标记器,并运用多种策略来克服输入长度限制、减少时间和内存开销,并增强模型能力。此外,我们指出缺乏全面且标准化的基因组理解基准是公平比较分析的另一个重大障碍。为此,我们提出了基因组理解评估(GUE),一个全面的多物种基因组分类数据集,汇集了9个任务中的36个不同数据集,输入长度从70到10000不等。通过在GUE基准上的全面实验,我们证明DNABERT-2在预训练中仅使用21倍更少的参数和约92倍更少的GPU时间,就达到了与最先进模型相当的性能。

英文摘要:

Decoding the linguistic intricacies of the genome is a crucial problem in biology, and pre-trained foundational models such as DNABERT and Nucleotide Transformer have made significant strides in this area. Existing works have largely hinged on k-mer, fixed-length permutations of A, T, C, and G, as the token of the genome language due to its simplicity. However, we argue that the computation and sample inefficiencies introduced by k-mer tokenization are primary obstacles in developing large genome foundational models. We provide conceptual and empirical insights into genome tokenization, building on which we propose to replace k-mer tokenization with Byte Pair Encoding (BPE), a statistics-based data compression algorithm that constructs tokens by iteratively merging the most frequent co-occurring genome segment in the corpus. We demonstrate that BPE not only overcomes the limitations of k-mer tokenization but also benefits from the computational efficiency of non-overlapping tokenization. Based on these insights, we introduce DNABERT-2, a refined genome foundation model that adapts an efficient tokenizer and employs multiple strategies to overcome input length constraints, reduce time and memory expenditure, and enhance model capability. Furthermore, we identify the absence of a comprehensive and standardized benchmark for genome understanding as another significant impediment to fair comparative analysis. In response, we propose the Genome Understanding Evaluation (GUE), a comprehensive multi-species genome classification dataset that amalgamates $36$ distinct datasets across $9$ tasks, with input lengths ranging from $70$ to $10000$. Through comprehensive experiments on the GUE benchmark, we demonstrate that DNABERT-2 achieves comparable performance to the state-of-the-art model with $21 \times$ fewer parameters and approximately $92 \times$ less GPU time in pre-training.

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

↑