Skip to main content
QUICK REVIEW

[Paper Review] Words or Characters? Fine-grained Gating for Reading Comprehension

Zhilin Yang, Bhuwan Dhingra|arXiv (Cornell University)|Nov 6, 2016
Topic ModelingComputer Science18 references44 citations
TL;DR

This paper proposes a fine-grained gating mechanism that dynamically combines word-level and character-level representations in neural networks for reading comprehension, using token-level features like POS tags and document frequency to compute per-dimension gates. The method achieves state-of-the-art results on Children’s Book Test and Who Did What without ensembling, and improves performance across multiple NLP tasks including SQuAD and social media tag prediction.

ABSTRACT

Previous work combines word-level and character-level representations using concatenation or scalar weighting, which is suboptimal for high-level tasks like reading comprehension. We present a fine-grained gating mechanism to dynamically combine word-level and character-level representations based on properties of the words. We also extend the idea of fine-grained gating to modeling the interaction between questions and paragraphs for reading comprehension. Experiments show that our approach can improve the performance on reading comprehension tasks, achieving new state-of-the-art results on the Children's Book Test dataset. To demonstrate the generality of our gating mechanism, we also show improved results on a social media tag prediction task.

Motivation & Objective

  • To address the limitations of fixed concatenation or scalar gating in combining word-level and character-level representations for NLP tasks.
  • To improve reading comprehension by dynamically adapting the fusion of word and character representations based on token-specific properties.
  • To extend fine-grained gating to model interactions between questions and paragraphs at the token level.
  • To demonstrate the generality of the gating mechanism across diverse NLP tasks, including low-resource and out-of-vocabulary scenarios.
  • To achieve state-of-the-art performance on benchmark reading comprehension datasets without ensembling.

Proposed method

  • A vector gate is computed via a linear projection of token features (e.g., POS tags, named entity status, document frequency) followed by a sigmoid activation.
  • The gate performs element-wise multiplication with both word-level and character-level representations, enabling per-dimension control over feature flow.
  • Token features used for gating include named entity tags, part-of-speech tags, document frequency, and word-level representations.
  • The method is extended to document-query interaction by applying fine-grained gating at the token level between question and paragraph representations.
  • Character-level representations are learned using a GRU over character sequences, while word-level embeddings are trainable and updated during training.
  • The model is trained end-to-end with cross-entropy loss, and hyperparameters are tuned on validation sets.

Experimental results

Research questions

  • RQ1Can a fine-grained, per-dimension gating mechanism improve the fusion of word-level and character-level representations compared to concatenation or scalar gating?
  • RQ2Does the use of token-level properties (e.g., POS, named entities) enable more effective and adaptive representation learning for rare or morphologically complex words?
  • RQ3Can fine-grained gating on document-query interactions improve reading comprehension performance beyond standard attention mechanisms?
  • RQ4Does the proposed gating mechanism generalize to other NLP tasks beyond reading comprehension, such as social media tag prediction?
  • RQ5Can the method achieve state-of-the-art results without ensembling on benchmark reading comprehension datasets?

Key findings

  • The fine-grained gating mechanism achieves new state-of-the-art performance on the Children’s Book Test dataset, outperforming prior methods by up to 1.76% without ensembling.
  • On the Who Did What dataset, the model achieves state-of-the-art results, improving over strong baselines.
  • On SQuAD, the method achieves state-of-the-art results among published papers, with 0.716 exact match and 0.804 F1 score, despite not modeling answer span structure explicitly.
  • Visualization shows that rare tokens, named entities, and noun phrases tend to rely more on character-level representations, while frequent function words use word-level representations.
  • The model outperforms both concatenation and scalar gating by significant margins, demonstrating the superiority of per-dimension control.
  • The method generalizes well, improving performance on a social media tag prediction task, confirming its broad applicability.

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.