Abstract
Distributed stochastic optimization (DSO) is a cornerstone of modern large-scale machine learning, yet its theoretical foundations often rely on the assumption of light-tailed gradient noise (e.g., Gaussian noise with bounded variance). In practice, many deep learning environments exhibit heavy-tailed noise, where extreme gradient spikes occur and variance may be unbounded. This paper introduces the Clipped Federated Stochastic Mirror Descent (Clipped FedSMD) algorithm to address these challenges. By integrating gradient clipping with a federated mirror descent framework, we provide a rigorous convergence theory. We demonstrate that under specific decay rules for stepsizes and clipping parameters, the algorithm achieves satisfactory high-probability convergence even in the presence of heavy-tailed noise and unconstrained decision spaces.
Introduction
In a typical distributed optimization setting, multiple agents collaborate to minimize a global objective function by processing local data and communicating updates. While algorithms like Federated SGD are effective under standard conditions, they often falter when the stochastic gradients are "heavy-tailed." In such scenarios, the probability of encountering extreme values is significantly higher than in a normal distribution, potentially leading to infinite variance.
When classical DSO approaches encounter this heavy-tailed randomness, their convergence behavior degrades or fails entirely. This paper bridges this gap by proposing a robust framework designed to maintain stability and performance in these adversarial noise environments.
The Clipped FedSMD Algorithm
The proposed Clipped FedSMD algorithm combines three distinct optimization strategies to handle the complexities of distributed, heavy-tailed environments:
- Federated Learning Structure: To minimize communication overhead and preserve a degree of local data privacy, agents perform multiple local updates before periodically synchronizing their parameters with a central server.
- Gradient Clipping: This is the primary defense against heavy-tailed noise. By "clipping" the local stochastic gradients—scaling them down if they exceed a dynamic threshold ($\lambda_t$)—the algorithm prevents extreme noise spikes from destabilizing the optimization path.
- Mirror Descent: Unlike standard Euclidean gradient descent, mirror descent utilizes Bregman divergence. This allows the algorithm to adapt to the underlying geometry of the problem space, such as using Kullback-Leibler divergence for optimization on probability simplexes.
Overcoming Theoretical Barriers
Historically, proving convergence for clipped algorithms in distributed settings has required the assumption of a "compact" (bounded) decision space. This paper introduces a novel inductive proof framework that manages the "consensus bound"—the divergence between local agent models and the global average—without requiring the decision space to be bounded. This makes the algorithm applicable to a much wider range of unconstrained real-world problems.
Theoretical Convergence and Insights
The authors establish a high-probability convergence rate for Clipped FedSMD. For a tail parameter $p \in (1, 2]$ (where $p=2$ represents bounded variance and smaller $p$ indicates heavier tails), the algorithm achieves a rate of:
$$\mathcal{O}\left(T^{\frac{1-p}{2p}} \log^\gamma T \log^2(1/\delta)\right)$$
where $T$ is the number of iterations and $\delta$ is the confidence level.
Key Findings:
- Parameter Scheduling: The success of the algorithm depends on the careful coordination of stepsize decay and clipping threshold decay. The authors provide explicit mathematical rules to ensure that local agents reach a consensus with the global model despite the noise.
- Generalization: Because it is built on the Mirror Descent framework, Clipped FedSMD serves as a generalized template. By adjusting the "mirror map," it can be transformed into Clipped Federated SGD (for Euclidean spaces) or Clipped Federated Stochastic Entropic Descent.
Empirical Validation
To validate the theory, the authors conducted simulations using a synthetic linear regression task. To simulate a heavy-tailed environment, they injected noise generated from a Pareto distribution, which explicitly allows for infinite variance.
Experimental Observations: * Robustness: The algorithm successfully converged in environments where standard non-clipped methods failed. * Scalability: Increasing the number of clients ($m$) or the communication period (the interval between syncs) naturally slows the convergence rate, confirming the theoretical trade-offs between communication efficiency and optimization speed. * Tail Sensitivity: As the tail parameter $p$ increased (indicating less severe noise), the algorithm exhibited faster convergence and lower final error, aligning with the derived convergence bounds.
Conclusion and Future Work
Clipped FedSMD provides a mathematically rigorous solution for distributed optimization in the presence of heavy-tailed noise. By removing the requirement for a bounded decision space and providing high-probability guarantees, this work expands the reach of federated learning to more volatile data environments.
Future research directions include testing the algorithm on large-scale deep learning benchmarks (such as Transformers or CNNs) and extending the framework to decentralized, peer-to-peer communication topologies where a central server is not available.
Summary updated