betaFeedback

WorksMathematics

Adaptive Federated Optimization Across Smooth and Nonsmooth Regimes

Abstract

AdaGrad-style methods can simultaneously adapt to both the order and constants of smoothness in centralized optimization. However, existing extensions to federated optimization with heterogeneous client objectives and multiple local steps require the smoothness order to be specified in advance. We address this limitation with AdaFed, a federated method that adapts across several regimes under a single choice of parameters. In the deterministic setting, AdaFed achieves an O(1/T)O(1/T) convergence rate for both smooth nonconvex and smooth convex objectives, and an O(1/T)O(1/\sqrt{T}) rate for Lipschitz nonsmooth convex objectives up to logarithmic factors. Under a light-tailed stochastic-gradient noise assumption, these guarantees extend to the stochastic setting with additional logarithmic factors and noise-dependent terms. Experiments across the three problem classes further support our theoretical findings.

Introduction

Federated learning (FL) aims to train a shared model from data distributed across many clients without requiring the clients to transmit their raw data. The resulting optimization problem is often formulated as

min⁡x∈RdF(x):=1m∑i=1mFi(x).(1)\min_{x\in\mathbb{R}^{d}} F(x) := \frac{1}{m}\sum_{i=1}^{m} F_i(x). \tag*{(1)}

Here Fi:Rd→RF_i:\mathbb{R}^{d} \to\mathbb{R} is the local loss associated with the ii-th client, which in stochastic settings can be expressed as:

Fi(x)=Eξ∼Di[ℓi(x;ξ)],F_i(x) = \mathbb{E}_{\xi\sim\mathcal{D}_i}[\ell_i(x;\xi)],

and the data distributions {Di}i=1m\{\mathcal{D}_i\}_{i=1}^{m} can differ across clients. To reduce communication cost when mm is large, classic algorithms such as FedAvg [24] (Li et al. 2020) allow each participating client to perform multiple local stochastic-gradient steps before its update is aggregated at the server. When the difference among the data distributions {Di}i=1m\{\mathcal{D}_i\}_{i=1}^{m} is significant, methods such as SCAFFOLD [10] and FedVARP [9] address the local drift arising from multiple local steps through control variates or server-side variance reduction. However, both theoretical guarantees and practical behavior of these methods depend on step-size schedules whose effective choices vary with the problem class and its related parameters (e.g., smoothness, gradient noise, heterogeneity, etc.).

