Skip to content
StackDecode
AI & ML Atlas
Neural NetworksarchitectureAnimated walkthrough

Differentiable Neural Computers

An improved Neural Turing Machine with memory allocation and a record of write order.

The idea

The DNC adds a usage vector so it can free and allocate memory rows, and a temporal link matrix that remembers the order in which rows were written, so it can read sequences forwards or backwards. It solved graph-reasoning tasks such as finding shortest paths on a map like the London Underground.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1The controller emits read and write instructions.
  2. 2Allocate free memory rows using the usage vector.
  3. 3Write, then update the temporal links.
  4. 4Read by content, or by following the links forwards or backwards.
  5. 5Combine the reads to produce the output.
1/5

Step by step

  1. 1The controller emits read and write instructions.
  2. 2Allocate free memory rows using the usage vector.
  3. 3Write, then update the temporal links.
  4. 4Read by content, or by following the links forwards or backwards.
  5. 5Combine the reads to produce the output.

Where it is used

Research on reasoning over structured data.

Watch out for

Complex and compute-hungry, and not widely adopted.

Related