Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 May 8.
Published in final edited form as: Adv Neural Inf Process Syst. 2025 Dec;38:40156–40201.

Exact and Linear Convergence for Federated Learning under Arbitrary Client Participation is Attainable

Bicheng Ying 1, Zhe Li 2, Haibo Yang 2
PMCID: PMC13152002  NIHMSID: NIHMS2161725  PMID: 42111900

Abstract

This work tackles the fundamental challenges in Federated Learning (FL) posed by arbitrary client participation and data heterogeneity, prevalent characteristics in practical FL settings. It is well-established that popular FedAvg-style algorithms struggle with exact convergence and can suffer from slow convergence rates since a decaying learning rate is required to mitigate these scenarios. To address these issues, we introduce the concept of stochastic matrix and the corresponding time-varying graphs as a novel modeling tool to accurately capture the dynamics of arbitrary client participation and the local update procedure. Leveraging this approach, we offer a fresh decentralized perspective on designing FL algorithms and present FOCUS, Federated Optimization with Exact Convergence via Push-pull Strategy, a provably convergent algorithm designed to effectively overcome the previously mentioned two challenges. More specifically, we provide a rigorous proof demonstrating that FOCUS achieves exact convergence with a linear rate regardless of the arbitrary client participation, establishing it as the first work to demonstrate this significant result.

1. Introduction

Federated Learning (FL) has emerged as a powerful paradigm for distributed learning, enabling multiple clients to collaboratively train models without sharing raw data. Yet, a central challenge in FL is the arbitrary and unpredictable nature of client participation. In real-world FL, clients may join or leave at will, participate intermittently, or drop out due to connectivity or resource constraints.

Recall the goal of the FL problem is to minimize the following sum-of-loss function:

F(x):=1Nn=1Nfn(x),fn(x):=Eξ~𝒟nfˆn(x;ξ), (1)

where xRd represents the d-dimensional model parameter and fn stands for the local cost function. It is well established that when clients perform multiple local updates on non-i.i.d. data, their local models tend to diverge. This leads to client drift from the optimal solution of problem (1), a phenomenon that persists even under the often impractical uniform client sampling assumption [Karimireddy et al., 2020, Li et al., 2020]. Moreover, arbitrary client participation introduces another objective bias: instead of converging to the true global optimum, the global model converges to a stationary point of a distorted, participation-weighted objective [Wang et al., 2020, Wang and Ji, 2022]. To mitigate this persistent error, existing methods typically require decaying the learning rate asymptotically to zero, at least in theory. While this strategy can reduce the bias in the limit, it often leads to slower convergence. Hence, a key question naturally arises:

Question: Is it possible to achieve exact convergence under both arbitrary client participation and multiple local updates without decaying the learning rate?

We will provide an affirmative answer to this question in this paper. We begin by introducing a novel analytical framework that reformulates the core operations of FL - client participation, local updates, and model aggregation over time-varying graphs - as a sequence of stochastic matrix multiplications [Horn and Johnson, 2012]. Next, with this tool, we develop a new algorithm FOCUS, Federated Optimization with Exact Convergence via Push-pull Strategy, which is inspired by decentralized optimization algorithms [Nedic and Ozdaglar, 2009, Sayed et al., 2014, Lian et al., 2017, Lan et al., 2020]. More specifically, we leverage the push-pull technique [Xin and Khan, 2018, Pu et al., 2020] with the time-varying graphs [Nedic et al., 2017, Ying et al., 2021, Nguyen et al., 2025] instead of commonly used static or strongly connected communication graphs, since FOCUS is designed for the FL setting. Compared to the variance reduction technique [Johnson and Zhang, 2013, Defazio et al., 2014] or the adaptively learning participation probabilities, the push-pull approach handles the unknown client participation scenario much better both empirically and theoretically.

Our main contributions are summarized as follows:

  • We provide a systematic approach to reformulate all core processes of FL – client participation, local updating, and model aggregation through the stochastic matrix multiplication.

  • We proposed Federated Optimization with Exact Convergence via Push-pull Strategy (FOCUS), which is designed based on the optimization principle instead of heuristic design.

  • Even under arbitrary client participation, FOCUS exhibits linear convergence (exponential decay) for both strongly convex and non-convex (with PL condition) scenarios without assuming the bounded heterogeneity or decaying the learning rates.

  • We also introduce a stochastic gradient variant, SG-FOCUS, which demonstrates faster convergence and higher accuracy, both theoretically and empirically.

2. Related Work

FedAvg [McMahan et al., 2017] is the most widely adopted algorithm in FL. It roughly consists of three steps: 1) the server activates a subset of clients, which then retrieves the server’s current model. 2) Each activated client independently updates the model by training on its local dataset. 3) Finally, the server aggregates the updated models received from the clients, computing their average. This process can be represented mathematically as:

2.

where the set Sr represents the indices of the sampled clients at the communication round r. The notation xrRd stands for the server’s model parameters at r-th round, while xt,i(r) stands for the client is model at the t-th local update step in the r-th round. We use ⇐ to indicate that communication has happened between clients and the server.

Because of the data heterogeneity and multiple local update steps, Li et al. [2020] has shown that the fixed point of FedAvg is not the same as the minimizer of (1) in the convex scenario. More specifically, they quantified that

xo-x2=Ω((τ-1)η)x2, (3)

