Inartificial intelligence, adifferentiable neural computer (DNC) is a memory augmentedneural network architecture (MANN), which is typically (but not by definition) recurrent in its implementation. The model was published in 2016 byAlex Graves et al. ofDeepMind.[1]
DNC indirectly takes inspiration fromVon-Neumann architecture, making it likely to outperform conventional architectures in tasks that are fundamentally algorithmic that cannot be learned by finding adecision boundary.
So far, DNCs have been demonstrated to handle only relatively simple tasks, which can be solved using conventional programming. But DNCs don't need to be programmed for each problem, but can instead be trained. This attention span allows the user to feed complexdata structures such asgraphs sequentially, and recall them for later use. Furthermore, they can learn aspects ofsymbolic reasoning and apply it to working memory. The researchers who published the method see promise that DNCs can be trained to perform complex, structured tasks[1][2] and address big-data applications that require some sort of reasoning, such as generating video commentaries or semantic text analysis.[3][4]
DNC can be trained to navigaterapid transit systems, and apply that network to a different system. A neural network without memory would typically have to learn about each transit system from scratch. On graph traversal and sequence-processing tasks withsupervised learning, DNCs performed better than alternatives such aslong short-term memory or aneural turing machine.[5] With areinforcement learning approach to a block puzzle problem inspired bySHRDLU, DNC was trained via curriculum learning, and learned to make aplan. It performed better than a traditionalrecurrent neural network.[5]
DNC networks were introduced as an extension of theNeural Turing Machine (NTM), with the addition of memory attention mechanisms that control where the memory is stored, and temporal attention that records the order of events. This structure allows DNCs to be more robust and abstract than a NTM, and still perform tasks that have longer-term dependencies than some predecessors such as Long Short Term Memory (LSTM). The memory, which is simply a matrix, can be allocated dynamically and accessed indefinitely. The DNC isdifferentiable end-to-end (each subcomponent of the model is differentiable, therefore so is the whole model). This makes it possible to optimize them efficiently usinggradient descent.[3][6][7]
The DNC model is similar to theVon Neumann architecture, and because of the resizability of memory, it isTuring complete.[8]
![]() | This sectionmay beconfusing or unclear to readers. In particular, a list of equations (without, e.g., anexhaustive association with a complete diagram of the DNC) is not a digestible description for many readers of this article. Please helpclarify the section. There might be a discussion about this onthe talk page.(October 2017) (Learn how and when to remove this message) |
DNC, as originally published[1]
Independent variables | |
Input vector | |
Target vector | |
Controller | |
Controller input matrix | |
Deep (layered) LSTM | |
Input gate vector | |
Output gate vector | |
Forget gate vector | |
State gate vector, | |
Hidden gate vector, | |
DNC output vector | |
Read & Write heads | |
Interface parameters | |
Read heads | |
Read keys | |
Read strengths | |
Free gates | |
Read modes, | |
Write head | |
Write key | |
Write strength | |
Erase vector | |
Write vector | |
Allocation gate | |
Write gate | |
Memory | |
Memory matrix, Matrix of ones | |
Usage vector | |
Precedence weighting, | |
Temporal link matrix, | |
Write weighting | |
Read weighting | |
Read vectors | |
Content-based addressing, Lookup key, key strength | |
Indices of, sorted in ascending order of usage | |
Allocation weighting | |
Write content weighting | |
Read content weighting | |
Forward weighting | |
Backward weighting | |
Memory retention vector | |
Definitions | |
Weight matrix, bias vector | |
Zeros matrix, ones matrix,identity matrix | |
Element-wise multiplication | |
Cosine similarity | |
Sigmoid function | |
Oneplus function | |
forj = 1, ...,K. | Softmax function |
Refinements include sparse memory addressing, which reduces time and space complexity by thousands of times. This can be achieved by using an approximate nearest neighbor algorithm, such asLocality-sensitive hashing, or a randomk-d tree like Fast Library for Approximate Nearest Neighbors fromUBC.[9] Adding Adaptive Computation Time (ACT) separates computation time from data time, which uses the fact that problem length and problem difficulty are not always the same.[10] Training using synthetic gradients performs considerably better thanBackpropagation through time (BPTT).[11] Robustness can be improved with use of layer normalization and Bypass Dropout as regularization.[12]