Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Contextualized Representation for Named Entity Recognition

Ying Luo, Fengshun Xiao|arXiv (Cornell University)|Nov 6, 2019
Topic ModelingComputer Science39 references13 citations
TL;DR

This paper proposes a hierarchical contextualized representation model for named entity recognition (NER) that enhances BiLSTM-based systems by integrating sentence-level and document-level representations. It uses label-embedding attention to weight word contributions in a sentence and a key-value memory network to retrieve document-aware representations from training instances, achieving state-of-the-art F1 scores on CoNLL-2003 (91.96 without BERT), OntoNotes 5.0 (87.98), and CoNLL-2002 (87.08).

ABSTRACT

Named entity recognition (NER) models are typically based on the architecture of Bi-directional LSTM (BiLSTM). The constraints of sequential nature and the modeling of single input prevent the full utilization of global information from larger scope, not only in the entire sentence, but also in the entire document (dataset). In this paper, we address these two deficiencies and propose a model augmented with hierarchical contextualized representation: sentence-level representation and document-level representation. In sentence-level, we take different contributions of words in a single sentence into consideration to enhance the sentence representation learned from an independent BiLSTM via label embedding attention mechanism. In document-level, the key-value memory network is adopted to record the document-aware information for each unique word which is sensitive to similarity of context information. Our two-level hierarchical contextualized representations are fused with each input token embedding and corresponding hidden state of BiLSTM, respectively. The experimental results on three benchmark NER datasets (CoNLL-2003 and Ontonotes 5.0 English datasets, CoNLL-2002 Spanish dataset) show that we establish new state-of-the-art results.

Motivation & Objective

  • Address the limitations of BiLSTM in capturing global sentence and document-level context in NER.
  • Improve performance on in-vocabulary, out-of-vocabulary, and rare named entities by leveraging contextualized representations.
  • Enhance model generalization by incorporating training instance information directly into inference via memory networks.
  • Develop a method to weight word importance in sentences based on label-specific embeddings for improved sentence-level representation.
  • Enable the model to benefit from dataset-wide context without relying solely on pre-trained language models.

Proposed method

  • Introduce a label-embedding attention mechanism that computes similarity between word embeddings and learned label embeddings to assign confidence scores, weighting word contributions in sentence-level representation.
  • Construct a key-value memory network that stores and retrieves document-level representations from training instances, using cosine similarity as the compatibility function.
  • Fuse sentence-level representations with input token embeddings and document-level representations with BiLSTM hidden states before CRF decoding.
  • Use mean pooling and attention-based pooling strategies to compare the effectiveness of different sentence-level representation methods.
  • Implement a dynamic memory query mechanism that selects up to T instances per unique word to balance coverage and noise, especially for frequent words.
  • Maintain consistent model architecture (IntNet, CRF, sequence labeling layers) across experiments to ensure fair comparison with baseline models.

Experimental results

Research questions

  • RQ1Can incorporating sentence-level contextualized representations improve NER performance by weighting word contributions based on their alignment with label semantics?
  • RQ2Can document-level representations derived from training instances enhance inference performance, especially for rare or out-of-vocabulary named entities?
  • RQ3How does the integration of both sentence-level and document-level representations affect overall NER performance compared to baseline BiLSTM-CRF models?
  • RQ4What is the optimal compatibility function (e.g., cosine, dot-product) for retrieving relevant document-level representations in the memory network?
  • RQ5How does the size of the memory subset (T) affect model performance and inference efficiency?

Key findings

  • The proposed model achieves a new state-of-the-art F1 score of 91.96 on the CoNLL-2003 dataset without external knowledge, outperforming previous SOTA methods.
  • On OntoNotes 5.0, the model achieves an F1 score of 87.98 without external knowledge, demonstrating strong generalization across diverse domains.
  • For CoNLL-2002, the model achieves an F1 score of 87.08, confirming its effectiveness on multilingual and low-resource NER settings.
  • The label-embedding attention mechanism improves F1 by 0.25 points compared to mean pooling, with cosine similarity outperforming dot-product and scaled dot-product.
  • The model improves F1 by 0.39 for in-vocabulary named entities (IV), 0.44 for out-of-training-vocabulary (OOTV), and 0.43 for out-of-both-vocabulary (OOBV) entities, indicating strong robustness to OOV challenges.
  • Despite incorporating additional memory and computation, the model increases training time by only 19% compared to the baseline, showing efficient scalability with memory size T.

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.