user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: GATED FAST WEIGHTS FOR ASSOCIATIVE RETRIEVAL

Paper content:
We improve previous end-to-end differentiable neural networks (NNs) with fast
weight memories.
A gate mechanism updates fast weights at every time step of
a sequence through two separate outer-product-based matrices generated by slow
parts of the net.
The system is trained on a complex sequence to sequence variation
of the Associative Retrieval Problem with roughly 70 times more temporal
memory (i.e. time-varying variables) than similar-sized standard recurrent NNs
(RNNs).
In terms of accuracy and number of parameters, our architecture outperforms
a variety of RNNs, including Long Short-Term Memory, Hypernetworks,
and related fast weight architectures.
Recurrent Neural Networks (RNNs) are general parallel-sequential computers that can implement algorithms which map input sequences to output sequences.
One variation of it, the Long ShortTerm Memory (LSTM), has achieved great success on a wide variety of Machine Learning tasks such as natural language translation, image caption generation, and speech recognition among others BID11 ; BID6 ; BID7 .
In practical applications, most RNNs are actually LSTM networks now used billions of times per day for automatic translation BID21 , speech recognition Sak et al., and many other tasks BID13 BID17 .However
, plain RNNs but also LSTMs are known to have difficulty in performing memorization, like e.g. a simple copying task of outputting the same sequence as the input sequence BID22 . But also
other more high-level cognitive tasks have been shown to be difficult to master BID2 .In this work
, we explore a generalization of the Associative Retrieval problem. We follow a
similar style as in BID2 but turned the task into a general sequence to sequence problem and also substantially increased its complexity. The underlying
mechanism is essentially a dictionary with a certain number of key-value pairs which is controlled using a simple syntax of storage and query tokens.In order to overcome the limitation of current RNNs on this task, we propose a fast weight architecture that is able to learn and generalize using much fewer parameters. Our architecture
consists of the two networks s and f which both operate on the input sequence in parallel. The small network
f predicts the targets while the big network s generates on-the-fly weight-updates for f . The big network s
is called the slow network because its weights change only after every mini-batch according to the gradient-based learning algorithm. f , on the other
hand, is called the fast network because its weights can change after every time step.
It has been shown before how generalizing a memory mechanism, such as required in this task, is difficult for vanilla RNNs to learn.
Several previous works focused on integrating differentiable Figure 2 : The left figure represents the accuracy of non-trivial targets and the right figure the respective bits per character.
These are the validation set results of the best models of the four examined architectures due to our hyper parameter search.
Green is the LSTM, dark blue is the fast weights architecture as attention to the recent past, red is the hypernetwork, and cyan is our novel fast weight architecture.computer-like memory into the graph structure of the architecture such that the model wouldn't need to learn the mechanism itself but mainly how to use it.
Examples of such are differentiable stacks by BID3 ; BID12 , but also related storage types like those in LSTM-controlled Neural Turing Machines BID8 or memory nets BID20 .A
basic argument against a memory approach inspired by the Turing Machine or the von Neumann architecture is its biological plausibility, as well as, the fact that we know how the human memory system often doesn't really behave as computer memory does. It
is generally known to be much more nuanced and forcing an architecture to include a strong and possibly misleading bias would certainly limit its ability to learn and generalize to a more effective mechanism. We
think that learning high-level cognitive functions (i.e. high-level programs implemented under the constraints of some artificial neural substrate) is difficult and find the idea to search and reverse engineer every human capability necessary for intelligence in order to engineer it into an architecture to be undesirable. Instead
, we favour an approach which focuses on improving the capabilities of the artificial neural substrate which allows for the emergence of higher-level functions through training. We think
fast weights are such a component from which many models could benefit.Limitations Fast weights seem to have a positive effect when they are incorporated into an architecture but we experienced at least two practical limitations. While the
calculation of the gradient through these fast weight dynamics remains rather cheap, the number of values to be stored in the backward pass encompasses now all time-varying variables (i.e. all fast weights) at each relevant time step. This quadratically
increases the memory consumption compared to a similar sized RNN. At the moment, these
memory limitations are the main reason why such fast weight networks remain rather small compared to state-of-the-art RNNs one some popular application like e.g. neural machine translation. Another noteworthy limitation
is the wall-time necessary for computing a more complex architecture. Reshaping tensors and other simple
operations result in a significant increase of wall-time. However, over 20 years ago it was
pointed out that an RNN can also use additional, soft, end-toend differentiable attention mechanisms to learn to control its own internal spotlights of attention BID15 to quickly associate self-defined patterns through fast weights (on connections between certain units) that can quickly and dramatically change from one time step to the next. This approach can essentially increase
the number of time-varying variables massively while keeping the model relatively small.We improved the update mechanism through which the slow network learns to write into its fast weight memory. This allows us to construct a model with
a small but memory expensive fast network in addition to the standard slow network. However, the fast weights are not just passive
memory like the state but are more like active memory in the sense of a context-specific computation. We force the model to use this active memory at
every step to predict the current output by delaying the weight updates from slow network by one step.Consider the model introduced in the previous section. While the slow network is technically bigger, it
contains only 40 time-varying variables, namely the state vector h S . The fast network is much smaller but has 3840 time-varying
variables (h F , F (1) , and F (2) ). Increasing the total number of time-varying variables significantly
.
In this paper, we introduce a complex sequence to sequence variation of the Associative Retrieval problem.
In that problem, the model has to learn how to store a number of associations from the input sequence, retrieve them if necessary, and forget them to learn new associations.
We use a standard RNN to generate weight updates for a fast weight RNN.
This allows our model to store temporal information not only in the state of either RNN but also in the weights of the fast weight RNN.
Our contribution is a new way of updating the weight matrices of the fast weight RNN where we use a gate and two generated matrices instead of one.
Without our contribution the model has never shown to be able to learn any non-trivial predictions.
We compare it with other architectures on this general task and show how it outperforms them in convergence, accuracy, and number of parameters.

assistant: text: An improved Fast Weight network which shows better results on a general toy task.