Memory networks

Neural foundations · neural · 2014 · text

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)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted