Real-Time Open-Domain Question Answering with Dense-Sparse Phrase Index

By Minjoon Seo, Jinhyuk Lee, Tom Kwiatkowski, Ankur P. Parikh, Ali Farhadi, Hannaneh Hajishirzi. 2019

165 citations recorded by the source corpus.

Existing open-domain question answering (QA) models are not suitable for real-time usage because they need to process several long documents on-demand for every input query, which is computationally prohibitive. In this paper, we introduce query-agnostic indexable representations of document phrases that can drastically speed up open-domain QA. In particular, our dense-sparse phrase encoding effectively captures syntactic, semantic, and lexical information of the phrases and eliminates the pipeline filtering of context documents. Leveraging strategies for optimizing training and inference time, our model can be trained and deployed even in a single 4-GPU server. Moreover, by representing phrases as pointers to their start and end tokens, our model indexes phrases in the entire English Wikipedia (up to 60 billion phrases) using under 2TB. Our experiments on SQuAD-Open show that our model is on par with or more accurate than previous models with 6000x reduced computational cost, which translates into at least 68x faster end-to-end inference benchmark on CPUs. Code and demo are available at nlp.cs.washington.edu/denspi

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Information Retrieval & Search, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Hannaneh Hajishirzi
  4. Percy Liang
  5. Jianfeng Gao
  6. Yejin Choi
  7. Noah A. Smith
  8. Caiming Xiong

In Computer Vision and Pattern Recognition

  1. Hannaneh Hajishirzi
  2. Luc Van Gool
  3. Mohit Bansal
  4. Luke S. Zettlemoyer
  5. Dacheng Tao
  6. Trevor Darrell
  7. Jianfeng Gao
  8. Xiaogang Wang

In Information Retrieval & Search

  1. Hannaneh Hajishirzi
  2. Sebastian Riedel
  3. Wen-tau Yih
  4. Danqi Chen
  5. Jimmy J. Lin
  6. Gautier Izacard
  7. Edouard Grave
  8. Jinhyuk Lee

In Natural Language Processing

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Hannaneh Hajishirzi
  4. Percy Liang
  5. Yejin Choi
  6. Graham Neubig
  7. Caiming Xiong
  8. Richard Socher

Citations in the corpus