where xo is the fixed point of the FedAvg algorithm and x is the optimal point. This phenomenon, commonly referred to as client drift [Karimireddy et al., 2020], can be mitigated by introducing a control variate during the local update step, an approach inspired by variance reduction techniques [Johnson and Zhang, 2013]. Prominent examples of this strategy, including SCAFFOLD [Karimireddy et al., 2020] and ProxSkip [Mishchenko et al., 2022], can further circumvent the need for a bounded heterogeneity assumption. Yet, this approach incurs increased communication costs, doubling them due to the transmission of a control variate with the same dimensionality as the model parameters.

Many analytical studies on FL assume that the sampled clients are drawn from a uniform distribution, an assumption shared by the literature cited in the preceding paragraph, but this is almost impractical in reality [Kairouz et al., 2021, Xiang et al., 2024, Li et al., 2025]. Wang and Ji [2022] shows that FedAvg might fail to converge to x under non-uniform sampling distributions, even with a decreasing learning rate η. To address the challenges posed by non-uniformity, a common approach involves either explicitly knowing or adaptively learning the client participation probabilities during the iterative process and subsequently modifying the averaging weights accordingly [Wang and Ji, 2024, Wang et al., 2024, Xiang et al., 2024]. Yet, neither of them can achieve exact convergence, and the learning process may slow down the convergence. An alternative approach is to use Variance Reduction (VR) techniques, as seen in methods like MIFA Gu et al. [2021] and FedVARP Jhunjhunwala et al. [2022]. Yet, the heuristic integration of VR with FL often fails to jointly address the client drift issue. This results, once again, in inexact convergence when a constant learning rate is used.

It is known that FL and decentralized optimization are closely related [Lalitha et al., 2018, Koloskova et al., 2020, Kairouz et al., 2021], and this work is closely related to the tools introduced in the decentralized optimization society. We leave a detailed decentralized literature review in Appendix A

3. Graph, Stochastic Matrix, and Arbitrary Client Participation

FL algorithms are commonly expressed in a per-client style, as exemplified by the previously highlighted FedAvg formulation (2a)(2c). While this representation offers ease of understanding and facilitates straightforward programming implementation, a stacked vector-matrix representation can unlock more powerful mathematical tools for the design and analysis of FL algorithms.

To illustrate the concept, let us consider two toy examples of vector-matrix multiplication:

Wassignx=100100001x0x1x2=x0x0x2,Wavgx=00.50.5010001x0x1x2=x1+x2/2x1x2

While the calculations themselves are straightforward, their significance lies in the appropriate interpretation of the matrices and vectors within the FL context. We interpret xiR1×d as the model parameter stored in the worker i. Index 0 is assigned for the server, and the result indices are for clients. Then, the first Wassign can be viewed as the server assigning its value x0 to client 1 while the value of client 2 is unchanged as the same as not participated scenario. The second Wavg can be viewed as the server setting its own value as the average of the value of worker 1 and worker 2. These two toy matrices reflect the pull and aggregate model – two key steps in the FedAvg algorithm.

More formally, given a sampled client indices set Sr, subscript r for the r-th round, we define the model-assign matrix RSr and the model-average matrix ASr as

RSr[i,j]=1ifiSrandj=01ifiSrandj=i0otherwise,ASr[i,j]=1ifi=j01/SrifiSrandj=00otherswise (4)

While the mathematical notation of the matrix may not be immediately apparent, its structure should be clear to see the illustration provided in Figure 1. In the figure, we utilize the graph language to visualize the matrix W. We can treat W as a weighted adjacency matrix; the non-zero value entry W[i,j] implies a link from node j to node i. Hence, W is also commonly referred as the mixing matrix. Suppose Sr={1,3}, then the matrices RSr and ASr correspond to the leftmost and second leftmost matrices and graphs depicted in the figure, respectively.

Figure 1:

Figure 1:

The graph representation of the communication pattern of 5 nodes and its possible corresponding stochastic matrices. For clearness, the self-loop is not drawn. If the node 0 is treated as server and node 1 to 4 as clients, the leftmost is a typical pull-model step, i.e. client 1 and 3 are participated; the second left graph depicts the model average step in the FedAvg; the third graph is a same graph but using column-stochastic matrix, which is uncommon in the FL literature; The last one is a typical (symmetric) doubly stochastic matrix case used in the decentralized optimization algorithm.

The weights are selected to ensure the resulting matrix is a stochastic matrix. Specifically, a matrix W is called row stochastic if W1=1, where 1 is a all-one vector; it is called column stochastic if 1W=1; and it is doubly stochastic if it satisfies both row and column stochastic properties [Horn and Johnson, 2012, Meyer, 2023]. It is straightforward to verify that the above two matrices both are row-stochastic matrices. Analogously, for the participation set, we can define a corresponding column stochastic matrix CSr and a doubly stochastic matrix WSr.

CSr[i,j]=1ifjSrandi=01ifjSrandi=j0otherswise,WSr[i,j]=1/SrifiSrandj=01/SrifjSrandi=01-iW[i,j]ifi=j0otherswise

