Memory networks
What it is
Stores facts in an explicit memory and attends over it to answer queries — knowledge outside the weights.
When to use it
Question answering and the conceptual basis for modern retrieval augmentation.
Caveats
Attention over every memory slot scales poorly as the memory grows. Early versions needed supervision of which facts to use, and were shown mainly on synthetic question-answering tasks.
Key ideas
- Adds an explicit store of facts that the model reads with attention
- Several read steps (hops) allow multi-step reasoning
- An early forerunner of retrieval-augmented models
Related architectures
Original paper
Memory Networks (2014, arXiv)