arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01588cs.CL
收藏

Bioformer:一个用于生物医学文本挖掘的高效Transformer语言模型

Bioformer: an efficient transformer language model for biomedical text mining

Sun Yat-sen University(中山大学);National Institutes of Health(美国国立卫生研究院);University of Pennsylvania(宾夕法尼亚大学)

Li Fang, Qingyu Chen, Chih-Hsuan Wei, Zhiyong Lu, Kai Wang

摘要:

预训练的语言模型,如来自Transformers的双向编码器表示(BERT),在自然语言处理(NLP)任务中实现了最先进的性能。最近,BERT已被应用于生物医学领域。尽管有效,但这些模型具有数亿个参数,并且在应用于大规模NLP应用时计算昂贵。我们假设原始BERT的参数数量可以大大减少,对性能的影响很小。在这项研究中,我们提出了Bioformer,一个紧凑的BERT模型的生物医学文本挖掘。我们预训练了两个Bioformer模型(名为Bioformer 8L和Bioformer 16 L),与BERTBase相比,它们将模型大小减少了60%。Bioformer使用生物医学词汇表,并在PubMed摘要和PubMed Central全文文章上从头开始进行预训练。我们全面评估了Bioformer以及现有生物医学BERT模型(包括BioBERT和PubMed BERT)在四种不同生物医学NLP任务(命名实体识别、关系抽取、问答和文档分类)的15个基准数据集上的性能。结果表明,在参数减少60%的情况下,Bioformer 16 L的准确度仅比PubMedBERT低0.1%,而Bioformer 8L的准确度比PubMedBERT低0.9%。Bioformer 16 L和Bioformer 8L的性能均优于BioBERTBase-v1.1。此外,Bioformer 16 L和Bioformer 8L的速度是PubMedBERT/BioBERTBase-v1.1的2-3倍。Bioformer已成功部署到PubTator Central,提供超过3500万PubMed摘要和500万PubMed Central全文文章的基因注释。我们通过https://github.com/WGLab/bioformer公开提供Bioformer,包括预训练模型,数据集和下游使用说明。

英文摘要:

Pretrained language models such as Bidirectional Encoder Representations from Transformers (BERT) have achieved state-of-the-art performance in natural language processing (NLP) tasks. Recently, BERT has been adapted to the biomedical domain. Despite the effectiveness, these models have hundreds of millions of parameters and are computationally expensive when applied to large-scale NLP applications. We hypothesized that the number of parameters of the original BERT can be dramatically reduced with minor impact on performance. In this study, we present Bioformer, a compact BERT model for biomedical text mining. We pretrained two Bioformer models (named Bioformer8L and Bioformer16L) which reduced the model size by 60% compared to BERTBase. Bioformer uses a biomedical vocabulary and was pre-trained from scratch on PubMed abstracts and PubMed Central full-text articles. We thoroughly evaluated the performance of Bioformer as well as existing biomedical BERT models including BioBERT and PubMedBERT on 15 benchmark datasets of four different biomedical NLP tasks: named entity recognition, relation extraction, question answering and document classification. The results show that with 60% fewer parameters, Bioformer16L is only 0.1% less accurate than PubMedBERT while Bioformer8L is 0.9% less accurate than PubMedBERT. Both Bioformer16L and Bioformer8L outperformed BioBERTBase-v1.1. In addition, Bioformer16L and Bioformer8L are 2-3 fold as fast as PubMedBERT/BioBERTBase-v1.1. Bioformer has been successfully deployed to PubTator Central providing gene annotations over 35 million PubMed abstracts and 5 million PubMed Central full-text articles. We make Bioformer publicly available via https://github.com/WGLab/bioformer, including pre-trained models, datasets, and instructions for downstream use.

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

↑