Adaptive optimization is critical in federated learning (FL), especially for training complex models like Transformers. While enabling adaptivity on the server side is standard practice, extending this to the client side—known as "joint adaptivity"—has proven essential for achieving optimal performance. However, this approach traditionally imposes a heavy "communication tax" to synchronize optimizer states and demands significant memory on edge devices.
This paper introduces FedAda² and its memory-efficient variant FedAda²++, which achieve state-of-the-art convergence by simply zero-initializing local preconditioners and using memory-efficient local optimizers. These methods match the communication efficiency of vanilla FedAvg while significantly boosting accuracy.
The Bottleneck of Joint Adaptivity
In Federated Learning, a central server coordinates training across thousands or millions of edge devices. Standard algorithms like FedAvg use simple gradient averaging, but modern deep learning relies heavily on adaptive optimization (e.g., Adam, AdaGrad) to navigate complex loss landscapes.
While joint adaptivity is powerful, it is notoriously difficult to scale due to two main constraints:
- Communication Overhead: To stay synchronized, the server must send "preconditioners" (accumulated gradient statistics) to the clients, effectively doubling the data transmitted per round.
- Memory Constraints: Edge devices have limited RAM. Storing a full-sized preconditioner, which is as large as the model itself, can cause devices to crash or drop out of the training process.
Introducing FedAda² and FedAda²++
To solve these scalability bottlenecks, the authors propose two main algorithmic innovations:
- FedAda²: The core innovation is a "Zero Local Preconditioner Initialization" strategy. Instead of the server transmitting its global preconditioner to clients, each client simply initializes its local adaptive state to zero at the start of every round. This entirely eliminates the extra communication cost, making the bandwidth requirement identical to the non-adaptive FedAvg.
- FedAda²++: To solve the on-device memory problem, this version incorporates SM3, a memory-efficient optimizer. Instead of storing a full $d$-dimensional vector for the preconditioner, SM3 uses a low-rank approximation based on the model's tensor shapes.
- Blended Optimization: The authors also introduce a theoretical framework allowing for a "mixture" of optimizers. In a real-world deployment, a powerful smartphone might run a full Adam update, while a low-end sensor might run simple SGD, with both successfully contributing to the same global model.
Key Insights
- The "Zero-Init" Surprise: The most counter-intuitive finding is that local adaptive states do not need to be "warm-started" from the server's global state. Resetting to zero every round provides enough local curvature information to accelerate training, avoiding the staleness issues that often plague long-term state storage in cross-device FL.
- Taming Heavy Tails: The paper provides a novel theoretical motivation for client-side adaptivity. Transformers often produce "heavy-tailed" gradient noise; local adaptivity acts as an implicit "clipping" mechanism that stabilizes the global model against these volatile updates.
- Theoretical Parity: Despite simplifications like zero-initialization and compression, the authors prove that FedAda² achieves the same $O(T^{-1/2})$ convergence rate as much more resource-intensive, "costly" joint adaptive methods.
Empirical Results
The researchers evaluated their methods on a diverse set of benchmarks designed to simulate realistic, heterogeneous federated environments, including StackOverflow, CIFAR-100, GLD-23K, and FEMNIST.
Across these datasets, FedAda² and FedAda²++ demonstrated remarkable efficiency and performance:
- Efficiency Gains: For a Vision Transformer (ViT) model, FedAda²++ reduced the additional on-device memory required for adaptive statistics by 99% compared to standard joint adaptivity.
- Communication Savings: In terms of "accuracy per bit transmitted," FedAda² significantly outperformed "Costly Joint Adaptivity." It achieved similar accuracy while sending half as much data per round.
- Accuracy Boost: As highlighted in the FEMNIST evaluation above, jointly adaptive methods (FedAda² and FedAda²++) showed a massive performance lead over server-only adaptive methods (FedAdam) and non-adaptive methods (FedAvg).
- Privacy Robustness: In StackOverflow experiments utilizing Differential Privacy (DP), FedAda² maintained a clear performance edge over all other baselines, proving its compatibility with strict privacy budgets.
Limitations and Future Work
While highly effective, the current convergence proofs are derived for the deterministic (full-batch) setting. Extending these formal proofs to the purely stochastic regime remains a goal for future work. Additionally, while FedAda²++ is generally robust, the uncompressed FedAda² can occasionally show higher sensitivity to learning rate choices compared to its costly counterparts. A promising future direction is investigating how to dynamically adjust the local optimizer strategy based on real-time device telemetry.
Summary updated