Unveiling High-Probability Generalization in Decentralized SGD

Jiahuan Wang, Ping Luo, Ziqing Wen, Dongsheng Li, Tao SunarXiv 2026

This paper, titled "Unveiling High-Probability Generalization in Decentralized SGD," addresses a significant theoretical gap in our understanding of how decentralized learning algorithms perform on unseen data. While Decentralized Stochastic Gradient Descent (D-SGD) is a staple for large-scale distributed training, its "high-probability" guarantees—the kind that ensure an algorithm won't fail in the worst-case scenario—have lagged behind those of its centralized counterparts.

TL;DR

The authors bridge the gap between centralized and decentralized learning theory by deriving the first "sharp" high-probability generalization bounds for D-SGD. By introducing a weaker, more refined notion of stability, they achieve a convergence rate of $\mathcal{O}(\frac{1}{\sqrt{mn}}\log (1/\delta))$, significantly improving upon previous bounds that were overly sensitive to the confidence parameter $\delta$.

What Problem Does This Paper Address?

In decentralized learning, multiple workers collaborate to train a model by communicating with their immediate neighbors rather than a central server. While efficient, this "gossip-based" communication introduces complexity when trying to prove how well the resulting model will generalize to new data.

Most existing studies focus on expected generalization error—the average performance. However, in safety-critical or high-stakes applications, we need high-probability bounds. These provide a guarantee that the error will be low with a probability of at least $1-\delta$.

Previously, D-SGD bounds had a linear dependence on $1/\delta$, meaning that if you wanted extremely high confidence (a very small $\delta$), the guaranteed error bound would explode. In contrast, centralized SGD has a much tighter logarithmic dependence, $\log(1/\delta)$. This paper sets out to prove that D-SGD can achieve that same "sharp" logarithmic rate, closing a long-standing theoretical discrepancy.

Methods

The authors' primary tool is a new stability framework. In statistical learning theory, an algorithm is "stable" if changing one training example doesn't drastically change the output model.

  1. Pointwise Uniform Stability for Distributed Learning: The authors move away from standard "uniform stability" (which looks at the worst-case change across any two datasets) to a weaker, more granular "pointwise" version. This allows for a more precise analysis of how individual sample replacements at specific nodes affect the global model.
  2. Martingale Difference Sequences: To handle the complexities of non-convex optimization, the authors employ martingale techniques to control the accumulation of stochastic errors over time.
  3. Consensus Error Analysis: They rigorously account for the "disagreement" between local models at different nodes, ensuring that the gossip process doesn't undermine the global model's stability.
  4. Time-Varying Topologies: The analysis extends to dynamic networks where the communication links between workers change over time, a common occurrence in real-world distributed systems.

Datasets

Not discussed in the paper. This work is purely theoretical, focusing on mathematical proofs and derivations rather than empirical benchmarking on specific datasets.

Key Insights and Ideas

  • Closing the Gap: The most important insight is that D-SGD is theoretically as robust as centralized SGD. The "decentralization penalty" doesn't have to manifest in the high-probability generalization rate.
  • Stability is Key: By refining the definition of stability to be "pointwise," the authors found they could satisfy the conditions for tighter concentration inequalities, leading to the $\log(1/\delta)$ term.
  • Global vs. Local: The paper highlights a fascinating property: while the global model's generalization doesn't explicitly depend on which machine a sample was replaced on, the local models at each node are sensitive to the network topology and communication overhead.

Key Results

The authors successfully derived sharp high-probability bounds across three major settings: convex, strongly convex, and non-convex.

As shown in the table below, their work achieves the optimal $\mathcal{O}(\frac{1}{\sqrt{mn}}\log (1/\delta))$ rate, where $m$ is the number of workers and $n$ is the samples per worker. This is a significant improvement over the $1/\delta$ dependence found in prior literature.

Comparison of generalization bounds for D-SGD under the convex case. The authors' work achieves a logarithmic dependence on the confidence parameter $\delta$, significantly improving upon previous linear dependencies.

Additionally, for non-convex problems satisfying the Polyak-Łojasiewicz (PL) condition, they derived optimization error bounds that also scale logarithmically with $1/\delta$, providing a complete picture of the "excess risk" (the total error from both optimization and generalization).

Limitations and Future Work

Despite the breakthrough, the authors note several areas for further exploration:

  • Lipschitz Continuity: The current proofs rely heavily on the assumption that the loss function is Lipschitz continuous (it doesn't change too abruptly). Relaxing this for more complex, non-smooth functions remains a challenge.
  • Consensus Error: While they successfully quantified consensus error, they suggest that developing sharper tools to do so under even weaker assumptions is an important next step.
  • Sampling without Replacement: The current analysis assumes samples are drawn with replacement; extending this to the more common "without replacement" (epoch-based) training is a promising future direction.
  • Asynchronous Settings: The paper focuses on synchronous updates; extending the framework to asynchronous D-SGD (where workers don't wait for each other) would increase its practical relevance.

Summary updated

BibTeX
@misc{wang2026unveiling,
  author = {Jiahuan Wang and Ping Luo and Ziqing Wen and Dongsheng Li and Tao Sun},
  title = {{Unveiling High-Probability Generalization in Decentralized SGD}},
  year = {2026},
  eprint = {2605.10205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.10205},
}

Loading related content...

Figure