Skip to main content
QUICK REVIEW

[Paper Review] Learning Cross-Context Entity Representations from Text

Jeffrey Ling, Nicholas FitzGerald|arXiv (Cornell University)|Jan 11, 2020
Topic ModelingComputer Science47 references22 citations
TL;DR

This paper introduces RELIC, a method that learns context-independent entity representations by training a neural model to predict entities in masked text contexts, achieving state-of-the-art results on entity typing, entity linking, and trivia question answering without relying on external knowledge bases or task-specific features.

ABSTRACT

Language modeling tasks, in which words, or word-pieces, are predicted on the basis of a local context, have been very effective for learning word embeddings and context dependent representations of phrases. Motivated by the observation that efforts to code world knowledge into machine readable knowledge bases or human readable encyclopedias tend to be entity-centric, we investigate the use of a fill-in-the-blank task to learn context independent representations of entities from the text contexts in which those entities were mentioned. We show that large scale training of neural models allows us to learn high quality entity representations, and we demonstrate successful results on four domains: (1) existing entity-level typing benchmarks, including a 64% error reduction over previous work on TypeNet (Murty et al., 2018); (2) a novel few-shot category reconstruction task; (3) existing entity linking benchmarks, where we match the state-of-the-art on CoNLL-Aida without linking-specific features and obtain a score of 89.8% on TAC-KBP 2010 without using any alias table, external knowledge base or in domain training data and (4) answering trivia questions, which uniquely identify entities. Our global entity representations encode fine-grained type categories, such as Scottish footballers, and can answer trivia questions such as: Who was the last inmate of Spandau jail in Berlin?

Motivation & Objective

  • To learn general-purpose, context-independent entity representations by aggregating textual contexts in which entities appear.
  • To investigate whether entity representations trained via a fill-in-the-blank task can encode fine-grained world knowledge, such as entity types and properties.
  • To evaluate the utility of these representations across diverse entity-centric NLP tasks, including typing, linking, and question answering.
  • To demonstrate that high-quality entity representations can be learned purely from large-scale text, without requiring curated knowledge bases or external features.
  • To explore few-shot category reconstruction and zero-shot trivia question answering using the learned embeddings.

Proposed method

  • Train a neural model to predict masked entities in text contexts using a fill-in-the-blank objective, where the entity is masked and the model must predict it from a fixed vocabulary.
  • Use a shared, learnable embedding matrix for entities, with context representations derived from a BERT-based encoder applied to the surrounding text.
  • Train the model to minimize cross-entropy loss between predicted and ground-truth entity embeddings, aligning context representations with entity representations.
  • Store entity representations in a lookup table (RELIC embedding matrix), which acts as a knowledge store for downstream retrieval tasks.
  • Perform inference via nearest neighbor search in the embedding space to retrieve entities that best match a given context or question.
  • Fine-tune the BERT encoder on entity prediction tasks while keeping the entity embedding matrix fixed during inference.

Experimental results

Research questions

  • RQ1Can a fill-in-the-blank task on entity-masked text learn high-quality, context-independent representations of entities that encode rich world knowledge?
  • RQ2To what extent can RELIC representations capture fine-grained entity types, such as 'Scottish footballer' or 'first woman in space', without explicit supervision?
  • RQ3Can RELIC achieve state-of-the-art performance on entity linking without using alias tables, external knowledge bases, or task-specific features?
  • RQ4How effective are RELIC embeddings for few-shot category reconstruction when only a few exemplar entities are provided?
  • RQ5Can RELIC answer complex trivia questions through nearest neighbor search in the embedding space without access to evidence documents?

Key findings

  • RELIC achieved a 64% error reduction over prior work on the TypeNet benchmark in the low-data setting, demonstrating strong performance in entity typing.
  • On the CoNLL-Aida entity linking benchmark, RELIC matched the state-of-the-art accuracy of 94.9% without using any linking-specific features or external knowledge.
  • On TAC-KBP 2010, RELIC achieved 89.8% accuracy in entity linking without an alias table, external knowledge base, or in-domain training data.
  • RELIC correctly answered 51% of TriviaQA questions through nearest neighbor retrieval, including complex questions like 'Who was the last inmate of Spandau jail in Berlin?'
  • The method demonstrated strong few-shot category reconstruction, correctly identifying 67.10% of the top-5 predictions for the 'Scottish footballers' category using only three exemplars.
  • Training the entity encoder on context matching, rather than mention surface forms, led to better representations for entity typing and question answering tasks.

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.