Command Palette
Search for a command to run...
Imanol Schlag Tsendsuren Munkhdalai Jürgen Schmidhuber

Abstract
Humans can quickly associate stimuli to solve problems in novel contexts. Our novel neural network model learns state representations of facts that can be composed to perform such associative inference. To this end, we augment the LSTM model with an associative memory, dubbed Fast Weight Memory (FWM). Through differentiable operations at every step of a given input sequence, the LSTM updates and maintains compositional associations stored in the rapidly changing FWM weights. Our model is trained end-to-end by gradient descent and yields excellent performance on compositional language reasoning problems, meta-reinforcement-learning for POMDPs, and small-scale word-level language modelling.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| language-modelling-on-penn-treebank-word | AWD-FWM Schlag et al. (2020) | Params: 24M Test perplexity: 54.48 Validation perplexity: 56.76 |
| language-modelling-on-wikitext-2 | AWD-FWM Schlag et al. (2020) | Number of params: 37M Test perplexity: 61.65 Validation perplexity: 54.48 |
| question-answering-on-catbabi-lm-mode | AWD-LSTM | Accuracy (mean): 80.15% |
| question-answering-on-catbabi-lm-mode | Metalearned Neural Memory (plastic) | Accuracy (mean): 69.3% |
| question-answering-on-catbabi-lm-mode | Fast Weight Memory | Accuracy (mean): 93.04% |
| question-answering-on-catbabi-lm-mode | AWD-Transformer XL | Accuracy (mean): 90.23% |
| question-answering-on-catbabi-qa-mode | Metalearned Neural Memory (plastic) | 1:1 Accuracy: 88.97% |
| question-answering-on-catbabi-qa-mode | AWD-LSTM | 1:1 Accuracy: 80.88% |
| question-answering-on-catbabi-qa-mode | AWD-Transformer XL | 1:1 Accuracy: 87.66% |
| question-answering-on-catbabi-qa-mode | Fast Weight Memory | 1:1 Accuracy: 96.75% |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.