mlsanityData to 14 Oct 2026

First Attentions Last: Better Exploiting First Attentions for Efficient Transformer Training

arXiv 2510.14614 ↗First posted 16 Oct 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

As training billion-scale transformers becomes increasingly common, employing multiple distributed GPUs along with parallel training methods has become a standard practice. However, existing transformer designs suffer from significant communication overhead, especially in Tensor Parallelism (TP), where each block's MHA-MLP connection requires an all-reduce communication. Through our investigation, we show that the MHA-MLP connections can be bypassed for efficiency, while the attention output of the first layer can serve as an alternative signal for the bypassed connection. Motivated by the observations, we propose FAL (First Attentions Last), an efficient transformer architecture that redirects the first MHA output to the MLP inputs of the following layers, eliminating the per-block MHA-MLP connections. This removes the all-reduce communication and enables parallel execution of MHA and MLP on a single GPU. We also introduce FAL+, which adds the normalized first attention output to the MHA outputs of the following layers to augment the MLP input for the model quality. Our evaluation shows that FAL reduces multi-GPU training time by up to 44%, improves single-GPU throughput by up to 1.18x, and achieves better perplexity compared to the baseline GPT. FAL+ achieves even lower perplexity without increasing the training time than the baseline. Codes are available at: https://github.com/CASL-KU/FAL

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 51 of its 78 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

51 of 78 references.

References · 51

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2016Densely Connected Convolutional Networkscited by 6,720
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2016Layer Normalizationcited by 5,669
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  11. 2016Pointer Sentinel Mixture Modelscited by 3,096
  12. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
38 more
  1. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  2. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  3. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  5. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  6. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  7. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  8. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  9. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,330
  10. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  11. 2017Mixed Precision Trainingcited by 1,156
  12. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  13. 2020On Layer Normalization in the Transformer Architecturecited by 922
  14. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  15. 2022Efficiently Scaling Transformer Inferencecited by 539
  16. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
  17. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
  18. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  19. 2018An Empirical Model of Large-Batch Trainingcited by 281
  20. 2017Sparse Communication for Distributed Gradient Descentcited by 249
  21. 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 245
  22. 2019PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimizationcited by 238
  23. 2020Understanding the Difficulty of Training Transformerscited by 210
  24. 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 200
  25. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
  26. 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 117
  27. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  28. 2021Scale Efficiently: Insights from Pre-training and Fine-tuning Transformerscited by 106
  29. 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
  30. 2021Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Trainingcited by 96
  31. 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
  32. 2023Simplifying Transformer Blockscited by 37
  33. 2024Investigating Layer Importance in Large Language Modelscited by 36
  34. 2018Parallax: Sparsity-aware Data Parallel Training of Deep Neural Networkscited by 19
  35. 2023Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication Compressioncited by 15
  36. 2024How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regressioncited by 14
  37. 2020The Case for Strong Scaling in Deep Learning: Training Large 3D CNNs with Hybrid Parallelismcited by 11
  38. 2024Not All Adapters Matter: Selective Adapter Freezing for Memory-Efficient Fine-Tuning of Language Modelscited by 5

50 most cited of 51 All 51 (JSON)

Built on by

Not cited yet.