Abstract
Federated Learning (FL) faces a significant communication bottleneck when training large-scale deep learning models across decentralized clients. While gradient compression and adaptive optimization are common strategies to mitigate this, their theoretical combination has historically suggested a linear dependence on model dimensionality, implying that communication costs must scale with the number of parameters. This paper introduces Sketched Adaptive Federated Learning (SAFL), a framework that utilizes random linear sketching and adaptive optimizers. By leveraging the low intrinsic dimensionality of deep learning models, SAFL achieves a sharp convergence rate where communication requirements scale only logarithmically with model size. Empirical results demonstrate that SAFL can achieve up to 99.98% compression on models like BERT while maintaining competitive performance.
Introduction
Federated Learning (FL) enables multiple clients to collaboratively train a global model without sharing their local, private data. However, as modern neural networks grow to billions of parameters, the communication cost of transmitting full gradient updates between clients and the central server becomes a primary bottleneck.
To address this, researchers often employ two techniques: gradient compression (to reduce the bits sent per round) and adaptive optimizers like Adam or AMSGrad (to reduce the total number of training rounds). Historically, combining these two has been theoretically challenging. Previous mathematical analyses suggested that to ensure convergence, the communication cost must scale linearly with the number of parameters ($d$). This "linear dependence" creates a pessimistic outlook for high-dimensional models. SAFL aims to bridge this gap between theory and practice by proving that extreme compression is not only possible but theoretically sound when the underlying structure of the loss surface is considered.
The SAFL Framework
The proposed SAFL framework integrates two core components to optimize communication and convergence:
- Random Linear Sketching: Instead of transmitting a high-dimensional gradient vector, clients project the gradient into a significantly smaller subspace (a "sketch") using a random matrix. Because this sketching operator is linear and unbiased, the server can average these sketches directly from multiple clients, maintaining the integrity of the aggregate update.
- Adaptive Optimization (AMSGrad): Upon receiving the sketches, the server "desketches" the updates to maintain momentum and second-moment estimates. This allows the system to benefit from the stability and speed of adaptive methods, which are particularly effective for the non-convex landscapes of deep learning.
Unlike many existing compression methods, SAFL does not require Error Feedback (the practice of storing and re-incorporating compression errors in subsequent rounds). Because SAFL utilizes unbiased linear sketching, it avoids the additional memory overhead and algorithmic complexity associated with error compensation.
Theoretical Contributions: Breaking the Dimensionality Curse
The central theoretical insight of this work is the utilization of Intrinsic Dimension. Deep learning models are often characterized by a Hessian matrix (describing the curvature of the loss surface) where only a few eigenvalues are significant. Most directions in the parameter space are nearly flat.
SAFL leverages this anisotropic structure to show that the noise introduced by sketching primarily affects these "flat" directions, where it has minimal impact on the optimization trajectory. The authors prove that the number of communication bits $b$ only needs to grow at a rate of $O(\log d)$ to achieve a standard convergence rate of $O(1/\sqrt{T})$. This explains why models can be compressed by 99% or more without a catastrophic loss in accuracy—the optimizer naturally ignores sketching noise in unimportant directions.
Additionally, the authors provide a rigorous proof that SAFL naturally generates bounded gradients along its optimization path. This removes the need for the common, yet often unrealistic, assumption of globally bounded gradients in optimization proofs.
Experimental Evaluation
The researchers validated SAFL across a variety of vision and natural language processing (NLP) tasks, covering both training-from-scratch and fine-tuning regimes:
- Vision Tasks: SAFL was tested on CIFAR-10 using ResNet101 (42M parameters) and fine-tuning ViT-Base (86M parameters). It consistently matched or exceeded the performance of state-of-the-art baselines like FetchSGD and MARINA.
- NLP Tasks: On the SST-2 dataset, SAFL was used to fine-tune BERT (100M parameters). In these experiments, SAFL achieved a 99.98% compression rate (using a sketch size of only 20k) while maintaining performance comparable to uncompressed training.
- Hessian Analysis: Auxiliary experiments on MNIST and Fashion-MNIST confirmed the theoretical assumption regarding the decaying eigenspectrum of the Hessian, supporting the "intrinsic dimension" argument.
Conclusion and Future Work
SAFL provides a robust theoretical and empirical foundation for compressed adaptive federated learning. By demonstrating that communication costs only need to scale logarithmically with model size, the paper justifies the use of extreme compression in large-scale FL deployments.
Future research directions include:
- Layer-wise Sketching: Exploring whether sketching different layers independently can account for the heterogeneous weight distributions found in deep networks.
- Downlink Optimization: While SAFL reduces uplink costs (client-to-server), further work is needed to optimize the downlink (server-to-client) transmission of optimizer moments.
- Hyperparameter Automation: Developing more automated ways to balance the trade-off between sketching dimensions and learning rates to simplify deployment for practitioners.
Summary updated