FlowQA: Grasping Flow in History for Conversational Machine Comprehension

Hsin-Yuan Huang, Eunsol Choi, Wen-tau Yih
10/6/2018
cs.CLcs.AI

Official code: hsinyuan-huang/FlowQA (196 stars, Python, PyTorch, last commit 2019-05-21).

Abstract

Conversational machine comprehension requires the understanding of the conversation history, such as previous question/answer pairs, the document context, and the current question. To enable traditional, single-turn models to encode the history comprehensively, we introduce Flow, a mechanism that can incorporate intermediate representations generated during the process of answering previous questions, through an alternating parallel processing structure.

Show full abstract

Compared to approaches that concatenate previous questions/answers as input, Flow integrates the latent semantics of the conversation history more deeply. Our model, FlowQA, shows superior performance on two recently proposed conversational challenges (+7.2% F1 on CoQA and +4.0% on QuAC). The effectiveness of Flow also shows in other tasks. By reducing sequential instruction understanding to conversational machine comprehension, FlowQA outperforms the best models on all three domains in SCONE, with +1.8% to +4.4% improvement in accuracy.

View on arXivView PDF

Code Implementations(1)

PyTorch

Implementation of conversational QA model: FlowQA (with slight improvement)

19654Python, ShellNov 22, 20187 years ago
nlppytorchquestion-answering

Similar Papers

Cite this paper

@article{huang2018flowqa,
  title  = {FlowQA: Grasping Flow in History for Conversational Machine Comprehension},
  author = {Hsin-Yuan Huang and Eunsol Choi and Wen-tau Yih},
  year   = {2018},
  eprint = {1810.06683},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.06683}
}

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

Discussion