Suppose Sr={1,3}, then the matrices WSr and CSr correspond to the rightmost and second rightmost ones depicted in the figure. These four matrices will play the critical role in the following algorithm design and convergence proof section. In contrast to decentralized algorithms, where assumptions are directly imposed on the mixing matrix, we do not make any assumption about them in this paper since we utilize them to model the client participation process. For completeness, a brief review of stochastic matrices and their properties is provided in the Appendix C.

3.1. Arbitrary Client Participation Modeling

FL focuses on the process of generating the arbitrary client participation set Sr. Inspired by Wang and Ji [2022], in this paper, we model the arbitrary client participation by the following assumption.

Assumption 1 (Arbitrary Client Participation). In each communication round, the participation of the i-th worker is indicated by the event Ii, which occurs with a unknown probability pi(0,1]. Ii=1 indicates that the i-th worker is activated while Ii=0 indicates not. The corresponding averaging weights are denoted by qi, where qi=EIi/j=1NIj.

Assumption 1 is a general one covering multiple cases:

Case 1: Full Client Participation. This is simply as pi1 and qi1N for all client indices i.

Case 2: Active Arbitrary Participation. Each client i independently determines if they will participate in the communication round. The event Ii follows the Bernoulli distribution pi, where pi(0,1]. (Note ipi1.) If pii=1N are close to each other, then qipi/jpj.

Case 3: Passive Arbitrary Participation. The server randomly samples m clients in each round. Each client is randomly selected without replacement according to the category distribution with the normalized weights q1,q2,,qN, where iqi=1,qi>0.pi does not have a simple closed form. But if it is sampled with replacement, then pi=1-1-qim.

Case 3a: Uniform Sampling. This is a special case of case 3, where pim/N and qi1/m.

Passive arbitrary participation is often referred to as arbitrary client sampling. We also use “sampling” and “client participation” interchangeably throughout this paper. Now, considering that Sr is generated according to Assumption 1, it can be readily verified that the corresponding assigning matrix and averaging matrix possess the following property:

R=ERSr=100q11-q10qN01-qN,A=EASr=0q1qN010001 (5)

The column-stochastic matrix equals (C=ECSr=R) by definition. While doubly stochastic matrices are prevalent in the decentralized literature, they are not often applicable to FL-style algorithms, and therefore we do not discuss them further. With this approach, we effectively transform the problem of arbitrary client participation probabilities into an analysis of the matrix properties of RSr,ASr, and CSr as which we will exploit in the subsequent section.

4. From Interpretation to Correction: A New Federated Optimization with Exact Convergence via Push-pull Strategy - FOCUS

In this section, we demonstrate how leveraging the graph and stochastic matrix can facilitate the development of more powerful FL algorithms.

4.1. Interpret FedAvg as Decentralized Algorithm with Time-Varying Graphs

A direct application of the above mixing matrix is that we can concisely represent the FL algorithm in vector-matrix form, similar to decentralized algorithms [Li et al., 2020, Koloskova et al., 2020].

First, let xk=vstackxk,0;xk,1;;xk,NR(N+1)×d denote the state at iteration k. This matrix is formed by vertically stacking the server’s model parameters xk,0Rd and the model parameters xk,iRd from the N workers. Similarly, let fxk=vstack0;f1xk,1;;fNxk,NR(N+1)×d represent the corresponding stacked vector of local gradients at iteration k.1 Note that the first component of the stacked gradient is 0 because the server holds no data. This implies that the server’s local loss function is identically zero, f0(x)0, and consequently, f0xk,0=0. This also ensures that including the server’s term f0 does not alter the original loss function defined in (1).

Next, observe that during the local update phase of FedAvg, nodes compute updates independently without communication. In the context of our stochastic matrix, this corresponds to using the identity matrix, I. To represent the algorithm with a single iteration index k, we map the t-th local update in the r-th communication into the k-th iteration, where k=rτ+t. Using the tools previously introduced, we can now reformulate FedAvg (2a)(2c) as the following one-index iterative form:

4.1.

where the time-varying matrices Rk,Ak, and Dk are defined as

Rk=RSrk=rτ+1Iotherwise,Ak=ASrk=(r+1)τIotherwise,Dk[i,j]=1ifi=jSr0otherswise. (7)

This diagonal matrix Dk serves to deactivate unparticipated workers and the server during local updates. Sr is the set of participated clients’ indices at round r, which can be determined by the iteration k, i.e., rτk<(r+1)τ. An illustration of this process using graphs is shown in Figure 2.

Figure 2:

Figure 2:

Represent FedAvg using graphs. The dashed line means no communication.

Mixing Matrices in FedAvg. It is feasible to further condense (6a)(6c) into a single-line form

xk+1=Wkxk-ηfxk (8)

The specific selection of Wk is detailed in the Appendix. But Wk cannot be a doubly stochastic matrix unless it is a full client participation case. Consequently, the theorem presented in [Koloskova et al., 2020] is not directly applicable to FedAvg in this context.

Convergence Result of FedAvg with Arbitrary Participations. In the appendix D, we provide a new proof of FedAvg under the arbitrary participation scenario through this decentralized optimization formulation. When the algorithm k, the limiting point of FedAvg is around an irreducible neighborhood depending on the local update steps τ, data heterogeneity σg2, and the extra bias δq2 introduced due to non-uniform participation probabilities. This motivates us to develop a new FL algorithm capable of addressing and eliminating all aforementioned errors and biases.

4.2. FOCUS Corrects Arbitrary Client Participation and Local-Update Bias

