[论文解读] Bioformer: an efficient transformer language model for biomedical text mining
Bioformer 是一个紧凑的基于 BERT 的生物医学文本挖掘模型,在 ~60% 的参数更少的情况下实现接近 PubMedBERT 的准确率,且推理速度提高 2–3 倍。
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 <i>Bioformer</i><sub><i>8L</i></sub> and <i>Bioformer</i><sub><i>16L</i></sub>) which reduced the model size by 60% compared to BERT<sub>Base</sub>. 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 <i>BioBERT</i> and <i>PubMedBERT</i> 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, <i>Bioformer</i><sub><i>16L</i></sub> is only 0.1% less accurate than <i>PubMedBERT</i> while <i>Bioformer</i><sub><i>8L</i></sub> is 0.9% less accurate than <i>PubMedBERT</i>. Both <i>Bioformer</i><sub><i>16L</i></sub> and <i>Bioformer</i><sub><i>8L</i></sub> outperformed <i>BioBERT</i><sub><i>Base</i>-v1.1</sub>. In addition, <i>Bioformer</i><sub><i>16L</i></sub> and <i>Bioformer</i><sub><i>8L</i></sub> are 2-3 fold as fast as PubMedBERT/<i>BioBERT</i><sub><i>Base</i>-v1.1</sub>. 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.
研究动机与目标
- 在不牺牲性能的前提下,减小生物医学变换器的模型规模,
- 利用领域特定的生物医学词汇和预训练数据
- 在多项NLP任务上评估 Bioformer 对比现有生物医学 BERT 模型
- 展示在大规模生物医学标注流程中的部署潜力
提出的方法
- 使用生物医学词汇,从头在 PubMed 摘要和 PubMed Central 全文上预训练两个 Bioformer 变体(Bioformer8L 和 Bioformer16L)
- 参数量相比 BERTBase 约减少 60%
- 在 15 个生物医学 NLP 基准上评估,涵盖命名实体识别、关系提取、问答和文档分类
- 在准确性和速度方面与 BioBERT 和 PubMedBERT 基线进行比较
- 展示部署到 PubTator Central 以在大规模语料上进行基因注释
实验结果
研究问题
- RQ1一个参数高效的类 BioBERT 模型是否能够在常见 NLP 任务上达到与基线生物医学 BERT 相当的性能?
- RQ2在生物医学文本挖掘中,Bioformer 的模型规模(参数数量)与准确性之间的权衡如何?
- RQ3Bioformer 的变体是否在大规模生物医学标注流程中提供实际的加速?
- RQ4领域特定词汇与自从头预训练对生物医学 NLP 任务是否有帮助?
主要发现
- Bioformer16L 和 Bioformer8L 的参数比 BERTBase 少 60%,同时保持强劲的性能
- Bioformer16L 在评估任务上仅比 PubMedBERT 的准确率低 0.1%
- Bioformer8L 在评估任务上 的准确度比 PubMedBERT 低 0.9%
- 在基准测试中,两个 Bioformer 变体都优于 BioBERTBase-v1.1
- Bioformer16L 与 Bioformer8L 的推理速度比 PubMedBERT/BioBERTBase-v1.1 快 2–3 倍
- Bioformer 已部署到 PubTator Central,用于在大规模 PubMed/PMC 语料库上进行基因注释
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。