TL;DR
Combining gradient sketching with adaptive optimizers (like Adam) dramatically cuts communication overhead in federated learning (FL), but existing theory pessimistically suggested that communication costs scale linearly with the model’s ambient dimension $d$. This paper introduces Sketched Adaptive Federated Learning (SAFL) and its clipped variant (SACFL), proving that by leveraging the anisotropic, rapidly decaying eigenspectrum of deep learning Hessians, communication complexity actually scales logarithmically with $d$—allowing up to 99.98% gradient compression with virtually no loss in performance.
What Problem Does This Paper Address?
In federated learning, communication between clients and the central server is a major bottleneck—scaling as $O(d T)$, where $d$ is parameter dimension and $T$ is the number of training rounds. While adaptive optimizers (e.g., Adam, AMSGrad) reduce $T$ and handle heterogeneous data better than SGD, and random sketching (e.g., CountSketch, SRHT) compresses per-round transfers from $O(d)$ to $O(b)$, merging the two has suffered from a major theoretical divide.
Prior theoretical analyses concluded that the number of iterations $T$ needed for sketched adaptive methods scaled linearly with $d$, rendering them theoretically unusable for modern deep learning models with tens or hundreds of millions of parameters. Furthermore, non-i.i.d. client distributions often induce heavy-tailed gradient noise where standard optimization guarantees collapse entirely.
Methods
The authors introduce two core algorithmic frameworks that avoid complex error-feedback loops and extra server compression steps:
- SAFL (Sketched Adaptive Federated Learning): Uses linear, unbiased sketching operators (e.g., Subsampled Randomized Hadamard Transform [SRHT], CountSketch, or Gaussian matrices) to compress local model updates into a low-dimensional sketch of size $b \ll d$. The server aggregates the sketches, de-sketches them, and updates running first and second moments via adaptive optimizers (specifically analyzing AMSGrad).
- SACFL (Sketched Adaptive Clipped FL): Tailored for heavy-tailed noise settings. Clients transmit both their sketched updates and an uncompressed scalar representing the Euclidean norm ($L_2$-norm) of the update. The server averages both and performs adaptive gradient clipping before updating the global model.
- Spectrum-Aware Proof Technique: To overcome the linear dependence on $d$, the authors exploit the empirical structure of neural loss Hessians—specifically that their eigenvalues decay sharply, with a finite trace/sum of absolute eigenvalues ($\sum |\lambda_i| \le \hat{L}$). They decompose the entry-wise sketching noise along the Hessian eigenvectors and bound zero-centered noises over rounds using sub-Gaussian martingale concentration (Azuma’s inequality).
Datasets
The authors evaluate their methods on standard vision and language benchmarks:
- CIFAR-10: Evaluated on ResNet-101 (42M parameters, trained from scratch), ViT-Small (Hessian spectrum analysis), and ViT-Base (86M parameters, fine-tuned). Also evaluated under an artificial 80-client heavy-tailed non-i.i.d. partition where each client's local gradient norm follows an $\alpha$-stable Lévy distribution.
- SST-2 (GLUE benchmark): Evaluated on BERT (100M parameters) across 5 clients.
No new datasets were introduced.
Key Insights and Ideas
- Anisotropic Curvature Eliminates the Dimension Curse: Conventional convergence proofs assume isotropic $L$-smoothness, penalizing sketching noise uniformly in all $d$ directions. In reality, deep networks have heavily anisotropic curvature where the vast majority of Hessian eigenvalues are near zero. Projecting sketching error onto these eigen-bases bounds the quadratic remainder terms by the sum of eigenvalues $\hat{L}$ rather than $d\cdot L$, achieving dimension-independent asymptotic convergence with a sketch size of only $b = O(\log d)$ or $O(\log^3(d/\delta))$.
- Two-Regime Convergence: SAFL demonstrates an initial $O(1/T)$ rate near initialization before smoothly transitioning into the standard asymptotic $O(1/\sqrt{T})$ non-convex stochastic rate.
- Scalar Norms Suffice to Tame Heavy Tails: In heterogeneous FL with $\alpha$-moment noise ($\alpha \in (1, 2]$), clipping using just an uncompressed scalar $L_2$-norm preserves optimal heavy-tailed convergence rates ($O(T^{\frac{2-2\alpha}{3\alpha-2}}K^{\frac{4-2\alpha}{3\alpha-2}})$), proving random sketching does not compromise gradient clipping.
Key Results
- Empirical Accuracy vs. Baselines: On CIFAR-10 training ResNet-101, sketched Adam achieves 22.6% test error, outperforming 1-Bit Adam (25.5%), CD-Adam (25.7%), CocktailSGD (25.9%), and FetchSGD (28.4%). On SST-2 with BERT, sketched Adam achieves 7.80% error, besting CocktailSGD (8.03%), CD-Adam (8.83%), and 1-Bit Adam (9.06%).
- Extreme Compression Ratios: Models maintained strong convergence at extreme compression rates: 99.9% compression ($b = 4 \times 10^4$) on ResNet-101 and 99.98% compression ($b = 2 \times 10^4$) on 100M-parameter BERT.
- Heavy-Tailed Resilience: On non-i.i.d. CIFAR-10 with Lévy-distributed gradient norms ($\alpha \approx 1.5$), sketched clipped SGD with $b \in \{4\times 10^4, 4\times 10^5\}$ matched the convergence trajectories of unsketched clipping ($b = 4\times 10^7$), whereas standard SGD completely diverged.
Limitations and Future Work
- Generalization at Extreme Sketch Sizes: When the sketch dimension $b$ is pushed to extreme minimums (e.g., $b=400$ for ResNet or $b=2000$ for BERT), the model still converges in training loss but gets trapped in poor local minima that degrade validation accuracy.
- Uniform Concatenated Sketching: The algorithms flatten the entire network parameter vector into a single vector prior to sketching. Because layer-wise gradient geometries differ substantially across deep networks, the authors note that applying independent, layer-wise sketching operators is an important direction for future research.
Summary updated