4.2.1. Push-Pull Strategy for FL Settings

To eliminate the biases introduced by arbitrary client participation, we move beyond heuristic designs and adopt a formal optimization framework. This involves reformulating the FL problem as a constrained optimization task, a structure commonly employed in decentralized algorithms:

minx0,x1,,xNF(x)=1Ni=0Nfixi (9)
s.t.RSrx=x,Sr (10)

Note a minor but critical difference from the formulation (1) is that there are N+1 model parameters xi applied in each local cost function fi instead of a single x. To see the equivalence between this and (1), notice RSrx=x implies xi=x0,iSr. Consequently, if the union of all sampled client sets Sr covers the entire client population, then all individual client models and the server model are constrained to converge to the same state.

This formulation motivated us to explore a primal-dual approach to solve this constrained problem. Among the various primal-dual-based decentralized algorithms, the push-pull algorithm aligns particularly well with the FL setting. It is characterized by the following formulation:

xk+1=Rxk-ηkyk (11)
yk+1=Cyk+fxk+1-fxk, (12)

where y0=fx0, and R and C represent row-stochastic and column-stochastic matrices, respectively. The algorithm name “push-pull” arises from the intuitive interpretation of these matrices. The row-stochastic matrix R can be interpreted as governing the “pull” operation, where each node aggregates information from its neighbors. Conversely, the column-stochastic matrix C governs the “push” operation, where each node disseminates its local gradient information to its neighbors. Moreover, recalling the definition of row and column stochastic matrices R1=1 and 1C=1, push-pull algorithm has the following interesting properties:

x=Rx,(consensus property)
1yk=1fxk,k(tracking property)

where x is the fixed point of the algorithm under some mild conditions on the static graph R and C. The first property, consensus, implies that all workers’ model parameters eventually converge to a common value. The second property, tracking, indicates that the sum of the variables y (aggregated across workers) approximates the global gradient, ensuring the algorithm’s iterates move in a direction that minimizes the global loss function. It is worth pointing out that when consensus is reached such that all relevant local models in xk equal some x, the sum of the local gradients 1fxk becomes exactly NF(x). For more details, we refer the readers to Pu et al. [2020], Xin and Khan [2018].

4.2.

We are interested in solving the optimization problem with multiple constraints problem (9)(10). The original push-pull algorithm is not sufficient. Analogous to the approach taken in the FedAvg section, Here, we extend it to the time-varying matrices Rk and Ck to model the client sampling and local update processes, respectively. These modifications lead to the following algorithmic formulation:

xk+1=Rkxk-ηDkyk (13)
yk+1=Ckyk+fxk+1-fxk, (14)

where the definition of Rk is the same as the one in FedAvg and Ck=Rk while Dk is slightly different from (7) about the server’s entry. Dk[0,0]=1 if k=rτ+1 otherwise 0. The graph representation of this algorithm is shown in Figure 3.

Figure 3:

Figure 3:

Illustration of our new FOCUS algorithm. There are two key differences from FedAvg style algorithm. One is it pulls the model variable x but pushes the gradient variable y, and another is the push matrix is the column stochastic matrix instead of the row stochastic.

4.2.2. Convert Vector-Matrix Form Back To FL-Style Algorithm

Substituting the definition of the mixing matrix into (13) and (14), we will get a concrete FL algorithm as listed in Algorithm 1 with non-trivial transformations. The steps to establish this new FL algorithm effectively reverses the process outlined in the previous subsection. Here we provide a few key steps. First, it is straightforward to verify that xk,i and yk,i are not moved if the client i is not participating in the corresponding round, so we will ignore them in the next derivation. At the beginning of the r-th round, i.e. k=rτ+1, (13) becomes

xk+1,0=xk,0-ηyk,0(server updates) (15)
xk+1,ixk+1,0,iSr(client pulls model) (16)

While at the end of the r-th round, i.e. k=(r+1)τ, (14) becomes

yk+1,i=yk,i+fixk+1,i-fixk,i,iSr (17)
yk+1,0yk,0+iSryk+1,i(server collects info) (18)
yk+1,i0,iSr(client resetsyk) (19)

Note that we introduce a temporary variable yk+1,i because the matrix multiplication Ck is applied on the updated value yk instead of yk directly. During local updates, the server does not update the value while the client executes the local update in the gradient tracking style:

xk+1,i=xk,i-ηyk,i (20)
yk+1,i=yk,i+fixk+1,i-fixk,i (21)

Next, we revert to the standard two-level indexing used in FL by mapping the single iteration index k=rτ+t to the r-th iteration and t-th local update step and replacing xk+1,i by xt,i(r).

Finally, assembling all the above equations together and switching the order of x and y, we arrive at the FOCUS shown in Algorithm 1. Because of the switched order, at the beginning of each round, i.e. k=rτ, the y-update becomes

y1,i(r)=y0,i(r)+fix0,i(r)-fix-1,i(r) (22)

Note that in the original update rule (21), the gradient fixk,i is computed in the preceding step and then reused, thus avoiding redundant computation at the current step. This principle of gradient reuse carries over directly to the two-level index notation. Recall that xt,i(r) will not change if the worker i does not participate. Hence, we can establish, by induction, that fix-1,i(r) corresponds to the stored gradient from the end of the most recent round in which the worker participated.

