mlsanityData to 7 Oct 2026

LaMemo: Language Modeling with Look-Ahead Memory

arXiv 2204.07341 ↗First posted 15 Apr 2022cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Although Transformers with fully connected self-attentions are powerful to model long-term dependencies, they are struggling to scale to long texts with thousands of words in language modeling. One of the solutions is to equip the model with a recurrence memory. However, existing approaches directly reuse hidden states from the previous segment that encodes contexts in a uni-directional way. As a result, this prohibits the memory to dynamically interact with the current context that provides up-to-date information for token prediction. To remedy this issue, we propose Look-Ahead Memory (LaMemo) that enhances the recurrence memory by incrementally attending to the right-side tokens, and interpolating with the old memory states to maintain long-term information in the history. LaMemo embraces bi-directional attention and segment recurrence with an additional computation overhead only linearly proportional to the memory length. Experiments on widely used language modeling benchmarks demonstrate its superiority over the baselines equipped with different types of memory.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 15 Apr 2022.

Builds on

27 of 35 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2016Layer Normalizationcited by 5,579
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  12. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
15 more
  1. 2018Self-Attention with Relative Position Representationscited by 1,112
  2. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  3. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  4. 2014Neural Turing Machinescited by 630
  5. 2014Memory Networkscited by 354
  6. 2021Random Feature Attentioncited by 350
  7. 2018Long-Term Feature Banks for Detailed Video Understandingcited by 239
  8. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  9. 2019Adaptively Sparse Transformerscited by 154
  10. 2019Adaptive Attention Span in Transformerscited by 148
  11. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  12. 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
  13. 2021Simple Local Attentions Remain Competitive for Long-Context Taskscited by 25
  14. 2021DiscoDVT: Generating Long Text with Discourse-Aware Discrete Variational Transformercited by 14
  15. 2021∞-former: Infinite Memory Transformercited by 7

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 1; 2024: 0; 2025: 2.

4 papers.