Large Stepsizes Federated Learning on Logistic Regression with Linearly Separable Data: The Case of Heterogeneous Devices
Hok Fong Wong, Hoi-To Wai, Chung-Yiu Yau
Hok Fong Wong, Hoi-To Wai, and Chung-Yiu Yau
Abstract—This paper revisits the distributed learning problem for training a multinomial logistic regression model with the Federated Averaging (FedAvg) algorithm. We concentrate on a scenario with arbitrarily large stepsizes and heterogeneous update rules where the devices may perform a different number of local updates in each round. We show that, with linearly separable data, FedAvg is stable with any stepsizes and the objective values converge to zero at the rate of O(1/R), where R is the number of communication rounds. Our result also demonstrates that the effects of device heterogeneity vanish asymptotically. For sufficiently large R, the objective values decrease monotonically and is bounded by O(1/(RTavg)), where Tavg is the average number of local update steps per communication round across devices. Numerical experiments support our findings.
I. INTRODUCTION
Distributed optimization has been a major workhorse in multi-agent control and learning systems [1]–[3], where devices (a.k.a. agents) collaboratively optimize a global objective function by interleaving between local computation and communication. In recent years, federated learning (FL) has gained popularity as a mainstream distributed optimization paradigm as it offers a disciplined way to account for deployment reality, where heterogeneous devices differing in hardware, battery, connectivity operates in an asynchronous manner [4], [5]. Such aspect has become increasingly relevant to multi-agent systems [6] which are intrinsically heterogeneous due to hardware differences. FL has been successfully applied in problems such as system identification [7], [8], reinforcement learning and control [9].
The challenges of heterogeneous devices have set the study of FL apart from traditional distributed optimization by workers performing local updates before global aggregation of their local solutions, introducing local drift error that results from data and computational heterogeneity. The issue of local drift in FL has inspired the studies of algorithms such as FedAvg [10]–[12], SCAFFOLD [13], FedPD [14], and FedProx [15]. For instance, FedAvg relies on a simple averaging of local updates, and SCAFFOLD, FedPD, FedProx utilize control variates or proximal updates to reduce local drift errors. Convergence is guaranteed together with sufficiently small stepsizes with respect to (w.r.t.) problem-specific parameters such as smoothness.
On the other hand, several recent researches found that gradient algorithms may still converge with large stepsizes [16]–[19]. These pioneering works showed that for logistic regression with linearly separable data, gradient descent with arbitrarily large stepsizes stops oscillating after a transient phase, and even exhibits an accelerated convergence rate. This marks a significant departure from the classical analysis that demands small stepsizes to ensure monotonic descent.
In light of the above developments, this paper investigates the impact of large stepsizes on FL. We revisit the convergence of FedAvg with large stepsizes for logistic regression with linearly separable data. We are particularly interested in the effects of device computational heterogeneity, i.e., when the number of local update steps varies across devices, on the robustness of FedAvg with large stepsizes. Notice that a closely related work is the recent paper [20] which studied a special case of FedAvg with only homogeneous devices taking the same number of local updates. We inquire:
Does the convergence of FedAvg with large stepsizes still hold under heterogeneous local updates, and how does device heterogeneity affect the convergence bound?
The practical relevance of our study extends further to federated control with reinforcement learning (FCRL) where a central server coordinates distributed agents to learn policies without sharing sensitive experience data [21], [22]. Our setting captures the core update structure of federated softmax policy gradient methods under computational heterogeneity. From a networked control perspective, our setup models a high-gain feedback loop with heterogeneous actuators with different duty cycles. It is thus natural to consider whether the closed loop remains stable, and how the resulting dynamics depend on the spread of the numbers of local update steps.
To address the above question, we notice that the introduction of heterogeneous devices in local updates in FedAvg has led to a nontrivial complex dynamics with large stepsizes. Our main contributions are summarized below as:
• Through utilizing a new proof technique, we show that FedAvg with large stepsizes and heterogeneous devices is stable and the objective values converge to zero at O(1/R), where R is the number of communication rounds.
• We demonstrate that the effects of device heterogeneity on the convergence rate vanish asymptotically. For R≫1, the convergence of optimality gap in objective values behaves as O(1/(RTavg)), where Tavg is the average number of local update steps per communication round.
• Our numerical experiments demonstrate that the asymptotic convergence of FedAvg with large stepsizes is not
Hok Fong Wong is with Department of CSE, The Chinese University of Hong Kong, Hong Kong SAR hfwong2@cse.cuhk.edu.hk.
Hoi-To Wai is with Department of SEEM, The Chinese University of Hong Kong, Hong Kong SAR htwai@se.cuhk.edu.hk.
Chung-Yiu Yau is with Department of ECE, University of Minnesota, Minnesota, USA cyau@umn.edu.
sensitive to the degree of device heterogeneity, corroborating with our theoretical findings.
We also developed our analysis for the multinomial logistic regression setting, extending from prior works such as [16].
Notations. For a vector v, ∥v∥ denotes its ℓ2-norm. For a matrix A, ∥A∥F and ∥A∥op denote its Frobenius norm and operator norm, respectively. We use [n] to denote the set {1,2,…,n} for any positive integer n. We use O(⋅) to hide absolute constants independent of problem parameters.
II. PROBLEM SETUP AND FEDAVG ALGORITHM
Consider a distributed optimization setup with a central server and m devices. Each device i has a local dataset Di={(xi,j,yi,j)}j=1ni, where xi,j∈Rd is the feature vector and yi,j∈[K] is the corresponding label. Parameterizing the multinomial linear model by W=[w1⊤;w2⊤;…;wK⊤]∈RK×d, our goal is to tackle the following problem:
W∈RK×dinfL(W):=n1i=1∑mniLi(W),(1)
where n:=∑i=1mni, Li(W):=ni1∑j=1niℓi,j(W) with
Notice that ℓi,j(W)≥0 is the cross-entropy loss for the j-th data point on device i and tackling (1) trains a K-class linear classifier W.
In this work, we concentrate on the federated averaging (FedAvg) algorithm [4] with heterogeneous local updates. As summarized in Algorithm 1, the algorithm mimicks the behavior of centralized gradient descent while allowing the devices to perform local update using only their own data. The difference matrix ΔDi(r) is controlled by the local step size ηl and accumulates the local updates from device i in each round. This difference matrix will be sent to the server at round r, where the latter aggregates the updates with a global stepsize ηg. Depending on the discrepancies in hardware and network conditions, the heterogeneous devices may perform different number of local updates Ti in each communication round. We assume that Ti≥1 for all i. Notice that if Ti=1 for all i, then the evolution of {W(r)}r≥0 in FedAvg reduces to that of the (centralized) gradient descent algorithm on minimizing L(W).
The convergence of FedAvg has been widely studied, e.g., in [10]–[13]. A main technical challenge is to account for the device drift behavior when Ti≥2 and the resultant device heterogeneity that differentiate the algorithm from that of centralized gradient descent. As such, the majority of existing analysis focused on the small stepsizes regime with stochastic gradients and identical number of local steps Ti=T for all i. For instance, [13, Theorem I] requires that ηgηl=O(1/(LmaxiTi)), where L is the smoothness constant of Li(⋅), and [12] demonstrated that when Ti=Tj for some i=j, FedAvg converges to a biased optimal solution depending on a reweighted objective function. On
Algorithm 1 FedAvg Algorithm
1: Input: Initial model W(0), stepsizes ηl>0,ηg>0, maximum number of communication rounds R.
2: for r=1 to R do
3: Server broadcasts W(r−1) to all devices.
4: for each device i in parallel do
5: Set Di,0(r)=W(r−1).
6: for t=0 to Ti−1 do
7: Update Di,t+1(r)=Di,t(r)−ηl∇Li(Di,t(r)).
8: end for
9: Send ΔDi(r)=Di,Ti(r)−W(r−1) to server.
10: end for
11: Server updates W(r)=W(r−1)+ηg∑i=1mnniΔDi(r).
12: end for
the other hand, the recent work [20] showed a new convergence result of FedAvg for arbitrarily large stepsizes applied to logistic regression with linearly separable data. However, a limitation of their analysis is that it only applies to homogeneous devices where Ti=T for all i, as well as the binary classification setting with K=2.
The above motivated us to extend the analysis with large stepsize FedAvg to heterogeneous devices. To describe the setup, our analysis relies on the following standing assumptions inspired by [16], [20]. We require:
Assumption 1 (Bounded Feature Norms). All data samples {xi,j,yi,j}, where i∈[nj], satisfy ∥xi,j∥≤1.
Assumption 2 (Global Linear Separability). There exists γ>0, W⋆=[w⋆,1⊤;w⋆,2⊤;…;w⋆,K⊤] with ∥W⋆∥F≤1 such that for all data samples (xi,j,yi,j) and k=yi,j,
(w⋆,yi,j−w⋆,k)⊤xi,j≥γ,∀i,j.
Assumption 1 is a standard regularity condition to avoid potentially unbounded feature vectors. On the other hand, Assumption 2 requires that the training data samples are linearly separable by a global solution matrix W⋆. Note that this implies infWLi(W)=0 for all i and infWL(W)=0, though the latter may only be approximated by a scaled version of W⋆. We remark that the linearly separability condition is essential for large-stepsize convergence to the minimizers [16]–[18], [20], as the non-separable case is known to admit stable cycles, see [19], [23] for recent developments on centralized gradient descent.
III. LARGE STEPSIZE CONVERGENCE ANALYSIS
This section presents the main convergence results for large stepsize FedAvg and provide details for their proofs.
Define the following constants on the number of local update steps taken by the devices
We also set ηˉ:=ηgηl as the product of local and global stepsizes. Note that 1≤Tmin≤Tavg≤Tmax. Our first result is the following bounds on the average risk and magnitude of the decision variable, i.e.,
Theorem 3. Under Assumptions 1, 2. For every ηg,ηl>0 and R≥1, we have
Unlike the classical analysis of FedAvg [10], [12], [13], the bounds (2), (3) hold for any ηg,ηl>0 and any distribution of {Ti}i=1m. It demonstrates that the average risk converges to zero at O(1/R) with heterogeneous devices. From (2), (3), we notice that the effect of device heterogeneity is captured in ηl4TminTmax4, ηˉ2TminTavg2. Here, (2) shows that larger stepsizes ηl, ηˉ can amplify the effect of device heterogeneity. Interestingly, our result also indicates that choosing a smaller local stepsize ηl may improve the performance.
In comparison, the recent work [20, Theorem 4.1] showed a similar bound for FedAvg as (2) under the case of homogeneous devices with Ti=T and binary classification. Similar to [16], they showed that
Considering the special case of (2) with Ti=T and K=2, we note that when R≫1, the above bound is worse than (2) by a factor of 1/γ2. As γ<1, this suggests that Theorem 3 offers a tighter bound than [20, Theorem 4.1] even for the homogeneous devices case. We remark that the improvement of (2) is potentially due to the new proof structure which we shall develop in Section III-A.
We next show that under an additional condition on the degree of device heterogeneity, FedAvg exhibits a stable phase convergence behavior:
Theorem 4. Under Assumptions 1 and 2, for every ηg,ηl>0, suppose that there exists s≥0 such that L(W(s))≤min{2n1,4ηˉTavg1,40nηlTmax2KγTavg}, and the heterogeneity among clients satisfies maxi∣Ti/Tavg−1∣≤γ/(20K), then
L(W(r+1))≤L(W(r)),∀r≥s.(4)
Remark 5. The condition maxi∣Ti/Tavg−1∣≤γ/(20K) is sufficient but conservative. It bounds the heterogeneity error E(r), a zero-sum combination of local gradients depending only on their deviations from the average. The proof bounds these deviations by ∥∇Li∥+∥∇L∥, which is tight only when the local gradients are maximally misaligned.
The above observation shows that once L(W(r)) is smaller than a threshold, the FedAvg algorithm enters a stable phase where the objective value decreases monotonically. Notice that (2) guarantees that as R≫1, there exists s∈[R] such that L(W(s))=O(1/R) and thus the existence of such iteration index s. Theorem 4 further leads to an asymptotic convergence rate for FedAvg:
Corollary 6. Under the same assumptions as Theorem 4,
L(W(r))≤ηˉTavgγ2(r−s)16,∀r≥s.(5)
The above result strengthens the average risk bound in (2) and shows that the last iterate L(W(r)) converges as O(1/(rTavg)) when r≫1. Importantly, the effects of device heterogeneity vanish asymptotically and the convergence rate is dominated by the average local update steps Tavg. Such estimation on the convergence rate is consistent with [12] which showed that FedAvg with small stepsizes converges at a similar rate dependent on Tavg. Unlike [12], FedAvg in our setting converges to an unbiased solution as {Li(⋅)}i=1m admit a common optimal solution under Assumption 2. We remark that the above results assume the distribution of {Ti}i=1m to satisfy maxi∣Ti/Tavg−1∣≤γ/(20K), e.g., when Tavg is large or the variation of {Ti}i=1m is small. As shown in Section IV, such stable phase convergence behavior is observed in practice even without the above condition.
we obtain (2) as a result. Iterating from (19) yields
∥W(R)−U∥F2≤∥W(0)−U∥F2+2/γ2.(21)
Taking square root on both sides and applying triangle inequality yields
∥W(R)∥F≤∥W(0)∥F+∥U∥F+2/γ.(22)
Applying (20) yields (3) and conclude our proof.
Remark 9. Compared to the proof of [20, Theorem 4.1], our proof relies on a different choice of the reference point U, together with a recursion for the round-by-round progress of FedAvg. These non-trivial modifications have enabled us to obtain a tighter bound than [20, Theorem 4.1] that also handles the heterogeneous devices case.
B. Proof of Theorem 4
We preface the proof by defining the gradient potentials:
For the base case with r=s, we note that (23a) holds by the assumption of Theorem 4 and G(W(r))≤L(W(r)). To establish (23b), the key step is to analyze the one-step progress from W(r) to W(r+1) and to bound L(W(r+1)) via a descent lemma type argument on logL(W(r)). To this end, the server-side update can be written as:
As L(W(s))≤1/(4ηˉTavg), the right hand side of the above is upper bounded by 0, implying logL(W(r+1))≤logL(W(r)).
For the induction step, assuming that (23) holds up to certain r≥s. Then, we note that (23a) for r+1 can be verified by L(W(r+1))≤L(W(r)) and G(W(r+1))≤L(W(r+1)). Finally, the same argument for establishing (23b) at the base case can be applied to show that L(W(r+2))≤L(W(r+1)). This concludes the proof of Theorem 4.
C. Proof of Corollary 6
We shall prove (5) through showing that for any r≥s,
L(W(r+1))1−L(W(r))1≥16ηˉTavgγ2.(28)
We notice from the proof of Theorem 4 that (23) holds for any r≥s. As we shall show in Appendix IV, the above conditions guarantee that
L(W(r+1))≤L(W(r))−16ηˉTavgγ2(L(W(r)))2.(29)
Fig. 1. Convergence of FedAvg with homogeneous (“homo. device”: Ti=27 for all devices) and heterogeneous (“hete. device”: Ti=4 for device 1-4, Ti=50 for device 5-8) devices. Both configurations share the same average Tavg=27 with global/local stepsizes: (Left) ηg=64, ηl=1, (Right) ηg=128, ηl=1.
Dividing both sides by L(W(r))L(W(r+1)), we obtain
Since L(W(r+1))≤L(W(r)), we obtain (28). It remains to apply a telescoping argument which shows
L(W(r))1≥L(W(s))1+16ηˉTavgγ2(r−s).(31)
Using L(W(s))>0 proves (5) and concludes our proof.
IV. NUMERICAL EXPERIMENTS
This section reports the numerical experiments on a multi-class classification task using the large stepsize FedAvg algorithm. We consider a synthetic dataset with an input dimension d=12, K=5 classes, n=5,000 samples. Each sample in the global dataset D=D1∪⋯∪Dm is constructed via a rejection sampling mechanism such that the linear classifier defined by the weight matrix W⋆∈RK×d satisfies Assumptions 1 and 2 with γ=0.001. Note that under this setup, as L(W) is 1/2-smooth, traditional convergence analysis of FedAvg requires a small stepsize as ηˉ=ηlηg≤2. We use a label-imbalanced data split: each client receives samples from at most two distinct classes.
A. Effect of Heterogeneous Local Epochs
We first examine the effect of heterogeneous devices on the convergence behavior. To this end, the dataset is partitioned among m=8 clients; each client receives exactly 625 samples. In this experiment, we fix the local stepsize at ηl=1, while the global stepsizes ηg∈{64,128} are examined. Two configurations for the number of local update steps, Ti, are considered: (i) heterogeneous local steps, where clients 1-4 perform Ti=4 local updates per communication round, while clients 5-8 perform Ti=50 updates, yielding Tavg=27; (ii) homogeneous local steps, where all clients perform Ti=27 local steps per round.
The FedAvg algorithm is executed for R=250,000 communication rounds. Fig. 1 shows the trajectory of
Fig. 2. Effects of the number of local steps T. All devices perform the same number of local epochs T∈{1,4,16,64}, with global stepsizes ηg∈{1,64,128} and local stepsize ηl=1.
cross-entropy loss on the full dataset for each communication round. As observed, in both global stepsize configurations, the heterogeneous device case exhibits a longer transient with larger fluctuations than the homogeneous device case before entering a stable monotonic regime. This behavior is consistent with Theorem 3 which predicts a slower convergence for heterogeneous devices. However, we observe that after the transient phase as R≫1, the convergence behavior of both heterogeneous and homogeneous cases become indistinguishable. This corroborates with Corollary 6 which shows that the asymptotic rate is dominated by O(1/(TavgR)), independent of the device heterogeneity 1.
B. Effect of Large Local Steps under Label Imbalance
We next examine the effect of increasing the common number of local steps T=Ti for each i. All clients perform the same number of local epochs T∈{1,4,16,64}, with the stepsizes as ηg∈{1,64,128} and ηl=1.
The FedAvg algorithm is executed for R=50,000 communication rounds. Fig. 2 plots the cross-entropy loss value against communication rounds with varying T. We first observe that for sufficiently large R, the convergence rates of all configurations are close to O(1/(TR)) as predicted by Corollary 6, where increasing T leads to a faster convergence. Furthermore, we note that the large stepsizes settings ηg∈{64,128} significantly accelerate the convergence compared to the baseline case with ηg=1, where the convergence is significantly slower.
V. CONCLUSION
This paper has extended the analysis of large stepsize FedAvg to the case of heterogeneous devices under a linear separability condition. We showed that the effect of device heterogeneity vanishes asymptotically, where the convergence rate is dominated by the average number of local steps across devices and validated the findings by numerical experiments. For future work, it will be interesting to explore non-separable data and regularized losses.
REFERENCES
[1] J. Tsitsiklis, D. Bertsekas, and M. Athans, “Distributed asynchronous deterministic and stochastic gradient optimization algorithms,” IEEE transactions on automatic control, vol. 31, no. 9, pp. 803–812, 2003.
1Note that the distribution of {Ti}i=1m may violate the condition required by Theorem 4, yet we observe that the predicted behavior continues to hold.
[2] A. Nedić and J. Liu, “Distributed optimization for control,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 1, no. 1, pp. 77–103, 2018.
[3] T. Yang, X. Yi, J. Wu, Y. Yuan, D. Wu, Z. Meng, Y. Hong, H. Wang, Z. Lin, and K. H. Johansson, “A survey of distributed optimization,” Annual Reviews in Control, vol. 47, pp. 278–305, 2019.
[4] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, "Communication-efficient learning of deep networks from decentralized data," in AISTATS, pp. 1273–1282, PMLR, 2017.
[5] P. Kairouz and H. B. McMahan, “Advances and open problems in federated learning,” Foundations and trends in machine learning, vol. 14, no. 1-2, pp. 1–210, 2021.
[6] J. Weber, M. Gurtner, A. Lobe, A. Trachte, and A. Kugi, “Combining federated learning and control: A survey,” IET Control Theory & Applications, vol. 18, no. 18, pp. 2503–2523, 2024.
[7] H. Wang, L. F. Toso, and J. Anderson, “Fedsysid: A federated approach to sample-efficient system identification,” in Learning for Dynamics and Control Conference, pp. 1308–1320, PMLR, 2023.
[8] Y. Chen, A. M. Ospina, F. Pasqualetti, and E. Dall'Anese, "Multitask system identification of similar linear time-invariant dynamical systems," in 2023 62nd IEEE Conference on Decision and Control (CDC), pp. 7342–7349, IEEE, 2023.
[9] R. Liu and A. Olshevsky, “Distributed td (0) with almost no communication,” IEEE Control Systems Letters, vol. 7, pp. 2892–2897, 2023.
[10] X. Li, K. Huang, W. Yang, S. Wang, and Z. Zhang, “On the convergence of fedavg on non-iid data,” in International Conference on Learning Representations, 2019.
[11] T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, “Federated learning: Challenges, methods, and future directions,” IEEE signal processing magazine, vol. 37, no. 3, pp. 50–60, 2020.
[12] J. Wang, Q. Liu, H. Liang, G. Joshi, and H. V. Poor, “A novel framework for the analysis and design of heterogeneous federated learning,” IEEE Transactions on Signal Processing, vol. 69, pp. 5234–5249, 2021.
[13] S. P. Karimireddy, S. Kale, M. Mohri, S. Reddi, S. Stich, and A. T. Suresh, “Scaffold: Stochastic controlled averaging for federated learning,” in International conference on machine learning, pp. 5132–5143, PMLR, 2020.
[14] X. Zhang, M. Hong, S. Dhople, W. Yin, and Y. Liu, “Fedpd: A federated learning framework with adaptivity to non-iid data,” IEEE Transactions on Signal Processing, vol. 69, pp. 6055–6070, 2021.
[15] X. Yuan and P. Li, “On convergence of fedprox: Local dissimilarity invariant bounds, non-smoothness and beyond,” Advances in Neural Information Processing Systems, vol. 35, pp. 10752–10765, 2022.
[16] J. Wu, P. L. Bartlett, M. Telgarsky, and B. Yu, “Large stepsize gradient descent for logistic loss: Non-monotonicity of the loss improves optimization efficiency,” in The Thirty Seventh Annual Conference on Learning Theory, pp. 5019–5073, PMLR, 2024.
[17] J. Wu, P. Marion, and P. Bartlett, “Large stepsizes accelerate gradient descent for regularized logistic regression,” arXiv preprint arXiv:2506.02336, 2025.
[18] A. Tyurin, “From logistic regression to the perceptron algorithm: Exploring gradient descent with large step sizes,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 39, pp. 20938–20946, 2025.
[19] S. Y. Meng, A. Orvieto, D. Y. Cao, and C. De Sa, “Gradient descent on logistic regression with non-separable data and large step sizes,” arXiv preprint arXiv:2406.05033, 2024.
[20] M. Crawshaw, B. Woodworth, and M. Liu, “Constant stepsize local gd for logistic regression: Acceleration by instability,” in International Conference on Machine Learning, pp. 11465–11492, PMLR, 2025.
[21] S. Kumar, P. Shah, D. Hakkani-Tur, and L. Heck, “Federated control with hierarchical multi-agent deep reinforcement learning,” arXiv preprint arXiv:1712.08266, 2017.
[22] H. Jin, Y. Peng, W. Yang, S. Wang, and Z. Zhang, “Federated reinforcement learning with environment heterogeneity,” in International conference on artificial intelligence and statistics, pp. 18–37, PMLR, 2022.
[23] S. Y. Meng, B. Goujaud, A. Orvieto, and C. De Sa, “Gradient descent on logistic regression: Do large step-sizes work with data on the sphere?,” arXiv preprint arXiv:2507.11228, 2025.
[24] K. Emmanouilidis, L. MacDonald, S. Tarmoun, and R. Vidal, “SGD at the Edge of Stability: Stochastic stabilization with large learning rates,” 2026.
APPENDIX I PROOF OF LEMMA 7
To prove (6), notice that for any k=yi,j, Assumption 2 guarantees that (w⋆,yi,j−w⋆,k)⊤xi,j≥γ. Therefore,
Suppose that in addition, G(W)≤1/(2n), then since each term (1−yi,j∣w) is non-negative, we must have
1−yi,j∣w≤n⋅G(W)≤1/2(71)
for all i,j. Thus, yi,j∣w≥1/2 for all i,j. For any z∈(0,1], we have the inequality −log(z)≤(1−z)/z and thus
ℓij(W)≤yi,j∣w1−yi,j∣w≤2(1−yi,j∣w).(72)
Henceforth, we can derive that
L(W)≤n1i=1∑mj=1∑ni2(1−yi,j∣W)=2G(W),(73)
and when combined with (70), this implies that ∥∇L(W)∥F≥γG(W)≥2γL(W).
APPENDIX VII ADDITIONAL EXPERIMENTS
A. Hard Sample Placement on Heterogeneous Devices
The heterogeneity condition in Theorem 6 is usually sufficient but conservative, as seen in Section IV. In this experiment, we argue for the necessity of imposing such a condition by considering the interaction of the misaligned gradient updates among clients.
The basic setting of the empirical experiment follows the description as in Section IV, except that we generate nhard=625 hard samples with margin in [γ,2γ], where γ=0.001, and neasy=4375 easy samples with margin at least 0.1.
All m = 8 clients perform Ti=57 local SGD steps in the homogenous setup, and clients 1-4 perform Ti=13 and clients 5-8 perform Ti=101 in the heterogeneous setup, yielding Tavg=57 in both cases.
The 625 hard samples are assigned entirely to a single client. The 4375 easy samples are partitioned equally among the remaining seven clients. Every client therefore holds exactly 625 samples. We therefore consider three configurations (sharing the same set of data with different distributions) and the same average local work Tavg=57:
hardLowT: using the heterogeneous setup, we assign the hardest samples to an arbitrarily selected straggler with Ti=13.
hardHighT: using the heterogeneous setup, we assign the hardest samples to an arbitrarily selected fast client with Ti=101.
homo: using the homogeneous setup, we assign the hardest samples to an arbitrarily selected client with Ti=57.
The FedAvg algorithm is then run for R=1,200,000 communication rounds, with global stepsizes ηg∈{32,64} and local stepsize ηl=1.0.
Fig. 3 shows the loss progression for the three configurations, where the three configurations converge at different rates with hardHighT being the fastest, homo57 being the intermediate, and hardLowT being significantly slower. While Corollary 6 predicts a rate governed by Tavg alone, the observed ordering therefore reflects an effect the corollary does not capture. In hardHighT, the hard client has Th=101 and dominates the contribution to E~, which is largely aligned with ∇L(E(r)). This amplifies the effective descent direction and accelerates convergence relative to the homogeneous baseline. In hardLowT case, the hard client has Th=13, where E~ is anti-aligned. The effective gradient is therefore reduced and the convergence rate decreases. In comparison, for the homo57 case, there is no presence of client drift and the convergence rate is simply controlled.
Fig. 3. Effect of hard-sample placement under heterogeneous local step counts. All configurations share the same set of data and the same average local work Tavg=57. The hardest samples are assigned to either straggler clients with Ti=13 (hardLowT), fast clients with Ti=101 (hardHighT) under the heterogeneous setup, or arbitrarily for the homogeneous setup where all Ti=57 (homo). We use the global stepsizes ηg∈{32,64}, local stepsize ηl=1.
by the same work conducted by each client. We hereby observe that the worst-case asymptotic rate is governed not by Tavg alone but by the alignment between step-count weights and gradient deviations. The rate can be either faster or slower than the homogeneous baseline, depending on the placement of the hard sample influencing the extent of the gradient alignment, justifying the necessity of the heterogeneity condition.
B. Effect of Large Stepsize under Minibatch SGD Local Updates
The concurrent work of Emmanouilidis et al. [24] shows that in the centralized setting, SGD on the multiclass cross-entropy loss self-stabilizes and converges in the best-iterate sense even with large stepsizes. A natural question is whether the stochastic stabilization mechanism is preserved in the federated setting, where the local updates are performed on heterogeneous data with heterogeneous number of local steps. To this end, we provide empirical evidence that the qualitative behavior predicted by our theory persists under local SGD.
The basic setting of the empirical experiment follows the description as in Section IV. We partition the synthetic dataset i.i.d. uniformly among m = 8 clients, and we again consider the homogeneous configuration and heterogeneous configuration. All 8 clients perform Ti=57 local SGD steps in the homogenous configuration; in the heterogeneous configuration, clients 1-4 perform Ti=13 and clients 5-8 perform Ti=101, yielding Tavg=57 in both cases.
We then consider batch sizes b∈{5,25,125}, stepsizes ηg∈{32,64}, ηl=1, and run FedAvg for R=500,000 rounds. At the beginning of each communication round, each client draws a fresh random permutation of its local dataset and partitions it into minibatches of size b. The client then performs Ti local SGD updates, consuming one minibatch per step. Since b divides the local dataset size exactly, every epoch boundary coincides with the end of a minibatch. When the permutation is exhausted, the client reshuffles and continues.
ηg=32,ηl=1,b=25
ηg=64,ηl=1,b=25
ηg=32,ηl=1,b=125
ηg=64,ηl=1,b=125
Fig. 4. Effect of heterogeneous local update steps under minibatch SGD. All devices perform local updates using minibatches of size b∈{5,25,125}, with global stepsizes ηg∈{32,64} and local stepsize ηl=1. Two configurations are compared at a matched average Tavg=57: homogeneous ( Ti=57 for all devices) and heterogeneous ( Ti=13 for devices 1-4, Ti=101 for devices 5-8).
As shown in Fig. 4, for a sufficiently large R, the homogeneous and heterogeneous curves become asymptotically indistinguishable when Tavg is matched. Increasing the batch size shortens the transient for most cases, but it does not affect the asymptotic rate. Extending the centralized analysis of [24] to the federated setting is an interesting direction for future work.
Our result shows that FedAvg with local SGD exhibits the same qualitative behavior as local GD, where the iterates enter a stable phase while the loss decreases monotonically with an asymptotic rate governed by Tavg.