5. Performance Analysis

Now we are ready to present the necessary assumptions and convergence property for FOCUS. Due to limited space, all proofs are deferred to Appendix E.

Assumption 2 (L-Smoothness). All local cost functions fi are L-smooth, i.e., fi(x)fi(y)+x-y,fi(y)+L2x-y2.

Assumption 3 (μ-Strong Convexity). All local cost functions fi are μ-strongly convex, that is, fi(x)fi(y)+x-y,fi(y)+μ2x-y2.

Assumption 4 (PL Condition). The global loss function F satisfies the Polyak-Lojasiewicz condition F(x)22βF(x)-F,x, where β>0 and F is the optimal function value.

Theorem 1. Under arbitrary participation assumption 1 and LSmoothness assumption 2, it can be proved that FOCUS converges at the following rates with various extra assumptions on fi:

  • μStrongly Convex: Under extra assumption 3, if ηmin3μ27NL2,13L(τ-1),qmin3/28LN,
    ExRτ+1-x2ΨR(1-ημN/2)RΨ0 (23)
  • β-PL Condition: Under extra assumption 4, if ηmin3qmin32N,qmin12βN,qmin16L2,qmin3/28LN,
    EFxRτ+1-FΦR(1-ηβN)RΦ0 (24)
  • General Nonconvex: Under no extra assumption, if ηmin12L(τ-1),qmin3/28LN,qmin16L2N,14LN,
    1Rr=0R-1EfxRτ+128fx1-fηNR, (25)

    where the Lyapunov functions Ψr:=Exrτ+1-x2+(1-8ητLN)E1x(r-1)τ+1-xrτF2,Φr=EFxrτ+1-F+1-4ηL2E1xrτ+1-xrτ2 and qmin=miniqi. □

Remark. Note the top two error terms are exponentially decayed, which implies the iteration complexity is 𝒪(log(1/ϵ)). For the general non-convex case, we improve the typical 1/R rate into 1/R thanks to the exact convergence property. See the comparison of our proposed algorithm with other common FL algorithms in Table 1. 𝒪1/ϵ2>𝒪(1/ϵ)𝒪(log(1/ϵ)) in terms of communication and computation complexity. Table 1 highlights the superior performance of FOCUS, which achieves the fastest convergence rate in all scenarios without particular sampling or heterogeneous gradients assumption.

Table 1:

Comparison of multiple algorithms.

Algorithm Exact Converg.1 Strongly-Convex Complexity2 Non-Convex Complexity Assumptions5
Participation Hetero. Grad. Extra Comment
FedAvg
[Li et al., 2020]
O1ϵ O1ϵ2 Uniform Bounded Bounded gradient assumption
LocalSGD
[Koloskova et al., 2020]
O1ϵ O1ϵ3/2 Uniform Bounded Doubly stochastic matrix
FedAU
[Wang and Ji, 2024]
O1ϵ2 Arbitrary Bounded Bounded global gradient
FedAWE
[Xiang et al., 2024]
O1ϵ2 Arbitrary Bounded Doubly stochastic matrix
SCAFFOLD
[Karimireddy et al., 2020]
3 Olog1ϵ O1ϵ Uniform None Comm. 2d vector per round6
ProxSkip/ScaffNew
[Mishchenko et al., 2022]
Olog1ϵ Full None Comm. 2d vector per round
MIFA
[Gu et al., 2021]
O1ϵ2 Arbitrary Bounded Bounded delay Assump. + Server stores each client model
FOCUS
(This paper)
Olog1ϵ Olog1ϵ 4 Arbitrary None No need to learn partici. prob.
1

Exact convergence refers to the algorithm’s ability to converge to the exact solution under arbitrary sampling, without requiring a decaying learning rate.

2

Complexity refers to the number of iterations required for the algorithm to achieve an error within ϵ of the optimal solution. We have removed the impact of the stochastic gradient variance in all rates.

3

There is no convergence proof of SCAFFOLD under arbitrary client participation scenario. Empirically, we observed it may be possible.

4

This rate is established with PL condition.

5

Arbitrary participation refers to Assumption 1 and the bounded heterogeneous gradient are the assumptions that fi(x)-F(x)σG.

6

It is possible to reduce the uplink communication into d while downlink one is still 2d [Huang et al. 2024].

Numerical Validation. To validate our claims, we conducted a numerical experiment using synthetic data since this is the common approach to verify the exact convergence property. The results, presented in Figure 4, were obtained by applying the algorithms to a simple ridge regression problem with the parameters d=100,N=16,K=100,λ=0.01, and τ=5. The loss function is F(x)=1Ni=1Nk=1Kai,kx-bi,k2+λx2 All algorithms employed the same learning rate, η=2e-4. Three distinct sampling scenarios were examined: full client participation, uniform participation, and arbitrary participation. Notably, our FOCUS exhibits linear convergence and outperforms the other algorithms in all scenarios, particularly under arbitrary participation.

Figure 4:

Figure 4:

Convergence performance comparison of various FL algorithms. Under full client participation, FedAvg, FedAU, and MIFA exhibit identical performance, as do SCAFFOLD and ProxSkip, due to their theoretical equivalence in this setting. FedAvg and FedAU fail to converge to the optimal solution across all scenarios because their inherent error and bias cannot be eliminated using a fixed learning rate. ProxSkip diverges under uniform and arbitrary participation, as it is not designed for these conditions. We do not understand why MIFA diverges but it works in ML applications. While SCAFFOLD converges in all cases, our proposed algorithm, FOCUS, demonstrates faster convergence, especially under arbitrary participation.

