Skip to main content
QUICK REVIEW

[Paper Review] GRN: Gated Relation Network to Enhance Convolutional Neural Network for Named Entity Recognition

Hui Chen, Zijia Lin|arXiv (Cornell University)|Jul 12, 2019
Topic ModelingComputer Science36 references10 citations
TL;DR

This paper proposes Gated Relation Network (GRN), a CNN-based architecture that enhances named entity recognition by modeling inter-word relations through a gated fusion mechanism, enabling parallel computation and improved long-range context capture. GRN achieves state-of-the-art F1 scores on CoNLL-2003 (91.44 without external knowledge, 92.34 with ELMo) and Ontonotes 5.0 (87.67), while reducing training and inference time compared to BiLSTM-CRF baselines.

ABSTRACT

The dominant approaches for named entity recognition (NER) mostly adopt complex recurrent neural networks (RNN), e.g., long-short-term-memory (LSTM). However, RNNs are limited by their recurrent nature in terms of computational efficiency. In contrast, convolutional neural networks (CNN) can fully exploit the GPU parallelism with their feedforward architectures. However, little attention has been paid to performing NER with CNNs, mainly owing to their difficulties in capturing the long-term context information in a sequence. In this paper, we propose a simple but effective CNN-based network for NER, i.e., gated relation network (GRN), which is more capable than common CNNs in capturing long-term context. Specifically, in GRN we firstly employ CNNs to explore the local context features of each word. Then we model the relations between words and use them as gates to fuse local context features into global ones for predicting labels. Without using recurrent layers that process a sentence in a sequential manner, our GRN allows computations to be performed in parallel across the entire sentence. Experiments on two benchmark NER datasets (i.e., CoNLL2003 and Ontonotes 5.0) show that, our proposed GRN can achieve state-of-the-art performance with or without external knowledge. It also enjoys lower time costs to train and test.We have made the code publicly available at https://github.com/HuiChen24/NER-GRN.

Motivation & Objective

  • To address the inefficiency of recurrent neural networks (RNNs) in named entity recognition (NER) due to their sequential computation, which limits GPU parallelism.
  • To improve the ability of convolutional neural networks (CNNs) to capture long-range dependencies in sequences, a key limitation hindering their performance in NER.
  • To develop a CNN-based NER model that matches or exceeds the performance of state-of-the-art BiLSTM-CRF models while enabling faster training and inference through full parallelization.
  • To introduce a novel gated relation layer that models relations between all word pairs and uses learnable gates to fuse local features into global representations.

Proposed method

  • The model uses a four-layer architecture: representation layer (word and character embeddings), context layer (CNNs with multiple kernel sizes to extract local features), relation layer (gated relation modeling between all word pairs), and CRF layer for sequence labeling.
  • In the relation layer, each word's global representation is computed by modeling its relation with every other word in the sentence using a learnable gating mechanism.
  • The gating mechanism dynamically controls how much local context from each word contributes to the global representation, enabling effective long-range dependency modeling.
  • The model is trained end-to-end using CRF as the loss function to preserve label consistency across sequences.
  • The method avoids recurrent layers entirely, allowing all computations to be performed in parallel across the sentence.
  • The relation layer uses L2-normalized attention weights to visualize and interpret long-range word dependencies.

Experimental results

Research questions

  • RQ1Can a CNN-based model achieve state-of-the-art performance in NER without relying on recurrent architectures?
  • RQ2Can a gated relation mechanism effectively model long-range dependencies in sequences beyond the receptive field of standard CNNs?
  • RQ3Does the proposed GRN model achieve faster training and inference times compared to BiLSTM-CRF baselines while maintaining or improving accuracy?
  • RQ4How does the proposed gated relation layer compare to alternative fusion mechanisms like direct concatenation or gated attention in terms of performance and efficiency?

Key findings

  • GRN achieves an F1 score of 91.44 on CoNLL-2003 without external knowledge, outperforming previous CNN-based models and matching or exceeding many BiLSTM-CRF models.
  • With ELMo embeddings, GRN reaches an F1 score of 92.34 on CoNLL-2003, demonstrating strong compatibility with pre-trained contextual embeddings.
  • On OntoNotes 5.0, GRN achieves an F1 score of 87.67, establishing state-of-the-art performance for CNN-based models on this benchmark.
  • GRN achieves a training speedup of 1.16x and a test speedup of 1.19x over the CNN-BiLSTM-CRF baseline on CoNLL-2003, indicating improved computational efficiency.
  • The speedup is more pronounced on shorter sentences (e.g., CoNLL-2003, avg. length ~14) than on longer ones (e.g., OntoNotes 5.0, avg. length ~18), due to reduced relation layer computation cost.
  • Visualization of the relation layer shows strong gating weights between non-adjacent entity words (e.g., 'Sun' and 'Sidek'), confirming the model’s ability to capture long-range dependencies beyond CNN receptive fields.

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.