Skip to main content
QUICK REVIEW

[Paper Review] Knowledge-Augmented Language Model and its Application to Unsupervised Named-Entity Recognition

Angli Liu, Jingfei Du|arXiv (Cornell University)|Apr 9, 2019
Topic ModelingComputer Science22 references9 citations
TL;DR

This paper proposes Knowledge-Augmented Language Model (KALM), an end-to-end trainable language model that integrates external knowledge base (KB) entities and types to improve language modeling and enable unsupervised named entity recognition (NER). By using a context-dependent gating mechanism to select between general words and KB entities, KALM achieves state-of-the-art perplexity on language modeling and an F1 score of 0.86 on NER—comparable to supervised models trained on 40% of the data.

ABSTRACT

Traditional language models are unable to efficiently model entity names observed in text. All but the most popular named entities appear infrequently in text providing insufficient context. Recent efforts have recognized that context can be generalized between entity names that share the same type (e.g., \emph{person} or \emph{location}) and have equipped language models with access to an external knowledge base (KB). Our Knowledge-Augmented Language Model (KALM) continues this line of work by augmenting a traditional model with a KB. Unlike previous methods, however, we train with an end-to-end predictive objective optimizing the perplexity of text. We do not require any additional information such as named entity tags. In addition to improving language modeling performance, KALM learns to recognize named entities in an entirely unsupervised way by using entity type information latent in the model. On a Named Entity Recognition (NER) task, KALM achieves performance comparable with state-of-the-art supervised models. Our work demonstrates that named entities (and possibly other types of world knowledge) can be modeled successfully using predictive learning and training on large corpora of text without any additional information.

Motivation & Objective

  • To improve language modeling by incorporating factual knowledge from external knowledge bases (KBs), especially for rare named entities.
  • To enable unsupervised named entity recognition (NER) without relying on annotated training data or external taggers.
  • To demonstrate that predictive learning with a gating mechanism can effectively learn latent entity type information from raw text.
  • To evaluate the robustness of the model to KB quality and corruption in entity vocabularies.
  • To show that end-to-end training with perplexity as the sole objective can yield high-quality NER systems.

Proposed method

  • KALM extends a traditional RNN language model with a gating mechanism that decides whether to generate a word from a general vocabulary or from a KB entity based on context.
  • The model uses entity type embeddings to condition the gating mechanism, allowing it to predict whether the next token should be a named entity of a specific type.
  • The gating mechanism is trained end-to-end using only the standard language modeling objective—minimizing perplexity on text sequences.
  • Entity generation is performed by selecting from a KB partitioned by type, with the model learning to attend to relevant entity types based on context.
  • During inference, the model’s predicted entity type and generation probability are used to identify named entities unsupervised.
  • The model is fine-tuned with additional decoding strategies, such as incorporating prior probabilities P(τ|y) over entity types, to improve NER performance.

Experimental results

Research questions

  • RQ1Can a language model trained solely on text perplexity learn to recognize named entities without any supervision?
  • RQ2How effective is a KB-augmented language model in improving language modeling perplexity compared to standard LMs?
  • RQ3To what extent does the quality of the knowledge base affect the performance of the unsupervised NER system?
  • RQ4Can the latent entity type predictions learned during language modeling be used to build a competitive NER system?
  • RQ5How does the performance of the unsupervised KALM model compare to supervised models when trained on varying amounts of labeled data?

Key findings

  • KALM achieves a new state-of-the-art perplexity on standard language modeling benchmarks, outperforming traditional language models.
  • The basic KALM model achieves an F1 score of 0.72 on the CoNLL-2003 NER benchmark without any labeled data, demonstrating effective unsupervised learning.
  • Training on a larger corpus (CoNLL-2003 + WikiText-2) improves the NER F1 to 0.84, showing the benefit of scale in unsupervised learning.
  • The best KALM model reaches an F1 of 0.86, matching a supervised CRF-biLSTM model trained on only 40% of the training data.
  • The model’s NER performance degrades with KB corruption, especially when entity types are removed, indicating sensitivity to KB quality.
  • The addition of prior probabilities P(τ|y) during decoding improves F1 from 0.84 to 0.86, confirming the value of incorporating type priors.

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.