5.1. Why FOCUS Can Converge Exactly for Arbitrary Participation Probabilities?

At first glance, the ability of FOCUS to achieve exact convergence under arbitrary client sampling probabilities may appear counterintuitive. Unlike other approaches, FOCUS neither requires knowledge of the specific participation probabilities nor necessitates adaptively learning these rates. The sole prerequisite for convergence is that each client maintains a non-zero probability of participation. Plus, the push-pull algorithm was never designed to solve the arbitrary sampling problem.

From an algorithmic perspective, FOCUS closely resembles the delayed/asynchronous gradient descent algorithm even though it is derived from a push-pull algorithm to fit the FL scenario. To see that, leveraging the tracking property of the variable yk and special construction of matrix Ck, we can establish that the server’s yr+1=i=1Nfixk+1,i. Due to arbitrary client participation, at the iteration k,xk+1,i may hold some old version of the server’s model if it does not participate. Thus, we arrive at an insightful conclusion: FOCUS effectively transforms arbitrary participation probabilities into an arbitrary delay in gradient updates. Hence, any client participation scheme, as long as each client participates with a non-zero probability, will still guarantee exact convergence.

5.2. Extension to Stochastic Gradients and ML Applications

In practical machine learning scenarios, computing full gradients is often computationally prohibitive. Therefore, stochastic gradient methods are commonly employed. Our proposed algorithm can be readily extended to incorporate stochastic gradients, resulting in the variant SG-FOCUS. However, due to space constraints, we focus on the deterministic setting in the main body of this paper. A comprehensive description of SG-FOCUS, along with its convergence analysis, is provided in Appendix F. The appendix also benchmarks SG-FOCUS’s performance on the CIFAR-10 classification task, highlighting its faster convergence and improved accuracy over other FL algorithms. This performance trend echoes that of its deterministic counterpart.

Theorem 2 (Informal Convergence Theorem of SG-FOCUS). Under arbitrary participation assumption 1, LSmoothness assumption 2, and unbiased and bounded variance assumption on stochastic gradient (See assumption 6 in appendix F), it can be proved that SG-FOCUS converges at the following rates with various extra assumptions on fi:

  • μ-Strongly Convex: Under extra assumption 3, for sufficiently small learning rate η, we have
    ΓR1-ημN2RΓ0+4qmin+N2μNqminησ2, (26)

    where the Lyapunov functions Γr:=Ex(r+1)τ+1-x2+1-8ηL2N/μE1x(r-1)τ+1-x(r-1)τF2 and σ is the variance upper bound of the stochastic gradient noise.

  • β-PL Condition: Under extra assumption 4, for sufficient small learning rate η, we have
    ΩR(1-ηβN)RΩ0+L2+32(τ-1)2L2+8qminηβσ2, (27)

    Where Ωr:=Fxrτ+1-F+1-4ηL2E1xr-1τ+1-xr-1τ2.

  • General Nonconvex: Under no extra assumption, for sufficient small learning rate η, we have
    1Rr=0R-1EFxrτ+128Fx1-FηNR+2LN+8N2N-8L2qminη2σ2. (28)

    See the formal statement and the proof in Appendix F.

Remarks on Linear Speedup. A common expectation in FL theory is the demonstration of a linear speedup in the convergence rate, where the rate scales proportionally with the number of clients, N. By inspecting the general non-convex convergence rate in Theorem 1, we see the error residual term is 𝒪(1/(ηNR)). Yet, the stability of FOCUS necessitates a learning rate η that is restricted by 𝒪(1/N). This N dependence cancels out. We want to highlight that this result is expected. The linear speedup typically holds when N is used to average out stochastic noise (like in Stochastic Gradient Descent variants). Since FOCUS is an exact algorithm, it does not introduce this stochasticity, and therefore, it is natural that the linear speedup benefit from increasing the number of clients is not reflected in the convergence bound. In contrast to the analysis of FOCUS, the convergence rate of SG-FOCUS in the general non-convex setting does indeed reflect the benefits of client aggregation. Specifically, by setting the learning rate η to 𝒪(1/N), the stochastic variance term diminishes proportionally to 𝒪(1/N), which confirms the presence of the linear speedup.

6. Conclusion

This work addresses the critical challenges of arbitrary client participation and client drift in Federated Learning, two factors that prevent traditional algorithms from achieving exact convergence. By introducing a novel framework based on stochastic matrices and time-varying graphs, we model these dynamics and reformulate the FL problem as a constrained optimization task. This principled approach, moving beyond simple heuristics, led to the development of FOCUS, an algorithm derived from the push-pull optimization strategy. Our theoretical analysis and numerical experiments demonstrate that FOCUS can achieve exact linear convergence under any client participation scheme, without needing to know or learn participation probabilities. The extension to a stochastic gradient setting, SG-FOCUS, further validates its practical effectiveness.

Limitations

