The Power of External Memory in Increasing Predictive Model Capacity
Not on the map. Why?
Abstract (arXiv)
One way of introducing sparsity into deep networks is by attaching an external table of parameters that is sparsely looked up at different layers of the network. By storing the bulk of the parameters in the external table, one can increase the capacity of the model without necessarily increasing the inference time. Two crucial questions in this setting are then: what is the lookup function for accessing the table and how are the contents of the table consumed? Prominent methods for accessing the table include 1) using words/wordpieces token-ids as table indices, 2) LSH hashing the token vector in each layer into a table of buckets, and 3) learnable softmax style routing to a table entry. The ways to consume the contents include adding/concatenating to input representation, and using the contents as expert networks that specialize to different inputs. In this work, we conduct rigorous experimental evaluations of existing ideas and their combinations. We also introduce a new method, alternating updates, that enables access to an increased token dimension without increasing the computation time, and demonstrate its effectiveness in language modeling.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 51 references that are in the map. First posted on arXiv 31 Jan 2023.
Builds on
36 of 51 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
24 more
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,274
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2020Efficient Transformers: A Surveycited by 790
- 2021Scaling Vision with Sparse Mixture of Expertscited by 747
- 2014Neural Turing Machinescited by 644
- 2021Carbon Emissions and Large Neural Network Trainingcited by 567
- 2020Beyond English-Centric Multilingual Machine Translationcited by 561
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 320
- 2021Scaling Laws for Transfercited by 272
- 2022Unified Scaling Laws for Routed Language Modelscited by 253
- 2021Hash Layers For Large Sparse Modelscited by 237
- 2022Memorizing Transformerscited by 226
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2022A Review of Sparse Expert Models in Deep Learningcited by 148
- 2019Large Memory Layers with Product Keyscited by 124
- 2021DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learningcited by 115
- 2015Practical and Optimal LSH for Angular Distancecited by 106
- 2021Lost in Pruning: The Effects of Pruning Neural Networks beyond Test Accuracycited by 62
- 2022Towards Understanding Mixture of Experts in Deep Learningcited by 52
- 2015Optimal Data-Dependent Hashing for Approximate Near Neighborscited by 44
- 2022Residual Mixture of Expertscited by 39
- 2013Beyond Locality-Sensitive Hashingcited by 23
- 2022A Theoretical View on Sparsely Activated Networkscited by 6
Built on by
Not cited yet.