In the centralized setting, adaptive gradient methods offer a natural way to overcome this reliance on prior problem knowledge. The pioneering method AdaGrad [5] adjusts its step sizes adaptively using accumulated gradient information. Beyond empirical success, AdaGrad-type adaptive methods [17, 18, 12, 7] also exhibit an important theoretical advantage: a single update rule can achieve universal (in the sense of Nesterov [ [27]) convergence by attaining the rates associated with smooth and nonsmooth objectives without knowing in advance the problem class or smoothness parameter.

However, transferring this universal convergence property to FL settings is highly nontrivial, where algorithms couple client-side local updates with server-side aggregation. Server-level adaptation alone is insufficient to guarantee universal convergence because the main optimization steps occur locally on clients, and their resulting updates directly shape server aggregation. Client-level adaptation can also fail because individual client gradients need not vanish even at a stationary point of FF. Hence naively accumulating the client gradients during local updates may cause the step size to continuously decay. Several adaptive FL methods have been proposed in the literature. Specifically, server-level methods include FedOpt [29] and FedAMS/FedCAMS [37], client-level methods include Δ\Delta-SGD [14] and FedSPS [25], and methods operating at both levels include Mime [11], FAFED [Wu et al., 2023], and FedAda2 [16]. Despite these efforts, the convergence results established in these works are tailored to specific problem classes, and some guarantees still require knowledge of smoothness parameters. Consequently, none of these works addresses the question central to this work:

Can a single adaptive FL method, without prior knowledge of the problem class or related parameters, automatically attain the convergence rates associated with smooth nonconvex, smooth convex, and Lipschitz convex objectives?

Our contributions

We answer this question affirmatively with a new AdaGrad-type FL method. Our contributions are summarized as follows.

  • Algorithm. We develop a new adaptive FL method for solving (1) that accommodates heterogeneous client objectives, stochastic local gradients, and multiple local updates per communication round. Its key feature is a scaled AdaGrad-type step size that is shared across clients and fixed throughout each round, and is updated after server aggregation based on the server displacement.

  • Universal convergence. The same algorithm automatically attains appropriate convergence rates for smooth nonconvex, smooth convex, and Lipschitz convex objectives, without prior knowledge of the problem class or associated parameters. These rates match those of classical AdaGrad in centralized settings up to logarithmic factors, and benefit jointly from the number of clients and multiple local updates (see Table 1 for a summary). To the best of our knowledge, this is the first universal convergence guarantee in FL that covers all three problem classes with a single algorithm and without problem-dependent tuning.

  • Further extensions. We extend the algorithm to independent, nonuniform partial participation and establish universal convergence with exact local gradients across the same three problem classes; see Appendix § 12. We also prove that, with exact local gradients, the full-participation algorithm automatically adapts to Hölder smoothness of any order α∈[0,1]\alpha\in[0,1] for convex objectives, attaining the corresponding O~(T−(1+α)/2)\widetilde{O}(T^{-(1+\alpha)/2}) rate; see Appendix § 13.

Compared to centralized analyses of AdaGrad [5, 40, 34], FL creates two additional difficulties: local drift from multiple client updates and delayed accumulation due to unavailable aggregated gradient information. To handle these challenges, we link local drift to the server displacement, thereby reducing the analysis to server updates. We then bound this displacement almost surely by the maximal noise, whose moments admit logarithmic bounds, and use the result with a shifted summation lemma to control delayed accumulation. Notably, our analysis removes bounded-domain or bounded-iterate assumptions, which are commonly used in AdaGrad-type analyses [17, 18, 12, 7].

The remainder of the paper is organized as follows. Section 2 reviews related work. Section 3 presents the algorithm. Section 4 gives the main convergence results and a proof sketch. Section 5 reports the numerical experiments and § 6 concludes the paper. All technical proofs are deferred to Appendix § 8–§ 11. Extensions to partial participation and Hölder smoothness are established in Appendix § 12 and F, respectively.

Problem classGradient typeAssumptionsConvergence
SmoothLipschitzConvex
✓××ExactAssm. 4.1O(1T)O\left(\frac{1}{T}\right)
✓××StochasticAssms. 4.1, 4.2O~(1T+σmKT)\widetilde{O}\left(\frac{1}{T}+\frac{\sigma}{\sqrt{mKT}}\right)
✓×✓ExactAssm. 4.1O(1T)O\left(\frac{1}{T}\right)
✓×✓StochasticAssms. 4.1, 4.2O~(1T+σmKT)\widetilde{O}\left(\frac{1}{T}+\frac{\sigma}{\sqrt{mKT}}\right)
×✓✓ExactAssm. 4.1O~(1T)\widetilde{O}\left(\frac{1}{\sqrt{T}}\right)
×✓✓StochasticAssms. 4.1, 4.2O~(1T+σmKT)\widetilde{O}\left(\frac{1}{\sqrt{T}}+\frac{\sigma}{\sqrt{mKT}}\right)

Table 1. Summary of convergence results for Algorithm 1. O~(⋅)\widetilde{O}(\cdot) hides logarithmic factors.

Related Work

Universal adaptive optimization. AdaGrad [5] introduced adaptive step sizes based on accumulated gradients, with popular variants including Adam [15] and AMSGrad [30]. Scalar AdaGrad steps have since been analyzed for stochastic and nonconvex optimization under progressively weaker assumptions. Kavis et al. [ [13], Ward et al. [ [40] provide high-probability guarantees under uniformly bounded gradients, which is later extended in Attia and Koren [ [1], Faw et al. [ [8], Wang et al. [ [34] with relaxed assumptions. For convex optimization, AcceleGrad [18], universal accelerated methods [7, 12, 18] improve over AdaGrad by achieving near-optimal rates simultaneously for convex smooth and nonsmooth objectives. Nesterov’s universal method [Nesterov, [27] instead uses line search. Further extensions treat inexact stochastic oracles [31] and Hölder smoothness [28]. More closely related, Wang and Yurtsever [ [39] replace gradient accumulation with gradient-mapping accumulation and obtain a method for smooth nonconvex, smooth convex, and nonsmooth convex composite problems.

Adaptive federated optimization. Existing adaptive FL methods differ mainly in where the adaptive step size is maintained. At the server, FedOpt [29] applies AdaGrad, Adam, or Yogi to aggregated client displacements, while FedAMS/FedCAMS [37] add AMSGrad-style stabilization. Other server-side variants include FedUR [44], FedDuA [33], FedAgg Yuan and Wang [2025], and the asynchronous method FADAS [38]. At the client level, Local AdaAlter [42] synchronizes AdaGrad denominators, whereas Δ\Delta-SGD [14] follows a different type of adaptivity [23] to adapt each client’s step size to its local smoothness. Other local adaptive methods include FedSPS [25] and FedLADA [32]. Methods acting at both levels include FAFED [Wu et al., 2023] and FedAda2^2 [16], which coordinate server statistics, preconditioners, or global corrections with local adaptation. However, their analyses largely focus on one specific problem class (mostly smooth nonconvex or smooth convex), and some results require smoothness-dependent step-size conditions (e.g., FedOpt [29] and FAFED [Wu et al., 2023]). In contrast, our method uses one unchanged rule to adapt across three problem classes, without knowledge of problem-related parameters. A more detailed summary of existing adaptive FL methods is provided in Appendix § 15.

Algorithm 1 Adaptive Federated Learning Method (AdaFed)

Require: initial model x1∈Rdx_1 \in\mathbb{R}^d; local-step count K≥1K \ge1; server iterations T≥1T \ge1; prescribed local scales τt>0\tau_t > 0; parameters γ,η>0\gamma, \eta> 0.

Initialize the step size η1:=η/γ\eta_1 := \eta/\gamma.

for t=1,2,…,Tt = 1, 2, \ldots, T do

    Server broadcasts (xt,ηt,τt)(x_t, \eta_t, \tau_t).

    for each client i∈[m]i \in[m] in parallel do

        Initialize xi,0t:=xtx^t_{i,0} := x_t.

        for k=0,…,K−1k = 0, \ldots, K - 1 do

            Update xi,k+1t:=xi,kt−τtηtgi,ktx^t_{i,k+1} := x^t_{i,k} - \tau_t\eta_t g^t_{i,k} with gi,kt≈∇Fi(xi,kt)g^t_{i,k} \approx\nabla F_i(x^t_{i,k}).

        end for

        Set Δit:=xi,Kt−xt\Delta^t_i := x^t_{i,K} - x_t and send Δit\Delta^t_i to the server.

    end for

    Server updates the model and the step size:

xt+1:=xt+1mKτt∑i=1mΔit1ηt+12:=1ηt2(1+∥xt+1−xt∥2η2).x_{t+1} := x_t + \frac{1}{mK\tau_t}\sum_{i=1}^{m}\Delta^t_i \qquad \frac{1}{\eta_{t+1}^{2}} := \frac{1}{\eta_t^{2}}\left(1 + \frac{\lVert x_{t+1} - x_t\rVert^{2}}{\eta^{2}}\right).

end for

Output: xˉT\bar{x}_T chosen uniformly at random from {xt}t=1T\{x_t\}_{t=1}^{T}.

Algorithm Design

Notation. We use ∥⋅∥\lVert\cdot\rVert for the Euclidean norm and denote [n]:={1,2,…,n}[n] := \{1, 2, \ldots, n\}. For a stochastic algorithm, we denote by Et[⋅]:=E[⋅∣Ft]\mathbb{E}_t[\cdot] := \mathbb{E}[\cdot\mid\mathcal{F}_t] the expectation conditioned on Ft\mathcal{F}_t, which contains all the information available at step tt. Depending on the differentiability of FF, we use ∇F\nabla F to denote the gradient or a subgradient of FF.

Algorithm overview. We present the adaptive federated learning method in Algorithm 1. It initializes the server model at x1x_1 and the shared step size at η1=η/γ\eta_1 = \eta/\gamma. At each round tt, the server broadcasts (xt,ηt,τt)(x_t, \eta_t, \tau_t) to all mm clients. Each client ii starts from xi,0t=xtx^t_{i,0} = x_t, performs KK local (stochastic) gradient /subgradient steps with step size τtηt\tau_t\eta_t, and returns its local displacement Δit=xi,Kt−xt\Delta^t_i = x^t_{i,K} - x_t to server. The server then computes the new model and uses it to update the step size.

Note that the scales {τt}\{\tau_t\} are introduced to mitigate local drift due to multiple local updates. At the server, the factor 1/τt1/\tau_t in the aggregation cancels this scaling, so that τt\tau_t does not directly affect the server-level update. Indeed, let qt:=1/ηtq_t := 1/\eta_t, and define

gˉt(i):=1K∑k=0K−1gi,kt,gˉt:=1m∑i=1mgˉt(i).\bar{g}^{(i)}_t := \frac{1}{K}\sum_{k=0}^{K-1}g^t_{i,k}, \qquad\bar{g}_t := \frac{1}{m}\sum_{i=1}^{m}\bar{g}^{(i)}_t.

Then, since Δit=−(Kτt/qt)gˉt(i)\Delta^t_i = -(K\tau_t/q_t)\bar{g}^{(i)}_t, the server update in Algorithm 1 can be written as

xt+1=xt−gˉtqt,qt+12=qt2+∥gˉt∥2η2.(2)x_{t+1} = x_t - \frac{\bar{g}_t}{q_t}, \qquad q_{t+1}^{2} = q_t^{2} + \frac{\lVert\bar{g}_t\rVert^{2}}{\eta^{2}}. \tag*{(2)}

References

  1. [1]A. Attia and T. Koren. SGD with AdaGrad stepsizes: Full adaptivity with high probability to unknown parameters, unbounded gradients and affine variance. In Proceedings of the 40th International Conference on Machine Learning, 2023.arxiv.org/abs/2302.08783
  2. [2]C.-C. Chang and C.-J. Lin. Libsvm: A library for support vector machines. ACM transactions on intelligent systems and technology (TIST), 2(3):1–27, 2011.
  3. [3]E. Chen, S. Wang, J. Zhang, D.-J. Han, C. Liu, and C. Brinton. Gradient correction in federated learning with adaptive optimization. arXiv preprint arXiv:2502.02727, 2025.
  4. [4]S. Chezhegov, S. Skorik, N. Khachaturov, D. Shalagin, A. Avetisyan, M. Takáč, Y. Kholodov, and A. Beznosikov. Local methods with adaptivity via scaling. arXiv preprint arXiv:2406.00846, 2024.DOI
  5. [5]J. Duchi, E. Hazan, and Y. Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12:2121–2159, 2011.
  6. [6]R. Durrett. Probability: Theory and Examples. Number 49 in Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, Cambridge, 5 edition, 2019.
  7. [7]A. Ene, H. L. Nguyen, and A. Vladu. Adaptive gradient methods for constrained convex optimization and variational inequalities. In Proceedings of the AAAI Conference on Artificial Intelligence, 2021.
  8. [8]M. Faw, I. Tziotis, C. Caramanis, A. Mokhtari, S. Shakkottai, and R. Ward. The power of adaptivity in SGD: Self-tuning step sizes with unbounded gradients and affine variance. In Proceedings of the Thirty-Fifth Conference on Learning Theory, 2022.arxiv.org/abs/2202.05791
  9. [9]D. Jhunjhunwala, P. Sharma, A. Nagarkatti, and G. Joshi. FedVARP: Tackling the variance due to partial client participation in federated learning. In Proceedings of the Thirty-Eighth Conference on Uncertainty in Artificial Intelligence, 2022.arxiv.org/abs/2207.14130
  10. [10]S. P. Karimireddy, S. Kale, M. Mohri, S. Reddi, S. Stich, and A. T. Suresh. SCAFFOLD: Stochastic controlled averaging for federated learning. In Proceedings of the 37th International Conference on Machine Learning, 2020.arxiv.org/abs/1910.06378
  11. [11]S. P. Karimireddy, M. Jaggi, S. Kale, M. Mohri, S. J. Reddi, S. U. Stich, and A. T. Suresh. Mime: Mimicking centralized stochastic algorithms in federated learning. In International Conference on Learning Representations, 2021.arxiv.org/abs/2008.03606
  12. [12]A. Kavis, K. Y. Levy, F. Bach, and V. Cevher. UniXGrad: A universal, adaptive algorithm with optimal guarantees for constrained optimization. In Advances in Neural Information Processing Systems, 2019.arxiv.org/abs/1910.13857
  13. [13]A. Kavis, K. Y. Levy, and V. Cevher. High probability bounds for a class of nonconvex algorithms with AdaGrad stepsize. In International Conference on Learning Representations, 2022.arxiv.org/abs/2204.02833
  14. [14]J. L. Kim, M. T. Toghani, C. Uribe, and A. Kyrillidis. Adaptive federated learning with auto-tuned clients. In International Conference on Learning Representations, 2024.arxiv.org/abs/2306.11201
  15. [15]D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
  16. [16]S. H. Lee, S. Sharma, M. Zaheer, and T. Li. Efficient adaptive federated optimization. In Advances in Neural Information Processing Systems, 2026.arxiv.org/abs/2410.18117
  17. [17]K. Levy. Online to offline conversions, universality and adaptive minibatch sizes. In Advances in Neural Information Processing Systems, 2017.arxiv.org/abs/1705.10499
  18. [18]K. Y. Levy, A. Yurtsever, and V. Cevher. Online adaptive methods, universality and acceleration. In Advances in Neural Information Processing Systems, 2018.arxiv.org/abs/1809.02864
  19. [20]X. Li and F. Orabona. On the convergence of stochastic gradient descent with adaptive stepsizes. In Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics, 2019.arxiv.org/abs/1805.08114
  20. [22]W. Liu, A. Panda, U. Pandey, H. Cook, G. M. Slota, N. Wang, J. Chen, and Y. Xu. Lodadac: a unified local training-based decentralized framework with adaptive gradients and compressed communication. arXiv preprint arXiv:2604.09970, 2026.arxiv.org/abs/2604.09970
  21. [23]Y. Malitsky and K. Mishchenko. Adaptive gradient descent without descent. In Proceedings of the 37th International Conference on Machine Learning, 2020.arxiv.org/abs/1910.09529
  22. [24]H. B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, 2017.arxiv.org/abs/1602.05629
  23. [25]S. Mukherjee, N. Loizou, and S. U. Stich. Locally adaptive federated learning. arXiv preprint arXiv:2307.06306, 2023.arxiv.org/abs/2307.06306
  24. [26]A. Nemirovski, A. Juditsky, G. Lan, and A. Shapiro. Robust stochastic approximation approach to stochastic programming. SIAM Journal on optimization, 19(4):1574–1609, 2009.DOI
  25. [27]Y. Nesterov. Universal gradient methods for convex optimization problems. Mathematical Programming, 152 (1–2):381–404, 2015. doi: 10.1007/s10107-014-0790-0.DOI
  26. [28]F. Orabona. Normalized gradients for all. arXiv preprint arXiv:2308.05621, 2023.arxiv.org/abs/2308.05621
  27. [29]S. Reddi, Z. Charles, M. Zaheer, Z. Garrett, K. Rush, J. Konečný, S. Kumar, and H. B. McMahan. Adaptive federated optimization. In International Conference on Learning Representations, 2021.arxiv.org/abs/2003.00295
  28. [30]S. J. Reddi, S. Kale, and S. Kumar. On the convergence of Adam and beyond. In International Conference on Learning Representations, 2018.arxiv.org/abs/1904.09237
  29. [31]A. Rodomanov, X. Jiang, and S. Stich. Universality of AdaGrad stepsizes for stochastic optimization: Inexact oracle, acceleration and variance reduction. In Advances in Neural Information Processing Systems, 2024.arxiv.org/abs/2406.06398
  30. [32]Y. Sun, L. Shen, H. Sun, L. Ding, and D. Tao. Efficient federated learning via local adaptive amended optimizer with linear speedup. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(12): 14453–14464, 2023.arxiv.org/abs/2308.00522
  31. [33]S. Takakura, S. P. Liew, and S. Hasegawa. FedUa: Doubly adaptive federated learning. arXiv preprint arXiv:2505.11126, 2025.arxiv.org/abs/2505.11126
  32. [34]B. Wang, H. Zhang, Z. Ma, and W. Chen. Convergence of AdaGrad for non-convex objectives: Simple proofs and relaxed assumptions. In Proceedings of Thirty Sixth Conference on Learning Theory, 2023.arxiv.org/abs/2305.18471
  33. [35]C. Wang, Z. Chen, N. Pappas, H. H. Yang, T. Q. Quek, and H. V. Poor. Adaptive federated learning over the air. IEEE Transactions on Signal Processing, 73:3187–3202, 2025.arxiv.org/abs/2403.06528
  34. [36]J. Wang, Z. Xu, Z. Garrett, Z. Charles, L. Liu, and G. Joshi. Local adaptivity in federated learning: Convergence and consistency. arXiv preprint arXiv:2106.02305, 2021.arxiv.org/abs/2106.02305
  35. [37]Y. Wang, L. Lin, and J. Chen. Communication-efficient adaptive federated learning. In Proceedings of the 39th International Conference on Machine Learning, 2022.arxiv.org/abs/2205.02719
  36. [38]Y. Wang, S. Wang, S. Lu, and J. Chen. FADAS: Towards federated adaptive asynchronous optimization. In Proceedings of the 41st International Conference on Machine Learning, 2024.arxiv.org/abs/2407.18365
  37. [39]Z. Wang and A. Yurtsever. Universal adaptive proximal gradient methods via gradient mapping accumulation. arXiv preprint arXiv:2605.05944, 2026.arxiv.org/abs/2605.05944
  38. [40]R. Ward, X. Wu, and L. Bottou. AdaGrad stepsizes: Sharp convergence over nonconvex landscapes. Journal of Machine Learning Research, 21(219):1–30, 2020.
  39. [42]C. Xie, O. Koyejo, I. Gupta, and H. Lin. Local AdaAlter: Communication-efficient stochastic gradient descent with adaptive learning rates. In OPT 2020: 12th Annual Workshop on Optimization for Machine Learning, 2020.arxiv.org/abs/1911.09030
  40. [43]W. Yuan and X. Wang. Aggregated gradients-based adaptive learning rate design in federated learning. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management, 2025.DOI
  41. [44]H. Zhang, K. Zeng, and S. Lin. FedUR: Federated learning optimization through adaptive centralized learning optimizers. IEEE Transactions on Signal Processing, 71:2622–2637, 2023.DOI

Paper details

vlnc:W_2y3samnk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 2

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents