LazyFormer: Self Attention with Lazy Update
Not on the map. Why?
Abstract (arXiv)
Improving the efficiency of Transformer-based language pre-training is an important task in NLP, especially for the self-attention module, which is computationally expensive. In this paper, we propose a simple but effective solution, called LazyFormer, which computes the self-attention distribution infrequently. LazyFormer composes of multiple lazy blocks, each of which contains multiple Transformer layers. In each lazy block, the self-attention distribution is only computed once in the first layer and then is reused in all upper layers. In this way, the cost of computation could be largely saved. We also provide several training tricks for LazyFormer. Extensive experiments demonstrate the effectiveness of the proposed method.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 20 of its 25 references that are in the map. First posted on arXiv 25 Feb 2021.
Builds on
20 of 25 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 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
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
8 more
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2017Mixed Precision Trainingcited by 1,135
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
- 2019Sharing Attention Weights for Fast Transformercited by 34
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 3; 2024: 4; 2025: 3; 2026: 2.
16 papers.
Sort:
By area:
- 2021A Survey of Transformerscited by 399
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharingcited by 38
- 2023Skip-Attention: Improving Vision Transformers by Paying Less Attentioncited by 23
- 2021LightSeq2: Accelerated Training for Transformer-based Models on GPUscited by 19
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
- 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inferencecited by 9
- 2024Head-wise Shareable Attention for Large Language Modelscited by 4
- 2024Adaptive Patching for High-resolution Image Segmentation with Transformerscited by 4
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3
- 2023Ultra-Long Sequence Distributed Transformercited by 3
- 2024EchoAtt: Attend, Copy, then Adjust for More Efficient Large Language Modelscited by 2
4 more
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cachecited by 2
- 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computingcited by 2
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processescited by 1
- 2026EPAS: Efficient Training with Progressive Activation Sharingcited by 0
- 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing20 Apr 2026
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
- 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inference18 Dec 2025
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cache29 Oct 2025
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processes10 Jun 2025
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing24 Oct 2024
- 2024EchoAtt: Attend, Copy, then Adjust for More Efficient Large Language Models22 Sep 2024
- 2024Adaptive Patching for High-resolution Image Segmentation with Transformers15 Apr 2024
- 2024Head-wise Shareable Attention for Large Language Models19 Feb 2024
- 2023Ultra-Long Sequence Distributed Transformer4 Nov 2023
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networks29 Jan 2023
- 2023Skip-Attention: Improving Vision Transformers by Paying Less Attention5 Jan 2023
4 more
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling14 Oct 2022
- 2021LightSeq2: Accelerated Training for Transformer-based Models on GPUs12 Oct 2021
- 2021Do Transformers Really Perform Bad for Graph Representation?9 Jun 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021A Survey of Transformerscited by 399
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2023Skip-Attention: Improving Vision Transformers by Paying Less Attentioncited by 23
- 2021LightSeq2: Accelerated Training for Transformer-based Models on GPUscited by 19
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
- 2024Head-wise Shareable Attention for Large Language Modelscited by 4
- 2024Adaptive Patching for High-resolution Image Segmentation with Transformerscited by 4
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3
- 2023Ultra-Long Sequence Distributed Transformercited by 3
- 2024EchoAtt: Attend, Copy, then Adjust for More Efficient Large Language Modelscited by 2
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cachecited by 2
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processescited by 1
12 most cited of 13 All 13 (JSON)
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cache29 Oct 2025
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processes10 Jun 2025
- 2024EchoAtt: Attend, Copy, then Adjust for More Efficient Large Language Models22 Sep 2024
- 2024Adaptive Patching for High-resolution Image Segmentation with Transformers15 Apr 2024
- 2024Head-wise Shareable Attention for Large Language Models19 Feb 2024
- 2023Ultra-Long Sequence Distributed Transformer4 Nov 2023
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networks29 Jan 2023
- 2023Skip-Attention: Improving Vision Transformers by Paying Less Attention5 Jan 2023
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling14 Oct 2022
- 2021LightSeq2: Accelerated Training for Transformer-based Models on GPUs12 Oct 2021
- 2021Do Transformers Really Perform Bad for Graph Representation?9 Jun 2021
12 newest of 13 All 13 (JSON)