Skip to main content
QUICK REVIEW

[Paper Review] Combining pre-trained language models and structured knowledge

Pedro Colón-Hernández, Catherine Havasi|arXiv (Cornell University)|Jan 28, 2021
Topic ModelingComputer Science44 references12 citations
TL;DR

This paper investigates methods to integrate structured knowledge from knowledge graphs into pre-trained language models, evaluating input, architecture, and output injection techniques. It identifies adapter-based knowledge injection and hybrid approaches combining multiple methods as promising avenues for improving factual consistency and performance in NLP tasks.

ABSTRACT

In recent years, transformer-based language models have achieved state of the art performance in various NLP benchmarks. These models are able to extract mostly distributional information with some semantics from unstructured text, however it has proven challenging to integrate structured information, such as knowledge graphs into these models. We examine a variety of approaches to integrate structured knowledge into current language models and determine challenges, and possible opportunities to leverage both structured and unstructured information sources. From our survey, we find that there are still opportunities at exploiting adapter-based injections and that it may be possible to further combine various of the explored approaches into one system.

Motivation & Objective

  • To examine existing approaches for integrating structured knowledge from knowledge graphs into pre-trained transformer-based language models.
  • To identify challenges in combining unstructured text representations with rigid, symbolic knowledge from knowledge graphs.
  • To evaluate the effectiveness of input-focused, architecture-focused, and output-focused injection techniques.
  • To explore opportunities for combining multiple injection strategies into a unified, more effective system.
  • To identify promising research directions, particularly adapter-based injections and hybrid architectures, for tighter integration of knowledge and language modeling.

Proposed method

  • Classifies knowledge injection techniques into three categories: input-focused (modifying input data or embeddings), architecture-focused (modifying model layers), and output-focused (modifying loss functions or outputs).
  • Reviews specific methods such as KALM (injecting KG triples into training data), KnowBERT (adapter-based injection), and GCN-XLNet (using GCNs to enhance contextual representations).
  • Analyzes hybrid models like Malaviya et al. (2020), which combine BERT embeddings with GCN representations and use an encoder-decoder structure for knowledge graph completion.
  • Proposes future methods such as post-specialization retrofitted embeddings and adapter modules with neural memory for improved knowledge lookup and fusion.
  • Suggests combining signaling techniques (e.g., KALM) with adapter-based methods (e.g., KnowBERT) to enhance entity representation contextualization.
  • Explores integrating entity embeddings with semantic signals, inspired by LIBERT, to enrich input representations in a way compatible with transformer models.

Experimental results

Research questions

  • RQ1How can structured knowledge from knowledge graphs be effectively integrated into pre-trained language models without disrupting their contextual representations?
  • RQ2What are the relative strengths and limitations of input-focused, architecture-focused, and output-focused knowledge injection techniques?
  • RQ3Can adapter-based methods enable efficient and effective knowledge injection with minimal parameter updates?
  • RQ4What are the benefits of combining multiple injection strategies (e.g., input + architecture + output) in a single system?
  • RQ5How can neural memory modules be integrated with adapters to improve knowledge retrieval and contextual fusion in language models?

Key findings

  • Pre-trained language models encode some factual and semantic knowledge, but are prone to hallucination and lack rigid enforcement of structured facts.
  • Knowledge graph integration improves factual consistency and performance in downstream NLP tasks, particularly in question answering and knowledge graph completion.
  • Adapter-based injection methods, such as those in KnowBERT, show promise due to low parameter overhead and effective fine-tuning of knowledge-aware representations.
  • Hybrid models combining GCNs with language models (e.g., GCN-XLNet) demonstrate improved reasoning by leveraging both structural and contextual representations.
  • Combining input signals (e.g., KG triples) with architectural modifications (e.g., adapters) may lead to better contextualization of entity representations.
  • There remains an opportunity to develop unified systems that simultaneously leverage input, architecture, and output injection techniques for optimal knowledge integration.

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.