Exploring Silent Data Corruption as a Reliability Challenge in LLM Training
Organizations: Technische Universität Berlin, Berlin, Germany
Abstract
As Large Language Models (LLMs) scale in size and complexity, the consequences of failures during training become increasingly severe. A major challenge arises from Silent Data Corruption (SDC): hardware-induced faults that bypass system-level detection mechanisms. SDC may behave like benign numerical noise, but can also cause harmful gradient corruption that leads to loss spikes, divergence, or stalled progress. This work provides a controlled study of how intermittent SDC affects LLM pretraining. Using targeted fault injection at the level of GPU matrix-multiply instructions, we characterize the sensitivity of different bit positions, kernel functions, and execution stages. Our analysis shows that locally originating faults can produce impactful corruption, including NaN propagation, short-lived spikes in loss, gradient norm, and attention logits, as well as persistent parameter divergence. Building on the observed corruption signatures, we propose a lightweight detection method that identifies potentially harmful parameter updates. Experiments on LLaMA models with 60M, 350M, and 1.3B parameters demonstrate that recomputing the most recent training step upon detection can effectively mitigate the impact of these events.
Figures & tables
| Model Size | 60 M | 350 M | 1.3 B |
|---|---|---|---|
| (12 seeds) | (6 seeds) | (3 seeds) | |
| Baseline Runs | |||
| Runs with Fault Injection | |||
| Runs with Recomputation | |||
| Runtime w/o Detection | 0.98 s/it | 3.93 s/it | 11.61 s/it |
| Runtime w Detection | 0.99 s/it | 3.95 s/it | 11.68 s/it |
LLM Reliability
Large language model reliability studies whether outputs remain correct, calibrated, robust, and controllable across prompts, contexts, and deployment conditions.
See all 787 papers