{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/multi-step-retriever-reader-interaction-for-1","title":"Multi-step Retriever-Reader Interaction for Scalable Open-domain Question Answering","arxiv_id":"1905.05733","date":"2019-05-14","proceeding":"ICLR 2019 5","authors":["Rajarshi Das","Shehzaad Dhuliawala","Manzil Zaheer","Andrew McCallum"],"abstract":"This paper introduces a new framework for open-domain question answering in which the retriever and the reader iteratively interact with each other. The framework is agnostic to the architecture of the machine reading model, only requiring access to the token-level hidden representations of the reader. The retriever uses fast nearest neighbor search to scale to corpora containing millions of paragraphs. A gated recurrent unit updates the query at each step conditioned on the state of the reader and the reformulated query is used to re-rank the paragraphs by the retriever. We conduct analysis and show that iterative interaction helps in retrieving informative paragraphs from the corpus. Finally, we show that our multi-step-reasoning framework brings consistent improvement when applied to two widely used reader architectures DrQA and BiDAF on various large open-domain datasets --- TriviaQA-unfiltered, QuasarT, SearchQA, and SQuAD-Open.","url_abs":"https://arxiv.org/abs/1905.05733v1","url_pdf":"https://arxiv.org/pdf/1905.05733v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"multi-step-retriever-reader-interaction-for-1","repo_url":"https://github.com/rajarshd/Multi-Step-Reasoning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"open-domain-question-answering","task_name":"Open-Domain Question Answering"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"reading-comprehension","task_name":"Reading Comprehension"},{"task_slug":"triviaqa","task_name":"TriviaQA"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1905.05733","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1905.05733"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rajarshd/Multi-Step-Reasoning","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_violates":1,"unverified":9},"by_repo_kind":{"official":{"samples":10,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"8c0dec327bfce0f2","entry":"str2bool","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/config.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/config.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8c0dec327bfce0f2"}},{"code_sha256_prefix":"df76adfce12ed67e","entry":"batchify","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/model/vector.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/model/vector.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"df76adfce12ed67e"}},{"code_sha256_prefix":"573ffde82de17f21","entry":"batchify_","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/model/vector.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/model/vector.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"573ffde82de17f21"}},{"code_sha256_prefix":"e750e48bd95460f8","entry":"get_model_args","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"msr/reader/config.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/msr/reader/config.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e750e48bd95460f8"}},{"code_sha256_prefix":"1243693ad7946e42","entry":"override_model_args","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"msr/reader/config.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/msr/reader/config.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1243693ad7946e42"}},{"code_sha256_prefix":"9f1455d03e97305c","entry":"uniform_weights","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"msr/reader/layers.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/msr/reader/layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9f1455d03e97305c"}},{"code_sha256_prefix":"9c735215d357a2c9","entry":"uniform_weights","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/model/layers.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/model/layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9c735215d357a2c9"}},{"code_sha256_prefix":"1819a5e33ac523fc","entry":"vectorize","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/model/vector.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/model/vector.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1819a5e33ac523fc"}},{"code_sha256_prefix":"880a4e01d58b0591","entry":"weighted_avg","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"msr/reader/layers.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/msr/reader/layers.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"880a4e01d58b0591"}},{"code_sha256_prefix":"29724763a4c084cb","entry":"weighted_avg","repo":"rajarshd/Multi-Step-Reasoning","repo_kind":"official","path":"paragraph_encoder/model/layers.py","file_url":"https://github.com/rajarshd/Multi-Step-Reasoning/blob/HEAD/paragraph_encoder/model/layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"29724763a4c084cb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}