Abstract
Inertial algorithms for minimizing nonsmooth and nonconvex functions, such as the inertial proximal alternating linearized minimization algorithm (iPALM), have demonstrated superior computation times compared to their non-inertial variants. In many imaging and machine learning problems, objective functions involve massive datasets, necessitating the use of stochastic algorithms. While stochastic gradient descent (SGD) remains the standard, recent developments have introduced stochastic methods for nonsmooth, nonconvex optimization. In this paper, we derive an inertial variant of a stochastic PALM algorithm utilizing a variance-reduced gradient estimator, termed iSPALM. We prove the linear convergence of the algorithm under specific assumptions. Our inertial approach generalizes momentum methods—widely used to stabilize and accelerate optimization in machine learning—to the nonsmooth regime. Numerical experiments involving the training of proximal neural networks and Student-t mixture models demonstrate that iSPALM outperforms both stochastic PALM and its deterministic counterparts.
Introduction
Modern machine learning models often require the optimization of objective functions that are both non-convex and non-smooth. Non-convexity arises naturally in deep learning architectures, while non-smoothness is frequently introduced through regularization (e.g., $L_1$ penalties) or hard constraints (e.g., requiring weight matrices to be orthonormal). Furthermore, the sheer scale of modern datasets makes deterministic optimization—where the full gradient is calculated at every step—computationally prohibitive.
To address these challenges, researchers have developed the Proximal Alternating Linearized Minimization (PALM) framework. While PALM is effective for non-smooth, non-convex problems, its standard form is deterministic. Recent stochastic adaptations like SPRING have improved scalability but lack the "inertia" (momentum) that allows optimizers to traverse flat regions of the loss landscape efficiently. This paper introduces iSPALM, an algorithm that bridges this gap by combining inertial acceleration with stochastic variance reduction.
The iSPALM Framework
iSPALM is built upon three foundational optimization concepts:
- Proximal Alternating Minimization: The algorithm updates variables in blocks (e.g., weights then biases). It employs proximal mappings to handle non-smooth components of the objective function, allowing for the direct optimization of constrained or regularized models.
- Inertia (Momentum): By incorporating terms from previous iterations $(x^k - x^{k-1})$, iSPALM mimics the behavior of Nesterov’s Accelerated Gradient. This helps the optimizer maintain velocity through saddle points and reduces oscillations in narrow valleys.
- SARAH (Stochastic Recursive Gradient Algorithm): To mitigate the noise inherent in mini-batch sampling, iSPALM uses the SARAH variance-reduction technique. Unlike standard SGD, SARAH periodically computes a full gradient and uses recursive updates to ensure the stochastic estimates remain accurate as the algorithm approaches a local optimum.
Theoretical Convergence
A significant contribution of this work is the formal proof of linear convergence. By leveraging the Kurdyka-Łojasiewicz (KL) property—a mathematical condition satisfied by most functions encountered in machine learning—the authors demonstrate that iSPALM is guaranteed to converge to a stationary point at a linear rate under specific step-size conditions.
Experimental Evaluation
The researchers evaluated iSPALM against existing state-of-the-art optimizers in two distinct scenarios:
1. Robust Statistical Modeling: Student-t Mixture Models
Student-t mixture models are used for clustering data that contains outliers, as the Student-t distribution has "heavier tails" than a Gaussian distribution. Testing on a synthetic dataset of 200,000 points in 10 dimensions, iSPALM converged significantly faster than the deterministic iPALM and the non-inertial SPRING algorithm. The combination of inertia and variance reduction allowed the model to identify cluster parameters with fewer passes over the data.
2. Constrained Deep Learning: Proximal Neural Networks (PNNs)
PNNs are a class of neural networks where weights are constrained to stay on a Stiefel manifold (orthonormal weights). This constraint improves the stability of the network and its robustness against adversarial attacks but makes optimization difficult. Using the MNIST dataset of handwritten digits, iSPALM achieved an average test accuracy of 98.5%. Notably, iSPALM demonstrated a much faster decay in the "generalized gradient" (an optimality measure) compared to its competitors, proving its efficiency in handling complex manifold constraints.
Discussion and Insights
The success of iSPALM highlights the importance of integrating classical optimization acceleration (inertia) with modern stochastic techniques (variance reduction). The authors found that enforcing a full gradient evaluation at the start of each epoch was a critical "stability trick" that prevented the stochastic noise from destabilizing the inertial terms.
However, iSPALM is not without its challenges. The algorithm introduces several hyperparameters, including step sizes and inertial weights, which require careful tuning. Additionally, while the results on PNNs are promising, further research is required to determine how iSPALM scales to much deeper architectures, such as ResNets or Transformers, where the computational overhead of variance reduction must be balanced against the gains in convergence speed.
Conclusion
iSPALM represents a robust advancement in non-smooth, non-convex optimization. By providing a mathematically sound framework that incorporates momentum into a stochastic, proximal setting, it offers a powerful alternative for training the next generation of constrained and robust machine learning models.
Summary updated