Differentiable Random Access Memory using Lattices
Adam P. Goucher, Rajan Troll

TL;DR
This paper presents a differentiable memory module that scales efficiently to billions of entries using lattice structures, improving neural network capacity and accuracy in large language models without significant computational costs.
Contribution
Introduces a novel differentiable random access memory using lattice points for efficient nearest neighbor computation, enabling scalable neural network architectures.
Findings
Memory module scales to billions of entries with O(1) performance.
Enhanced models outperform baseline transformers on large language tasks.
Memory size scaling continues to improve performance.
Abstract
We introduce a differentiable random access memory module with performance regardless of size, scaling to billions of entries. The design stores entries on points of a chosen lattice to calculate nearest neighbours of arbitrary points efficiently by exploiting symmetries. Augmenting a standard neural network architecture with a single memory layer based on this, we can scale the parameter count up to memory limits with negligible computational overhead, giving better accuracy at similar cost. On large language modelling tasks, these enhanced models with larger capacity significantly outperform the unmodified transformer baseline. We found continued scaling with memory size up to the limits tested.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Speech Recognition and Synthesis
