Abstract: Stochastic gradient descent (SGD) has taken the stage as the primary workhorse for largescale machine learning. It is often used with its adaptive variants such as AdaGrad, Adam, and AMSGrad. This paper proposes an adaptive stochastic gradient descent method for distributed machine learning, which can be viewed as the communicationadaptive counterpart of the celebrated Adam method — justifying its name CADA. The key components of CADA are a set of new rules tailored for adaptive stochastic gradients that can be implemented to save communication upload. The new algorithms adaptively reuse the stale Adam gradients, thus saving communication, and still have convergence rates comparable to original Adam. In numerical experiments, CADA achieves impressive empirical performance in terms of total communication round reduction.
Introduction: The Communication Bottleneck in Distributed Learning
In large-scale distributed machine learning systems, such as Federated Learning, communication between workers and a central server is often the primary bottleneck. While the Adam optimizer is widely used for training deep neural networks due to its adaptive learning rates, its standard distributed implementation requires every worker to upload fresh gradients at every iteration.
Previous "lazy" communication methods, which only send updates when necessary, have been successful for deterministic gradients but struggle in stochastic settings. In stochastic gradient descent (SGD), the inherent noise from random data sampling can make every update appear significant, even without meaningful model improvement. This leads to excessive communication or convergence failure. CADA (Communication-Adaptive Distributed Adam) addresses this by being adaptive in three dimensions: learning rate, update direction, and communication frequency.
CADA: Adaptive Communication via Variance Reduction
The core innovation of CADA is a set of variance-reduced communication rules. Instead of following a rigid schedule, CADA empowers each worker to decide locally if its current gradient is "informative" enough to justify an upload.
The framework introduces two primary variants:
- CADA1: Utilizes a periodic "snapshot" of model weights to calculate a variance-reduced innovation measure, effectively canceling out sampling noise.
- CADA2: Evaluates gradients at both current and stale model states using the exact same data sample, ensuring that detected differences reflect model progress rather than random noise.
If the calculated "innovation" falls below a threshold, the worker remains silent, and the server reuses the stale gradient to update its Adam buffers (momentum and uncentered variance).
Experimental Performance and Key Results
The authors evaluated CADA on benchmarks including logistic regression (covtype, ijcnn1) and deep learning tasks (MNIST, CIFAR-10 with ResNet20).
Key findings include:
- Significant Communication Savings: CADA1 and CADA2 reduced communication uploads by approximately 60% compared to FedAdam and local momentum methods on MNIST. In logistic regression tasks, savings reached an order of magnitude (10x).
- Theoretical and Empirical Efficiency: CADA maintains a convergence rate of $O(1/\sqrt{K})$ for non-convex problems, matching the original Adam. While it requires roughly double the local gradient computations to check communication conditions, it reaches target accuracy with fewer total gradient evaluations than most baselines.
- Robustness: The method is specifically designed to handle "non-i.i.d." data, a critical requirement for real-world Federated Learning where data distributions vary across workers.
Conclusion and Future Directions
CADA demonstrates that communication can be treated as a dynamic parameter that adapts to the loss function's landscape. While the local check introduces some computational overhead, the trade-off for reduced communication is substantial. Future work may extend this framework to optimize downlink (server-to-worker) communication and further simplify hyperparameter tuning for diverse model architectures.
Summary updated