{"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/dynamic-memory-networks-for-visual-and","title":"Dynamic Memory Networks for Visual and Textual Question Answering","arxiv_id":"1603.01417","date":"2016-03-04","proceeding":null,"authors":["Caiming Xiong","Stephen Merity","Richard Socher"],"abstract":"Neural network architectures with memory and attention mechanisms exhibit\ncertain reasoning capabilities required for question answering. One such\narchitecture, the dynamic memory network (DMN), obtained high accuracy on a\nvariety of language tasks. However, it was not shown whether the architecture\nachieves strong results for question answering when supporting facts are not\nmarked during training or whether it could be applied to other modalities such\nas images. Based on an analysis of the DMN, we propose several improvements to\nits memory and input modules. Together with these changes we introduce a novel\ninput module for images in order to be able to answer visual questions. Our new\nDMN+ model improves the state of the art on both the Visual Question Answering\ndataset and the \\babi-10k text question-answering dataset without supporting\nfact supervision.","url_abs":"http://arxiv.org/abs/1603.01417v1","url_pdf":"http://arxiv.org/pdf/1603.01417v1.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":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/DongjunLee/dmn-tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/ajenningsfrankston/Dynamic-Memory-Network-Plus-master","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/dandelin/Dynamic-memory-networks-plus-Pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/edithal-14/DMN-Novelty","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/ethancaballero/Improved-Dynamic-Memory-Networks-DMN-plus","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/imatge-upc/vqa-2016-cvprw","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/jxz542189/dmn_plus","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/sy-sunmoon/Clever-Commenter-Let-s-Try-More-Apps","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/therne/dmn-tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"dynamic-memory-networks-for-visual-and","repo_url":"https://github.com/vchudinov/dynamic_memory_networks_with_keras","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"GPL-3.0"}}],"tasks":[{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"visual-question-answering-1","task_name":"Visual Question Answering"},{"task_slug":"visual-question-answering","task_name":"Visual Question Answering (VQA)"}],"methods":[{"method_slug":"dynamic-memory-network","method_name":"Dynamic Memory Network"},{"method_slug":"gru","method_name":"GRU"},{"method_slug":"memory-network","method_name":"Memory Network"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/visual-question-answering-on-coco-visual-4","task":"Visual Question Answering (VQA)","dataset":"COCO Visual Question Answering (VQA) real images 1.0 open ended","model":"DMN+ [xiong2016dynamic]","rank_in_archive_order":8,"of":14,"metrics":{"Percentage correct":"60.4"},"uses_additional_data":false},{"leaderboard":"/sota/visual-question-answering-on-vqa-v1-test-dev","task":"Visual Question Answering (VQA)","dataset":"VQA v1 test-dev","model":"DMN+","rank_in_archive_order":6,"of":7,"metrics":{"Accuracy":"60.3"},"uses_additional_data":false},{"leaderboard":"/sota/visual-question-answering-on-vqa-v1-test-std","task":"Visual Question Answering (VQA)","dataset":"VQA v1 test-std","model":"DMN+","rank_in_archive_order":4,"of":6,"metrics":{"Accuracy":"60.4"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1603.01417","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1603.01417"}},"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/dandelin/Dynamic-memory-networks-plus-Pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ajenningsfrankston/Dynamic-Memory-Network-Plus-master","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jxz542189/dmn_plus","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sy-sunmoon/Clever-Commenter-Let-s-Try-More-Apps","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ethancaballero/Improved-Dynamic-Memory-Networks-DMN-plus","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/DongjunLee/dmn-tensorflow","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/edithal-14/DMN-Novelty","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vchudinov/dynamic_memory_networks_with_keras","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/therne/dmn-tensorflow","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/imatge-upc/vqa-2016-cvprw","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":3,"ran_fixture":4},"by_repo_kind":{"listed":{"samples":7,"ran":7,"repositories":2}},"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":7,"samples":[{"code_sha256_prefix":"d99bdbbcd3df541a","entry":"build_vocab","repo":"dandelin/Dynamic-memory-networks-plus-Pytorch","repo_kind":"listed","path":"babi_loader.py","file_url":"https://github.com/dandelin/Dynamic-memory-networks-plus-Pytorch/blob/HEAD/babi_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d99bdbbcd3df541a"}},{"code_sha256_prefix":"5bcdc54c58477426","entry":"get_raw_babi","repo":"dandelin/Dynamic-memory-networks-plus-Pytorch","repo_kind":"listed","path":"babi_loader.py","file_url":"https://github.com/dandelin/Dynamic-memory-networks-plus-Pytorch/blob/HEAD/babi_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5bcdc54c58477426"}},{"code_sha256_prefix":"347e5cf7919792fb","entry":"oversample","repo":"edithal-14/DMN-Novelty","repo_kind":"listed","path":"ste/ste_decom_attn.py","file_url":"https://github.com/edithal-14/DMN-Novelty/blob/HEAD/ste/ste_decom_attn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"347e5cf7919792fb"}},{"code_sha256_prefix":"c6f6a59b1cb4647f","entry":"pad_collate","repo":"dandelin/Dynamic-memory-networks-plus-Pytorch","repo_kind":"listed","path":"babi_loader.py","file_url":"https://github.com/dandelin/Dynamic-memory-networks-plus-Pytorch/blob/HEAD/babi_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6f6a59b1cb4647f"}},{"code_sha256_prefix":"9f51aa3fcdd89fcd","entry":"position_encoding","repo":"dandelin/Dynamic-memory-networks-plus-Pytorch","repo_kind":"listed","path":"babi_main.py","file_url":"https://github.com/dandelin/Dynamic-memory-networks-plus-Pytorch/blob/HEAD/babi_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9f51aa3fcdd89fcd"}},{"code_sha256_prefix":"7bdcd24933332cf1","entry":"pretty_size","repo":"edithal-14/DMN-Novelty","repo_kind":"listed","path":"dmn.py","file_url":"https://github.com/edithal-14/DMN-Novelty/blob/HEAD/dmn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7bdcd24933332cf1"}},{"code_sha256_prefix":"e87ff604cb0fde70","entry":"step","repo":"edithal-14/DMN-Novelty","repo_kind":"listed","path":"dmn.py","file_url":"https://github.com/edithal-14/DMN-Novelty/blob/HEAD/dmn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e87ff604cb0fde70"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}