%0 Conference Proceedings %T Real-Time Open-Domain Question Answering with Dense-Sparse Phrase Index %A Seo, Minjoon %A Lee, Jinhyuk %A Kwiatkowski, Tom %A Parikh, Ankur %A Farhadi, Ali %A Hajishirzi, Hannaneh %Y Korhonen, Anna %Y Traum, David %Y Màrquez, Lluís %S Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics %D 2019 %8 July %I Association for Computational Linguistics %C Florence, Italy %F seo-etal-2019-real %X 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 %R 10.18653/v1/P19-1436 %U https://aclanthology.org/P19-1436 %U https://doi.org/10.18653/v1/P19-1436 %P 4430-4441