AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems
Not on the map. Why?
Abstract (arXiv)
Transformer models gain popularity because of their superior inference accuracy and inference throughput. However, the transformer is computation-intensive, causing a long inference time. The existing works on transformer inference acceleration have limitations caused by either the modification of transformer architectures or the need of specialized hardware. In this paper, we identify the opportunities of using memoization to accelerate the self-attention mechanism in transformers without the above limitations. Built upon a unique observation that there is rich similarity in attention computation across inference sequences, we build a memoization database that leverages the emerging big memory system. We introduce a novel embedding technique to find semantically similar inputs to identify computation similarity. We also introduce a series of techniques such as memory mapping and selective memoization to avoid memory copy and unnecessary overhead. We enable 22% inference-latency reduction on average (up to 68%) with negligible loss in inference accuracy.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 35 of its 65 references that are in the map. First posted on arXiv 23 Jan 2023.
Builds on
35 of 65 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2020Reformer: The Efficient Transformercited by 1,658
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
23 more
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2019Adaptive Attention Span in Transformerscited by 148
- 2021Learned Token Pruning for Transformerscited by 138
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2019Polysemous Visual-Semantic Embedding for Cross-Modal Retrievalcited by 83
- 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
- 2021Prune Once for All: Sparse Pre-Trained Language Modelscited by 66
- 2016Selective Convolutional Descriptor Aggregation for Fine-Grained Image Retrievalcited by 44
- 2021Rethinking Network Pruning -- under the Pre-train and Fine-tune Paradigmcited by 40
- 2021TR-BERT: Dynamic Token Reduction for Accelerating BERT Inferencecited by 40
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
- 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
- 2020DeFormer: Decomposing Pre-trained Transformers for Faster Question Answeringcited by 29
- 2020FastFormers: Highly Efficient Transformer Models for Natural Language Understandingcited by 28
- 2021Optimizing Inference Performance of Transformers on CPUscited by 7
- 2021Linear-Time Self Attention with Codeword Histogram for Efficient Recommendationcited by 7
- 2021Dynamic-TinyBERT: Boost TinyBERT's Inference Efficiency by Dynamic Sequence Lengthcited by 4
Built on by
Citing papers per year: 2023: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers
- 2025Rethinking LLM Inference Bottlenecks: Insights from Latent Attention and Mixture-of-Experts
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2026Bridging KV-Cache Quantization and Linear Attention: From Theory to Pretrained Weight Migration
- 2026Keyless Attention: Value-Space Routing and Value-Only Caching for Efficient Transformers
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models
- 2026LOOKAT: Lookup-Optimized Key-Attention for Memory-Efficient Transformers