mlsanityData to 7 Oct 2026

An Evolved Universal Transformer Memory

arXiv 2410.13166 ↗First posted 17 Oct 2024cs.LG cs.AI cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Prior methods propose to offset the escalating costs of modern foundation models by dropping specific parts of their contexts with hand-designed rules, while attempting to preserve their original performance. We overcome this trade-off with Neural Attention Memory Models (NAMMs), introducing a learned network for memory management that improves both the performance and efficiency of transformers. We evolve NAMMs atop pre-trained transformers to provide different latent contexts focusing on the most relevant information for individual layers and attention heads. NAMMs are universally applicable to any model using self-attention as they condition exclusively on the values in the produced attention matrices. Learning NAMMs on a small set of problems, we achieve substantial performance improvements across multiple long-context benchmarks while cutting the model's input contexts up to a fraction of the original sizes. We show the generality of our conditioning enables zero-shot transfer of NAMMs trained only on language to entirely new transformer architectures even across input modalities, with their benefits carrying over to vision and reinforcement learning.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 48 of its 66 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

48 of 66 references.

References · 48

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2024The Llama 3 Herd of Modelscited by 14,192
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2023RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Controlcited by 2,993
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  10. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
36 more
  1. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  3. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  6. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  7. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  8. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  9. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  10. 2023A decoder-only foundation model for time-series forecastingcited by 650
  11. 2024LongVideoBench: A Benchmark for Long-context Interleaved Video-Language Understandingcited by 644
  12. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  13. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
  14. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
  15. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
  16. 2014Memory Networkscited by 354
  17. 2021Random Feature Attentioncited by 350
  18. 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 350
  19. 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 275
  20. 2024Evolutionary Optimization of Model Merging Recipescited by 204
  21. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  22. 2019The Evolved Transformercited by 180
  23. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
  24. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 122
  25. 2019Large Memory Layers with Product Keyscited by 120
  26. 2024Transformers are Multi-State RNNscited by 120
  27. 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 102
  28. 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 96
  29. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 84
  30. 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
  31. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
  32. 2024QAQ: Quality Adaptive Quantization for LLM KV Cachecited by 66
  33. 2021The Sensory Neuron as a Transformer: Permutation-Invariant Neural Networks for Reinforcement Learningcited by 50
  34. 2016Scaling Memory-Augmented Neural Networks with Sparse Reads and Writescited by 28
  35. 2024TransformerFAM: Feedback attention is working memorycited by 21
  36. 2024SirLLM: Streaming Infinite Retentive LLMcited by 16

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.