Neural Attention Memory
Not on the map. Why?
Abstract (arXiv)
We propose a novel perspective of the attention mechanism by reinventing it as a memory architecture for neural networks, namely Neural Attention Memory (NAM). NAM is a memory structure that is both readable and writable via differentiable linear algebra operations. We explore three use cases of NAM: memory-augmented neural network (MANN), few-shot learning, and efficient long-range attention. First, we design two NAM-based MANNs of Long Short-term Memory (LSAM) and NAM Turing Machine (NAM-TM) that show better computational powers in algorithmic zero-shot generalization tasks compared to other baselines such as differentiable neural computer (DNC). Next, we apply NAM to the N-way K-shot learning task and show that it is more effective at reducing false positives compared to the baseline cosine classifier. Finally, we implement an efficient Transformer with NAM and evaluate it with long-range arena tasks to show that NAM can be an efficient and effective alternative for scaled dot-product attention.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 24 of its 30 references that are in the map. First posted on arXiv 18 Feb 2023.
Builds on
24 of 30 references.
References · 24
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
12 more
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2018Universal Transformerscited by 647
- 2014Neural Turing Machinescited by 644
- 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 70
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2021Few-Shot and Continual Learning with Attentive Independent Mechanismscited by 13
- 2018Number Sequence Prediction Problems for Evaluating Computational Powers of Neural Networkscited by 6
- 2021Neural Sequence-to-grid Module for Learning Symbolic Rulescited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025A New Perspective On AI Safety Through Control Theory Methodologiescited by 1
- 2026Continuous Memory Machinescited by 0
- 2026Continuous Memory Machines6 Oct 2026
- 2025A New Perspective On AI Safety Through Control Theory Methodologies30 Jun 2025