{"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/interactive-language-learning-by-question","title":"Interactive Language Learning by Question Answering","arxiv_id":"1908.10909","date":"2019-08-28","proceeding":"IJCNLP 2019 11","authors":["Xingdi Yuan","Marc-Alexandre Cote","Jie Fu","Zhouhan Lin","Christopher Pal","Yoshua Bengio","Adam Trischler"],"abstract":"Humans observe and interact with the world to acquire knowledge. However, most existing machine reading comprehension (MRC) tasks miss the interactive, information-seeking component of comprehension. Such tasks present models with static documents that contain all necessary information, usually concentrated in a single short substring. Thus, models can achieve strong performance through simple word- and phrase-based pattern matching. We address this problem by formulating a novel text-based question answering task: Question Answering with Interactive Text (QAit). In QAit, an agent must interact with a partially observable text-based environment to gather information required to answer questions. QAit poses questions about the existence, location, and attributes of objects found in the environment. The data is built using a text-based game generator that defines the underlying dynamics of interaction with the environment. We propose and evaluate a set of baseline models for the QAit task that includes deep reinforcement learning agents. Experiments show that the task presents a major challenge for machine reading systems, while humans solve it with relative ease.","url_abs":"https://arxiv.org/abs/1908.10909v1","url_pdf":"https://arxiv.org/pdf/1908.10909v1.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":"interactive-language-learning-by-question","repo_url":"https://github.com/xingdi-eric-yuan/qait_public","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"deep-reinforcement-learning","task_name":"Deep Reinforcement Learning"},{"task_slug":"machine-reading-comprehension","task_name":"Machine Reading Comprehension"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"reading-comprehension","task_name":"Reading Comprehension"},{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1908.10909","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1908.10909"}},"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/xingdi-eric-yuan/qait_public","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"unverified":9},"by_repo_kind":{"official":{"samples":11,"ran":2,"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":10,"samples":[{"code_sha256_prefix":"91eb0af694a5d554","entry":"compute_mask","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"layers.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/layers.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"91eb0af694a5d554"}},{"code_sha256_prefix":"e5002de1b930b693","entry":"masked_softmax","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"layers.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/layers.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e5002de1b930b693"}},{"code_sha256_prefix":"918dc7f48ab39b03","entry":"attribute_to_question","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"game_generator.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/game_generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"918dc7f48ab39b03"}},{"code_sha256_prefix":"d041e96025cea355","entry":"build_argparser","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"challenge.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/challenge.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"d041e96025cea355"}},{"code_sha256_prefix":"09b5e97aa17e3fff","entry":"check_reasoning_path_reward_sequence","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"reward_helper.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/reward_helper.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"09b5e97aa17e3fff"}},{"code_sha256_prefix":"c8c3bab24970ba1f","entry":"generate_location_question","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"game_generator.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/game_generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"c8c3bab24970ba1f"}},{"code_sha256_prefix":"31a1a36dc620fe67","entry":"get_attribute_reward","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"reward_helper.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/reward_helper.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"31a1a36dc620fe67"}},{"code_sha256_prefix":"4feae955776e4043","entry":"masked_mean","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"layers.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"4feae955776e4043"}},{"code_sha256_prefix":"779f827b9e2410ad","entry":"preproc","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"generic.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/generic.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"779f827b9e2410ad"}},{"code_sha256_prefix":"499aa017b9e14605","entry":"to_np","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"generic.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/generic.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"499aa017b9e14605"}},{"code_sha256_prefix":"f947fb149bc50f58","entry":"to_pt","repo":"xingdi-eric-yuan/qait_public","repo_kind":"official","path":"generic.py","file_url":"https://github.com/xingdi-eric-yuan/qait_public/blob/HEAD/generic.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"f947fb149bc50f58"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}