# Poster 28388

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28388

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone. My name is Dimitri and today I am going to present our paper entitled Stochastic Polyak Step Sizes and Momentum: Convergence Guarantees and Practical Performance. This is joint work with my advisor Dr. Nicolas Luezo. In this work, we are going to focus on the unconstrained minimization problem which is to minimize f of x equal to the average of n functions. Here each fi is convex, Li smooth and lower bounded by Li. We also assume that f has a minimizer x star.
This problem appears in the training of models in computer vision, NLP and LLMs. One of the most popular algorithms for solving the previous problem is the stochastic gradient descent algorithm given by this formula. Here gamma is known as learning rate or step size and in practice it's usually tuned.
Recently, in Loizu et al., they propose an adaptive step size for SGD, known as SPSMAX and is given by this formula, effectively eliminating the need for tuning of gamma t. Another technique used to improve SGD is a stochastic heavyball momentum introduced by Pollack and is given by the following formula. Notice that when beta is equal to zero, then stochastic heavyball reduces to stochastic gradient descent.
Nowadays both SPS max and momentum are used extensively in practice. The main work of this paper is to Okay. actually to try to combine SPS with momentum. So the naive approach is to first try to replace gamma t in the stochastic capable update rule with SPS max.
As we explained in the paper, this approach is not robust and it might lead to divergence even in the simplest of problems. For example here we have an unregularized logistic regression problem with synthetic data and the purple line and I'm sorry the orange line is the naive approach SPS max with naive momentum. We see that as beta increases
The algorithm diverges. While the blue line, which is our proposed MOM-SPS max, which we will see in the next slides, does not diverge and it converges. So our intuition is the following. The step sizes we're going to introduce should somehow be correlated to the momentum coefficient theta. In order to do that, we will change our viewpoint from stochastic variable momentum to the iterated moving eye average.
This is given by the following two update rules. IMA has two update rules, zeta and x, and you update them simultaneously. The key result from Sebu et al. is that if a few relationships hold with theta and lambda, eta and gamma t from IMA and stochastic capable, then the iterates of IMA are equivalent to the iterates of stochastic capable.
And the key idea is to actually introduce eta t to be equal to the polyac step size and then use the previous equations to get the corresponding step size in stochastic heavyball. Doing this, we get the following step size. Based on sps max we get the momentum sps max and we see here that we have the dependence on theta with the form of 1 minus theta. Based on deca sps we get the momentum deca sps and based on ada sps we get the momentum ada sps.
For the convergence guarantees, we have the following table that summarizes our work. Momas PS Max has some restriction on Vita, but it is adaptive and it converges to a neighborhood of the solution. It does not converge to exact solution with rate 1 over T. But Momdeck SPS and MomAddSPS are both bounded iterates. They are both adaptive and they both converge to exact solution.
where the rate changes if we have the pension if we have a depolation or not.
Finally, we have a few experiments. On the left we have a logistic regression on LIBES VM data. Both of these plots are on accuracy. And on the right we have resin 34 on CIFAR-10. And we can see that in both cases, moments PS max is outright better or at least as good as other methods in other well-known and established methods. Here is our link to our GitHub repo.
And as a takeaway message, in this work we propose several novel adaptive step sizes for stochastic heavy board. We establish theoretical guarantees for these step sizes and we experimentally show that our momentum variants improve generalization performance. Thank you for your attention. If you liked our presentation, please come see our poster on Saturday 26th of April 10 a.m. to 12.30 p.m. And here are the references.
Thank you again.
