Globally Normalized Reader

Jonathan Raiman, John Miller
9/8/2017
cs.CL

Official code: baidu-research/GloballyNormalizedReader (58 stars, Python, Apache-2.0, last commit 2022-12-08).

Abstract

Rapid progress has been made towards question answering (QA) systems that can extract answers from text. Existing neural approaches make use of expensive bi-directional attention mechanisms or score all possible answer spans, limiting scalability.

Show full abstract

We propose instead to cast extractive QA as an iterative search problem: select the answer's sentence, start word, and end word. This representation reduces the space of each search step and allows computation to be conditionally allocated to promising search paths. We show that globally normalizing the decision process and back-propagating through beam search makes this representation viable and learning efficient. We empirically demonstrate the benefits of this approach using our model, Globally Normalized Reader (GNR), which achieves the second highest single model performance on the Stanford Question Answering Dataset (68.4 EM, 76.21 F1 dev) and is 24.7x faster than bi-attention-flow. We also introduce a data-augmentation method to produce semantically valid examples by aligning named entities to a knowledge base and swapping them with new entities of the same type. This method improves the performance of all models considered in this work and is of independent interest for a variety of NLP tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An implementation of the Globally Normalized Reader

5828Python, ShellJul 21, 20173 years agoApache-2.0

Similar Papers

Cite this paper

@article{raiman2017globally,
  title  = {Globally Normalized Reader},
  author = {Jonathan Raiman and John Miller},
  year   = {2017},
  eprint = {1709.02828},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1709.02828}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1709.02828.svg)](https://codeofpaper.com/paper/1709.02828)

Discussion