Deep Bidirectional Language-Knowledge Graph Pretraining

Michihiro Yasunaga, Antoine Bosselut, Hongyu Ren, Xikun Zhang, Christopher D Manning +2 more
10/17/2022
305 citations
cs.CLcs.AIcs.LG
contrastive-ssl

Official code: michiyasunaga/dragon (336 stars, Python, Apache-2.0, last commit 2023-05-10).

Abstract

Pretraining a language model (LM) on text has been shown to help various downstream NLP tasks. Recent works show that a knowledge graph (KG) can complement text data, offering structured background knowledge that provides a useful scaffold for reasoning.

Show full abstract

However, these works are not pretrained to learn a deep fusion of the two modalities at scale, limiting the potential to acquire fully joint representations of text and KG. Here we propose DRAGON (Deep Bidirectional Language-Knowledge Graph Pretraining), a self-supervised approach to pretraining a deeply joint language-knowledge foundation model from text and KG at scale. Specifically, our model takes pairs of text segments and relevant KG subgraphs as input and bidirectionally fuses information from both modalities. We pretrain this model by unifying two self-supervised reasoning tasks, masked language modeling and KG link prediction. DRAGON outperforms existing LM and LM+KG models on diverse downstream tasks including question answering across general and biomedical domains, with +5% absolute gain on average. In particular, DRAGON achieves notable performance on complex reasoning about language and knowledge (+10% on questions involving long contexts or multi-step reasoning) and low-resource QA (+8% on OBQA and RiddleSense), and new state-of-the-art results on various BioNLP tasks. Our code and trained models are available at https://github.com/michiyasunaga/dragon.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS 2022] DRAGON 🐲: Deep Bidirectional Language-Knowledge Graph Pretraining

33646Python, ShellOct 8, 20223 years agoApache-2.0
graph-neural-networksknowledge-graphlanguage-modelpretrainingquestion-answering+2 more

Similar Papers

Cite this paper

@article{yasunaga2022deep,
  title  = {Deep Bidirectional Language-Knowledge Graph Pretraining},
  author = {Michihiro Yasunaga and Antoine Bosselut and Hongyu Ren and Xikun Zhang and Christopher D Manning and Percy Liang and Jure Leskovec},
  year   = {2022},
  eprint = {2210.09338},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.09338}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.09338.svg)](https://codeofpaper.com/paper/2210.09338)

Discussion