Automatic Stability and Recovery for Neural Network Training
Barak Or
TL;DR
This work tackles training instability in modern neural networks by introducing a runtime stability controller that sits above the optimizer and uses an external innovation signal from secondary measurements to decide whether to accept updates or rollback. By treating training as a controlled stochastic process and decoupling stability monitoring from the optimizer, it provides runtime safety guarantees including bounded degradation and one-step recovery from destabilizing updates. The method is optimizer-agnostic, incurs modest overhead, and demonstrates robust recovery and improved reliability across vision and transformer models, including under controlled catastrophic perturbations. These findings suggest a practical, self-healing paradigm for training pipelines, reducing wasted compute and manual interventions without modifying standard optimization rules.
Abstract
Training modern neural networks is increasingly fragile, with rare but severe destabilizing updates often causing irreversible divergence or silent performance degradation. Existing optimization methods primarily rely on preventive mechanisms embedded within the optimizer, offering limited ability to detect and recover from instability once it occurs. We introduce a supervisory runtime stability framework that treats optimization as a controlled stochastic process. By isolating an innovation signal derived from secondary measurements, such as validation probes, the framework enables automatic detection and recovery from destabilizing updates without modifying the underlying optimizer. We provide theoretical runtime safety guarantees that formalize bounded degradation and recovery. Our implementation incurs minimal overhead and is compatible with memory-constrained training settings.
