WHY?

Using external memory as modern computer enable neural net the use of extensible memory. This paper suggests Differentible Neural Computer(DNC) which is an advanced version of Neural Turing Machine.

WHAT?

Reading and writing in DNC are implemented with differentiable attention mechanism.

image

The controller of DNC is an variant of LSTM architecture that takes an input vector() and a set of read vectors() as input(concatenated). Concatenated input and hidden vectors from both previous timestep() and from previous layer() are concatenated again to be used as input for LSTM to produce next hidden vector(). Hidden vectors from all layers at a timestep are concatenated to emit an output vector() and an interface vector(). The output vector() is the sum of and read vectors of the current timestep.

THe interface vectors are consists of many vectors that interacts with memory: R read keys(), read strengths(), write key(), write strength(), erase vector(), write vector(), R free gates(), the allocation gate(), the write gate() and R read modes(\mathbf{\pi}_t^i).

Read vectors are computed with read weights on memory. Memory matrix are updated with write weights, write vector and erase vector.

Memory are addressed with content-based addressing and dynamic memory allocation. Contesnt-based addressing is basically the same as attention mechanism. Dynamic memory allocation is designed to clear memory as analogous to free list memory allocation scheme.

So?

image

DNC showed good result on bAbI task, and Graph tasks.

Graves, Alex, et al. “Hybrid computing using a neural network with dynamic external memory.” Nature 538.7626 (2016): 471.