arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.15827cs.CLcs.LG
收藏

LinkBERT:带文档链接的预训练语言模型

LinkBERT: Pretraining Language Models with Document Links

Stanford University(斯坦福大学)

Michihiro Yasunaga, Jure Leskovec, Percy Liang

摘要:

语言模型(LM)预训练可以从文本语料库中学习各种知识,为后续任务提供帮助。然而,诸如BERT的现有方法对单个文档建模,并且不捕获跨文档的依赖关系或知识。在这项工作中,我们提出了LinkBERT,一种利用文档之间链接的LM预训练方法,例如,超链接。给定一个文本语料库,我们将其视为文档图,并通过将链接的文档放置在相同的上下文中来创建LM输入。然后,我们用两个联合自监督目标预训练LM:掩蔽语言建模和我们的新建议,文档关系预测。我们发现LinkBERT在两个领域的各种下游任务上都优于BERT:一般领域(在维基百科上使用超链接进行预训练)和生物医学领域(在PubMed上使用引用链接进行预训练)。LinkBERT对于多跳推理和Few-Shot QA特别有效(HotpotQA和TriviaQA的绝对改进率为+5%),我们的生物医学LinkBERT在各种BioNLP任务上设定了最新的技术水平(BioASQ和USMLE为+7%)。我们在https://github.com/michiyasunaga/LinkBERT上发布我们的预训练模型LinkBERT和BioLinkBERT,以及代码和数据。

英文摘要:

Language model (LM) pretraining can learn various knowledge from text corpora, helping downstream tasks. However, existing methods such as BERT model a single document, and do not capture dependencies or knowledge that span across documents. In this work, we propose LinkBERT, an LM pretraining method that leverages links between documents, e.g., hyperlinks. Given a text corpus, we view it as a graph of documents and create LM inputs by placing linked documents in the same context. We then pretrain the LM with two joint self-supervised objectives: masked language modeling and our new proposal, document relation prediction. We show that LinkBERT outperforms BERT on various downstream tasks across two domains: the general domain (pretrained on Wikipedia with hyperlinks) and biomedical domain (pretrained on PubMed with citation links). LinkBERT is especially effective for multi-hop reasoning and few-shot QA (+5% absolute improvement on HotpotQA and TriviaQA), and our biomedical LinkBERT sets new states of the art on various BioNLP tasks (+7% on BioASQ and USMLE). We release our pretrained models, LinkBERT and BioLinkBERT, as well as code and data at https://github.com/michiyasunaga/LinkBERT.

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

↑