Deep learning theory usually proves training settles under an assumption deep networks can break
For one class of networks, deep linear ones, we dropped that assumption and proved training settles anyway, given a strong penalty on large weights and step sizes you can compute before training starts.
Deep learning theory usually proves training settles under an assumption deep networks can break. For one specific class of networks, we dropped that assumption and proved training settles, given a strong weight penalty and computable step sizes.
Why it matters
Nearly all deep learning runs on one recipe: show the model a random batch of examples, nudge it, repeat.
The classic guarantee assumes each nudge changes size at a limited rate, like an accelerator with capped sensitivity. In many deep networks, the sensitivity can grow uncapped.
Google reported about 20 training-error spikes in its largest PaLM language model, despite a standard safeguard. The team rewound to a saved copy and skipped hundreds of data batches.
In a new manuscript, we prove a simplified deep network, trained with a strong penalty on large weights and nudges that shrink over time, keeps its weights bounded on every run, and its penalized error levels off with probability one. The proof covers the simplest networks. Early tests on a slightly richer one behaved the same way. Models like PaLM remain out of reach.
For this setup, a ceiling on the weights can be calculated before training.
How it works
In depth-N linear networks with squared loss, the gradient can grow like ‖W‖^(2N−1), faster than any Lipschitz bound allows. Zhang et al. measured smoothness rising with gradient norm in LSTM and ResNet training, the basis of their clipping theory.
Our tool, Benaïm’s stochastic-approximation theory, needs bounded iterates. Standard analyses get them from the Lipschitz assumption, which fails here. So we proved boundedness directly:
- Penalty λ(½‖W‖²)^β, β ≥ N (λ large enough if β = N): beyond a radius set by data and penalty, it pulls toward zero harder than any mini-batch pushes out.
- Step sizes fixed in advance (from data, penalty, initial weights and decay schedule) or adaptive, shrinking as weights grow: clipping’s cousin, keyed to weight size. A looser, cheap ceiling needs only the largest example’s size.
As steps decay, SGD eventually tracks the gradient flow: the regularized loss converges; iterates approach its critical set.
On synthetic data, depth-3 and depth-4 weight norms stayed in a fixed range even outside our conditions, so the guarantee looks conservative. So did runs with a tanh output layer.
Limits: the proof is on linear networks. For large weights, the penalty far outgrows weight decay (its β = 1 case). Saddle points aren’t ruled out; a minimum isn’t proven. The unpenalized case is open.
That’s how I work on training problems: find the assumption a guarantee rests on, prove what’s needed without it, then test inside and outside the proven conditions.
The image shows per-layer weight norms. When a run blows up, what do you reach for first, a smaller step or a stronger penalty?