Abstract
When and why can a neural network be successfully trained? This article provides an overview of optimization algorithms and theory for training neural networks. First, we discuss the issue of gradient explosion/vanishing and the more general issue of undesirable spectrum, and then discuss practical solutions including careful initialization and normalization methods. Second, we review generic optimization methods used in training neural networks, such as SGD, adaptive gradient methods and distributed methods, and theoretical results for these algorithms. Third, we review existing research on the global issues of neural network training, including results on bad local minima, mode connectivity, lottery ticket hypothesis and infinite-width analysis.
Introduction
Training deep neural networks (DNNs) presents a significant challenge from a classical optimization perspective. The objective functions are highly non-convex, and the optimization landscape is typically characterized by saddle points and local minima. Despite these theoretical hurdles, modern deep learning routinely achieves success in training models with hundreds of layers. This survey explores the fundamental question: When and why can a neural network be successfully trained? It bridges the gap between empirical "tricks" used in practice and the rigorous mathematical theory explaining their efficacy.
Optimization Techniques and Their Theoretical Roles
The success of deep learning optimization can be attributed to a combination of neural-network-specific architectural choices and generic optimization algorithms. These techniques generally aim to control the Lipschitz constant of the network, accelerate convergence, or improve the optimization landscape.
Neural-net Specific Strategies
- Initialization: Methods like Xavier (Glorot) and Kaiming (He) initialization are designed to maintain signal variance across layers, preventing gradient vanishing or explosion by ensuring the Jacobian's singular values remain near unity—a concept known as Dynamical Isometry.
- Normalization: Techniques such as Batch Normalization (BatchNorm) stabilize the internal covariate shift and modify the landscape to support significantly higher learning rates.
- Architecture: Skip connections (e.g., ResNet) are pivotal in breaking symmetry and smoothing the loss landscape, facilitating the training of ultra-deep architectures.
Generic Optimization Algorithms
The paper reviews the evolution of Stochastic Gradient Descent (SGD) and its variants. While standard SGD remains a workhorse, adaptive methods like Adam, RMSProp, and AdaGrad have become standard for their ability to handle sparse gradients and varying scales. Furthermore, the survey discusses the scaling laws of distributed SGD, where techniques like linear learning rate scaling have reduced training times on ImageNet from days to minutes.
Global Optimization and the Role of Over-parameterization
A central theme in recent theory is the impact of over-parameterization—where the number of parameters exceeds the number of training samples.
- Neural Tangent Kernel (NTK): In the "infinite-width" limit, networks exhibit "lazy training" behavior, where weights move minimally from initialization. In this regime, the network behaves like a linear model, allowing for proofs of convergence to global minima.
- Landscape Smoothing: Theory suggests that over-parameterization effectively "smooths" the optimization landscape, making it easier for simple first-order methods like SGD to find high-quality solutions.
- Mode Connectivity: Empirical evidence suggests that different global minima found by SGD are not isolated but are often connected by paths of nearly constant low loss, indicating a more benign global structure than previously thought.
Challenges and Future Directions
Despite significant progress, several gaps remain between theory and practice:
- Predictive Power: Current theoretical frameworks are largely "post-hoc," explaining existing successes rather than guiding the design of novel architectures.
- Finite vs. Infinite Width: There remains a performance gap between the theoretical NTK models and the finite-width networks used in practice.
- Generalization vs. Optimization: While we can often find global minima (optimization), understanding why these specific minima generalize well to unseen data remains a primary frontier in deep learning research.
Summary updated