The arbitrary client participation modeling used in the proof of this paper did not consider the Markov process, i.e., the client participation probabilities depend on the participation status in the last round. We believe that FOCUS still converges exactly under this scenario since the stochastic matrix modeling and push-pull strategy still hold for any realizations. However, the extension of the proof is non-trivial due to the correlation between stochastic matrices. We leave this and a more general arbitrary participation scenario for future research directions.

Future Works.

The framework of stochastic matrices and time-varying graphs provides a novel tool for modeling arbitrary client participation and local update dynamics in FL. By leveraging this approach, we establish a formal connection between FL and the rich field of decentralized optimization. While this paper focused on FedAvg and the Push-Pull algorithm as initial examples, a promising avenue for future research is to adapt other sophisticated decentralized algorithms.

Supplementary Material

1

Acknowledgement

The authors gratefully acknowledge Edward Duc Hien Nguyen and Xin Jiang for the discussion that inspired the connection between time-varying graphs and client sampling. Research reported in this publication was supported by the National Institute Of General Medical Sciences of the National Institutes of Health under Award Number R16GM159671. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

Footnotes

1

In the decentralized optimization literature, it is common to represent parameters x and gradients f(x) as row vectors (dimension 1×d). This allows the graph mixing operation, defined by a matrix WR(N+1)×(N+1), to be concisely expressed as Wxk.

2

The code is available at https://github.com/BichengYing/FedASL. The algorithm was originally named Federated Learning for Arbitrary Sampling and Local Update (FedASL). The acronym ASL also stands for the Adaptation System Laboratory at UCLA and EPFL, where Dr. Ying completed his Ph.D.

39th Conference on Neural Information Processing Systems (NeurIPS 2025).

