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

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

13 Jun 2019ACL 2019 7arXiv:1906.05807archive 2025-07-28

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

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. In this paper, we introduce the query-agnostic indexable representation of document phrases that can drastically speed up open-domain QA and also allows us to reach long-tail targets. 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 optimization strategies, our model can be trained in a single 4-GPU server and serve entire Wikipedia (up to 60 billion phrases) under 2TB with CPUs only. Our experiments on SQuAD-Open show that our model is more accurate than DrQA (Chen et al., 2017) with 6000x reduced computational cost, which translates into at least 58x faster end-to-end inference benchmark on CPUs.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1906.05807")

Code

Syntology Ran 7 of 19 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 4 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong.

By repository: official repository: 19 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

uwnlp/denspi officialmentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 7 ran; 4 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
12unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from uwnlp/denspi. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_to_unicode uwnlp/denspi/tokenization.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 1923fc05163d207d · report
exact_match_score uwnlp/denspi/evaluate-v1.1.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · f6c275d6a18330a9 · report
f1_score uwnlp/denspi/evaluate-v1.1.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 2112c433b9c6d343 · report
gelu uwnlp/denspi/bert.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 40e9fee2e0b7e278 · report
normalize_answer uwnlp/denspi/evaluate-v1.1.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · c6a80c065d2e4851 · report
warmup_constant uwnlp/denspi/optimization.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · e7d542062316094a · report
warmup_linear uwnlp/denspi/optimization.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · c58d57224530d17e · report
adjust uwnlp/denspi/open/mips.py official repository unverified Apache-2.0 (permissive) · 805c7cf81b34cfb8 · report
compress_metadata uwnlp/denspi/post.py official repository unverified Apache-2.0 (permissive) · 13b8c556b20f1352 · report
encode_phrase uwnlp/denspi/phrase.py official repository unverified Apache-2.0 (permissive) · b29057ff0bdfab27 · report
filter_metadata uwnlp/denspi/post.py official repository unverified Apache-2.0 (permissive) · 2ce75402d89eabd7 · report
get_logits uwnlp/denspi/phrase.py official repository unverified Apache-2.0 (permissive) · c3c09581ddf6a885 · report
get_sparse_logits uwnlp/denspi/phrase.py official repository unverified Apache-2.0 (permissive) · ad8fbb8cb7f3dc0a · report
int8_to_float uwnlp/denspi/open/mips.py official repository unverified Apache-2.0 (permissive) · 892f4e6b7e006e15 · report
load_backward uwnlp/denspi/run_piqa.py official repository unverified Apache-2.0 (permissive) · cba1d07a90a46468 · report
load_vocab uwnlp/denspi/tokenization.py official repository unverified Apache-2.0 (permissive) · c8956ce86812a6c2 · report
overlap uwnlp/denspi/open/mips.py official repository unverified Apache-2.0 (permissive) · df3944b07a180cef · report
printable_text uwnlp/denspi/tokenization.py official repository unverified Apache-2.0 (permissive) · 0e5615f8994003cf · report
warmup_cosine uwnlp/denspi/optimization.py official repository unverified Apache-2.0 (permissive) · 35f7cddf90dd05d4 · report

Tasks

Open-Domain Question AnsweringQuestion Answering

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections