Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Entity Representations in Neural Language Models

Yangfeng Ji, Chenhao Tan|arXiv (Cornell University)|Aug 2, 2017
Topic ModelingComputer Science20 references11 citations
TL;DR

This paper proposes EntityNLM, a generative neural language model that dynamically maintains and updates distributed representations of entities in context, enabling improved language modeling, coreference resolution, and entity prediction. By explicitly tracking entities and their evolving representations, the model outperforms strong baselines across all three tasks, demonstrating the value of dynamic entity modeling in sequence generation.

ABSTRACT

Understanding a long document requires tracking how entities are introduced and evolve over time. We present a new type of language model, EntityNLM, that can explicitly model entities, dynamically update their representations, and contextually generate their mentions. Our model is generative and flexible; it can model an arbitrary number of entities in context while generating each entity mention at an arbitrary length. In addition, it can be used for several different tasks such as language modeling, coreference resolution, and entity prediction. Experimental results with all these tasks demonstrate that our model consistently outperforms strong baselines and prior work.

Motivation & Objective

  • To address the limitation of existing language models in explicitly tracking entities and their evolving roles over long contexts.
  • To develop a generative model that maintains dynamic, context-sensitive representations for each entity mentioned in a text.
  • To improve performance on coreference resolution, language modeling, and entity prediction by leveraging entity-specific representations.
  • To enable flexible inference modes—language modeling, coreference reranking, and entity cloze—within a unified framework.

Proposed method

  • The model extends a recurrent neural network language model with three key random variables per token: R_t (mention indicator), L_t (length of current mention), and E_t (entity index).
  • Each entity is assigned a continuous vector representation e_i,t that is dynamically updated whenever the entity is mentioned, using a gated update mechanism similar to LSTM.
  • The model uses a hierarchical generative story: entity mentions are generated based on entity representations, which in turn influence subsequent word predictions.
  • Entity representations are updated only when an entity is mentioned, allowing for sparse, context-sensitive memory allocation.
  • The model is trained end-to-end on data annotated with entity mentions and coreference, using a joint likelihood objective over words and entity variables.
  • Inference supports multiple modes: full text generation, coreference reranking via marginalization, and entity prediction through conditional probability estimation.

Experimental results

Research questions

  • RQ1Can a neural language model explicitly maintain and update dynamic representations of entities to improve long-context understanding?
  • RQ2How does incorporating dynamic entity representations affect performance in language modeling, coreference resolution, and entity prediction?
  • RQ3Can the same model architecture be flexibly used for multiple NLP tasks by leveraging shared entity representations?
  • RQ4Does dynamic entity modeling lead to better generalization than static or context-only entity representations?

Key findings

  • EntityNLM outperforms strong n-gram and RNN language models on the CoNLL 2012 language modeling task, demonstrating improved perplexity through explicit entity tracking.
  • The model significantly boosts coreference resolution performance when used to rerank k-best outputs from an existing system, achieving state-of-the-art results on the CoNLL 2012 test set.
  • On the InScript entity prediction corpus, EntityNLM achieves state-of-the-art performance, outperforming prior methods that rely on predefined entity types.
  • The model’s ability to generate entity mentions contextually and update entity representations dynamically leads to more coherent and accurate text generation.
  • The framework supports multiple inference modes—language modeling, coreference resolution, and entity prediction—within a single unified architecture.

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.