References

  1. Assran M, Loizou N, Ballas N, and Rabbat M. Stochastic gradient push for distributed deep learning. In International Conference on Machine Learning, pages 344–353. PMLR, 2019. [Google Scholar]
  2. Beltrán ETM, Pérez MQ, Sánchez PMS, Bernal SL, Bovet G, Pérez MG, Pérez GM, and Celdrán AH. Decentralized federated learning: Fundamentals, state of the art, frameworks, trends, and challenges. IEEE Communications Surveys & Tutorials, 2023. [Google Scholar]
  3. Cattivelli FS, Lopes CG, and Sayed AH. Diffusion recursive least-squares for distributed estimation over adaptive networks. IEEE Transactions on Signal Processing, 56(5):1865–1877, 2008. [Google Scholar]
  4. Chen J and Sayed AH. Diffusion adaptation strategies for distributed optimization and learning over networks. IEEE Transactions on Signal Processing, 60(8):4289–4305, 2012. [Google Scholar]
  5. Defazio A, Bach F, and Lacoste-Julien S. Saga: A fast incremental gradient method with support for non-strongly convex composite objectives. Advances in neural information processing systems, 27, 2014. [Google Scholar]
  6. Fang M, Zhang Z, Hairi P. Khanduri, Liu J, Lu S, Liu Y, and Gong N. Byzantine-robust decentralized federated learning. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pages 2874–2888, 2024. [Google Scholar]
  7. Gu X, Huang K, Zhang J, and Huang L. Fast federated learning in the presence of arbitrary device unavailability. Advances in Neural Information Processing Systems, 34:12052–12064, 2021. [Google Scholar]
  8. Horn RA and Johnson CR. Matrix analysis. Cambridge university press, 2012. [Google Scholar]
  9. Huang X, Li P, and Li X. Stochastic controlled averaging for federated learning with communication compression. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=jj5ZjZsWJe. [Google Scholar]
  10. Jhunjhunwala D, Sharma P, Nagarkatti A, and Joshi G. Fedvarp: Tackling the variance due to partial client participation in federated learning. In Uncertainty in Artificial Intelligence, pages 906–916. PMLR, 2022. [Google Scholar]
  11. Johnson R and Zhang T. Accelerating stochastic gradient descent using predictive variance reduction. Advances in neural information processing systems, 26, 2013. [Google Scholar]
  12. Kairouz P, McMahan HB, Avent B, Bellet A, Bennis M, Bhagoji AN, Bonawitz K, Charles Z, Cormode G, Cummings R, et al. Advances and open problems in federated learning. Foundations and trends® in machine learning, 14(1–2):1–210, 2021. [Google Scholar]
  13. Karimireddy SP, Kale S, Mohri M, Reddi S, Stich S, and Suresh AT. Scaffold: Stochastic controlled averaging for federated learning. In International conference on machine learning, pages 5132–5143. PMLR, 2020. [Google Scholar]
  14. Koloskova A, Loizou N, Boreiri S, Jaggi M, and Stich S. A unified theory of decentralized sgd with changing topology and local updates. In International Conference on Machine Learning, pages 5381–5393. PMLR, 2020. [Google Scholar]
  15. Krizhevsky A, Hinton G, et al. Learning multiple layers of features from tiny images. 2009.
  16. Lalitha A, Shekhar S, Javidi T, and Koushanfar F. Fully decentralized federated learning. In Third workshop on bayesian deep learning (NeurIPS), volume 2, 2018. [Google Scholar]
  17. Lan G, Lee S, and Zhou Y. Communication-efficient algorithms for decentralized and stochastic optimization. Mathematical Programming, 180(1):237–284, 2020. [Google Scholar]
  18. Li X, Huang K, Yang W, Wang S, and Zhang Z. On the convergence of fedavg on non-iid data. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=HJxNAnVtDS [Google Scholar]
  19. Li Z, Shi W, and Yan M. A decentralized proximal-gradient method with network independent step-sizes and separated convergence rates. IEEE Transactions on Signal Processing, 67(17):4494–4506, 2019. [Google Scholar]
  20. Li Z, Nabavirazavi S, Ying B, Iyengar S, and Yang H. Fast: A lightweight mechanism unleashing arbitrary client participation in federated learning. In Proceedings of International Joint Conference on Artificial Intelligence, pages 5644–5652, 2025. URL 10.24963/ijcai.2025/628. [DOI] [Google Scholar]
  21. Lian X, Zhang C, Zhang H, Hsieh C-J, Zhang W, and Liu J. Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent. Advances in neural information processing systems, 30, 2017. [Google Scholar]
  22. McMahan B, Moore E, Ramage D, Hampson S, and y Arcas BA. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273–1282. PMLR, 2017. [Google Scholar]
  23. Meyer CD. Matrix analysis and applied linear algebra. SIAM, 2023. [Google Scholar]
  24. Mishchenko K, Malinovsky G, Stich S, and Richtárik P. Proxskip: Yes! local gradient steps provably lead to communication acceleration! finally! In International Conference on Machine Learning, pages 15750–15769. PMLR, 2022. [Google Scholar]
  25. Nedić A and Olshevsky A. Distributed optimization over time-varying directed graphs. IEEE Transactions on Automatic Control, 60(3):601–615, 2014. [Google Scholar]
  26. Nedic A and Ozdaglar A. Distributed subgradient methods for multi-agent optimization. IEEE Transactions on Automatic Control, 54(1):48–61, 2009. [Google Scholar]
  27. Nedic A, Olshevsky A, and Shi W. Achieving geometric convergence for distributed optimization over time-varying graphs. SIAM Journal on Optimization, 27(4):2597–2633, 2017. [Google Scholar]
  28. Nguyen EDH, Jiang X, Ying B, and Uribe CA. On graphs with finite-time consensus and their use in gradient tracking. SIAM Journal on Optimization, 35(2):872–898, 2025. [Google Scholar]
  29. Pu S, Shi W, Xu J, and Nedić A. Push–pull gradient methods for distributed optimization in networks. IEEE Transactions on Automatic Control, 66(1):1–16, 2020. [Google Scholar]
  30. Ryu EK and Yin W. Large-scale convex optimization: algorithms & analyses via monotone operators. Cambridge University Press, 2022. [Google Scholar]
  31. Saadatniaki F, Xin R, and Khan UA. Decentralized optimization over time-varying directed graphs with row and column-stochastic matrices. IEEE Transactions on Automatic Control, 65(11):4769–4780, 2020. [Google Scholar]
  32. Sayed AH et al. Adaptation, learning, and optimization over networks. Foundations and Trends® in Machine Learning, 7(4–5):311–801, 2014. [Google Scholar]
  33. Shi W, Ling Q, Wu G, and Yin W. Extra: An exact first-order algorithm for decentralized consensus optimization. SIAM Journal on Optimization, 25(2):944–966, 2015. [Google Scholar]
  34. Shi Y, Shen L, Wei K, Sun Y, Yuan B, Wang X, and Tao D. Improving the model consistency of decentralized federated learning. In International Conference on Machine Learning, pages 31269–31291. PMLR, 2023. [Google Scholar]
  35. Wang J, Liu Q, Liang H, Joshi G, and Poor HV. Tackling the objective inconsistency problem in heterogeneous federated optimization. Advances in neural information processing systems, 33:7611–7623, 2020. [Google Scholar]
  36. Wang L, Guo Y, Lin T, and Tang X. Delta: Diverse client sampling for fasting federated learning. Advances in Neural Information Processing Systems, 36, 2024. [Google Scholar]
  37. Wang S and Ji M. A unified analysis of federated learning with arbitrary client participation. Advances in Neural Information Processing Systems, 35:19124–19137, 2022. [Google Scholar]
  38. Wang S and Ji M. A lightweight method for tackling unknown participation statistics in federated averaging. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=ZKEuFKfCKA [Google Scholar]
  39. Xiang M, Ioannidis S, Yeh E, Joe-Wong C, and Su L. Efficient federated learning against heterogeneous and non-stationary client unavailability. Advances in Neural Information Processing Systems, 37:104281–104328, 2024. [Google Scholar]
  40. Xin R and Khan UA. A linear algorithm for optimization over directed graphs with geometric convergence. IEEE Control Systems Letters, 2(3):315–320, 2018. [Google Scholar]
  41. Ying B, Yuan K, Chen Y, Hu H, Pan P, and Yin W. Exponential graph is provably efficient for decentralized deep training. Advances in Neural Information Processing Systems, 34:13975–13987, 2021. [Google Scholar]
  42. Yuan K, Ling Q, and Yin W. On the convergence of decentralized gradient descent. SIAM Journal on Optimization, 26(3):1835–1854, 2016. [Google Scholar]
  43. Yuan K, Ying B, Zhao X, and Sayed AH. Exact diffusion for distributed optimization and learning—part i: Algorithm development. IEEE Transactions on Signal Processing, 67(3):708–723, 2018. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

1

RESOURCES