Understanding Silent Data Corruption in LLM Training
Preprint
Abstract
As the scale of training large language models (LLMs) increases, one emergent failure is silent data corruption (SDC), where hardware produces incorrect computations without explicit failure signals. In this work, we are the first to investigate the impact of real-world SDCs on LLM training by comparing model training between healthy production nodes and unhealthy nodes exhibiting SDCs. With the help from a cloud computing platform, we access the unhealthy nodes that were swept out from production by automated fleet management. Using deterministic execution via XLA compiler and our proposed synchronization mechanisms, we isolate and analyze the impact of SDC errors on these nodes at three levels: at each submodule computation, at a single optimizer step, and at a training period. Our results reveal that the impact of SDCs on computation varies on different unhealthy nodes. Although in most cases the perturbations from SDCs on submodule computation and gradients are relatively small, SDCs can lead models to converge to different optima with different weights and even cause spikes in the training loss. Our analysis sheds light on further understanding and mitigating the impact of SDCs.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Silent Data Corruption in Robot Operating System: A Case for End-to-End System-Level Fault Analysis Using Autonomous UAVsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2023
- FT-BLAS: A Fault Tolerant High Performance BLAS Implementation on x86 CPUsIEEE Transactions on Parallel and Distributed Systems, 2023
- Silent Data Corruptions: The Stealthy Saboteurs of Digital Integrity2023
- Understanding Permanent Hardware Failures in Deep Learning Training Accelerator Systems2023
- Arithmetic-intensity-guided fault tolerance for neural network inference on GPUs2021
- Algorithm-Based Fault Tolerance for Convolutional Neural NetworksIEEE Transactions on Parallel and Distributed Systems, 2020
- ZeRO: Memory optimizations Toward Training Trillion Parameter Models2020
- Understanding error propagation in deep learning neural network (DNN) accelerators and applications2017
- Silent Data Corruption Resilient Two-sided Matrix Factorizations2017
- On-line soft error correction in matrix–matrix multiplicationJournal of Computational Science, 2013