      Enhancing Parallelism in Decentralized Stochastic Convex Optimization


                                       Ofri Eisen * 1 Ron Dorfman * 1 Kfir Y. Levy 1


                         Abstract                                   this design simplifies training management, it faces scala-
                                                                    bility challenges due to communication bottlenecks and is
      Decentralized learning has emerged as a power-
                                                                    inherently vulnerable to a single point of failure since the
      ful approach for handling large datasets across
                                                                    server is essential to system operation.
      multiple machines in a communication-efficient
      manner. However, such methods often face scal-                In contrast, decentralized systems rely on direct interactions
      ability limitations, as increasing the number of              between neighboring machines, eliminating the need for a
      machines beyond a certain point negatively im-                central PS (Kempe et al., 2003; Boyd et al., 2006; Nedic
      pacts convergence rates. In this work, we propose             & Ozdaglar, 2009; Lian et al., 2017). While this architec-
      Decentralized Anytime SGD, a novel decentral-                 ture introduces challenges in coordination and maintaining
      ized learning algorithm that significantly extends            global model consistency, it offers significant advantages.
      the critical parallelism threshold, enabling the ef-          By reducing the risk of a single point of failure and en-
      fective use of more machines without compromis-               hancing communication efficiency, decentralized systems
      ing performance. Within the stochastic convex                 provide greater flexibility and resilience (Assran et al., 2019;
      optimization (SCO) framework, we establish a                  Kong et al., 2021; Yuan et al., 2021; Li et al., 2022).
      theoretical upper bound on parallelism that sur-
                                                                    A central trade-off in distributed learning, both centralized
      passes the current state-of-the-art, allowing larger
                                                                    and decentralized, lies in balancing parallelism with statisti-
      networks to achieve favorable statistical guaran-
                                                                    cal efficiency. While increasing parallelism—by incorporat-
      tees and closing the gap with centralized learning
                                                                    ing more machines—can accelerate training, it may degrade
      in highly connected topologies.
                                                                    learning efficiency beyond a certain point. This issue is
                                                                    particularly acute in decentralized systems, where sparse
                                                                    communication topologies amplify performance degrada-
1. Introduction                                                     tion, limiting the effective utilization of additional machines.
Distributed learning has become a key paradigm for large-           Existing decentralized methods reveal a persistent gap be-
scale machine learning (ML), where multiple machines                tween centralized and decentralized learning in their ability
train an ML model by utilizing their collective data and            to scale with the number of machines (Koloskova et al.,
computational resources (Verbraeken et al., 2020). This ap-         2020; 2021; He et al., 2022). Surprisingly, this gap is ob-
proach enables efficient ML scaling by accelerating training        served even in highly connected network topologies, where
through parallel computation. Distributed ML systems are            information between nodes propagates faster, effectively
especially useful when data is inherently distributed across        mimicking the behavior of centralized systems. This raises
multiple users, as in federated learning (McMahan et al.,           the question of whether decentralized methods are funda-
2017; Kairouz et al., 2021), where preserving local data            mentally constrained in fully exploiting increased paral-
privacy is a priority.                                              lelism, even under ideal communication conditions.
Distributed learning systems are broadly categorized into           In this work, we propose Decentralized Anytime SGD (DAT-
two primary architectures: centralized and decentralized.           SGD), a novel and simple algorithm designed to enhance
Centralized systems rely on a central parameter server (PS)         parallelism in decentralized systems. It relies on the Any-
to coordinate training by aggregating local computations and        time SGD framework (Cutkosky, 2019), where stochastic
distributing global model updates (Li et al., 2014). While          gradient descent (SGD) updates are performed using gra-
  *
   Equal contribution 1 Department of Electrical and Computer       dients evaluated at averaged iterates. Each machine per-
Engineering, Technion, Haifa, Israel. Correspondence to: Ofri       forms these updates locally and exchanges information with
Eisen <ofri.eisen@campus.technion.ac.il>.                           its neighbors. By relying on averaged query points that
                                                                    evolve more slowly than the iterates themselves, our ap-
Proceedings of the 42 nd International Conference on Machine        proach effectively mitigates the bias caused by local model
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025
by the author(s).                                                   inconsistencies, also known as consensus distance.

                                                                1
                                           Enhancing Parallelism in Decentralized SCO

                                                                        & Ozdaglar, 2009; Lian et al., 2017). This design not only
Table 1. Parallelism Bounds. Comparison of parallelism bounds
                                                                        mitigates the risk of a single point of failure but also offers
for decentralized SCO across different network topologies for
Decentralized SGD (D-SGD, Koloskova et al., 2020) and our               greater scalability and flexibility (Assran et al., 2019; Kong
method, expressed in terms of the total number of samples N =           et al., 2021; Yuan et al., 2021). A common mechanism
M√ · T . For reference, the centralized case achieves a bound of        underpinning these benefits is the gossip averaging protocol
O( N ). NC stands for near-complete graph. Higher parallelism           (Xiao & Boyd, 2004; Boyd et al., 2006), a low-overhead
bounds are better, allowing us to accelerate the learning process       communication method that efficiently disseminates model
without degrading performance.                                          updates across the network.
                                                                        In the context of stochastic optimization, decentralized train-
  T OPOLOGY        1/ρ         D-SGD             DAT-SGD
                                                                        ing approaches have garnered considerable interest in re-
  R ING            O(M 2 )     O(N 1/8 )         O(N 1/6 )              cent years. The stochastic convex case was explored by
  T ORUS           O(M )       O(N 1/6 )         O(N√1/4 )              Lian et al. (2017), who analyzed the Decentralized-SGD
  NC               ≈1          O(ρ1/2 N 1/4 )    O(ρ N )                (D-SGD) method. Later, Koloskova et al. (2020) extended
                                                                        this approach within a unified framework that accounts for
                                                                        changing topologies and randomized gossip communication.
We perform our analysis within the stochastic convex opti-              While these aforementioned methods degrade in the face of
mization (SCO) framework—a powerful framework which                     data heterogeneity, Koloskova et al. (2021) completely elim-
captures several classical problems like SVMs and linear                inated this issue by employing an approach called gradient-
regression, as well as serving as a testbed towards designing           tracking (Di Lorenzo & Scutari, 2016; Nedic et al., 2017;
and analyzing ML algorithms.                                            Pu & Nedić, 2021). See Table 2 for a comparison of conver-
                                                                        gence rates.
For convex and smooth functions, our method achieves an
error of ϵ over a decentralized network of M machines                   Curiously, all existing methods present convergence bounds
in T = O(1/M ϵ2 + 1/ρϵ) iterations, where ρ ∈ (0, 1]                    that imply a clear gap between the centralized and decen-
is the spectral gap of the network, a parameter that cap-               tralized cases, even for highly connected topologies. √ Con-
tures the connectivity of the network topology (see Def-                cretely, in centralized systems one may use up to O( N )
inition 2.5 for a formal definition). This result implies               machines to accelerate the learning process without degrad-
that (1) for complete (or near-complete) topologies, where              ing generalization (Dekel et al., 2012), where N is the total
ρ = Ω(1), our algorithm recovers the convergence rate of                number of samples used in the process. Conversely, in de-
centralized methods (Dekel et al., 2012), thus filling the              centralized systems
                                                                                     √        the best known parallelization limit is
gap implied by prior methods; and (2) for general topolo-               M ≤ O((ρ N )1/2 ), which is substantially smaller. See
gies, it improves upon the previously best-known rate of                Table 1 for bounds regarding different topologies.
O(1/M ϵ2 + 1/ρ1/2 ϵ3/2 ) (Koloskova et al., 2020), thereby              Decentralized training has also been extensively studied in
enabling larger networks while maintaining linear speed-up;             the context of stochastic non-convex optimization. This
see Table 1 for a comparison of parallelism bounds for com-             was done in (Lian et al., 2017; Koloskova et al., 2020;
mon network topologies. In Section 2.1, we elaborate on                 2021), which have derived analogous bounds to the ones
the computation of these parallelism bounds.                            they achieved in the convex setting. Additionally, Kong
                                                                        et al. (2021) empirically studied the interplay between the
