Learning to Search in Long Documents Using Document Structure

Mor Geva, Jonathan Berant
6/9/2018
cs.CLcs.IR
rl

Official code: mega002/DocQN (22 stars, Python, TensorFlow, last commit 2018-07-12).

Abstract

Reading comprehension models are based on recurrent neural networks that sequentially process the document tokens. As interest turns to answering more complex questions over longer documents, sequential reading of large portions of text becomes a substantial bottleneck.

Show full abstract

Inspired by how humans use document structure, we propose a novel framework for reading comprehension. We represent documents as trees, and model an agent that learns to interleave quick navigation through the document tree with more expensive answer extraction. To encourage exploration of the document tree, we propose a new algorithm, based on Deep Q-Network (DQN), which strategically samples tree nodes at training time. Empirically we find our algorithm improves question answering performance compared to DQN and a strong information-retrieval (IR) baseline, and that ensembling our model with the IR baseline results in further gains in performance.

View on arXivView PDF

Code Implementations(1)

mega002/DocQNOfficial100%
TensorFlow

Author implementation of "Learning to Search in Long Documents Using Document Structure" (Mor Geva and Jonathan Berant, 2018)

223PythonJun 5, 20188 years ago
nlpquestion-answeringreinforcement-learningtensorflowtriviaqa

Similar Papers

Cite this paper

@article{geva2018learning,
  title  = {Learning to Search in Long Documents Using Document Structure},
  author = {Mor Geva and Jonathan Berant},
  year   = {2018},
  eprint = {1806.03529},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.03529}
}

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/1806.03529.svg)](https://codeofpaper.com/paper/1806.03529)

Discussion