mlsanityData to 14 Oct 2026

Neural Attention Memory

arXiv 2302.09422 ↗First posted 18 Feb 2023cs.LGcited by 2

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2017Inductive Representation Learning on Large Graphscited by 6,320
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2016Matching Networks for One Shot Learningcited by 2,255
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  10. 2020Reformer: The Efficient Transformercited by 1,668
  11. 2020Rethinking Attention with Performerscited by 1,601
  12. 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
12 more
  1. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  2. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  3. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  4. 2018Universal Transformerscited by 647
  5. 2014Neural Turing Machinescited by 644
  6. 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
  7. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  8. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 70
  9. 2015Learning to Transduce with Unbounded Memorycited by 54
  10. 2021Few-Shot and Continual Learning with Attentive Independent Mechanismscited by 13
  11. 2018Number Sequence Prediction Problems for Evaluating Computational Powers of Neural Networkscited by 6
  12. 2021Neural Sequence-to-grid Module for Learning Symbolic Rulescited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.