1.1. Related Work                                                       local model parameters and gossip communication. More
Centralized learning systems are widely adopted in both                 recently, He et al. (2022) improved convergence rates for
industry and academia, thanks to their simplicity and the               non-convex problems by replacing local SGD updates with
effectiveness of Minibatch SGD (Dekel et al., 2012), which              local momentum √ updates, establishing a parallelization limit
is the most widespread approach to training in such sys-                of M ≤ O((ρ N )2/3 ). However,  √ this remains below the
tems. While alternative centralized methods like local-SGD              centralized bound of M ≤ O( N ), which applies in the
have been explored in recent years (McMahan et al., 2017;               non-convex setting.
Kairouz et al., 2021), Minibatch SGD still serves as a cor-             To further improve the parallelism bound, we build on a re-
nerstone in large-scale training due to its ease of implemen-           cent technique that involves gradually shifting query points
tation and strong empirical performance.                                in SCO (Cutkosky, 2019). This approach has been lever-
Despite the enduring popularity of centralized training, de-            aged in recent works to improve asynchronous (Aviv et al.,
centralized systems present an appealing alternative by elim-           2021) and local (Dahan & Levy, 2024) training methods,
inating the need for a central parameter server and enabling            as well as to design universal accelerated algorithms (Kavis
direct communication among neighboring machines (Tsit-                  et al., 2019; Ene et al., 2021; Antonakopoulos et al., 2022).
siklis, 1984; Kempe et al., 2003; Boyd et al., 2006; Nedic

                                                                    2
                                              Enhancing Parallelism in Decentralized SCO

                                                                             We note that our bounded heterogeneity assumption has
Table 2. Convergence to ϵ-accuracy. Comparison of convergence
                                                                             been widely adopted in prior works (Lian et al., 2017; Tang
rates with prior work in convex decentralized learning. Here, σ
denotes noise variance, ζ represents data heterogeneity, and ρ is the        et al., 2018a; Li et al., 2019; He et al., 2022). Notably,
spectral gap. We note that the leading term σ 2 /M ϵ2 is statistically       some studies have explored milder assumptions, requiring
optimal (Nemirovski & Yudin, 1983).                                          bounded heterogeneity only at the optimum (Koloskova
                                                                             et al., 2020) or at the origin (Lu & De Sa, 2021), or even
  R EFERENCE                          C ONVERGENCE R ATE                     removing this assumption entirely by leveraging techniques
                                        2      √                           such as gradient tracking (Nedic et al., 2017; Koloskova
                                               σ ρ+ζ
  KOLOSKOVA ET AL . (2020)           O Mσ ϵ2 + ρϵ3/2 + ρϵ 1
                                                                             et al., 2021). In this work, we adopt the standard bounded
                                        2                                  heterogeneity assumption for simplicity, leaving potential
  KOLOSKOVA ET AL . (2021)           O Mσ ϵ2 + √ρϵσ3/2 + ρϵ
                                                          1
                                        2     √    √                       relaxations to future work.
  T HIS W ORK                        O Mσ ϵ2 + σ+ ρϵ
                                                      ζ
                                                        + 1
                                                          ϵ
                                                                             Decentralized Training. We consider systems (networks)
                                                                             where nodes are connected through a communication graph,
2. Problem Setup and Background                                              and each node can efficiently communicate with its neigh-
In this section, we formally define our problem setup and                    bors. In such decentralized systems, nodes represent ma-
provide an overview of relevant background.                                  chines, and edges correspond to communication links.

We study decentralized SCO problems, where the objective                     Gossip averaging is a robust communication protocol that
is to minimize a convex loss function f : Rd → R defined                     efficiently and reliably propagates information across the
as follows:                                                                  decentralized network without relying on a central coor-
                                                                             dinator (Xiao & Boyd, 2004; Boyd et al., 2006; Nedic &
                        M
                    1 X                                                      Ozdaglar, 2009; Shi et al., 2014; Koloskova et al., 2020).
       f (x) :=           {fi (x) := Ez∼Di [fi (x, z)]} ,         (1)
                    M i=1
                                                                             Concretely, suppose each machine i in the network holds a
                d
where fi : R → R represents the loss function on ma-                         vector xi0 ∈ Rd , and our goal is to efficiently
                                                                                                                      P i and robustly
                                                                                                                    1
chine i ∈ {1, . . . , M }, Di is the local data distribution, and            communicate the consensus x̄ := M           i x0 to all of the
fi (·, z) is the instance-dependent loss for a given sample z                machines in the network. Gossip averaging is a sequential
on machine i.                                                                process towards doing so, where each machine computes a
                                                                             sequence {xit }t such that xit eventually converges to x̄ for
We focus on first-order optimization methods, where in                       all i. At every gossip step, each node i updates its vector as
round t, each machine i samples zti ∼ Di , computes a                        a weighted average of its neighbors:
stochastic gradient estimate ∇fi (xit , zti ), and uses it to up-
date its local iterate xit . The method ultimately produces                                                M
                                                                                                           X
an output xoutput , and its performance is measured by the                                       xit+1 =         Pij xjt ,
expected excess loss, defined as:                                                                          j=1

         E[Excess-Loss] := E[f (xoutput )] − f (x∗ ) ,                       where Pij > 0 if nodes i and j are connected, and
         ∗                                                                   P ∈ [0, 1]M ×M is a given gossip matrix which satisfies
where x ∈ arg minx∈Rd f (x) is a minimizer of f , and the
                                                                             the following properties.
expectation is taken over the randomness of the samples.
                                                                             Definition 2.4 (Gossip matrix). A gossip matrix P ∈
Throughout, we make the following standard assumptions.                      [0, 1]M ×M is a symmetric, doubly stochastic matrix. That
Assumption 2.1 (Smoothness). Each function fi is L-                          is, P satisfies P = P T as well as P 1 = 1 and 1T P = 1T .
smooth, i.e., for any x, y ∈ Rd we have:
                                          L                                  These properties imply that (i) for any node i then
                                                    2
    fi (y) ≤ fi (x) + ∇fi (x)T (y − x) +     ∥y − x∥ .                       {Pij }j∈[M ] is a weight vector (i.e., has positive entries
                                           2
                                                                             which sum to 1),Pand that (ii) thePconsensus is preserved i.e.
Assumption 2.2 (Bounded noise variance). There exists a                                    1
                                                                             that ∀t, x̄ = M
                                                                                                M    i     1     M    i
                                                                                                i=1 x0 = M       i=1 xt .
constant σ 2 such that for all x ∈ Rd and i ∈ [M ]:
                                               2
                                                                             As is standard in the literature we shall assume that the
             Ez∼Di ∥∇fi (x, z) − ∇fi (x)∥ ≤ σ 2 .                            matrix P is given and satisfies the above properties.
Assumption 2.3 (Bounded heterogeneity). There exists a                       Note that gossip averaging can be written in matrix form as:
constant ζ 2 such that for all x ∈ Rd :
                    M                                                                               Xt+1 = Xt P ,
              1 X
                    ∥∇fi (x) − ∇f (x)∥2 ≤ ζ 2 .
                                                                             where Xt := x1t     x2t · · · xM
                                                                                                              
              M i=1                                                                                         t   ∈ Rd×M .

                                                                         3
                                         Enhancing Parallelism in Decentralized SCO

A key characteristic of the gossip matrix is the spectral gap,       Interestingly, the parallelism bound differs based on data
reflecting the connectivity degree of the network topology.          heterogeneity. In homogeneous setups (ζ = 0), we can
Definition 2.5 (Spectral gap). For a gossip matrix P with            scale up to M ≤ O(ρ1/2 N 1/4 ), whereas in heterogeneous
eigenvalues 1 = λ1 > |λ2 | ≥ · · · ≥ |λM |, the spectral gap         settings (ζ > 0), the limit tightens to M ≤ O(ρN 1/4 ),
is defined as:                                                       which can be significantly lower for sparse topologies. It
                  ρ := 1 − |λ2 | ∈ (0, 1].                           is worth mentioning that Koloskova et al. (2021) enhanced
                                                                     this bound, by incorporating a gradient tracking mechanism,
An important property of gossip averaging is its contractive         eliminating the dependence on ζ altogether.
effect on the distance from the average of local vectors.            Note that even for dense graph topologies, where ρ ≈ 1,
                                              1
Property 2.6. Let X ∈ Rd×M and define X̄ := X M 11⊤ .                the rate in (3) does not match the centralized case. As we
Let P ∈ RM ×M be a gossip matrix with spectral gap ρ.                                                     bridges√this gap, achiev-
                                                                     establish in Section 4, our√approach √
Then,                                                                ing an error rate of O(σ/ M T + ( σ + ζ)/ρT + 1/T ).
                                                                     This√improvement increases the parallelism bound to M ≤
           ∥XP − X̄∥2F ≤ (1 − ρ)∥X − X̄∥2F .              (2)        O(ρ N ). Table 2 provides a comparison of convergence
                                                                     rates with prior work.
The above, along with the consensus-preserving property,
ensures that iterative gossip averaging converges to the con-        3. The Pitfall of Decentralized SGD
sensus (i.e., the average of the local vectors) exponentially
fast. Notably, in complete graph topologies where ρ = 1,             Next, we discuss the D-SGD algorithm and outline its key
consensus is achieved in a single gossip step, effectively           limitation. Given the structure of decentralized topologies,
mimicking centralized behavior.                                      the D-SGD algorithm naturally extends SGD. As described
                                                                     in Algorithm 1, each machine alternates between updating
2.1. Parallelism Bounds                                              its local model weights using the standard SGD rule and
                                                                     exchanging information with its neighbors via gossip av-
It has been well established in the literature that the con-         eraging. However, unlike in centralized Minibatch SGD,
       √ rate of SGD for convex functions is given by
vergence                                                             where all machines compute gradients at the same query
O(σ/ T + 1/T ), where T is the number of iterations (Ne-             points, decentralized training lacks immediate synchroniza-
mirovski et al., 2009; Agarwal et al., 2012). Assuming each          tion. Since gossip-based communication does not instantly
iteration processes a single sample, we have N = T total             enforce consensus (unless ρ = 1), local models diverge, and
samples.                                                             each machine evolves independently.
In distributed systems, computation is distributed across M          This lack of synchronization introduces a fundamental chal-
machines, therefore accelerating the training process. With          lenge: gradient estimates at each node become biased
M machines, we process N samples in just T = N/M                     with respect to the global consensus, affecting conver-
iterations. However, as we mentioned, this parallelization           gence analysis. As shown in (Koloskova et al., 2019),
introduces a trade-off, as increasing M can eventually re-           thisPbias is closely tied to the consensus            Ξt :=
                                                                      1    M                                 1
                                                                                                               PMdistance
duce efficiency, as we show next.                                          i=1 ∥w i
                                                                                  t −  w̄t ∥2
                                                                                              , where w̄ t =       w
                                                                                                                i=1 t
                                                                                                                     i
                                                                                                                       represents
                                                                     M                                       M
For centralized systems, Dekel et al. (2012) derived the             the global average of local models. The consensus dis-
following convergence rate for Mini-batch (Parallel) SGD:            tance quantifies the discrepancy between local models, and
                                                                     limited communication makes it challenging to minimize.
                                                    
                        σ       1            σ       M               This issue can be framed as a competition between the rate
E[Excess-Loss] = O √          +      =O √ +              .           of consensus achievement and the rate at which local pa-
                        MT      T             N      N
                           √                                         rameters evolve. If all machines synchronized instantly,
Thus, as long as M ≤ O( N ) (ignoring σ), we can in-                 D-SGD would closely resemble centralized Minibatch SGD.
crease M without degrading performance.                              However, for any ρ < 1, perfect synchronization remains
                                                                     unattainable, necessitating to control and bound this bias.
For decentralized systems, Koloskova et al. (2020) analyzed
the Decentralized SGD (D-SGD) algorithm, obtaining the               To gain intuition, consider the D-SGD update rule under
error rate:                                                          the simplifying assumption that
                                                                                                 PM   the gradient variance across
                                                                                               1            i       2     2
                                                                     nodes is bounded: Ψt := M       i=1 ∥gt − ḡt ∥ ≤ G for all
                 σ 2/3 ρ1/3 + ζ 2/3
                                          
          σ                              1                                               1
                                                                                           PM i
  O √          +                     +       =                       t ≥ 1, where ḡt = M i=1 gt is the global average of local
          MT          ρ2/3 T 2/3        ρT                           stochastic gradients.
                                                  !
            σ      σ 2/3 ρ1/3 + ζ 2/3 M 2/3    M
     O √ +                                   +        . (3)          Using standard gossip averaging analysis and the SGD up-
            N              ρ2/3 N 2/3          ρN                    date rule, we can obtain the following recursion for the

                                                                 4
                                         Enhancing Parallelism in Decentralized SCO

Algorithm 1 Decentralized SGD (D-SGD)                                 Algorithm 2 Decentralized Anytime SGD (DAT-SGD)
                                  d                                    1: Input: Initial iterate w1 , learning rate η, gossip matrix
  Input: Initial point w1 ∈ R , learning rate η, gossip
  matrix P , number of rounds T .                                         P , number of rounds T , non-negative weights {αt }t≥1 .
  Initialize w1i = w1 for all i ∈ [M ]                                 2: Initialize w1i = xi1 = w1 for all i ∈ [M ]
  for t = 1, . . . , T do                                              3: for t = 1, . . . , T do
     for i ∈ [M ] in parallel do                                       4:    for i ∈ [M ] in parallel do
        Sample zti ∼ D and set gti = ∇fi (wti , zti )                  5:       Sample zti ∼ Di and set gti = ∇fi (xit , zti )
          i           i   i
        wt+  1 = wt − ηgt                                              6:       Local updates
             2
                      M                                                           i           i      i
                                                                                     1 = wt − ηαt gt
          i
                   P      j                                            7:       wt+
        wt+1   = j=1 wt+    1 Pij
                                                                                    2
                            2
     end for                                                           8:      xit+ 1 = αα1:t−1
                                                                                           1:t
                                                                                                xit + αα1:t
                                                                                                         t   i
                                                                                                            wt+ 1
                                                                                    2                           2
  end for                                                              9:      Gossip communication
                                                                                  i
                                                                                        PM         j
                                                                      10:      wt+1   = j=1 wt+       1 Pij
                                                                                                      2
                                                                                 i         M     j
consensus distance:
                                                                                       P
                                                                      11:      xt+1 = j=1 xt+ 1 Pij
                                                                                                     2
                   M                                                  12:   end for
               1 X i
     Ξt+1 =         ∥w   − w̄t+1 ∥2                                   13: end for
               M i=1 t+1
                       M
               1−ρX i
           ≤         ∥w 1 − w̄t+ 21 ∥2                                using the update rule wt+1 = wt −ηgt , where gt is a stochas-
                M i=1 t+ 2                                            tic gradient estimate computed at the current iterate wt . In
                       M                                              contrast, the Anytime SGD framework (Cutkosky, 2019)
            1−ρX
           =        ∥(wt − ηgti ) − (w̄t − ηḡt )∥2                   computes stochastic gradients at different query points—
              M i=1
                                                                      specifically, the weighted average of past iterates.
               ρ          G2 η 2
           ≤ 1−    Ξt + C ·         ,                      (4)        Formally, given a sequence of non-negative weights {αt }t ,
                2             ρ                                       Anytime SGD generates two sequences, {wt }t and {xt }t ,
for some constant C > 0. Solving this recursion yields the            according to the update rules:
bound Ξt ≤ O(η 2 /ρ2 ) for all t ≥ 1. In practice, Koloskova
et al. (2020) conducted a more refined analysis, obtaining                        wt+1 = wt − ηαt gt ,                       (5)
an improved bound of order O(η 2 /ρ). This leads to an                                      α1:t−1        αt
                                                                                  xt+1 =           xt +       wt+1 ,         (6)
overall error rate of O(1/ηT + η + η 2 /ρ). Optimizing the                                   α1:t        α1:t
learning rate by balancing these terms suggests choosing                                          Pt
                                                                      where x1 = w1 , α1:t :=        τ =1 ατ for all t > 0, and
η ≲ (ρ/T )1/3 , which in turn results in the O(1/ρ1/3 T 2/3 )
                                                                      α1:0 := 0. Here, gt is an estimate of the gradient at the
term in (3), ultimately limiting the parallelism bound. Ide-
                                                                      weighted average xt .
ally, if we could tighten the bound on the consensus distance,
it would lead to a direct improvement in this term. In the            Cutkosky (2019) introduced the Anytime framework to en-
next section, we achieve this by introducing gradually shift-         sure that the query points converge to the optimal solution—
ing anchor points.                                                    unlike standard SGD, where iterates may not. It was shown
                                                                      that Anytime SGD achieves the same convergence rates as
4. DAT-SGD: Decentralized Anytime SGD                                 SGD for convex functions. However, the averaged query
                                                                      points {xt }t exhibit greater stability, changing slower than
In this section, we introduce DAT-SGD. We begin in Sec-               the iterates themselves. As we show next, this approach also
tion 4.1 by discussing the Anytime SGD method, which                  enables establishing a last-iterate convergence guarantee.
serves as the foundation of our approach. Then, in Sec-
tion 4.2, we extend this framework to the decentralized set-          4.2. Extension to the Decentralized Setup
ting. Finally, in Section 4.3, we provide an intuitive analysis
and a proof sketch of the convergence statement, highlight-           Our approach extends Anytime SGD to the decentralized
ing how Anytime SGD enables to mitigate the consensus                 setting, as outlined in Algorithm 2. In round t, each machine
distance—an idea we further elaborate on in Section 4.4.              performs the updates given in Equations (5) and (6) locally
                                                                      and, similar to D-SGD, shares both its model weights, wti ,
4.1. Anytime SGD                                                      and query points, xit , through gossip averaging.
                                                                      The convergence of Algorithm 2 is established in Theo-
For this part, consider a single-machine setup. The widely
                                                                      rem 4.1, with the full proof deferred to Appendix B.
studied SGD method generates a sequence of iterates {wt }t

                                                                  5
                                        Enhancing Parallelism in Decentralized SCO

Theorem 4.1. Under Assumptions 2.1-2.3, consider Algo-              related to the average consensus distance between the query
rithm 2 with linear weights αt = t and a learning rate given        points, defined as
by                                                                                 M                                M
                                                                                1 X i                            1 X i
                                 √                                      Γt :=         ∥xt − x̄t ∥2 , where x̄t =      x .
                                                                                                                 M i=1 t
               (                         r         )
                    1    ρ2 D1 M            D1 ρ                                M i=1
     η = min           , ,√            ,               ,
                 24LT K        3σT 3/2     2K σ̃ T                  Since the query points evolve more gradually than the it-
                                                                    erates, we can derive a tighter bound on Γt . To illustrate
                              2
where D12 := ∥w1 − x∗ ∥ , K 2 := 5120L2 , and σ̃ 2 :=               this, we consider a simplified setting with uniform weights
2σ 2 + ζ 2 . Then, for all T ≥ 1, the following bound holds:        αt = 1 for all t and assume Ψt ≤ G2 for all t ≥ 1, as in
                                                                    Section 3. Using gossip averaging for the query points and
                                        3/2 √
                                                        !
                ∗           σD1      D1       Lσ̃ LD12              the Anytime averaging, we can show that:
 E[f (x̄T ) − f ] ≤ O √           +              +         ,
                             MT           ρT        T                                M
                                                                                1 X i
                                                                    Γt+1 =           ∥x   − x̄t+1 ∥2
             1
where x̄T := M
                  PM        i                                                   M i=1 t+1
                       i=1 xT .
                                                                                 M
                                                                      1−ρX i
Let N = M T be the total number of samples after T it-              ≤          ∥x 1 − x̄t+ 12 ∥2
erations. From Theorem 4.1, ignoring dependencies                       M i=1 t+ 2
                                                      √ on
L, D1 , σ and ζ, we obtain the convergence rate O(1/ N +                    M          
                                                                      1−ρX            1                 1 i                 2
M/ρN ). This implies √ that the asymptotic upper bound on           =             1−      (xit − x̄t ) + (wt+ 1 − w̄t+ 1 )

parallelism is O(ρ N ). Beyond this, the second term of                 M i=1         t                 t     2        2


M/ρN dominates, leading to a decline in learning efficiency              ρ        C
                                                                              Γt + 2 Ξt + G2 η 2 .
                                                                                                      
when increasing the number of machines. This bound repre-           ≤ 1−                                                  (7)
                                                                          2        ρt
sents a significant improvement over the prior O(ρ1/2 N 1/4 )       for some constant C > 0. Recall that Ξt satisfies its own
parallelism limit (Koloskova et al., 2020; 2021).                   recursion, as derived in Equation (4). Using the refined
In addition, we can establish the convergence of the local          bound Ξt ≤ O(G2 η 2 /ρ), we obtain:
iterates, as follows. The proof is provided in Appendix B.1.                           ρ        C G2 η 2
                                                                                                                    
                                                                                                                 2 2
                                                                          Γt+1 ≲ 1 −        Γt + 2           +G η
Corollary 4.2. Under the same assumptions and parame-                                   2        ρt      ρ
ter selections as in Theorem 4.1, the local iterate at each                            ρ            G2 η 2
machine i ∈ {1, . . . , M } satisfies:                                          ≤ 1−        Γt + 2C · 2 2 .                (8)
                                                                                        2             ρ t
E[f (xiT ) − f ∗ ] ≤                                                Summing over t ∈ [T ] and rearranging terms, we can get
                              3/2 √
                                                                                 PT
                                                        !           the bound t=1 Γt ≤ O(η 2 /ρ3 ). Since the final error rate
               σD   D     Lσ̃ LD12  M σ̃D1
         O     √ 1 + 1       +     + 2 2                    .       is proportional    to the average consensus distance over time,
                MT     ρT      T     ρ T                             1
                                                                        PT
                                                                    T     t=1  Γ t , the resulting error is of order O(1/ηT + η +
                                                                    η 2 /ρ3 T ). Tuning the learning rate by setting η ≲ ρ yields
                                                    √ upper
The additional last term does not affect the established
                                                                    the O(1/ρT ) term, which enables enhanced parallelism.
bound on parallelism, which remains M ≤ O(ρ N ).
                                                                    This simplified analysis provides intuition on how slowly
Transient Iteration Complexity. A complementary met-                changing query points improve the rate. Next, we present a
ric to the parallelism bound is the transient iteration com-        more formal proof sketch capturing finer transition details.
plexity, which quantifies how many iterations are needed            Proof Sketch of Theorem 4.1. As we show in Lemma B.1,
                   √ rate matches that of centralized SGD,
before the convergence                                              the consensus query point sequence {x̄t }t≥1 is an {αt }t≥1 -
i.e., when the σ/ M T term dominates (Pu et al., 2021).             weighted average of the consensus iterates sequence
From Theorem 4.1, it follows that the transient iteration           {w̄t }t≥1 . Moreover, the average iterates sequence evolves
complexity of our method is O(M/ρ2 ), representing an im-           similarly to Equation (5), following the update rule w̄t+1 =
provement over D-SGD by a factor of M 2 . For instance,             w̄t − ηαt ḡt . Thus, the consensus sequences {x̄t }t≥1 and
this complexity corresponds to O(M 5 ) for the ring topology        {w̄t }t≥1 align with the structure of Anytime SGD, allowing
and Õ(M ) for the exponential graph (Ying et al., 2021).           us to leverage standard results applicable to Anytime SGD.
                                                                    Specifically, defining ∆t := E[f (x̄t ) − f ∗ ], it follows for
4.3. Proof Sketch                                                   all t ≥ 1 that (cf. Lemma A.3):
To complement the analysis in Section 3, we first provide                                D12    X T
an intuitive analysis of the consensus distance. As formally              α1:t ∆t ≤          +η      ατ2 E∥ḡτ ∥2 + 4ηT · BT ,   (9)
                                                                                         η
shown in Appendices A and B, the bias in Anytime SGD is                                         τ =1


                                                                6
                                                  Enhancing Parallelism in Decentralized SCO
                  hP                              i
                    T     2                     2
where BT := E           α
                    τ =1 τ  ∥Eḡτ − ∇f (x̄ τ )∥     . Focusing                4.4. Bounding the Bias
on the middle term, we show using standard arguments that:                    A central part of our analysis is bounding the bias introduced
             3σ 2                                                             by local model differences. The bias bound is formally
E∥ḡτ ∥2 ≤        + 3E∥Eḡτ − ∇f (x̄τ )∥2 + 3E∥∇f (x̄τ )∥2 .                  stated in Lemma 4.3, and the complete proof can be found
             M
                                                                              in Appendix B.2. A brief proof sketch is provided below.
Plugging this into Equation (9) allows us to derive the fol-
lowing bound:                                                                 Lemma 4.3.PM Consider                Pin
                                                                                                         the setting   Theorem 4.1 and let
                                                                                     1          i               1    M    i
                                                                              ḡt := M        g
                                                                                           i=1 t  and   x̄ t := M    i=1 xt denote the aver-
                                         T                                    age gradient and query point across machines at round t,
                      D12   3σ 2 η X 2
          α1:t ∆t ≤       +         α + 8ηT BT                                respectively. Then, for linear weights αt = t, and a learning
                      η      M τ =1 τ                                                                  2
                                                                              rate bounded as η ≤ ρK , the following bound holds:
                                T
                                X
                        + 3η           ατ2 E∥∇f (x̄τ )∥2 .         (10)                 " T                                 #                 T
                                                                                         X                                          K 2 σ̃ 2 η 2 X 2
                                τ =1                                          BT := E           ατ2 ∥Eḡτ − ∇f (x̄τ )∥2         ≤                 α .
                                                                                         τ =1
                                                                                                                                      2ρ4 τ =1 τ
A key component in our proof is bounding BT , which is
essentially the sum of weighted squared biases. As we show
                                                                              where we recall that K 2 := 5120L2 and σ̃ 2 := 2σ 2 + ζ 2 .
in Section 4.4, this term is bounded as follows:

                           K 2 σ̃ 2 η 2 X 2
                                             T                                Proof Sketch. By Jensen’s inequality and the smoothness
                  BT ≤                   α .                                  of each fi , we can bound each term in the sum as follows:
                             2ρ4 τ =1 τ
                                                                                                                 M
Therefore, from Equation (10), we get:                                                                     1 X
                                                                              E∥Eḡτ − ∇f (x̄τ )∥2 ≤             E∥∇fi (xiτ ) − ∇fi (x̄τ )∥2
                                                                                                           M i=1
                                 T                             T
               D12   3σ 2 η X 2 4K 2 σ̃ 2 η 3 T X 2
   α1:t ∆t ≤       +         α +                     ατ                                                    L2 X
                                                                                                                 M
               η      M τ =1 τ      ρ4          τ =1                                                   ≤         E∥xiτ − x̄τ ∥2 .
                        T
                                                                                                           M i=1
                        X                          2
                 + 3η          ατ2 E∥∇f (x̄τ )∥ .                  (11)                                          PM
                                                                                                               1           i       2
                        τ =1                                                  As previously defined, let Γt := M   i=1 E∥xt − x̄t ∥ de-
                                                                              note the average consensus distance of the query points at
For the last sum, the smoothness of f implies that
                                                                              round t. Thus,
∥∇f (x)∥2 ≤ 2L(f (x) − f ∗ ) for all x ∈ Rd , yielding:
                                                                                                                 T
T                                T                     T                                                         X
                                                                                                    BT ≤ L2             ατ2 Γτ .                  (13)
X                      2
                                 X                     X
       ατ2 E∥∇f (x̄τ )∥ ≤ 2L            ατ2 ∆τ ≤ 4L           α1:τ ∆τ ,
                                                                                                                 τ =1
τ =1                             τ =1                  τ =1

where the last inequality follows from ατ2 = τ 2 ≤ 2α1:τ .                    Our objective is therefore to bound Γτ for every τ ∈ [T ].
Substituting this bound into (11) and recalling that η ≤                      Using standard gossip averaging analysis and the query
  1                                                                           points averaging, we derive the following recursion for Γt :
24LT , we obtain:

            D2
                                 T
                 3σ 2 η X 2 4K 2 σ̃ 2 η 3 T X 2
                                                               T                            ρ     4δ 2
                                                                                                Γt + t Ξt + η 2 αt2 Ψt ,
                                                                                                                      
   α1:t ∆t ≤ 1 +         α +                     ατ                               Γt+1 ≤ 1 −                                                      (14)
             η    M τ =1 τ      ρ4                                                           2       ρ
                                            τ =1
                          T                                                                            1
                                                                                                          PM          i         2
                    1 X                                                       recalling that Ξt := M         i=1 E∥wt − w̄t ∥ and Ψt :=
                 +         α1:τ ∆τ .                               (12)        1
                                                                                 P  M        i       2
                   2T τ =1                                                    M     i=1 E∥gt − ḡt ∥ represent the average consensus dis-
                                                                              tances of the iterates and gradients at round t, respectively,
   PT that at := α1:t ∆t follows the structure at ≤ b +
Observe                                                                       and using δt := αα1:t . Notably, Ξt satisfies its own recursion
                                                                                                  t
 1
2T    τ =1 aτ , ∀t ∈ [T ], which implies that at ≤ 2b for all                 (see Lemma C.4):
t ∈ [T ] (see Lemma D.3). In particular, for t = T , we get:
                                                                                                    ρ      2η 2 αt2
          2D12
                                  T
                 6σ 2 η X 2 8K 2 σ̃ 2 η 3 T X 2
                                                               T                          Ξt+1 ≤ 1 −    Ξt +          Ψt .
α1:T ∆T ≤      +         α +                     ατ .                                                2          ρ
           η      M τ =1 τ      ρ4          τ =1
                                                                              Solving this recursion yields the following for all t ∈ [T ]:
                                         PT        2
                                             τ =1 ατ
Dividing by α1:T , noting that          ≤ T for linear
                                             α1:T                                                          t−1
weights, and appropriately tuning the learning rate con-                                         2η 2 αt2 X     ρ t−1−τ
                                                                                         Ξt ≤                 1−          Ψτ .
cludes the proof.                                                                                   ρ τ =1       2

                                                                          7
                                                Enhancing Parallelism in Decentralized SCO
                                                                                                      2=1, 2=1                             2=1, 2=10
Substituting this back into (14) gives:
                                                                                    10 2                                       10 1
               ρ                                                                                                             10 2
 Γt+1 ≤ 1 −           Γt                                                            10 3
                                                                                                                               10 3




                                                                            Error




                                                                                                                       Error
                2                                                                   10 4                                       10 4
                                                                                    10 5
                                 t−1
                                                    !
            4η 2 αt2 δt2      2 X       ρ t−1−τ                                                                              10 5
         +               Ψt +         1−          Ψτ .                              10 6                                       10 6
                 ρ            ρ τ =1     2
                                                                                           4      9     25      49   100              4    9    25    49   100
                                                 2         2                               Number of Machines (M)                     Number of Machines (M)
In Lemma C.2, we show that Ψt ≤ 5σ̃ + 10L Γt for all
                                                                                                   2=10, 2=1                               2=10, 2=10
t ∈ [T ]. Plugging this bound, noting that for linear weights
αt2 δt2 = O(1), and using some algebra, we obtain:                                  10 2                                       10 1
                                                                                    10 3                                       10 2




                                                                            Error




                                                                                                                       Error
                          c2 η 2                                                                                               10 3
                                
        Γt+1 ≤ 1 − κ + 1           Γt                                               10 4                                       10 4
                            κ                                                       10 5                                       10 5
                              t−1
                      c21 η 2 X                  c2 η 2                             10 6                                       10 6
                 +              (1 − κ)t−1−τ Γτ + 2 3 ,                                    4      9     25      49   100              4    9    25    49   100
                          2
                       κ τ =1                     κ                                        Number of Machines (M)                     Number of Machines (M)
                                                                                               DAT-SGD (Ring)        DAT-SGD (Torus)           DAT-SGD (Exp.)
where κ = ρ2 , c21 = Θ(K 2 ), and c22 = Θ(σ̃ 2 ). We have                                      D-SGD (Ring)          D-SGD (Torus)             D-SGD (Exp.)
now derived a recursion for Γt that no longer depends on
Ξt or Ψt . For a sufficiently small learning rate, specifically
      2                                                                      Figure 1. Final error on synthetic least squares problem for dif-
η ≤ ρK , this recursion can be explicitly solved, yielding:                  ferent numbers of machines and various gradient noise variance
                                                                             (σ 2 ) and heterogeneity (ζ 2 ) levels overP
                                                                                                                        ring, torus, and expo-
                       2c22 η 2
                                    2 2
                                     σ̃ η                                                                             1   M     i     ∗ 2
                Γt ≤            =Θ            .                              nential graph topologies. We plot M          i=1 ∥xT − x ∥ and
                        κ4             ρ4                                     1
                                                                                 P   M     i     ∗ 2
                                                                             M       i=1 ∥wT − x ∥ for DAT-SGD and D-SGD, respectively.
Injecting this bound into (13) yields the result:
                     T                               T
                                                                !
                 2
                     X                   K 2 σ̃ 2 η 2 X 2                    and 1-peer exponential graph (Ying et al., 2021). The
        BT ≤ L              ατ2 Γτ = Θ                     ατ       .        exponential graph is a fast-mixing topology for which
                     τ =1
                                            ρ4        τ =1
                                                                             1/ρ = O(log M ). For each method and topology,
                                                                             we perform a grid search over the learning rate η ∈
                                                                             {0.0001, 0.0005, 0.001, 0.005, 0.01, 0.05, 0.1} and select
5. Experiments                                                               the value that yields the lowest error after 100K iterations.
                                                                             For DAT-SGD, we use constant weights αt = 1 for all t.
In this section, we empirically evaluate our method on both a
                                                                             In Figure 1, we plot the final error as a function of the
synthetic least squares problem and an image classification
                                                                             number of machines, across four configurations defined by
task. All experiments are conducted using three random
                                                                             σ, ζ ∈ {1, 10}, with different colors indicating the underly-
seeds, and we report the averaged results.
                                                                             ing topology. For D-SGD, we observe that performance de-
                                                                             grades on the ring and torus topologies starting from M = 4
5.1. Least Squares on Synthetic Data                                         and M = 9, respectively, while it remains relatively stable
We begin with a synthetic least squares problem to il-                       on the 1-peer exponential graph. In contrast, our method
lustrate key theoretical properties of our algorithm. For                    improves with larger M : performance steadily improves on
each machine, the local objective function is defined as                     the torus and exponential graphs, and performs better on
                        2                                                    the ring topology up to M = 25 before deteriorating. This
fi (x) = 12 ∥Ai x − bi ∥ , where Ai ∈ Rd×d is drawn from a
standard multivariate normal distribution. The targets vec-                  suggests that, beyond a certain threshold (between M = 25
tor is set as bi = Ai (x♯ − δi ), where x♯ ∼ N (0, d1 Id ) is                and 49), the network-dependent error term (which scales
                                                                2            as O(1/ρT ) = O(M 2 /T ) for the ring) becomes dominant.
sampled once per configuration, and δi ∼ N (0, ζd Id ) in-
                                                                             Overall, the results align with our theoretical findings, as
troduces heterogeneity across machines.1 To incorporate
                                                 2                           DAT-SGD enables performance improvement for larger M .
stochasticity, we add Gaussian noise ξ ∼ N (0, σd Id ) when
                                                                             We provide complete convergence curves in Appendix E.
querying local gradients, resulting in the noisy gradient
estimate ∇fi (x) + ξ. In our experiments, we set d = 50.
                                                                             5.2. Image Classification with a Neural Network
We compare our method with D-SGD, evaluating per-
formance across three network topologies: ring, torus,                       Next, we evaluate our method on the Fashion MNIST (Xiao
                                                                             et al., 2017) image classification task using the LeNet (Le-
   1
       Here, ζ 2 quantifies heterogeneity at the optimum.                    Cun et al., 1998) architecture. The data is partitioned among

                                                                        8
                                                       Enhancing Parallelism in Decentralized SCO

           90        M=8, =0.1                91        M=8, =10                                               Ring, =0.1
                                              90                                                  90                                    DAT-SGD
           80
Accuracy




                                   Accuracy
           70
                                              89                                                  85                                    DSGD
                                              88                                                                                        D2
           60




                                                                                 Final Accuracy
                                              87                                                  80
           50                                 86
                0    50 100 150 200                0    50 100 150 200                            75
                        Epoch                              Epoch
           90       M=16, =0.1                91       M=16, =10                                  70
           80                                 90
                                                                                                  65
Accuracy




                                   Accuracy
                                              89
           70
                                              88                                                  60
           60                                 87                                                       4       8              16               32
           50                                 86                                                           Number of Machines (M)
                0    50 100 150 200                0    50 100 150 200
                        Epoch                              Epoch
                DAT-SGD (Ring)     DSGD (Ring)                 D2 (Ring)
                DAT-SGD (Base-2)   DSGD (Base-2)               D2 (Base-2)           Figure 3. Final test accuracy on Fashion MNIST for varying num-
                                                                                     ber of machines on the ring topology with heterogeneous data.

  Figure 2. Test accuracy on Fashion MNIST for different numbers
  of machines (across rows) and varying heterogeneity levels (across
  columns) on the ring and the Base-2 graph topologies.

                                                                                     heterogeneous data (α = 0.1). Notably, the largest accu-
  workers following a Dirichlet distribution with parameter α,                       racy drop for DAT-SGD occurs between M = 8 and 16,
  which controls the heterogeneity level (Hsu et al., 2019).                         whereas D-SGD and D2 degrade most between M = 4 and
                                                                                     8, demonstrating our claim of improved parallelism.
  We compare our method against D-SGD and D2 (Tang et al.,
  2018b), a decentralized optimization method specifically
  designed to improve robustness to data heterogeneity. Exper-                       6. Conclusion and Future Work
  iments are performed on the ring topology and the Base-2
                                                                                     In this work, we presented DAT-SGD, a simple yet powerful
  Graph (Takezawa et al., 2023)—a time-varying, state-of-the-
                                                                                     approach to decentralized SCO that raises the parallelism
  art topology for decentralized learning. For our method and
                                                                                     threshold, enabling to increase the number of machines
  D-SGD, we use momentum with parameter β = 0.9. For
                                                                                     in the network while maintaining linear speed-up. This is
  each method and topology, the learning rate was selected
                                                                                     achieved by effectively mitigating the consensus distance us-
  via grid search over η ∈ {0.001, 0.01, 0.1}.
                                                                                     ing the Anytime SGD mechanism, which computes stochas-
  Unlike the synthetic least squares problem, this task is non-                      tic gradients at gradually changing query points, thereby
  convex. Following the heuristic proposed by Dahan & Levy                           limiting local model divergence.
  (2025), we adopt a momentum-like update for Anytime
                                                                                     Several promising directions emerge from our work. One
  averaging of the form xt+1 = γt xt + (1 − γt )wt , using a
                                                                                     is integrating our method with gradient tracking, which has
  fixed value of γt = 0.9. This choice was shown to enhance
                                                                                     been shown to remove dependence on data heterogeneity
  training stability and adaptability in non-convex landscapes.
                                                                                     (Koloskova et al., 2021). Moreover, we assume the gossip
  Figure 2 depicts the test accuracy for M = 8 and 16 ma-                            matrix is symmetric and doubly stochastic, allowing us to
  chines under heterogeneous (α = 0.1) and nearly homoge-                            use Property 2.6 for a clear and simple analysis. Extending
  neous (α = 10) data, with different colors indicating the                          our results to asymmetric or row/column stochastic matrices,
  compared methods. In the heterogeneous case, our method                            as in, e.g., (Assran et al., 2019), remains an open problem.
  consistently outperforms the baselines across both topolo-                         Finally, establishing convergence bounds in the non-convex
  gies, with results on the ring matching (for M = 8) or                             setting is a compelling challenge for future research.
  nearly matching (for M = 16) those of the baselines on
  the well-connected Base-2 Graph. Conversely, and perhaps                           Acknowledgments
  unexpectedly, under homogeneous data, D-SGD and D2
  achieve better performance, motivating further investigation                       We thank the reviewers for their valuable comments. This
  into this gap across data regimes in non-convex settings. In                       research was partially supported by Israel PBC-VATAT, by
  Figure 3, similar to Figure 1, we show the final accuracy                          the Technion Artificial Intelligence Hub (Tech.AI), and by
  for different numbers of machines on the ring topology with                        the Israel Science Foundation (grant No. 3109/24).

                                                                             9
                                       Enhancing Parallelism in Decentralized SCO

Impact Statement                                                    Ene, A., Nguyen, H. L., and Vladu, A. Adaptive gradient
                                                                      methods for constrained convex optimization and varia-
This paper presents work whose goal is to advance the field           tional inequalities. In Proceedings of the AAAI Confer-
of Machine Learning. There are many potential societal                ence on Artificial Intelligence, volume 35, pp. 7314–7321,
consequences of our work, none of which we feel must be               2021.
specifically highlighted here.
                                                                    He, L., Karimireddy, S. P., and Jaggi, M. Byzantine-robust
References                                                            decentralized learning via clippedgossip. arXiv preprint
                                                                      arXiv:2202.01545, 2022.
Agarwal, A., Bartlett, P. L., Ravikumar, P., and Wainwright,
  M. J. Information-theoretic lower bounds on the ora-              Hsu, T.-M. H., Qi, H., and Brown, M. Measuring the effects
  cle complexity of stochastic convex optimization. IEEE              of non-identical data distribution for federated visual clas-
 Transactions on Information Theory, 58(5):3235–3249,                 sification. arXiv preprint arXiv:1909.06335, 2019.
  2012.
                                                                    Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis,
Antonakopoulos, K., Vu, D. Q., Cevher, V., Levy, K., and              M., Bhagoji, A. N., Bonawitz, K., Charles, Z., Cormode,
  Mertikopoulos, P. Undergrad: A universal black-box                  G., Cummings, R., et al. Advances and open problems in
  optimization method with almost dimension-free conver-              federated learning. Foundations and Trends® in Machine
  gence rate guarantees. In International Conference on               Learning, 14(1–2):1–210, 2021.
 Machine Learning, pp. 772–795. PMLR, 2022.
                                                                    Kavis, A., Levy, K. Y., Bach, F., and Cevher, V. Unixgrad: A
Assran, M., Loizou, N., Ballas, N., and Rabbat, M. Stochas-           universal, adaptive algorithm with optimal guarantees for
  tic gradient push for distributed deep learning. In Inter-          constrained optimization. Advances in neural information
  national Conference on Machine Learning, pp. 344–353.               processing systems, 32, 2019.
  PMLR, 2019.
                                                                    Kempe, D., Dobra, A., and Gehrke, J. Gossip-based com-
Aviv, R. Z., Hakimi, I., Schuster, A., and Levy, K. Y. Asyn-          putation of aggregate information. In 44th Annual IEEE
  chronous distributed learning: Adapting to gradient de-             Symposium on Foundations of Computer Science, 2003.
  lays without prior knowledge. In International Confer-              Proceedings., pp. 482–491. IEEE, 2003.
  ence on Machine Learning, pp. 436–445. PMLR, 2021.
                                                                    Koloskova, A., Stich, S., and Jaggi, M. Decentralized
Boyd, S., Ghosh, A., Prabhakar, B., and Shah, D. Random-              stochastic optimization and gossip algorithms with com-
  ized gossip algorithms. IEEE transactions on information            pressed communication. In International Conference on
  theory, 52(6):2508–2530, 2006.                                      Machine Learning, pp. 3478–3487. PMLR, 2019.

Cutkosky, A. Anytime online-to-batch, optimism and accel-           Koloskova, A., Loizou, N., Boreiri, S., Jaggi, M., and Stich,
  eration. In International conference on machine learning,           S. A unified theory of decentralized sgd with changing
  pp. 1446–1454. PMLR, 2019.                                          topology and local updates. In International Conference
                                                                      on Machine Learning, pp. 5381–5393. PMLR, 2020.
Dahan, T. and Levy, K. Y. SLowcalSGD : Slow Query Points
  Improve Local-SGD for Stochastic Convex Optimiza-                 Koloskova, A., Lin, T., and Stich, S. U. An improved
  tion. In The Thirty-eighth Annual Conference on Neural              analysis of gradient tracking for decentralized machine
  Information Processing Systems, 2024. URL https:                    learning. Advances in Neural Information Processing
  //openreview.net/forum?id=B29BlRe26Z.                               Systems, 34:11422–11435, 2021.

Dahan, T. and Levy, K. Y. Do Stochastic, Feel Noiseless:            Kong, L., Lin, T., Koloskova, A., Jaggi, M., and Stich,
  Stable Stochastic Optimization via a Double Momentum                S. Consensus control for decentralized deep learning.
  Mechanism. In The Thirteenth International Conference               In International Conference on Machine Learning, pp.
  on Learning Representations, 2025. URL https://                     5686–5696. PMLR, 2021.
  openreview.net/forum?id=zCZnEXF3bN.
                                                                    LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. Gradient-
Dekel, O., Gilad-Bachrach, R., Shamir, O., and Xiao, L.               based learning applied to document recognition. Proceed-
  Optimal distributed online prediction using mini-batches.           ings of the IEEE, 86(11):2278–2324, 1998.
 Journal of Machine Learning Research, 13(1), 2012.
                                                                    Li, M., Andersen, D. G., Smola, A. J., and Yu, K. Com-
Di Lorenzo, P. and Scutari, G. Next: In-network nonconvex             munication efficient distributed machine learning with
  optimization. IEEE Transactions on Signal and Informa-              the parameter server. Advances in Neural Information
  tion Processing over Networks, 2(2):120–136, 2016.                  Processing Systems, 27, 2014.

                                                               10
                                         Enhancing Parallelism in Decentralized SCO

Li, S., Zhou, T., Tian, X., and Tao, D. Learning to collabo-          Tang, H., Gan, S., Zhang, C., Zhang, T., and Liu, J. Com-
  rate in decentralized learning of personalized models. In             munication compression for decentralized training. Ad-
  Proceedings of the IEEE/CVF Conference on Computer                    vances in Neural Information Processing Systems, 31,
  Vision and Pattern Recognition, pp. 9766–9775, 2022.                  2018a.
Li, X., Yang, W., Wang, S., and Zhang, Z. Communication-              Tang, H., Lian, X., Yan, M., Zhang, C., and Liu, J. D2 :
  efficient local decentralized sgd methods. arXiv preprint             Decentralized training over decentralized data. In Interna-
  arXiv:1910.09126, 2019.                                               tional Conference on Machine Learning, pp. 4848–4856.
Lian, X., Zhang, C., Zhang, H., Hsieh, C.-J., Zhang, W.,                PMLR, 2018b.
  and Liu, J. Can decentralized algorithms outperform                 Tsitsiklis, J. N. Problems in decentralized decision making
  centralized algorithms? a case study for decentralized                and computation. PhD thesis, Massachusetts Institute of
  parallel stochastic gradient descent. Advances in neural              Technology, 1984.
  information processing systems, 30, 2017.
                                                                      Verbraeken, J., Wolting, M., Katzy, J., Kloppenburg, J., Ver-
Lu, Y. and De Sa, C. Optimal complexity in decentralized                belen, T., and Rellermeyer, J. S. A survey on distributed
  training. In International conference on machine learning,            machine learning. Acm computing surveys (csur), 53(2):
  pp. 7111–7123. PMLR, 2021.                                            1–33, 2020.
McMahan, B., Moore, E., Ramage, D., Hampson, S., and
                                                                      Xiao, H., Rasul, K., and Vollgraf, R. Fashion-mnist: a
 y Arcas, B. A. Communication-efficient learning of deep
                                                                        novel image dataset for benchmarking machine learning
 networks from decentralized data. In Artificial intelli-
                                                                        algorithms. arXiv preprint arXiv:1708.07747, 2017.
 gence and statistics, pp. 1273–1282. PMLR, 2017.
Nedic, A. and Ozdaglar, A. Distributed subgradient meth-              Xiao, L. and Boyd, S. Fast linear iterations for distributed
  ods for multi-agent optimization. IEEE Transactions on                averaging. Systems & Control Letters, 53(1):65–78, 2004.
 Automatic Control, 54(1):48–61, 2009.                                Ying, B., Yuan, K., Chen, Y., Hu, H., Pan, P., and Yin, W.
Nedic, A., Olshevsky, A., and Shi, W. Achieving geomet-                 Exponential graph is provably efficient for decentralized
  ric convergence for distributed optimization over time-               deep training. Advances in Neural Information Process-
  varying graphs. SIAM Journal on Optimization, 27(4):                  ing Systems, 34:13975–13987, 2021.
  2597–2633, 2017.
                                                                      Yuan, K., Chen, Y., Huang, X., Zhang, Y., Pan, P., Xu,
Nemirovski, A., Juditsky, A., Lan, G., and Shapiro, A. Ro-              Y., and Yin, W. Decentlam: Decentralized momentum
  bust stochastic approximation approach to stochastic pro-             sgd for large-batch deep training. In Proceedings of the
  gramming. SIAM Journal on optimization, 19(4):1574–                   IEEE/CVF International Conference on Computer Vision,
 1609, 2009.                                                            pp. 3029–3039, 2021.
Nemirovski, A. S. and Yudin, D. B. Problem complexity
  and method efficiency in optimization. 1983.
Pu, S. and Nedić, A. Distributed stochastic gradient tracking
  methods. Mathematical Programming, 187(1):409–457,
  2021.
Pu, S., Olshevsky, A., and Paschalidis, I. C. A sharp estimate
  on the transient time of distributed stochastic gradient
  descent. IEEE Transactions on Automatic Control, 67
  (11):5900–5915, 2021.
Shi, W., Ling, Q., Yuan, K., Wu, G., and Yin, W. On the lin-
  ear convergence of the admm in decentralized consensus
  optimization. IEEE Transactions on Signal Processing,
  62(7):1750–1761, 2014.
Takezawa, Y., Sato, R., Bao, H., Niwa, K., and Yamada,
  M. Beyond exponential graph: Communication-efficient
  topologies for decentralized learning via finite-time con-
  vergence. Advances in Neural Information Processing
  Systems, 36:76692–76717, 2023.

                                                                 11
                                             Enhancing Parallelism in Decentralized SCO

A. Anytime SGD Analysis
In this section, we discuss key properties of Anytime SGD with biased gradients. The main result is Lemma A.3, which will
later be adapted to the decentralized, gossip-based communication setup in Appendix B
For an initial iterate w1 ∈ Rd , learning rate η > 0, and non-negative weights {αt }t≥1 , we consider the sequences {wt }t≥1
and {xt }t≥1 , defined by the update rules:

                                      wt+1 = wt − ηαt gt ,                                                                 (15)
                                             α1:t−1        αt
                                      xt+1 =        xt +        wt+1 , with x1 = w1 .                                      (16)
                                              α1:t         α1:t
Here, gt is a biased estimate of the gradient of some function f at xt .
The following result mimics the gradient inequality for the {αt }t≥1 -weighted averages.
Lemma A.1 (Cutkosky, 2019; Theorem 1, Dahan & Levy, 2024). Let f : Rd → R be a convex function with global
minimum f ∗ := f (x∗ ), and let the sequence {xt }t≥1 be defined as in Equation (16). Then, for any t ≥ 1, the following
holds:
                                                              t
                                                              X
                                  0 ≤ α1:t (f (xt ) − f ∗ ) ≤   ατ ∇f (xτ )⊤ (wτ − x∗ ) .
                                                                          τ =1

Next, we present a regret bound for online gradient descent with weighted gradients.
Lemma A.2 (Cutkosky, 2019; Lemma 2, Dahan & Levy, 2024). Consider the update rule in Equation (15). Then, for all
t ≥ 1, it holds that:
                              t                                2       t
                            X                        ∥w1 − x∗ ∥    ηX 2           2
                                 ατ gτ⊤ (wτ − x∗ ) ≤             +        ατ ∥gτ ∥ .
                            τ =1
                                                         2η        2 τ =1

The following result is fundamental to our analysis and plays a key role in establishing our main proof. The analysis closely
follows that of Dahan & Levy (2024) and is included here for completeness; see Appendix F therein for further details.
Lemma A.3. For the sequences {wt }t≥1 and {x}t≥1 defined in Equations (15) and (16), the following holds for any t ≥ 1:

                                                      2      T                     T
                                            ∥w1 − x∗ ∥     X              2
                                                                                 X                         2
               α1:t E [f (xt ) − f ∗ ] ≤                +η      ατ2 E∥gτ ∥ + 4ηT      ατ2 E∥Egτ − ∇f (xτ )∥ .
                                                η          τ =1                  τ =1


Proof. Lemma A.1 implies the following:
                                    " t                       #
                                     X
                             ∗                     ⊤       ∗
          α1:t E [f (xt ) − f ] ≤ E     ατ ∇f (xτ ) (wt − x )
                                           τ =1
                                      " t                             #          " t                                   #
                                                                                                         ⊤
                                       X                                          X
                                =E                ατ gτ⊤ (wτ − x∗ )       +E                                       ∗
                                                                                        ατ (∇f (xτ ) − gτ ) (wτ − x )
                                           τ =1                                  τ =1
                                              2       t                t
                                    ∥w1 − x∗ ∥    ηX 2            2
                                                                     X     h
                                                                                               ⊤
                                                                                                          i
                                ≤               +        ατ E∥gτ ∥ +      E ατ (∇f (xτ ) − gτ ) (wτ − x∗ ) ,               (17)
                                        2η        2 τ =1             τ =1

where the last inequality follows from Lemma A.2. Every element in the rightmost sum can be bounded using Cauchy-
                                                    1    2        2
Schwarz inequality and Young’s inequality, a · b ≤ 2θ ∥a∥ + θ2 ∥b∥ , which holds for any θ > 0, yielding:
                     h                                i    h                                i
                                        ⊤                                       ⊤
                   E ατ (∇f (xτ ) − gτ ) (wτ − x∗ ) = E ατ (∇f (xτ ) − Egτ ) (wτ − x∗ )
                                                                 ≤ E [ατ ∥Egτ − ∇f (xτ )∥ · ∥wτ − x∗ ∥]
                                                                      ατ2                  2 θ           2
                                                                 ≤        E∥Egτ − ∇f (xτ )∥ + E∥wτ − x∗ ∥ ,                (18)
                                                                      2θ                     2
where the first equality follows from the law of total expectation.

                                                                          12
                                                   Enhancing Parallelism in Decentralized SCO

Substituting (18) into (17) gives:

                                         2       t                   t                             t
                               ∥w1 − x∗ ∥    ηX 2            2  1 X 2                       2  θX                 2
    α1:t (f (xt ) − f ∗ ) ≤                +        ατ E∥gτ ∥ +         ατ E∥Egτ − ∇f (xτ )∥ +        E∥wτ − x∗ ∥
                                   2η        2 τ =1             2θ τ =1                        2 τ =1
                                         2       T                   T                             T
                               ∥w1 − x∗ ∥    ηX 2            2  1 X 2                       2  θX                2
                           ≤               +        ατ E∥gτ ∥ +         ατ E∥Egτ − ∇f (xτ )∥ +        E∥wτ − x∗ ∥ ,
                                   2η        2 τ =1             2θ τ =1                        2 τ =1

where the last inequality follows from the last three terms being monotonically increasing with t. Lemma 3 of Dahan &
Levy (2024) guarantees that for sequences {wt }t≥1 and {x}t≥1 as defined in Equations (15) and (16), the following holds:

           T
           X                                                         T
                                                                     X                               T
                                                                                                     X
                             ∗ 2                       ∗ 2       2                    2                                         2
                  E∥wt − x ∥ ≤ 2T ∥w1 − x ∥ + 2T η                          ατ2 E∥gτ ∥ + 16η 2 T 2          ατ2 E∥Egτ − ∇f (xτ )∥ ,
           τ =1                                                      τ =1                            τ =1

                                    1
which in turn implies that for θ = 4ηT :

                                                                                          T
                                                  1                      2
                                                                              η          X
                                                                                                         2
                  α1:t E [f (xt ) − f ∗ ] ≤          + θT ∥w1 − x∗ ∥ +           + θT η 2      αt2 E∥gt ∥
                                                 2η                            2           t=1
                                                                  X T
                                                    1                                          2
                                               +       + 8θη 2 T 2       ατ2 E∥Egτ − ∇f (xτ )∥
                                                    2θ              τ =1
                                                            2       T                    T
                                               3 ∥w1 − x∗ ∥     3η X 2          2
                                                                                       X                         2
                                           =                  +        αt E∥gt ∥ + 4ηT      ατ2 E∥Egτ − ∇f (xτ )∥
                                                    4η           4 t=1                 τ =1
                                                          2     T                     T
                                               ∥w1 − x∗ ∥      X             2
                                                                                    X                         2
                                           ≤                +η     αt2 E∥gt ∥ + 4ηT      ατ2 E∥Egτ − ∇f (xτ )∥ ,
                                                   η           t=1                  τ =1

thus concluding the proof.

B. Proof of Theorem 4.1
In this section, we prove our main result. To simplify the presentation and analysis, we first introduce some notations:

                                                                              1
               Xt := x1t       x2t             xM   ∈ Rd×M ,                     11⊤ = x̄t x̄t · · · x̄t ∈ Rd×M ,
                                                                                                       
                                     ···        t                    X̄t := Xt
                                                                              M
                                                                               1
             Wt := wt1         wt2              wtM ∈ Rd×M ,         W̄t := Wt 11⊤ = w̄t w̄t · · · w̄t ∈ Rd×M ,
                                                                                                         
                                      ···
                                                                              M
                                                                              1
               Gt := gt1       gt2             gtM ∈ Rd×M ,          Ḡt := Gt 11⊤ = ḡt ḡt · · · ḡt ∈ Rd×M ,
                                                                                                      
                                     ···
                                                                              M
           1
               PM        i         1
                                       PM        i             1
                                                                     PM     i
with x̄t = M        i=1 xt , w̄t = M        i=1 wt , and ḡt = M       i=1 gt .

Denoting δt = αα1:t
                 t
                    , our Decentralized Anytime SGD algorithm can be expressed using matrix notation as follows:
                                                                      (
                                                                            Wt+ 21 = Wt − ηαt Gt
                                Local update and averaging:
                                                                            Xt+ 12 = (1 − δt ) Xt + δt Wt+ 21
                                                                      (
                                                                            Wt+1 = Wt+ 12 P
                                     Gossip communication:
                                                                            Xt+1 = Xt+ 21 P .

We also define the expected average distance between local elements and their mean, commonly referred to as the consensus
distance. Specifically, we define consensus distances for the iterates, the query points (i.e., the {αt }t≥1 -weighted iterates),

                                                                        13
                                          Enhancing Parallelism in Decentralized SCO

and the gradients:
                                                 M
                                              1 X              2  1            2
                                      Γt :=         E xit − x̄t =   E Xt − X̄t F ,
                                              M i=1               M
                                                 M
                                              1 X              2  1            2
                                      Ξt :=         E wti − w̄t =   E Wt − W̄t F ,
                                              M i=1               M
                                                 M
                                              1 X              2  1            2
                                      Ψt :=         E gti − ḡt =   E Gt − Ḡt F .
                                              M i=1               M


First, we establish that the sequence of query points average over machines {x̄t }t≥1 is indeed an {αt }t≥1 -weighted average
of the sequence of iterates average over machines {w̄t }t≥1 . This allows us to apply the results from Appendix A on Anytime
SGD to analyze the consensus iterates.
Lemma B.1. The sequence {x̄t }t≥1 is an {αt }t≥1 -weighted average of the sequence {w̄t }t≥1 .

Proof. Using matrix notation and the linearity of averaging, we have:
                                      α1:t−1       αt             α1:t−1       αt               α1:t−1       αt
     X̄t+1 = X̄t+ 12 P = X̄t+ 12 =           X̄t +      W̄t+ 12 =        X̄t +      W̄t+ 21 P =        X̄t +      W̄t+1 ,
                                       α1:t        α1:t            α1:t        α1:t              α1:t        α1:t

where the second and fourth equalities follow from Lemma D.1, implying that gossip communication preserves averages.

Next, we establish the convergence of Algorithm 2, as stated in Theorem 4.1, which we restate here for ease of reference.
Theorem 4.1. Under Assumptions 2.1-2.3, consider Algorithm 2 with linear weights αt = t and a learning rate given by
                                          (                √       r          )
                                              1    ρ2 D1 M             D1 ρ
                                η = min           , ,√           ,              ,
                                            24LT K       3σT 3/2      2K σ̃ T

                          2
where D12 := ∥w1 − x∗ ∥ , K 2 := 5120L2 , and σ̃ 2 := 2σ 2 + ζ 2 . Then, for all T ≥ 1, the following bound holds:
                                                                     3/2 √
                                                                                        !
                                             ∗          σD1         D1     Lσ̃ LD12
                               E[f (x̄T ) − f ] ≤ O √           +               +          ,
                                                          MT           ρT           T

             1
                 PM       i
where x̄T := M       i=1 xT .


Proof. For any t ∈ [T ], define ∆t := E[f (x̄t ) − f ∗ ]. We analyze the consensus iterates, which (according to Lemma B.1)
follow the structure of Anytime SGD as defined in Equations (15) and (16), namely,

                                w̄t+1 = w̄t − ηαt ḡt , and     x̄t+1 = (1 − δt )x̄t + δt w̄t+1 .

Therefore, by Lemma A.3, we have:

                                               2      T                      T
                                    ∥w̄1 − x∗ ∥     X               2
                                                                           X                           2
                       α1:t ∆t ≤                 +η      ατ2 E∥ḡτ ∥ + 4ηT      ατ2 E∥Eḡτ − ∇f (x̄τ )∥
                                         η          τ =1                   τ =1
                                             T
                                    D12    X               2
                                =       +η      ατ2 E∥ḡτ ∥ +4ηT · BT ,                                                     (19)
                                    η      τ =1
                                           |       {z      }
                                                  (A)

              PT       2                    2
where BT :=      τ =1 ατ E∥Eḡτ − ∇f (x̄τ )∥ , and we also used w̄1 = w1 .


                                                               14
                                               Enhancing Parallelism in Decentralized SCO
                                                2
Bounding (A). We focus on E ∥ḡτ ∥ . By adding and subtracting Eḡτ and ∇f (x̄τ ), and applying the inequality
           2       2       2       2
∥a + b + c∥ ≤ 3 ∥a∥ + 3 ∥b∥ + 3 ∥c∥ , we obtain:

                          E∥ḡτ ∥2 = E∥ḡτ − Eḡτ + Eḡτ − ∇f (x̄τ ) + ∇f (x̄τ )∥2
                                                             2                                 2
                                         ≤ 3E∥ḡτ − Eḡτ ∥ + 3E∥Eḡτ − ∇f (x̄τ )∥ + 3E∥∇f (x̄τ )∥2
                                     3σ 2                          2
                                         ≤+ 3E∥Eḡτ − ∇f (x̄τ )∥ + 3E∥∇f (x̄τ )∥2 ,
                                      M
                                       
where the last inequality holds because gτi − ∇fi (xiτ ) i∈[M ] are independent, zero-mean, and have variance at most σ 2 :

                                       M                                    2             M
                                 2  1 X i                                             1 X                        2   σ2
                                          gτ − ∇fi (xiτ )                                        i           i
                                                         
                 E∥ḡτ − Eḡτ ∥ = E                                              =           E gt  − ∇f i (x τ )   ≤    .
                                    M i=1                                            M 2 i=1                         M

Thus, (A) is bounded as follows,
                              T                              T
                                                           2 X                         T
                              X                  2  3σ                                 X                          2
                                      αt2 E∥ḡτ ∥ ≤               ατ2 + 3BT + 3               ατ2 E∥∇f (x̄τ )∥ .
                              τ =1
                                                         M τ =1                        τ =1

Plugging this bound back into (19), we get:
                                                         T                T
                                                                                                           !
                              D2                    3σ 2 X 2            X                    2
                     α1:t ∆t ≤ 1 + η                       ατ + 3VT + 3      ατ2 E∥∇f (x̄τ )∥                  + 4ηT · VT
                               η                    M τ =1              τ =1
                                            T                             T
                               D12   3σ 2 η X 2                         X                    2
                             =     +          α + (3η + 4ηT ) · BT + 3η      ατ2 E∥∇f (x̄τ )∥
                               η      M τ =1 τ                          τ =1
                                                  T                      T
                                     D12   3σ 2 η X 2                  X                    2
                             ≤           +          ατ + 8ηT · BT + 3η      ατ2 E∥∇f (x̄τ )∥ .                              (20)
                                     η      M τ =1                     τ =1

                                                                             2
For linear weights αt = t and learning rate upper bounded by ρK , Lemma 4.3 provides the following bound on BT (see
proof in Appendix B.2 below):
                                                                   T
                                                      K 2 σ̃ 2 η 2 X 2
                                               BT ≤                  α .
                                                        2ρ4 τ =1 τ
Substituting this bound back to Equation (20), we obtain:
                                              T                     T            T
                                 D12   3σ 2 η X 2 4K 2 σ̃ 2 η 3 T X 2          X                    2
                     α1:t ∆t ≤       +          ατ +                   ατ + 3η      ατ2 E∥∇f (x̄τ )∥ .
                                 η      M τ =1        ρ4          τ =1         τ =1

The rightmost term is be bounded as follows:
                                     T
                                     X                               T
                                                                     X                         T
                                                                                               X
                                                            2
                                             αt2 E∥∇f (x̄τ )∥ ≤ 2L          ατ2 ∆τ ≤ 4L               α1:τ ∆τ ,
                                     τ =1                            τ =1                      τ =1

where the first inequality follows from Lemma D.2 (i.e., ∥∇f (x̄τ )∥2 ≤ 2L(f (x̄τ ) − f ∗ )), and the second inequality arises
from αt2 = t2 ≤ t(t + 1) = 2α1:t . Therefore,
                                                      T                     T              T
                                         D12   3σ 2 η X 2 4K 2 σ̃ 2 η 3 T X 2            X
                        α1:t ∆t ≤            +          ατ +                   ατ + 12Lη      α1:τ ∆τ
                                         η      M τ =1        ρ4          τ =1           τ =1
                                                      T                     T            T
                                         D12   3σ 2 η X 2 4K 2 σ̃ 2 η 3 T X 2        1 X
                                     ≤       +          ατ +                   ατ +         α1:τ ∆τ ,
                                         η      M τ =1        ρ4          τ =1
                                                                                    2T τ =1


                                                                     15
                                         Enhancing Parallelism in Decentralized SCO

                                               1                                                            D12 3σ 2 η PT     2
where the last inequality holds true for η ≤ 24LT . Applying Lemma D.3 with at = α1:t ∆t and b =            η + M       τ =1 ατ +
  2 2 3      T
4K σ̃ η T  P       2
   ρ4        τ =1 ατ yields (for t = T ):

                                  α1:T ∆T ≤ 2b
                                                                   T                           T
                                                     2D12   6σ 2 η X 2 8K 2 σ̃ 2 η 3 T X 2
                                                 ≤        +         α +                     ατ
                                                      η      M τ =1 τ      ρ4          τ =1
                                         2D12   6σ 2 ηT 3   8K 2 σ̃ 2 η 3 T 4
                                              +  ≤        +                   ,
                                          η        M              ρ4
                                                                                                    6σ 2 T 3
                                  PT    2
                                            PT 2          3                                  2
where the second inequality holds    o αt = t=1 t ≤ T . Thus, employing Lemma D.6 with A = 2D1 , B = M ,
                              n as t=1
        2   2   4                       ρ2
C = 8K ρσ̃4 T , and η1 = min       1
                                 24LT , K        , we get:

                               A      √
                    α1:T ∆T ≤     + 2 AB + 2A3/4 C 1/4
                               η1
                                                   r                                              1/4
                                                       12D12 σ 2 T 3                8K 2 σ̃ 2 T 4
                                                                                
                                  2         K                               2 3/4
                                                                             
                             ≤ 2D1 24LT + 2 + 2                      + 2 2D1
                                            ρ             M                             ρ4
                                √              √   3/2 √
                               4 3D1 σT 3/2   4 2D1      K σ̃T                 2KD12
                             =      √       +                    + 48LD12 T +         .
                                      M              ρ                           ρ2
                                             2
Finally, dividing by α1:T = T (T2+1) ≥ T2 , we obtain the result as:
                                                √             √ 3/2 √
                                         ∗     8 3D1 σ 8 2D1             K σ̃ 96LD12  4KD2
                      ∆T = E[f (x̄T ) − f ] ≤   √        +                   +       + 2 21
                                                  MT                ρT           T     ρ T
                                                                 3/2 p
                                                                                            !
                                                    D1 σ      D1       L(σ + ζ) LD12   LD12
                                            =O √           +                   +     + 2 2 .
                                                      MT              ρT           T   ρ T



B.1. Proof of Corollary 4.2
Next, we demonstrate the convergence of the local iterates.



Proof. Let i ∈ [M ]. By the smoothness of the f , it holds that:
                    E[f (xiT ) − f ∗ ] = E[f (xiT ) − f (x̄T )] + E[f (x̄T ) − f ∗ ]
                                                                                         
                                                                         L i            2
                                       ≤ E ∇f (x̄T )⊤ (xiT − x̄T ) +         xT − x̄T       + E[f (x̄T ) − f ∗ ]
                                                                         2
                                          1                2     θ+L                  2
                                       ≤    E ∥∇f (x̄T )∥ +            E xiT − x̄T + E[f (x̄T ) − f ∗ ] ,
                                         2θ                        2
where the last inequality holds for any θ > 0 due to Young’s inequality, a⊤ b ≤ 2θ
                                                                                 1
                                                                                   ∥a∥2 + θ2 ∥b∥2 . Setting θ = L and using
                                        2                  ∗
Lemma D.2 to upper bound ∥∇f (x̄T )∥ by 2L(f (x̄T ) − f ), we get:
                                            1                 2                 2
                        E[f (xiT ) − f ∗ ] ≤  E ∥∇f (x̄T )∥ + LE xiT − x̄T + E[f (x̄T ) − f ∗ ]
                                           2L
                                                                              2
                                         ≤ 2E[f (x̄T ) − f ∗ ] + LE xiT − x̄T
                                                                       M
                                                                       X                   2
                                         ≤ 2E[f (x̄T ) − f ∗ ] + L           E xiT − x̄T
                                                                       i=1
                                         = 2E[f (x̄T ) − f ∗ ] + LM ΓT .

                                                                  16
                                         Enhancing Parallelism in Decentralized SCO

Using Lemma C.3, which applies under the conditions of Theorem 4.1, we can bound ΓT by 2560σ̃ 2 η 2 /ρ4√, where
σ̃ 2 := 2σ 2 + ζ 2 . In addition, the learning rate in Theorem 4.1 satisfies η 2 ≤ D1 ρ2 /2K σ̃T 2 , where K := 5120L.
Therefore, we obtain:
                                                                                               √
                        i      ∗                   ∗    2560LM σ̃ 2 η 2                  ∗    8 5M D1 σ̃
                 E[f (xT ) − f ] ≤ 2E[f (x̄T ) − f ] +                  ≤ 2E[f (x̄T ) − f ] +             .
                                                             ρ4                                 ρ2 T 2
Plugging the bound on E[f (x̄T ) − f ∗ ] from Theorem 4.1 establishes the result:
                                       √            √ 3/2 √                                 √
                                    16 3D1 σ 16 2D1            K σ̃ 192LD12        8KD2    8 5M D1 σ̃
                E[f (xiT ) − f ∗ ] ≤ √          +                   +             + 2 21 +
                                         MT              ρT                T        ρ T      ρ2 T 2
                                                    3/2 √                         !
                                           D1 σ   D       Lσ̃ LD12        M D1 σ̃
                                   =O √         + 1           +        + 2 2        .
                                            MT        ρT          T        ρ T



In terms on the total of samples N = M T , the established rate is given by:
                                                             3/2 √
                                                                                          !
                                i      ∗        D1 σ M D1           Lσ̃ M LD12  M 3 D1 σ̃
                          E[f (xT ) − f ] ≤ O √ +                       +      + 2 2        .
                                                  N          ρN              N   ρ N

                                                √ ζ (i.e., assuming they all equal 1), the parallelism bound (i.e., the
Therefore, ignoring the dependence on L, D1 , σ and
maximal asymptotic M for which the rate is O(1/ N )) is:
                                             n √ √            √ o           √
                               M ≤ O min ρ N , N , ρ2/3 N             = O(ρ N ) .

B.2. Proof of Lemma 4.3
Proof. We aim to prove that:
                                            " T                                   #                   T
                                             X                                2           K 2 σ̃ 2 η 2 X 2
                                  BT := E          ατ2 ∥Eḡτ − ∇f (x̄τ )∥             ≤                 α ,
                                            τ =1
                                                                                            2ρ4 τ =1 τ

where K 2 := 5120L2 and σ̃ 2 := 2σ 2 + ζ 2 .
                                   2                                     2
Focusing on E∥Eḡτ − ∇f (x̄τ )∥ and using the convexity of ∥·∥ , we apply Jensen’s inequality to obtain:

                                                                         M                                2
                                                       2 1 X
                                                               ∇fi (xiτ ) − ∇fi (x̄τ )
                                                                                       
                                 E∥Eḡτ − ∇f (x̄τ )∥ = E
                                                         M i=1
                                                                    M
                                                               1 X                             2
                                                           ≤         E ∇fi (xiτ ) − ∇fi (x̄τ )
                                                               M i=1
                                                                    M
                                                             L2 X              2
                                                           ≤       E xiτ − x̄τ
                                                             M i=1
                                                           = L2 Γτ ,

where the second inequality follows from the smoothness of fi . Using Lemma C.3, which applies specifically to linear
                                                    2     2
weights αt = t and a learning rate bounded as η ≤ ρK = 8√ρ80L we bound Γτ and derive a corresponding bound for BT :

                    T                                       T                                     T              T
                    X                              2
                                                            X                 2560L2 σ̃ 2 η 2 X 2       K 2 σ̃ 2 η 2 X 2
             BT =          ατ2 E∥Eḡτ − ∇f (x̄τ )∥ ≤ L2            ατ2 Γτ ≤                        ατ =               α ,
                    τ =1                                    τ =1
                                                                                  ρ4          τ =1
                                                                                                          2ρ4 τ =1 τ

which concludes the proof.

                                                                    17
                                          Enhancing Parallelism in Decentralized SCO

C. Consensus Recursion Analysis
In this section, we analyze the consensus distances Γt , Ξt , and Ψt . We begin by observing that Γt follows a recursive
relation (Equation (24)), where Γt+1 depends not only on Γt but also on Ξt and Ψt . Similarly, Ξt satisfies its own recursion,
with Ξt+1 depending on Ξt and Ψt (Lemma C.4).
To simplify the analysis, we first solve the recursion for Ξt , allowing us to express Γt in terms of Ψt alone, eliminating the
dependence on Ξt (Lemma C.1). Finally, in Lemma C.2, we bound Ψt in terms of the problem parameters (σ and ζ) and Γt ,
enabling us to explicitly solve the recursion for Γt (Lemma C.3).

C.1. Consensus of the Query Points
The next result establishes a recursion for the consensus distance of the query points Xt .
Lemma C.1. For all t ≥ 1, the consensus distance of the query points (i.e., averaged iterates) Γt satisfies the following
recursion:
                                                                    t
                                                                                          !
                                    ρ       4η 2 αt2 δt2      2 X         ρ t−1−τ
                      Γt+1 ≤ 1 −        Γt +               Ψt +         1−             Ψτ .
                                     2             ρ            ρ τ =1       2


Proof. The gossip averaging of the query points leads to the following inequality:

                M Γt+1 = E∥Xt+1 − X̄t+1 ∥2F = E∥Xt+ 12 P − X̄t+ 12 ∥2F ≤ (1 − ρ)E∥Xt+ 12 − X̄t+ 21 ∥2F ,                    (21)

where we used Lemma D.1, stating that X̄t+ 12 P = X̄t+ 12 , and the mixing property of the gossip matrix (Property 2.6).
                                                                                             2                  2              2
Substituting the query points averaging, Xt+ 12 = (1−δt )Xt +δt Wt+ 21 , and using ∥a + b∥ ≤ (1+β −1 ) ∥a∥ +(1+β) ∥b∥
(which holds for any β > 0), we obtain:

             M Γt+1 ≤ (1 − ρ)E∥Xt+ 12 − X̄t+ 12 ∥2F
                        = (1 − ρ)E∥(1 − δt )Xt + δt Wt+ 21 − ((1 − δt )X̄t + δt W̄t+ 12 )∥2F
                                        
                                       1
                        ≤ (1 − ρ) 1 +       (1 − δt )2 E∥Xt − X̄t ∥2F + (1 − ρ) (1 + β) δt2 E∥Wt+ 12 − W̄t+ 12 ∥2F
                                       β
                                        
                                       1
                        ≤ (1 − ρ) 1 +       M Γt + (1 − ρ)(1 + β)δt2 E∥Wt+ 21 − W̄t+ 12 ∥2F ,                               (22)
                                       β                               |         {z          }
                                                                                  (⋆)


where the last inequality follows from (1 − δt )2 ≤ 1. Focusing on (⋆) and plugging the iterate update rule, we have for all
γ > 0:

                     E∥Wt+ 12 − W̄t+ 12 ∥2F = E∥Wt − ηαt Gt − (W̄t − ηαt Ḡt )∥2F
                                                    
                                                   1
                                            ≤ 1+       E∥Wt − W̄t ∥2F + (1 + γ) η 2 αt2 E∥Gt − Ḡt ∥2F
                                                   γ
                                                    
                                                   1
                                            = 1+       M Ξt + (1 + γ)η 2 αt2 M Ψt .                                         (23)
                                                   γ

Substituting (23) into (22), setting β = 2/ρ and γ = 1, and dividing by M , we get:

                                                                                 4δ 2
                                           
                     ρ                  2                             ρ
                                              δt2 2Ξt + 2η 2 αt2 Ψt ≤ 1 −    Γt + t Ξt + η 2 αt2 Ψt ,
                                                                                                   
   Γt+1 ≤ (1 − ρ) 1 +    Γt + (1 − ρ) 1 +                                                                                   (24)
                      2                   ρ                               2       ρ
                                                                          2
where in the second inequality we used (1 − ρ)(1 + ρ2 ) = 1 − ρ2 − ρ2 ≤ 1 − ρ2 and (1 − ρ)(1 + ρ2 ) = −1 − ρ + ρ2 ≤ ρ2 .
Note that we derived a recursion for Γt , which also involves Ξt . The consensus distance of the iterates, Ξt , satisfies its own

                                                               18
                                           Enhancing Parallelism in Decentralized SCO

recursion as stated in Lemma C.4, from which an explicit bound is provided in Lemma C.5. Substituting this bound yields:

                                                                 t−1
                                                                                                        !
                                   ρ     4δ 2        2η 2 αt2 X       ρ t−1−τ
                         Γt+1 ≤ 1 −    Γt + t                       1−             Ψτ + η 2 αt2 Ψt
                                    2       ρ              ρ τ =1        2
                                                                    t−1
                                                                                            !
                                     ρ      4η 2 αt2 δt2        2 X         ρ t−1−τ
                                 = 1−    Γt +                Ψt +          1−           Ψτ ,                                  (25)
                                      2            ρ              ρ τ =1       2

thus concluding the proof.


Note that the sequence Ψ1 , . . . , Ψt appears in the recursion given in Lemma C.1. We next provide an upper bound on Ψt in
terms of Γt , which will enable us to derive an explicit bound for Γt .
                                                      
Lemma C.2. For every t ≥ 1, Ψt ≤ 5 2σ 2 + ζ 2 + 10L2 Γt .

              PN            PN
Proof. Using ∥ n=1 un ∥2 ≤ N n=1 ∥un ∥2 , we have:

           M
     1 X
Ψt =       E∥gti − ḡt ∥2
     M i=1
           M
       1 X
   =         E∥gti − Egti + Egti − ḡt + Eḡt − Eḡt − ∇fi (x̄t ) + ∇fi (x̄t ) − ∇f (x̄t ) + ∇f (x̄t )∥2
       M i=1
           M
       5 X
             E∥gti − Egti ∥2 + E∥ḡt − Eḡt ∥2 + E∥Egti − ∇fi (x̄t )∥2 + E∥Eḡt − ∇f (x̄t )∥2 + E∥∇fi (x̄t ) − ∇f (x̄t )∥2 .
                                                                                                                          
   ≤
       M i=1
                                                                                                                              (26)

Next, we individually bound each sum.

         1
               PM       i     i 2
Bounding M       i=1 E∥gt − Egt ∥ .       By the bounded variance assumption, it holds that:

                        M                       M                                         M
                     1 X                     1 X                                       1 X 2
                           E∥gti − Egti ∥2 =       E∥∇fi (xit , zti ) − ∇fi (xit )∥2 ≤       σ = σ2 .
                     M i=1                   M i=1                                     M i=1


Bounding E∥ḡt − Eḡt ∥2 . Since gti − Egti are independent, zero mean, and have variance bounded by σ 2 , it follows that:

                                                   M                2       M
                                      2   1 X i                           1 X                    σ2
                                                g − Egti                       E∥gti − Egti ∥2 ≤
                                                         
                       E∥ḡt − Eḡt ∥ = E                               = 2                         .
                                          M i=1 t                        M i=1                   M


         1
               PM        i              2
Bounding M       i=1 E∥Egt − ∇fi (x̄t )∥ .      By the smoothness of fi ,

               M                           M                                 M
            1 X       i              2  1 X           i                2  L2 X
                  E∥Egt − ∇fi (x̄t )∥ =       E∥∇fi (xt ) − ∇fi (x̄t )∥ ≤       E∥xit − x̄t ∥2 = L2 Γt .
            M i=1                       M i=1                             M i=1


Bounding E∥Eḡt − ∇f (x̄t )∥2 . By Jensen’s inequality and the smoothness of each fi , we have:

                                           M                            2           M
                             2  1 X                                             1 X
                                      ∇fi (xit ) − ∇fi (x̄t )                         E∥∇fi (xit ) − ∇fi (x̄t )∥2 ≤ L2 Γt .
                                                              
        E∥Eḡt − ∇f (x̄t )∥ = E                                             ≤
                                M i=1                                           M i=1

                                                               19
                                           Enhancing Parallelism in Decentralized SCO

         1
               PM                              2
Bounding M        i=1 E∥∇fi (x̄t ) − ∇f (x̄t )∥ .      By the heterogeneity assumption (Assumption 2.3),

                                                   M
                                               1 X
                                                     E∥∇fi (x̄t ) − ∇f (x̄t )∥2 ≤ ζ 2 .
                                               M i=1


Substituting these bounds back into Equation (26) implies the result as,

                                           σ2
                                                             
                            Ψt ≤ 5 σ 2 +       + 2L2 Γt + ζ 2 ≤ 5 2σ 2 + ζ 2 + 10L2 Γt .
                                                                            
                                           M



Using this, we now derive an explicit bound for Γt , specifically for linear weights and a sufficiently small learning rate.
                                                                                 2
Lemma C.3. For linear weights {αt = t}t≥1 , and a learning rate η ≤ 8√ρ80L , the consensus distance of the query points
Γt is bounded as:
                                                      2560σ̃ 2 η 2
                                                Γt ≤               ,
                                                          ρ4
where σ̃ 2 := 2σ 2 + ζ 2 .

                                                                          Pt            t(t+1)
Proof. First, observe that for linear weights αt = t, we have α1:t =         τ =1 τ =      2 , which implies that for all t ≥ 1:

                                               αt      2                          2t
                                        δt =        =     ,      and   αt δt =       ≤2.
                                               α1:t   t+1                        t+1
Thus, from Lemma C.1, we get:
                                                                           t−1
                                                                                                    !
                                       ρ      4ηαt2 δt2               2 X       ρ t−1−τ
                             Γt+1 ≤ 1 −    Γt +                   Ψt +         1−           Ψτ
                                        2         ρ                     ρ τ =1     2
                                                                      t−1
                                                                                            !
                                       ρ      16η                 2 X       ρ t−1−τ
                                   ≤ 1−    Γt +                Ψt +         1−          Ψτ .
                                        2        ρ                  ρ τ =1     2

where the second inequality follows from αt2 δt2 ≤ 4. Let σ̃ 2 := 2σ 2 + ζ 2 . Then, by Lemma C.2, for all t ≥, we have
Ψt ≤ 5σ̃ 2 + 10L2 Γt . Substituting this bound yields:
                                                     t−1
                                                                                            !
              ρ        80η 2     2        2     2 X           ρ t−1−τ 2           2
                                                                                          
 Γt+1 ≤ 1 −       Γt +           σ̃ + 2L Γt +              1−               σ̃ + 2L Γτ
               2           ρ                      ρ τ =1         2
                                                   2 X    t−1                                       t−1
                                                                                                                        !
                                                                                         80η 2
                                
               ρ         2 2 2                2 2    2                  ρ t−1−τ                     2 X      ρ t−1−τ
      = 1 − + 80L η ·              Γt + 80L η             ·        1−            Γτ +             1+        1−            σ̃ 2
               2               ρ                     ρ      τ =1
                                                                        2                  ρ         ρ τ =1
                                                                                                               2
                                            2 X  t−1            t−1−τ        2 2
                                                                                                 
               ρ            2                 2                  ρ              c η           4
      ≤ 1 − + c21 η 2 ·         Γt + c21 η 2       ·       1−              Γτ + 2         1+ 2
               2           ρ                  ρ      τ =1
                                                                 2                 ρ           ρ
                                            2 X  t−1                                3
               ρ            2                 2                  ρ t−1−τ                 2
      ≤ 1 − + c21 η 2 ·         Γt + c21 η 2       ·       1−              Γτ + c22 η 2         ,                         (27)
               2           ρ                  ρ      τ =1
                                                                 2                        ρ

where c21 := 80L2 , c22 := 80σ̃ 2 , the final inequality holds because 1 ≤ ρ42 , and the second inequality stems from the
following bound on the geometric sum:
                                t−1                   t−2            ∞
                                X            ρ t−1−τ X       ρ τ X       ρ τ  2
                                        1−           =      1−     ≤      1−      = .
                                τ =1
                                             2         τ =0
                                                               2     τ =0
                                                                             2     ρ

                                                                 20
                                        Enhancing Parallelism in Decentralized SCO
                                                                                   2
Equation (27) exhibits a recursive structure as in Lemma D.5. Since η ≤ 8√ρ80L , the condition required to apply the lemma
is satisfied. Applying the lemma with at = Γt and κ = ρ2 yields the final result:

                                                       2c22 η 2   2560σ̃ 2 η 2
                                                Γt ≤            =              .
                                                        κ4           ρ4



C.2. Consensus of the Iterates
The following lemma provides a recursive relation for the consensus distance of the iterates Wt .
Lemma C.4. The consensus distance for the iterates Ξt , satisfies the following recursive relation:
                                                       ρ      2η 2 αt2
                                             Ξt+1 ≤ 1 −    Ξt +          Ψt .
                                                        2          ρ

Proof. Similarly to Equation (21), we have by the gossip averaging of the iterates:

               M Ξt+1 = E∥Wt+1 − W̄t+1 ∥2F = E∥Wt+ 12 P − W̄t+ 21 ∥2F ≤ (1 − ρ)E∥Wt+ 12 − W̄t+ 12 ∥2F ,

where the second equality is due to Lemma D.1, stating that W̄t+ 21 P = W̄t+ 12 , and the inequality follows from the mixing
property of the gossip matrix Property 2.6. Substituting the bound on E∥Wt+ 12 − W̄t+ 12 ∥2F in Equation (23) then yields:
                                                   
                                                  1
                             M Ξt+1 ≤ (1 − ρ) 1 +     M Ξt + (1 − ρ)(1 + γ)η 2 αt2 M Ψt .
                                                  γ

Dividing by M and setting γ = 2/ρ finally gives:

                                                                                     2η 2 αt2
                                                         
                                   ρ                  2                   ρ
                 Ξt+1 ≤ (1 − ρ) 1 +    Ξt + (1 − ρ) 1 +     η 2 αt2 Ψt ≤ 1 −    Ξt +          Ψt ,
                                    2                   ρ                    2          ρ
                                                                     2
where in the last inequality we used (1 − ρ)(1 + ρ2 ) = 1 − ρ2 − ρ2 ≤ 1 − ρ2 and (1 − ρ)(1 + ρ2 ) = −1 − ρ + ρ2 ≤ ρ2 .

Using this recursion, we derive an explicit bound on Ξt as follows.
Lemma C.5. For any non-decreasing sequence {αt }t≥1 , the consensus distance Ξt is bounded as:

                                                          t−1
                                                   2η 2 αt2 X     ρ t−1−τ
                                            Ξt ≤                1−          Ψτ
                                                      ρ τ =1       2

Proof. The recursion for Ξt in Lemma C.4 exhibits the structure in Lemma D.4. Applying the lemma with at = Ξt ,
bt = η 2 αt2 Ψt , and κ = ρ/2, we obtain:
                                   t−1                                t−1
                                 2 X      ρ t−1−τ 2 2      2η 2 αt2 X     ρ t−1−τ
                          Ξt ≤          1−         η ατ Ψτ ≤              1−          Ψτ ,
                                 ρ τ =1    2                    ρ τ =1       2

where in the last inequality we used ατ2 ≤ αt2 for all τ ≤ t.

D. Technical Lemmas
In this section, we list some technical lemmas, starting with the following property that establishes the invariance of gossip
communication when all machines hold the same vector.
                                                                                                             
Lemma D.1 (Proposition 1, Koloskova et al., 2020). Let x ∈ Rd . For any matrix X = x x · · · x ∈ Rd×M and a
symmetric, doubly stochastic matrix P ∈ RM ×M , we have XP = X.

                                                                21
                                         Enhancing Parallelism in Decentralized SCO

Next, we state a classical result for smooth functions.
Lemma D.2. Let f : Rd → R be an L-smooth function and x∗ ∈ arg minx∈Rd f (x). Then, for every x ∈ Rd , it holds that:
                                                       2
                                             ∥∇f (x)∥ ≤ 2L (f (x) − f (x∗ )) .

The following lemma proves to be useful as well.
Lemma D.3. Consider a non-negative sequence a1 , . . . , aT satisfying the following relation for any t ∈ [T ]:
                                                                       T
                                                                   1 X
                                                    at ≤ b +              aτ ,
                                                                  2T τ =1

for some constant b ∈ R. Then, for all t ∈ [T ], it holds that

                                                               at ≤ 2b .

Proof. Summing over t ∈ [T ], we have that:
                                      T                  T    T                T
                                      X               1 XX                  1X
                                          at ≤ T b +             aτ = T b +       at .
                                      t=1
                                                     2T t=1 τ =1            2 t=1
                 PT                                        PT
Subtracting 12    t=1 at and multiplying by 2 results in       t=1 at ≤ 2T b. Thus, we obtain:

                                                           T
                                                     1 X              1
                                         at ≤ b +           aτ ≤ b +    2T b = 2b .
                                                    2T τ =1          2T




The following two lemmas are used to derive explicit bounds for the consensus recursions discussed in Appendix C.
Lemma D.4. Let κ ∈ (0, 1] and consider a sequence {at }t≥1 satisfying the recursion:

                                                                   bt−1
                                         at ≤ (1 − κ)at−1 +             ,   with a1 = 0,
                                                                     κ
for some non-negative sequence {bt }t≥1 . Then, for all t ≥ 2, the following bound holds:
                                                           t−1
                                                     1X
                                                at ≤        (1 − κ)t−1−τ bτ .
                                                     κ τ =1

Proof. We prove the statement using induction.
Base case. For t = 2, since a1 = 0, it trivially follows that:
                                                                        1
                                                          b1   b1   1X
                                    a2 ≤ (1 − κ)a1 +         =    =        (1 − κ)1−τ bτ .
                                                          κ    κ    κ τ =1

Induction step. Assume that the induction hypothesis holds for some t ≥ 2. We show that it holds for index t + 1:
                                    t−1                             t−1
                                                                                           !         t
                    bt            1X           t−1−τ      bt     1 X            t−τ              1X
 at+1 ≤ (1 − κ)at +    ≤ (1 − κ)        (1 − κ)      bτ +     =         (1 − κ)     bτ + bt =           (1 − κ)t−τ bτ .
                    κ             κ τ =1                   κ     κ τ =1                          κ τ =1



                                                                  22
                                              Enhancing Parallelism in Decentralized SCO

Lemma D.5. Let κ ∈ (0, 1] and consider a sequence {at }t≥1 satisfying the recursion:
                                                                      t−2
                                   c2 η 2                   c21 η 2 X                    c22 η 2
                                              
                    at ≤       1−κ+ 1              at−1 +             (1 − κ) t−2−τ
                                                                                    aτ +         ,     with a1 = 0,
                                     κ                       κ2 τ =1                      κ3

                                                                              2
                                                            κ
for some non-negative constants c1 ,c2 , and η. Suppose η ≤ 2c 1
                                                                 . Then, for all t ≥ 1, the following bound holds:

                                                                            2c22 η 2
                                                                    at ≤             .
                                                                             κ4

Proof. Similar to Lemma D.4, we prove this result by (strong) induction.
Base cases. For t = 1, the statement is trivial because a1 = 0 ≤ 2c22 η 2 /κ4 . For t = 2, we have:
                                                      0
                                  c2 η 2       c2 η 2 X               c2 η 2 c2 η 2 2c2 η 2
                                        
                      a2 ≤    1−κ+ 1       a1 + 1 2     (1 − κ)−τ aτ + 2 3 = 2 3 ≤ 24 ,
                                    κ           κ τ =1                 κ      κ      κ

where the last inequality follows from 1 ≤ κ2 as κ ≤ 1, thus verifying the base cases.
Induction step. Suppose that for some t ≥ 3, the induction hypothesis holds for all indices s = 1, . . . , t. We shall prove
                                                                            2c2 η 2
that it then holds for t + 1. Specifically, denoting the upper bound by B := κ24 , we assume that as ≤ B for s = 1, . . . , t
and prove that at+1 ≤ B. Plugging the induction hypothesis into the recursion, we get:
                                                                                  t−1
                                                      c21 η 2              c21 η 2 X                  c2 η 2
                                                               
                                at+1 ≤       1−κ+                   at +       2
                                                                                     (1 − κ)t−1−τ aτ + 2 3
                                                         κ                  κ τ =1                     κ
                                                                                  t−1
                                                 c2 η 2        c21 η 2 X                      c22 η 2
                                                               
                                    ≤        1−κ+ 1                 B+     (1  − κ)t−1−τ
                                                                                         B +
                                                   κ            κ2 τ =1                        κ3
                                                                 t−1
                                                                                     !
                                              c21 η 2   c21 η 2 X                           c2 η 2
                                    = 1−κ+            + 2              (1 − κ)t−1−τ B + 2 3
                                                 κ       κ τ =1                              κ
                                             c2 η 2     c2 η 2            c2 η 2
                                                               
                                    ≤ 1 − κ + 1 + 13 B + 23
                                                κ        κ                 κ
                                                  2 2              2 2
                                                     
                                             2c η                c η
                                    ≤ 1 − κ + 13        B + 23 ,
                                                κ                  κ

where the last inequality holds because κ1 ≤ κ13 for any κ ≤ 1, and the penultimate inequality results from the bound on the
geometric series:
                                  t−1                  t−2              ∞
                                  X                    X               X                1
                                       (1 − κ)t−1−τ =      (1 − κ)s ≤      (1 − κ)s = .
                                  τ =1                 s=0             s=0
                                                                                        κ
                                              2c21 η 2 κ                                             c22 η 2 κ
From the condition on η, it follows that       κ3 ≤ 2 . Substituting this inequality and noting that κ3 = 2 B, we obtain:

                                             κ    c2 η 2   κ   κ
                                   at+1 ≤ 1 −    B + 23 = 1 −    B+ B=B,
                                              2      κ        2    2
thus establishing the result.

We also utilize the following result, which we prove using simple algebraic manipulation.
                                                             n p                     o
                                                                                 1/4
Lemma D.6. Let A ≥ 0 and B, C > 0, and define η = min η1 , A/B, (A/C)                  for some η1 > 0. Then,

                                         A               A     √
                                           + Bη + Cη 3 ≤    + 2 AB + 2A3/4 C 1/4 .
                                         η               η1

                                                                           23
                                             Enhancing Parallelism in Decentralized SCO

Proof. Since η is the minimum between three terms, 1/η is the maximum of their inverses. Therefore,
                                                (      r  1/4 )
                       A           3               1     B C
                          + Bη + Cη ≤ A max          ,      ,         + Bη + Cη 3
                       η                          η1     A A
                                                   r        1/4 !       r           1/4 3
                                              1        B      C              A         A
                                     ≤A         +        +           +B         +C
                                             η1        A      A             B          C 1/4
                                         A √                       √
                                     =      + AB + A3/4 C 1/4 + AB + A3/4 C 1/4
                                        η1
                                         A      √
                                     =      + 2 AB + 2A3/4 C 1/4 ,
                                        η1
where the second inequality follows from the fact that the maximum of non-negative terms is smaller than their sum, and
from the monotonic increase of the terms Bη and Cη 3 with η.

E. Additional Experimental Results
In Figures 4 to 6, we present the full convergence curves for DAT-SGD and D-SGD on the synthetic least squares problem
over the ring, torus, and 1-peer exponential graph topologies, respectively. These results are shown for varying numbers of
machines and correspond to the final errors reported in Figure 1.
On the torus and exponential graph topologies, our method steadily improves with increasing numbers of machines,
demonstrating the potential of our approach to effectively increase parallelism. For the ring topology, performance improves
when transitioning from M = 9 to 25 machines but degrades at M = 100 machines, as the topology-related error term
becomes dominant. Conversely, D-SGD does not improve when increasing the number of machines. On the ring and torus
topologies, performance is initially better for larger M , but then deteriorates, indicating that while we initially benefit from
variance reduction, the optimization transitions to a regime where the leading error term depends on topology and inefficient
information flow hinders further improvement. For the well-connected exponential graph, initial performance improves with
M , but all configurations eventually converge to approximately the same error level.

                                                                Ring
                                             2=1, 2=1                                    2=1, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                      Error




                                                                   Error




                              10 3                                         10 3
                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                            2=10, 2=1                                   2=10, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                      Error




                                                                   Error




                              10 3                                         10 3
                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                        DAT-SGD, M=9          DAT-SGD, M=25                DAT-SGD, M=100
                                        D-SGD, M=9            D-SGD, M=25                  D-SGD, M=100
Figure 4. Error curves for the least squares problem with varying noise, data heterogeneity, and # of machines in the ring topology.


                                                                   24
                                             Enhancing Parallelism in Decentralized SCO


                                                               Torus
                                             2=1, 2=1                                    2=1, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                      Error   10 3                                         10 3




                                                                   Error
                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                            2=10, 2=1                                   2=10, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                      Error




                                                                   Error
                              10 3                                         10 3
                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                        DAT-SGD, M=9          DAT-SGD, M=25                DAT-SGD, M=100
                                        D-SGD, M=9            D-SGD, M=25                  D-SGD, M=100
Figure 5. Error curves for the least squares problem with varying noise, data heterogeneity, and # of machines in the torus topology.



                                                     Exponential Graph
                                             2=1, 2=1                                    2=1, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                              10 3                                         10 3
                      Error




                                                                   Error




                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                            2=10, 2=1                                   2=10, 2=10
                               1010                                         1010
                               10                                           10
                              10 12                                        10 12
                      Error




                                                                   Error




                              10 3                                         10 3
                              10 4                                         10 4
                              10 5                                         10 5
                              10 6                                         10 6
                              10                                           10
                                      100 101 102 103 104 105                      100 101 102 103 104 105
                                             Iterations                                   Iterations
                                        DAT-SGD, M=9          DAT-SGD, M=25                DAT-SGD, M=100
                                        D-SGD, M=9            D-SGD, M=25                  D-SGD, M=100
Figure 6. Error curves for the least squares problem with varying noise, data heterogeneity, and # of machines in the 1-peer exponential
graph topology.



                                                                  25
