Neural Turing Machine / DNC
What it is
A controller network coupled to differentiable external memory it learns to read and write.
When to use it
Algorithmic generalisation, memory-augmented reasoning, and as the ancestor of retrieval-augmented models.
Caveats
Notoriously hard to train, with unstable optimization and sensitivity to initialization. Demonstrated mainly on small algorithmic tasks, and memory addressing gets costly as the memory grows.
Key ideas
- A neural controller reads and writes an external memory matrix through attention
- Addressing is by content and by location, and is fully differentiable
- The DNC adds memory allocation and tracking of write order
- Can learn simple algorithms such as copying and sorting
Related architectures
Original paper
Neural Turing Machines (2014, arXiv)