Skip to main content
QUICK REVIEW

[Paper Review] Latent Relation Language Models

Hiroaki Hayashi, Zecong Hu|arXiv (Cornell University)|Aug 21, 2019
Topic ModelingComputer Science56 references6 citations
TL;DR

This paper introduces Latent Relation Language Models (LRLMs), a conditional language model that generates text by selecting between word-level vocabulary and entity spans from a knowledge graph via latent variables. By marginalizing over these latent relations, LRLMs improve language modeling performance and provide interpretable posterior probabilities for entity linking, outperforming both standard language models and prior knowledge graph-augmented approaches on Wikipedia-based text generation tasks.

ABSTRACT

In this paper, we propose Latent Relation Language Models (LRLMs), a class of language models that parameterizes the joint distribution over the words in a document and the entities that occur therein via knowledge graph relations. This model has a number of attractive properties: it not only improves language modeling performance, but is also able to annotate the posterior probability of entity spans for a given text through relations. Experiments demonstrate empirical improvements over both a word-based baseline language model and a previous approach that incorporates knowledge graph information. Qualitative analysis further demonstrates the proposed model's ability to learn to predict appropriate relations in context.

Motivation & Objective

  • To improve language modeling for rare and semantically rich words by conditioning on structured knowledge graph relations.
  • To address the limitations of neural language models in capturing low-frequency words due to parameter budget constraints.
  • To enable joint learning of text generation and entity linking by modeling relations as latent variables.
  • To provide interpretable posterior probabilities for entity spans in context, enhancing downstream information extraction tasks.
  • To demonstrate that relation-based generation improves performance over word-only or fixed-relation baselines.

Proposed method

  • LRLMs model the joint probability P(X, Z | C) where X is the text, Z is a latent sequence of relation-entity spans, and C is the context from a knowledge graph.
  • The model uses Latent Predictor Networks (LPNs) to jointly train the generation of words and the selection of relations from the knowledge graph.
  • Text generation is performed via a mixture of word-level vocabulary and entity spans derived from knowledge graph relations, with the choice determined by latent variables.
  • Marginalization over latent variables Z allows the model to tractably consider all possible entity spans and their associated relations during training and inference.
  • The model conditions on a subgraph of the knowledge graph centered on a topic entity s, extracting relations and objects directly related to s.
  • Posterior probabilities over relations are computed and used to interpret which relations the model deems most appropriate in context.

Experimental results

Research questions

  • RQ1Can conditioning language models on knowledge graph relations improve performance on open-vocabulary language modeling tasks?
  • RQ2How does the use of latent variables for relation selection affect perplexity and generation quality compared to fixed or non-latent approaches?
  • RQ3To what extent can the posterior probabilities of latent relations be interpreted as reliable entity linking predictions?
  • RQ4Does the model's ability to generate from relations improve performance on rare or low-frequency words?
  • RQ5How does model performance scale with the richness of available knowledge graph relations?

Key findings

  • LRLMs achieve lower perplexity than both a standard word-based language model and a prior knowledge graph-augmented model (NKLM), demonstrating empirical improvements in language modeling.
  • The model shows a larger performance gain as the number of available relations increases, indicating better scalability to richer knowledge sources.
  • Posterior probabilities over latent relations align with human intuition, with high-probability relations corresponding to semantically appropriate entity mentions in context.
  • In qualitative analysis, the model correctly selects relations such as <origin> for 'United States' and <lyrics by> for 'Sorry' by Madonna, showing contextual understanding.
  • For common phrases like 'the United States', the model often defaults to word-level generation, but can still leverage relation-based generation when appropriate.
  • The marginalization over latent variables helps disambiguate between multiple candidate entities and relations, especially in high-ambiguity settings.

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.