BertNet: Harvesting Knowledge Graphs with Arbitrary Relations from Pretrained Language Models
Not on the map. Why?
Abstract (arXiv)
It is crucial to automatically construct knowledge graphs (KGs) of diverse new relations to support knowledge discovery and broad applications. Previous KG construction methods, based on either crowdsourcing or text mining, are often limited to a small predefined set of relations due to manual cost or restrictions in text corpus. Recent research proposed to use pretrained language models (LMs) as implicit knowledge bases that accept knowledge queries with prompts. Yet, the implicit knowledge lacks many desirable properties of a full-scale symbolic KG, such as easy access, navigation, editing, and quality assurance. In this paper, we propose a new approach of harvesting massive KGs of arbitrary relations from pretrained LMs. With minimal input of a relation definition (a prompt and a few shot of example entity pairs), the approach efficiently searches in the vast entity pair space to extract diverse accurate knowledge of the desired relation. We develop an effective search-and-rescore mechanism for improved efficiency and accuracy. We deploy the approach to harvest KGs of over 400 new relations from different LMs. Extensive human and automatic evaluations show our approach manages to extract diverse accurate knowledge, including tuples of complex relations (e.g., "A is capable of but not good at B"). The resulting KGs as a symbolic interpretation of the source LMs also reveal new insights into the LMs' knowledge capacities.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 36 of its 56 references that are in the map. First posted on arXiv 28 Jun 2022.
Builds on
36 of 56 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
- 2019How Can We Know What Language Models Know?cited by 959
- 2021Editing Factual Knowledge in Language Modelscited by 553
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 364
- 2019KG-BERT: BERT for Knowledge Graph Completioncited by 324
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
24 more
- 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 249
- 2020Modifying Memories in Transformer Modelscited by 224
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2022Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanationscited by 159
- 2022A Review on Language Models as Knowledge Basescited by 157
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2019Knowledge-driven Encode, Retrieve, Paraphrase for Medical Image Report Generationcited by 102
- 2019A General Framework for Information Extraction using Dynamic Span Graphscited by 93
- 2019ASER: A Large-scale Eventuality Knowledge Graphcited by 89
- 2021Do Language Models Have Beliefs? Methods for Detecting, Updating, and Visualizing Model Beliefscited by 79
- 2019Inducing Relational Knowledge from BERTcited by 75
- 2019Multi-Task Feature Learning for Knowledge Graph Enhanced Recommendationcited by 71
- 2020TransOMCS: From Linguistic Graphs to Commonsense Knowledgecited by 52
- 2020Neurosymbolic Reinforcement Learning with Formally Verified Explorationcited by 49
- 2020COVID-19 Literature Knowledge Graph Construction and Drug Repurposing Report Generationcited by 32
- 2022E-KAR: A Benchmark for Rationalizing Natural Language Analogical Reasoningcited by 28
- 2019Commonsense Properties from Query Logs and Question Answering Forumscited by 26
- 2021DISCOS: Bridging the Gap between Discourse Knowledge and Commonsense Knowledgecited by 26
- 2020Summarizing Text on Any Aspects: A Knowledge-Informed Weakly-Supervised Approachcited by 23
- 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22
- 2021Refined Commonsense Knowledge from Large-Scale Web Contentscited by 19
- 2021Toward a `Standard Model' of Machine Learningcited by 8
- 2019Neural Logic Networkscited by 7
Built on by
Citing papers per year: 2023: 4; 2024: 12; 2025: 3; 2026: 1.
20 papers.
Sort:
By area:
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 240
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunitiescited by 97
- 2024SAC-KG: Exploiting Large Language Models as Skilled Automatic Constructors for Domain Knowledge Graphscited by 31
- 2024Combining Knowledge Graphs and Large Language Modelscited by 16
- 2024Logical Consistency of Large Language Models in Fact-checkingcited by 15
- 2024Efficient Knowledge Infusion via KG-LLM Alignmentcited by 13
- 2023Rethinking Language Models as Symbolic Knowledge Graphscited by 12
- 2024Applications of Generative AI (GAI) for Mobile and Wireless Networking: A Surveycited by 9
- 2024Large language models as oracles for instantiating ontologies with domain-specific knowledgecited by 6
- 2024Uncertainty Management in the Construction of Knowledge Graphs: a Surveycited by 5
- 2024Foundation Model Sherpas: Guiding Foundation Models through Knowledge and Reasoningcited by 3
8 more
- 2024The Impact of Generative Artificial Intelligence on Ideation and the performance of Innovation Teams (Preprint)cited by 3
- 2024MedG-KRP: Medical Graph Knowledge Representation Probingcited by 2
- 2023RelBERT: Embedding Relations with Language Modelscited by 1
- 2024Correlation and Navigation in the Vocabulary Key Representation Space of Language Modelscited by 1
- 2025Automated Construction of a Knowledge Graph of Nuclear Fusion Energy for Effective Elicitation and Retrieval of Informationcited by 0
- 2025Type-Less yet Type-Aware Inductive Link Prediction with Pretrained Language Modelscited by 0
- 2025OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graphcited by 0
- 2026H2: A Dual Hybrid Semantic Data Lake Architecture for Medical Data Harmonization with Human-In-the-Loop verified, LLM Driven Metadata Annotation Systemcited by 0
- 2026H2: A Dual Hybrid Semantic Data Lake Architecture for Medical Data Harmonization with Human-In-the-Loop verified, LLM Driven Metadata Annotation System8 Aug 2026
- 2025OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graph23 Nov 2025
- 2025Type-Less yet Type-Aware Inductive Link Prediction with Pretrained Language Models30 Sep 2025
- 2025Automated Construction of a Knowledge Graph of Nuclear Fusion Energy for Effective Elicitation and Retrieval of Information10 Apr 2025
- 2024Logical Consistency of Large Language Models in Fact-checking20 Dec 2024
- 2024MedG-KRP: Medical Graph Knowledge Representation Probing14 Dec 2024
- 2024Correlation and Navigation in the Vocabulary Key Representation Space of Language Models3 Oct 2024
- 2024The Impact of Generative Artificial Intelligence on Ideation and the performance of Innovation Teams (Preprint)23 Sep 2024
- 2024SAC-KG: Exploiting Large Language Models as Skilled Automatic Constructors for Domain Knowledge Graphs22 Sep 2024
- 2024Combining Knowledge Graphs and Large Language Models9 Jul 2024
- 2024Efficient Knowledge Infusion via KG-LLM Alignment6 Jun 2024
- 2024Applications of Generative AI (GAI) for Mobile and Wireless Networking: A Survey30 May 2024
8 more
- 2024Uncertainty Management in the Construction of Knowledge Graphs: a Survey27 May 2024
- 2024Large language models as oracles for instantiating ontologies with domain-specific knowledge5 Apr 2024
- 2024Foundation Model Sherpas: Guiding Foundation Models through Knowledge and Reasoning2 Feb 2024
- 2024A Comprehensive Study of Knowledge Editing for Large Language Models2 Jan 2024
- 2023RelBERT: Embedding Relations with Language Models30 Sep 2023
- 2023Rethinking Language Models as Symbolic Knowledge Graphs25 Aug 2023
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunities22 May 2023
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May 2023
- 2024Efficient Knowledge Infusion via KG-LLM Alignmentcited by 13
- 2024Efficient Knowledge Infusion via KG-LLM Alignment6 Jun 2024
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
- 2024SAC-KG: Exploiting Large Language Models as Skilled Automatic Constructors for Domain Knowledge Graphscited by 31
- 2024Combining Knowledge Graphs and Large Language Modelscited by 16
- 2024Logical Consistency of Large Language Models in Fact-checkingcited by 15
- 2024Applications of Generative AI (GAI) for Mobile and Wireless Networking: A Surveycited by 9
- 2024Large language models as oracles for instantiating ontologies with domain-specific knowledgecited by 6
- 2024Uncertainty Management in the Construction of Knowledge Graphs: a Surveycited by 5
- 2024The Impact of Generative Artificial Intelligence on Ideation and the performance of Innovation Teams (Preprint)cited by 3
- 2024MedG-KRP: Medical Graph Knowledge Representation Probingcited by 2
- 2023RelBERT: Embedding Relations with Language Modelscited by 1
- 2024Correlation and Navigation in the Vocabulary Key Representation Space of Language Modelscited by 1
- 2025Automated Construction of a Knowledge Graph of Nuclear Fusion Energy for Effective Elicitation and Retrieval of Informationcited by 0
12 most cited of 15 All 15 (JSON)
- 2026H2: A Dual Hybrid Semantic Data Lake Architecture for Medical Data Harmonization with Human-In-the-Loop verified, LLM Driven Metadata Annotation System8 Aug 2026
- 2025OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graph23 Nov 2025
- 2025Type-Less yet Type-Aware Inductive Link Prediction with Pretrained Language Models30 Sep 2025
- 2025Automated Construction of a Knowledge Graph of Nuclear Fusion Energy for Effective Elicitation and Retrieval of Information10 Apr 2025
- 2024Logical Consistency of Large Language Models in Fact-checking20 Dec 2024
- 2024MedG-KRP: Medical Graph Knowledge Representation Probing14 Dec 2024
- 2024Correlation and Navigation in the Vocabulary Key Representation Space of Language Models3 Oct 2024
- 2024The Impact of Generative Artificial Intelligence on Ideation and the performance of Innovation Teams (Preprint)23 Sep 2024
- 2024SAC-KG: Exploiting Large Language Models as Skilled Automatic Constructors for Domain Knowledge Graphs22 Sep 2024
- 2024Combining Knowledge Graphs and Large Language Models9 Jul 2024
- 2024Applications of Generative AI (GAI) for Mobile and Wireless Networking: A Survey30 May 2024
- 2024Uncertainty Management in the Construction of Knowledge Graphs: a Survey27 May 2024
12 newest of 15 All 15 (JSON)