Skip to main content
QUICK REVIEW

[Paper Review] JAKET: Joint Pre-training of Knowledge Graph and Language Understanding

Donghan Yu, Chenguang Zhu|arXiv (Cornell University)|Oct 2, 2020
Topic ModelingComputer Science22 citations
TL;DR

JAKET proposes a joint pre-training framework that synergistically integrates knowledge graphs (KGs) and pre-trained language models (PLMs) by enabling mutual supervision between a knowledge module (using graph attention networks) and a language module (using transformer layers). By generating context-aware entity embeddings from text and leveraging them in a shared semantic space, JAKET achieves state-of-the-art performance on knowledge-aware NLP tasks, including few-shot relation classification, question answering, and entity classification, even when adapting to unseen knowledge graphs.

ABSTRACT

Knowledge graphs (KGs) contain rich information about world knowledge, entities and relations. Thus, they can be great supplements to existing pre-trained language models. However, it remains a challenge to efficiently integrate information from KG into language modeling. And the understanding of a knowledge graph requires related context. We propose a novel joint pre-training framework, JAKET, to model both the knowledge graph and language. The knowledge module and language module provide essential information to mutually assist each other: the knowledge module produces embeddings for entities in text while the language module generates context-aware initial embeddings for entities and relations in the graph. Our design enables the pre-trained model to easily adapt to unseen knowledge graphs in new domains. Experimental results on several knowledge-aware NLP tasks show that our proposed framework achieves superior performance by effectively leveraging knowledge in language understanding.

Motivation & Objective

  • To address the challenge of efficiently integrating knowledge graph (KG) information into pre-trained language models (PLMs), which often lack world knowledge and struggle with factual generalization.
  • To overcome the limitations of prior methods that rely on pre-computed or over-parameterized entity embeddings, which hinder generalization to new domains.
  • To enable effective adaptation of pre-trained models to unseen knowledge graphs in downstream tasks by learning context-aware, shared representations.
  • To reduce training time and improve efficiency through a novel entity context embedding memory with periodic updates.

Proposed method

  • JAKET employs a dual-module architecture: a knowledge module using a graph attention network (GAT) to produce structure-aware entity embeddings, and a language module using a two-stage transformer (LM₁ and LM₂) to generate context-aware representations for entities and relations.
  • The language module's LM₁ provides initial embeddings for both the language and knowledge modules, while LM₂ refines these using contextual information, enabling mutual supervision.
  • Entity and relation embeddings are initialized using their descriptive text, avoiding over-parameterization and enabling zero-shot generalization to new entities and relations.
  • A periodic entity context embedding memory is introduced to cache and update embeddings, accelerating pre-training by 15x without sacrificing performance.
  • The framework uses self-supervised pre-training tasks: masked token prediction and masked entity prediction for the language module, and entity category classification and relation type prediction for the knowledge module.
  • The two modules are trained end-to-end with cyclic dependency resolved via iterative refinement, ensuring that both content and structural knowledge are effectively integrated.

Experimental results

Research questions

  • RQ1Can joint pre-training of knowledge graphs and language models improve performance on knowledge-aware NLP tasks compared to isolated pre-training?
  • RQ2How well can a model fine-tune on a previously unseen knowledge graph when its entity and relation embeddings are derived from descriptive text rather than fixed parameters?
  • RQ3To what extent does the proposed entity context embedding memory improve training efficiency without compromising model quality?
  • RQ4Does the mutual supervision between language and knowledge modules lead to better generalization in low-resource or few-shot settings?
  • RQ5Can the framework maintain strong performance when the knowledge graph is incomplete or partially observed?

Key findings

  • On the MetaQA dataset, JAKET achieved 93.9% accuracy on 1-hop questions and 73.2% on 2-hop questions under the full KG setting, outperforming RoBERTa+GNN+M by 2.5% and 0.6% respectively.
  • Under the incomplete KG-50% setting, JAKET maintained superior performance with 63.1% and 41.9% accuracy on 1-hop and 2-hop questions, showing robustness to missing knowledge.
  • In the entity classification task on a novel Wikidata KG, JAKET achieved 81.6% accuracy with 100% training data, outperforming RoBERTa+GNN+M by 2.5 percentage points.
  • With only 5% of the training data, JAKET achieved 58.4% accuracy, significantly outperforming RoBERTa+GNN+M (53.5%) and demonstrating reduced data dependency due to joint pre-training.
  • The entity context embedding memory accelerated pre-training by 15x, enabling faster convergence while maintaining state-of-the-art performance across all benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.