Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

LinkBERT: Pretraining Language Models with Document Links

About

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.

Michihiro Yasunaga, Jure Leskovec, Percy Liang• 2022

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora (test)
Mean Accuracy15.5
687
Natural Language UnderstandingGLUE--
452
Link PredictionCiteseer--
146
Question AnsweringMedQA-USMLE (test)
Accuracy45.1
101
Question AnsweringPubMedQA (test)
Accuracy72.2
81
Node ClassificationObgn O3k (test)
Accuracy14.5
28
Node ClassificationCiteseer (test)
Accuracy (0% Perturbation)18.2
27
Question AnsweringPubMedQA PQA-L (test)
Accuracy72.2
25
Extractive Question AnsweringTriviaQA MRQA
F1 Score78.2
22
Extractive Question AnsweringNatural Questions MRQA
F1 Score81
22
Showing 10 of 59 rows

Other info

Code

Follow for update