Command Palette
Search for a command to run...
Hung Le; Truyen Tran; Svetha Venkatesh

Abstract
Memory-augmented neural networks consisting of a neural controller and an external memory have shown potentials in long-term sequential learning. Current RAM-like memory models maintain memory accessing every timesteps, thus they do not effectively leverage the short-term memory held in the controller. We hypothesize that this scheme of writing is suboptimal in memory utilization and introduces redundant computation. To validate our hypothesis, we derive a theoretical bound on the amount of information stored in a RAM-like system and formulate an optimization problem that maximizes the bound. The proposed solution dubbed Uniform Writing is proved to be optimal under the assumption of equal timestep contributions. To relax this assumption, we introduce modifications to the original solution, resulting in a solution termed Cached Uniform Writing. This method aims to balance between maximizing memorization and forgetting via overwriting mechanisms. Through an extensive set of experiments, we empirically demonstrate the advantages of our solutions over other recurrent architectures, claiming the state-of-the-arts in various sequential modeling tasks.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| sentiment-analysis-on-yelp-binary | DNC+CUW | Error: 3.60 |
| sentiment-analysis-on-yelp-fine-grained | DNC+CUW | Error: 34.40 |
| sequential-image-classification-on-sequential | DNC+CUW | Permuted Accuracy: 96.3% Unpermuted Accuracy: 99.1% |
| text-classification-on-ag-news | DNC+CUW | Error: 6.10 |
| text-classification-on-yahoo-answers | DNC+CUW | Accuracy: 74.30 |
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.