{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/method/dynamic-memory-network","slug":"dynamic-memory-network","name":"Dynamic Memory Network","full_name":"Dynamic Memory Network","full_name_withheld":false,"description_markdown":"A **Dynamic Memory Network** is a neural network architecture which processes input sequences and questions, forms episodic memories, and generates relevant answers. Questions trigger an iterative attention process which allows the model to condition its attention on the inputs and the result of previous iterations. These results are then reasoned over in a hierarchical recurrent sequence model to generate answers. \r\n\r\nThe DMN consists of a number of modules:\r\n\r\n- Input Module: The input module encodes raw text inputs from the task into distributed vector representations. The input takes forms like a sentence, a long story, a movie review and so on.\r\n- Question Module: The question module encodes the question of the task into a distributed\r\nvector representation. For question answering, the question may be a sentence such as \"Where did the author first fly?\". The representation is fed into the episodic memory module, and forms the basis, or initial state, upon which the episodic memory module iterates.\r\n- Episodic Memory Module: Given a collection of input representations, the episodic memory module chooses which parts of the inputs to focus on through the attention mechanism. It then produces a ”memory” vector representation taking into account the question as well as the previous memory. Each iteration provides the module with newly relevant information about the input. In other words,\r\nthe module has the ability to retrieve new information, in the form of input representations, which were thought to be irrelevant in previous iterations.\r\n- Answer Module: The answer module generates an answer from the final memory vector of the memory module.","description_state":"present","introduced_year":null,"introduced_by":{"title":"Ask Me Anything: Dynamic Memory Networks for Natural Language Processing","paper":"/paper/ask-me-anything-dynamic-memory-networks-for","first_author":"Ankit Kumar","n_authors":9,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/ask-me-anything-dynamic-memory-networks-for"},"source":{"url":"http://arxiv.org/abs/1506.07285v5","title":"Ask Me Anything: Dynamic Memory Networks for Natural Language Processing","url_on_a_paper_host":true},"code_snippet_url":"https://github.com/rgsachin/DMTN","code_snippet_url_on_a_code_host":true,"categories":[{"area":"General","area_id":"general","collection":"Working Memory Models","url":"/methods/category/working-memory-models","pwc_aliases":[]}],"n_papers_tagged":19,"archive_num_papers":19,"papers_newest_first":[{"paper":"/paper/pattern-matching-dynamic-memory-network-for-1","slug":"pattern-matching-dynamic-memory-network-for-1","title":"Pattern-Matching Dynamic Memory Network for Dual-Mode Traffic Prediction","date":"2024-08-12","arxiv_id":"2408.07100","n_code_links":1,"syntology":null},{"paper":"/paper/lvos-a-benchmark-for-long-term-video-object","slug":"lvos-a-benchmark-for-long-term-video-object","title":"LVOS: A Benchmark for Long-term Video Object Segmentation","date":"2022-11-18","arxiv_id":"2211.10181","n_code_links":1,"syntology":null},{"paper":"/paper/learning-quality-aware-dynamic-memory-for","slug":"learning-quality-aware-dynamic-memory-for","title":"Learning Quality-aware Dynamic Memory for Video Object Segmentation","date":"2022-07-16","arxiv_id":"2207.07922","n_code_links":1,"syntology":{"ran":0,"of":1,"n_ran_checked":0,"n_instrument":0,"unverified":1,"pointer_only":1,"phrase":"0 ran · 1 unverified","official":{"repos":["workforai/qdmn"],"state":"official: harvested, nothing ran","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":1,"ran_from_kinds":[]}}},{"paper":"/paper/memory-based-semantic-parsing","slug":"memory-based-semantic-parsing","title":"Memory-Based Semantic Parsing","date":"2021-09-07","arxiv_id":"2110.07358","n_code_links":1,"syntology":null},{"paper":null,"slug":"video-object-segmentation-with-dynamic-memory","title":"Video Object Segmentation With Dynamic Memory Networks and Adaptive Object Alignment","date":"2021-01-01","arxiv_id":null,"n_code_links":0,"syntology":null},{"paper":"/paper/dual-dynamic-memory-network-for-end-to-end","slug":"dual-dynamic-memory-network-for-end-to-end","title":"Dual Dynamic Memory Network for End-to-End Multi-turn Task-oriented Dialog Systems","date":"2020-12-01","arxiv_id":null,"n_code_links":1,"syntology":null},{"paper":"/paper/dynamic-memory-enhanced-transformer-for-end","slug":"dynamic-memory-enhanced-transformer-for-end","title":"Contextualize Knowledge Bases with Transformer for End-to-end Task-Oriented Dialogue Systems","date":"2020-10-12","arxiv_id":"2010.05740","n_code_links":0,"syntology":null},{"paper":null,"slug":"doctor2vec-dynamic-doctor-representation","title":"Doctor2Vec: Dynamic Doctor Representation Learning for Clinical Trial Recruitment","date":"2019-11-23","arxiv_id":"1911.10395","n_code_links":0,"syntology":null},{"paper":"/paper/meta-learning-with-dynamic-memory-based","slug":"meta-learning-with-dynamic-memory-based","title":"Meta-Learning with Dynamic-Memory-Based Prototypical Network for Few-Shot Event Detection","date":"2019-10-25","arxiv_id":"1910.11621","n_code_links":1,"syntology":null},{"paper":null,"slug":"entropy-enhanced-multimodal-attention-model","title":"Entropy-Enhanced Multimodal Attention Model for Scene-Aware Dialogue Generation","date":"2019-08-22","arxiv_id":"1908.08191","n_code_links":0,"syntology":null},{"paper":null,"slug":"visual-tracking-via-dynamic-memory-networks","title":"Visual Tracking via Dynamic Memory Networks","date":"2019-07-12","arxiv_id":"1907.07613","n_code_links":0,"syntology":null},{"paper":"/paper/exploiting-contextual-information-via-dynamic","slug":"exploiting-contextual-information-via-dynamic","title":"Exploiting Contextual Information via Dynamic Memory Network for Event Detection","date":"2018-10-03","arxiv_id":"1810.03449","n_code_links":1,"syntology":null},{"paper":null,"slug":"relational-dynamic-memory-networks","title":"Relational dynamic memory networks","date":"2018-08-10","arxiv_id":"1808.04247","n_code_links":0,"syntology":null},{"paper":"/paper/motion-appearance-co-memory-networks-for","slug":"motion-appearance-co-memory-networks-for","title":"Motion-Appearance Co-Memory Networks for Video Question Answering","date":"2018-03-29","arxiv_id":"1803.10906","n_code_links":0,"syntology":null},{"paper":"/paper/learning-dynamic-memory-networks-for-object","slug":"learning-dynamic-memory-networks-for-object","title":"Learning Dynamic Memory Networks for Object Tracking","date":"2018-03-20","arxiv_id":"1803.07268","n_code_links":1,"syntology":{"ran":1,"of":7,"n_ran_checked":1,"n_instrument":0,"unverified":6,"pointer_only":0,"phrase":"1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified","official":{"repos":["skyoung/MemTrack"],"state":"official (archive's flag): 1 ran","n_ran":1,"n_constructed":0,"n_ran_no_instrument_failure":1,"n_unverified":6,"ran_from_kinds":["official"]}}},{"paper":null,"slug":"integrating-order-information-and-event","title":"Integrating Order Information and Event Relation for Script Event Prediction","date":"2017-09-01","arxiv_id":null,"n_code_links":0,"syntology":null},{"paper":"/paper/ask-me-even-more-dynamic-memory-tensor","slug":"ask-me-even-more-dynamic-memory-tensor","title":"Ask Me Even More: Dynamic Memory Tensor Networks (Extended Model)","date":"2017-03-11","arxiv_id":"1703.03939","n_code_links":2,"syntology":null},{"paper":"/paper/dynamic-memory-networks-for-visual-and","slug":"dynamic-memory-networks-for-visual-and","title":"Dynamic Memory Networks for Visual and Textual Question Answering","date":"2016-03-04","arxiv_id":"1603.01417","n_code_links":10,"syntology":{"ran":7,"of":7,"n_ran_checked":0,"n_instrument":7,"unverified":0,"pointer_only":7,"phrase":"7 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 7 where Syntology's instrument failed) · 0 unverified","official":null}},{"paper":"/paper/ask-me-anything-dynamic-memory-networks-for","slug":"ask-me-anything-dynamic-memory-networks-for","title":"Ask Me Anything: Dynamic Memory Networks for Natural Language Processing","date":"2015-06-24","arxiv_id":"1506.07285","n_code_links":10,"syntology":{"ran":5,"of":5,"n_ran_checked":4,"n_instrument":1,"unverified":0,"pointer_only":0,"phrase":"5 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 1 violated, 3 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified","official":null}}],"papers_shown":19,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":19,"with_a_code_link":11,"where_syntology_ran_a_sample":3,"not_listed_spam_title":0,"listed":19,"listed_where_code_ran":3,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":2,"every_run_a_failure_of_syntologys_instrument":1,"listed_with_a_run_with_no_instrument_failure":2,"listed_every_run_a_failure_of_syntologys_instrument":1,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"papers_where_code_ran":3,"papers_where_code_ran_first_page":"/method/dynamic-memory-network/papers/ran/1","papers_where_code_ran_caption":"We ran code from the paper's repository; we did not isolate this method inside it.","pages":[{"order":"ran","page":1,"of":1,"url":"/method/dynamic-memory-network/papers/ran/1","json":"/method/dynamic-memory-network/papers/ran/1.json","rows":3}],"tasks":[{"task":"/task/question-answering","name":"Question Answering","papers":4},{"task":"/task/object","name":"Object","papers":3},{"task":"/task/semantic-segmentation","name":"Semantic Segmentation","papers":3},{"task":"/task/video-object-segmentation","name":"Video Object Segmentation","papers":3},{"task":"/task/video-semantic-segmentation","name":"Video Semantic Segmentation","papers":3},{"task":"/task/event-detection","name":"Event Detection","papers":2},{"task":"/task/semi-supervised-video-object-segmentation","name":"Semi-Supervised Video Object Segmentation","papers":2},{"task":"/task/template-matching","name":"Template Matching","papers":2},{"task":"/task/visual-question-answering","name":"Visual Question Answering (VQA)","papers":2},{"task":"/task/visual-tracking","name":"Visual Tracking","papers":2},{"task":"/task/clinical-knowledge","name":"Clinical Knowledge","papers":1},{"task":"/task/decoder","name":"Decoder","papers":1},{"task":"/task/dialogue-generation","name":"Dialogue Generation","papers":1},{"task":"/task/event-extraction","name":"Event Extraction","papers":1},{"task":"/task/few-shot-learning","name":"Few-Shot Learning","papers":1},{"task":"/task/classification","name":"General Classification","papers":1},{"task":"/task/language-modeling","name":"Language Modeling","papers":1},{"task":"/task/language-modelling","name":"Language Modelling","papers":1},{"task":"/task/meta-learning","name":"Meta-Learning","papers":1},{"task":"/task/object-tracking","name":"Object Tracking","papers":1}],"tasks_shown":20,"n_tasks":36,"usage_by_year":[{"year":"2015","papers":1},{"year":"2016","papers":1},{"year":"2017","papers":2},{"year":"2018","papers":4},{"year":"2019","papers":4},{"year":"2020","papers":2},{"year":"2021","papers":2},{"year":"2022","papers":2},{"year":"2024","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/dynamic-memory-network"},"syntology_read_at":"2026-10-05T00:36:11+00:00","syntology":{"source":"Syntology's have check for this name (the free coverage lookup), read from Syntology's graph","have_url":"https://syntology.ai/api/graph/have?x=Dynamic%20Memory%20Network","read_at":"2026-10-05T00:55:24+00:00","query":"Dynamic Memory Network","kind":"method","have":"unknown_name","tier":null,"verified_implementation":null,"level":null,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":null,"resolution":null,"resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":null,"archive_paper_arxiv_id":"1506.07285","repositories":null,"retrieve_with":null,"name_competition":{"verdict":"none","may_be_wrong_sense":false,"bearers_found":0,"served":null,"leading_other_bearer":null,"n_other_bearers_listed":0,"note":"Nothing in this corpus is named 'Dynamic Memory Network' -- no method node, no paper announcing it in its title, no expanded form declaring it as an acronym."},"name_competition_text":null,"near_matches":["Dynamic Global Memory","Dynamic Memory Tagging (DMT)","Dynamic Parameter Memory (DPM)","Dynamic Memory Induction Networks","Dynamic Memory Sparsification (DMS)","Dynamic Hub-and-Spoke Memory (D-HSM)","Instance Dynamic Memory (IDM) module","Quality-aware Dynamic Memory Network (QDMN)"],"code_nearby":[],"code_nearby_caption":null,"origin_paper":null,"line":"name not resolved (unknown_name). The lookup matched no method, paper or venue by this name; that asserts nothing about whether code exists.","level_legend":null},"syntology_have_state":"loaded","record_sha256":"3508c415aa085e42dcf81e46ff356085ca592172d58a5d2344add8b84a89cdc5","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}