How iteration order influences convergence and stability in deep learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Dherin, Benoit, Avelin, Benny, Karlsson, Anders, Mazzawi, Hanna, Gonzalvo, Javier, Munn, Michael
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914426125287424
author Dherin, Benoit
Avelin, Benny
Karlsson, Anders
Mazzawi, Hanna
Gonzalvo, Javier
Munn, Michael
author_facet Dherin, Benoit
Avelin, Benny
Karlsson, Anders
Mazzawi, Hanna
Gonzalvo, Javier
Munn, Michael
contents Despite exceptional achievements, training neural networks remains computationally expensive and is often plagued by instabilities that can degrade convergence. While learning rate schedules can help mitigate these issues, finding optimal schedules is time-consuming and resource-intensive. This work explores theoretical issues concerning training stability in the constant-learning-rate (i.e., without schedule) and small-batch-size regime. Surprisingly, we show that the composition order of gradient updates affects stability and convergence in gradient-based optimizers. We illustrate this new line of thinking using backward-SGD, which produces parameter iterates at each step by reverting the usual forward composition order of batch gradients. Our theoretical analysis shows that in contractive regions (e.g., around minima) backward-SGD converges to a point while the standard forward-SGD generally only converges to a distribution. This leads to improved stability and convergence which we demonstrate experimentally. While full backward-SGD is computationally intensive in practice, it highlights that the extra freedom of modifying the usual iteration composition by reusing creatively previous batches at each optimization step may have important beneficial effects in improving training. Our experiments provide a proof of concept supporting this phenomenon. To our knowledge, this represents a new and unexplored avenue in deep learning optimization.
format Preprint
id arxiv_https___arxiv_org_abs_2502_01557
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle How iteration order influences convergence and stability in deep learning
Dherin, Benoit
Avelin, Benny
Karlsson, Anders
Mazzawi, Hanna
Gonzalvo, Javier
Munn, Michael
Machine Learning
Dynamical Systems
Despite exceptional achievements, training neural networks remains computationally expensive and is often plagued by instabilities that can degrade convergence. While learning rate schedules can help mitigate these issues, finding optimal schedules is time-consuming and resource-intensive. This work explores theoretical issues concerning training stability in the constant-learning-rate (i.e., without schedule) and small-batch-size regime. Surprisingly, we show that the composition order of gradient updates affects stability and convergence in gradient-based optimizers. We illustrate this new line of thinking using backward-SGD, which produces parameter iterates at each step by reverting the usual forward composition order of batch gradients. Our theoretical analysis shows that in contractive regions (e.g., around minima) backward-SGD converges to a point while the standard forward-SGD generally only converges to a distribution. This leads to improved stability and convergence which we demonstrate experimentally. While full backward-SGD is computationally intensive in practice, it highlights that the extra freedom of modifying the usual iteration composition by reusing creatively previous batches at each optimization step may have important beneficial effects in improving training. Our experiments provide a proof of concept supporting this phenomenon. To our knowledge, this represents a new and unexplored avenue in deep learning optimization.
title How iteration order influences convergence and stability in deep learning
topic Machine Learning
Dynamical Systems
url https://arxiv.org/abs/2502.01557