Language Models are Open Knowledge Graphs
Chenguang Wang, Xiao Liu, Dawn Song

TL;DR
This paper presents an unsupervised method to extract factual knowledge graphs from pre-trained language models like BERT and GPT-3, enabling automatic construction of KGs without human supervision and improving access to open factual knowledge.
Contribution
It introduces a novel unsupervised approach to generate knowledge graphs directly from pre-trained language models without fine-tuning.
Findings
Constructed KGs comparable to human-made ones like Wikidata
Generated KGs contain new factual knowledge not present in existing KGs
Method requires only a single forward pass of the language model
Abstract
This paper shows how to construct knowledge graphs (KGs) from pre-trained language models (e.g., BERT, GPT-2/3), without human supervision. Popular KGs (e.g, Wikidata, NELL) are built in either a supervised or semi-supervised manner, requiring humans to create knowledge. Recent deep language models automatically acquire knowledge from large-scale corpora via pre-training. The stored knowledge has enabled the language models to improve downstream NLP tasks, e.g., answering questions, and writing code and articles. In this paper, we propose an unsupervised method to cast the knowledge contained within language models into KGs. We show that KGs are constructed with a single forward pass of the pre-trained language models (without fine-tuning) over the corpora. We demonstrate the quality of the constructed KGs by comparing to two KGs (Wikidata, TAC KBP) created by humans. Our KGs also…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Language Models are Open Knowledge Graphs (Paper Explained)· youtube
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Advanced Graph Neural Networks
MethodsLinear Layer · Adam · Softmax · Layer Normalization · Dense Connections · Multi-Head Attention · Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Linear Warmup With Linear Decay · Attention Dropout
