mlsanityData to 14 Oct 2026

ATTNChecker: Highly-Optimized Fault Tolerant Attention for Large Language Model Training

arXiv 2410.11720 ↗First posted 15 Oct 2024cs.DC cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated remarkable performance in various natural language processing tasks. However, the training of these models is computationally intensive and susceptible to faults, particularly in the attention mechanism, which is a critical component of transformer-based LLMs. In this paper, we investigate the impact of faults on LLM training, focusing on INF, NaN, and near-INF values in the computation results with systematic fault injection experiments. We observe the propagation patterns of these errors, which can trigger non-trainable states in the model and disrupt training, forcing the procedure to load from checkpoints. To mitigate the impact of these faults, we propose ATTNChecker, the first Algorithm-Based Fault Tolerance (ABFT) technique tailored for the attention mechanism in LLMs. ATTNChecker is designed based on fault propagation patterns of LLM and incorporates performance optimization to adapt to both system reliability and model vulnerability while providing lightweight protection for fast LLM training. Evaluations on four LLMs show that ATTNChecker incurs on average 7% overhead on training while detecting and correcting all extreme errors. Compared with the state-of-the-art checkpoint/restore approach, ATTNChecker reduces recovery overhead by up to 49x.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 17 of its 49 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

17 of 49 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  7. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  8. 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 112
  9. 2021Learning Rate Optimization for Federated Learning Exploiting Over-the-air Computationcited by 29
  10. 2020FT-CNN: Algorithm-Based Fault Tolerance for Convolutional Neural Networkscited by 21
  11. 2023TRANSOM: An Efficient Fault-Tolerant System for Training LLMscited by 13
  12. 2022Detecting silent data corruptions in the wildcited by 7
5 more
  1. 2020Accelerating Multigrid-based Hierarchical Scientific Data Refactoring on GPUscited by 5
  2. 2021Efficient Soft-Error Detection for Low-precision Deep Learning Recommendation Modelscited by 4
  3. 2018FlipTracker: Understanding Natural Error Resilience in HPC Applicationscited by 2
  4. 2023Improving Energy Saving of One-sided Matrix Decompositions on CPU-GPU Heterogeneous Systemscited by 2
  5. 2024Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platformscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 8.

12 papers.