# Poster 28491

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

> 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, my name is Michael Crochon, and today I'm going to be talking about our paper, Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression. This is a joint work with Blake Woodworth and Mingri Liu.
So for some background, we're interested in local gradient descent, which is the standard algorithm for distributed optimization. It's a very natural extension of gradient descent for the distributed setting, where essentially every machine is going to run K iterations of gradient descent using only their local data. The resulting weights are averaged by a centralized parameter server and broadcast back to the clients, and then the process is repeated.
Now, the applications for this kind of algorithm are federated learning and distributed deep learning. These settings where communication can be a bottleneck. And so we definitely want to minimize communication as much as possible. In practice, a crucial technique for minimizing communication are the use of these local iterations. So if gradient descent only has to communicate once every K iterations, perhaps we can solve an optimization problem with much lower communication costs. But in theory...
Something else happens. So recent theoretical work gave matching upper and lower bounds for the convergence rate of local SGD for the general problem of optimizing smooth and convex functions. And essentially what they show is that the worst case communication efficiency cannot be improved by choosing a number of local steps which is larger than one.
This is the consequence of the requirement that the step size be smaller than 1 over k, so that increases to the number of local steps cause a decrease in the step size, and so you can't really improve by increasing k. Now this result is somewhat surprising because local steps are so crucial in practice, and yet in theory they seem to only hurt. So this sort of motivates our question, if local steps are not beneficial in the worst case...
Are they at least beneficial in some particular case? And that's our main question of this publication. Can local steps provably accelerate local GD for logistic regression?
Let me spell out the problem statement here. We're going to be working on binary classification with a linear model, linearly separable data, and a logistic loss. The data is distributed over M clients that each have N data points each. The local objectives are just going to be the average logistic loss over each local data set, and the global objective is just the average of the local objectives.
You'll note that this problem is smooth and convex, so existing guarantees do apply, but again, they cannot show any communication reduction through local steps, and our goal is to show that local GD provably becomes more efficient with a large number of local steps.
So we propose to use local GD with a two-stage learning rate, in which in the first stage we use eta 1, which is going to be smaller than 1 over k, whereas in the second stage we use our eta 2, which is only required to be smaller than a universal constant. Now the idea is that we'll run the first stage for sufficiently long such that at some point we can safely switch to a large learning rate while still ensuring monotonic decrease of the objective.
And once we do so, the large learning rate in the second stage will allow the algorithm to converge faster. The intuition behind how that works is pictured here. There's a key property of the logistic loss that we use, which is that the second derivative is bounded by the objective value. That basically means that the smoothness constant of our overall objective may be large at the beginning, but it goes to zero as the loss goes to zero.
So that means at the beginning in our first stage, we'll use a small A to 1, smaller than 1 over k, but once the loss becomes sufficiently small, we can switch to our A to 2, which may be much larger than 1 over k, but we can confidently take steps in the correct direction and make fast progress to optimize the objective.
The resulting complexity is an improvement over the baselines. So the best complexity to find an epsilon approximate solution guaranteed by the baselines is 1 over epsilon, but we can achieve 1 over epsilon to the 1 half by choosing a number of local steps, which is 1 over epsilon to the 1 half. So in other words, we can get a communication speed up by choosing a large number of local steps. Now that's not the whole story. That's all we have time for today, but please come to our poster if you're interested. I'd love to talk more about it. Thank you.
