Non-Singularity of the Gradient Descent map for Neural Networks with Piecewise Analytic Activations
Alexandru Crăciun, Debarghya Ghoshdastidar
TL;DR
The paper addresses the gap between theory and practice by proving that the gradient-descent map $G_\eta(\theta)=\theta-\eta\nabla L(\theta)$ is non-singular for neural networks with piecewise analytic activations across realistic architectures (fully connected, convolutional, and attention layers) for almost all step-sizes $\eta$. It does so by showing the empirical loss is almost-everywhere analytic and by establishing a neural-network analogue of the chain rule, ensuring the GD map is invertible except on a measure-zero set of $\eta$; this result extends to SGD via per-step non-singularity and composes to non-singularity of multi-step trajectories. Consequently, prior results on saddle-point avoidance and stability of minima, which rely on non-singularity, now apply in practical deep-learning settings. The findings reinforce the theoretical underpinnings of GD/SGD performance and offer a rigorous basis for analyzing learning dynamics in modern architectures.
Abstract
The theory of training deep networks has become a central question of modern machine learning and has inspired many practical advancements. In particular, the gradient descent (GD) optimization algorithm has been extensively studied in recent years. A key assumption about GD has appeared in several recent works: the \emph{GD map is non-singular} -- it preserves sets of measure zero under preimages. Crucially, this assumption has been used to prove that GD avoids saddle points and maxima, and to establish the existence of a computable quantity that determines the convergence to global minima (both for GD and stochastic GD). However, the current literature either assumes the non-singularity of the GD map or imposes restrictive assumptions, such as Lipschitz smoothness of the loss (for example, Lipschitzness does not hold for deep ReLU networks with the cross-entropy loss) and restricts the analysis to GD with small step-sizes. In this paper, we investigate the neural network map as a function on the space of weights and biases. We also prove, for the first time, the non-singularity of the gradient descent (GD) map on the loss landscape of realistic neural network architectures (with fully connected, convolutional, or softmax attention layers) and piecewise analytic activations (which includes sigmoid, ReLU, leaky ReLU, etc.) for almost all step-sizes. Our work significantly extends the existing results on the convergence of GD and SGD by guaranteeing that they apply to practical neural network settings and has the potential to unlock further exploration of learning dynamics.
