Inertial Stochastic PALM and its Application for Learning Student-t Mixture Models

Johannes Hertrich, Gabriele Steidl · DOI

Abstract

Optimizing nonsmooth and nonconvex functions is a fundamental challenge in modern machine learning and image processing. While the Inertial Proximal Alternating Linearized Minimization (iPALM) algorithm has proven effective for these landscapes, its deterministic nature makes it computationally expensive for large datasets. This paper introduces iSPALM (Inertial Stochastic PALM), an algorithm that integrates inertial acceleration with stochastic variance-reduced gradient estimators. We demonstrate that iSPALM achieves linear convergence under specific conditions and significantly outperforms existing deterministic and stochastic benchmarks in tasks such as training Proximal Neural Networks and fitting Student-t mixture models.

Introduction

In the era of big data, optimization algorithms must balance two competing needs: the ability to handle complex, nonsmooth objective functions (such as those containing ReLU activations or hard constraints) and the efficiency to process millions of data points.

Traditional tools like the PALM algorithm are robust for nonsmooth, nonconvex problems but require a full pass over the dataset for every update, making them impractical for large-scale applications. Conversely, stochastic methods like SPRING handle large datasets efficiently but lack the "momentum" or inertial boost that has made algorithms like Adam indispensable in deep learning. iSPALM bridges this gap by combining the stability of proximal mappings with the speed of inertial acceleration and the efficiency of variance-reduced stochastic gradients.

The iSPALM Framework

The core of iSPALM lies in the synergy of two mathematical concepts:

  1. Inertial Acceleration: Drawing from Polyak’s heavy-ball method and Nesterov’s acceleration, iSPALM utilizes the direction of previous iterates to "push" the current step. This helps the optimizer navigate flat regions of the loss landscape and escape shallow local minima more effectively than standard gradient descent.
  2. Variance Reduction (SARAH): Stochastic gradients are inherently noisy. To mitigate this, iSPALM employs the SARAH (Stochastic Recursive Gradient Algorithm) estimator. By recursively updating gradient estimates and periodically calculating a full gradient to anchor the process, the algorithm reduces noise over time, allowing for more stable and aggressive steps.

Beyond the algorithm itself, this work provides a rigorous theoretical framework for Inertial Variance-Reduced Gradient Estimators. We prove that iSPALM achieves linear convergence—where the error decreases exponentially—under standard assumptions for these problem classes.

Experimental Evaluation

To validate the performance of iSPALM, we conducted experiments across two distinct domains:

1. Robust Statistical Modeling: Student-t Mixture Models

While Gaussian Mixture Models (GMMs) are common, Student-t models are preferred for their robustness to outliers. However, they are significantly harder to optimize. We tested iSPALM on a synthetic dataset of 200,000 points in 10 dimensions. iSPALM successfully navigated the difficult landscape of these models, fitting parameters more efficiently than traditional Expectation-Maximization (EM) approaches or non-inertial stochastic variants.

2. Secure Deep Learning: Proximal Neural Networks (PNNs)

We trained PNNs on the MNIST dataset (60,000 handwritten digits). PNNs are designed for stability against adversarial attacks by enforcing orthogonality constraints on weights. These constraints introduce nonsmoothness that iSPALM is uniquely suited to handle.

Key Results and Insights

  • Superior Efficiency: In both the Student-t and PNN experiments, iSPALM reached lower objective values faster than PALM (deterministic), iPALM (inertial deterministic), and SPRING (stochastic without momentum).
  • Wall-Clock Performance: iSPALM proved to be the fastest algorithm in terms of actual execution time on GPU hardware, demonstrating that the theoretical gains in "epoch" efficiency translate directly to real-world speedups.
  • High Accuracy: On the MNIST task, the iSPALM-trained network achieved a test accuracy of 98.5%, outperforming its non-inertial stochastic counterparts.
  • The Stability of Full Gradients: A key practical insight was that evaluating the full gradient at the start of each epoch significantly stabilized the variance-reduction process, preventing the algorithm from drifting due to accumulated stochastic noise.

Conclusion and Future Work

iSPALM represents a significant step forward in nonsmooth, nonconvex optimization. By successfully generalizing momentum methods to work with proximal mappings and variance-reduced gradients, it provides a powerful tool for large-scale machine learning.

While highly effective, the algorithm does introduce hyperparameter sensitivity; specifically, the inertial weights ($\alpha, \beta$) and step sizes ($\tau$) require careful tuning to avoid instability. Future research will focus on automating this parameter selection and scaling iSPALM to even larger, more complex deep learning architectures beyond Proximal Neural Networks.

Summary updated

Abstract

Inertial algorithms for minimizing nonsmooth and nonconvex functions as the inertial proximal alternating linearized minimization algorithm (iPALM) have demonstrated their superiority with respect to computation time over their non inertial variants. In many problems in imaging and machine learning, the objective functions have a special form involving huge data which encourage the application of stochastic algorithms. While algorithms based on stochastic gradient descent are still used in the majority of applications, recently also stochastic algorithms for minimizing nonsmooth and nonconvex functions were proposed. In this paper, we derive an inertial variant of a stochastic PALM algorithm with variance-reduced gradient estimator, called iSPALM, and prove linear convergence of the algorithm under certain assumptions. Our inertial approach can be seen as generalization of momentum methods widely used to speed up and stabilize optimization algorithms, in particular in machine learning, to nonsmooth problems. Numerical experiments for learning the weights of a so-called proximal neural network and the parameters of Student-t mixture models show that our new algorithm outperforms both stochastic PALM and its deterministic counterparts.
BibTeX
@inproceedings{hertrich2022inertial,
  author = {Johannes Hertrich and Gabriele Steidl},
  title = {{Inertial Stochastic PALM and its Application for Learning Student-t Mixture Models}},
  booktitle = {Sampling},
  year = {2022},
  doi = {10.1007/s43670-022-00021-x},
}
Figure