AIMech AI

Dynamic Memory Network

Architectures AIMech:DynamicMemoryNetwork DRAFT
Aliases: DMN, Dynamic Memory Networks
A recurrent neural architecture that encodes an input and a question, repeatedly forms question-conditioned episodes from input facts to update a memory state, and generates an answer from that state.
Identity Notes & Concept Scope Compared all 442 pinned AIO and 604 native IDs, names, aliases and scoped synonyms; no normalized identity match. Ignored- and hidden-inclusive fixed-string searches of the recovery, older discovery and original Documents checkouts returned 22, 0, 0 lines. All distinct match contents were inspected. Semantic matching covered 65 AIO and 88 native definitions, with every matched definition read. 8 full annotated AIO node/edge/generated contexts and 3 full native records were inspected. The original DMN has contextual recurrent input facts, question-conditioned episodic gates, memory updates and an answer module. This is distinct from original Memory Networks, MemN2N soft key/value reads and KV-MemNN supplied key/value representations. DMN+ is a later successor requiring separate primary inspection; the inherited broad discovery lead remains partly addressed.

Claims & Grounded Evidence

6 Claims
Mechanism #input-question-and-memory-modules
The architecture combines input, question, episodic-memory and answer modules. Its text input RNN encodes a word stream; for a multi-sentence input, hidden states at end-of-sentence tokens become fact representations. The question has a separate recurrent encoder sharing word embeddings, and its final vector initializes episodic memory. These contextual sentence states differ from independently embedded bag-of-words memories. The experiments use GRUs and also report trying LSTMs.
Mechanism #episodic-gates-and-recurrent-scan
For each pass, a two-layer gating function scores a fact using the question and previous memory, their elementwise interactions, absolute differences and bilinear terms. The default sigmoid gates are not a softmax-normalized distribution over facts. Equation 7 interpolates a GRU update with the previous scan state using each gate; the last scan state forms an episode, and another GRU updates episodic memory. The ordered fact scan and repeated memory passes are separate recurrences. The source GRU convention weights the old state by z and applies its reset gate after the recurrent projection in Equation 3.
Scope #qa-aggregation-and-supervision
The bAbI experiment uses labeled supporting facts to supervise attention, initially training the gate loss alone and then combining gate and answer losses. It also reports a QA-specific alternative that replaces the recurrent episode with a softmax-weighted fact sum using the pre-sigmoid gate scores. This normalized-sum variant differs from the default gated recurrent scan. Despite the abstract describing only input-question-answer triplets, these QA results do not establish answer-only training or general unsupervised reasoning.
Scope #answer-and-stopping-variants
The answer GRU starts from the final memory and conditions subsequent outputs on the previous generated output and question. For sequence tagging, an answer is triggered at each word and the partial episodic scan state replaces the final scan state. A special end-of-passes representation is described for deciding when to stop memory iterations, while experiments without explicit gate supervision use a maximum number of iterations. This does not establish an unlimited adaptive reasoning procedure or inspected implementation details of discrete feedback and stopping.
Limitation #separate-task-evaluation
The reported language tasks are trained independently using task-specific input/output choices, pretrained word vectors and selected hyperparameters. The experiments cover synthetic bAbI QA, root-level Stanford Sentiment Treebank sentiment evaluation and WSJ part-of-speech tagging. QA uses supporting-fact labels; the reported POS test score in Table 3 uses an ensemble of four selected models. These protocols do not demonstrate one jointly trained multitask model, universal superiority or zero-extra-supervision transfer.
Limitation #passes-and-attention-interpretation
Additional memory passes help selected question-answering tasks but do not improve every reported setting monotonically; Table 4 shows lower sentiment accuracy with three passes than with two. Attention examples illustrate selected behavior and even include a mistaken focus in Figure 3; they are not a proof of a correct reasoning chain or causal attribution. Multitask and multimodal extensions are proposed future work in this source, distinct from the later DMN+ architecture.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:RecurrentNeuralNetwork
Recurrent Neural Network
broad_match The architecture recurrently encodes word sequences and uses recurrent episodic and answer states. The pinned recurrent-network concept is broader than this specific arrangement.
AIO:GatedRecurrentUnit
Gated Recurrent Unit
related_match GRUs implement modules of the reported architecture. This is a component relation, not an equivalence between the complete DMN and one gating unit; the source-specific update convention is preserved.

Evidence Sources & Primary Literature

1 Source
Source ID Publication / Document Type / Access Reference & Checksum
kumar2016
Ankit Kumar, Peter Ondruska, Mohit Iyyer, James Bradbury, Ishaan Gulrajani, Victor Zhong, Romain Paulus, Richard Socher
primary paper
full_text
ID: arXiv:1506.07285v5
sha256:ff3ac481ffdc…

Curation Provenance

Curator: Codex
Method: ai_assisted
Model: GPT-6
Created: 2026-10-13T10:30:02Z
Updated: 2026-10-13T10:30:02Z
Source File: data/curated/DynamicMemoryNetwork.yaml