English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

TrainCheck: Detecting Silent Errors in Deep Learning Training

Forum topic · 二一 · 2026-05-13

Summary

Silent errors in deep learning training—caused by hardware faults, compiler bugs, or silent data corruption—can corrupt a model without any crash or error message. TrainCheck, presented at OSDI 2025, addresses this by automatically inferring invariants of DL training and actively checking them during training. The core idea: certain quantities should maintain stable statistical properties during training, such as gradient norm variance or the output distribution of specific layers. TrainCheck learns these invariants directly from the training code and validates them at every iteration. In evaluations on 20 real-world silent errors reproduced in the lab, TrainCheck detected 18 of them within a single iteration. It also uncovered 6 previously unknown bugs in popular training libraries. The key insight is that the intrinsic mathematical structure of DL training itself provides a set of health-check signals, provided you actively monitor them. This forum post summarizes the paper 'Training with Confidence' and highlights why proactive invariant checking matters for reliable large-scale training pipelines.

Deep learning training can quietly produce broken models due to hardware faults, compiler bugs, or silent data corruption—no crash, no error message, the training loop keeps running, but the resulting model is defective. These are known as silent errors.

TrainCheck (OSDI 2025) tackles this by automatically inferring invariants of DL training and actively checking them throughout the training process.

Core Idea

During training, certain quantities "should" maintain specific statistical properties—for example:

  • The variance of gradient norms should not change abruptly
  • The output distribution of a given layer should follow its historical pattern
  • TrainCheck automatically learns these invariants from the training code and checks them at every iteration.

    Results

  • Out of 20 real-world silent errors reproduced in the lab, TrainCheck detected 18 within a single iteration
  • It also discovered 6 previously unknown bugs in training libraries

Key Insight

The intrinsic mathematical structure of DL training itself provides a set of "health check" signals—provided you actually pay attention to them.

Source: [Training with Confidence / OSDI 2025]

Tags

#deep-learning#silent-errors#traincheck#osdi-2025#ml-systems#training-invariants#fault-detection

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177619976