Presented at NeurIPS 2023, this work introduces FedBiOAcc, an algorithm designed to bring the power of Bilevel Optimization (BO) to Federated Learning (FL). FedBiOAcc addresses the dual challenges of communication efficiency and "client drift" in distributed systems, achieving optimal complexity and robust performance.
The Challenge of Federated Bilevel Optimization
Bilevel optimization involves nested tasks where an upper-level problem depends on the solution of a lower-level one. This is essential for modern machine learning tasks like hyper-parameter tuning, meta-learning, and neural architecture search. However, implementing BO in a federated setting introduces significant hurdles:
- Non-linear Bias: Hyper-gradients (the gradients of the upper problem) are non-linear functions of local data. Simple averaging of local updates in standard FL leads to significant mathematical bias.
- Communication Overhead: Traditional federated bilevel methods often require multiple rounds of communication just to estimate a single hyper-gradient, making them impractical for bandwidth-constrained environments.
Methodology: The FedBiOAcc Framework
FedBiOAcc (Federated Bilevel Optimization with Acceleration) utilizes three core pillars to overcome these obstacles:
- Three Intertwined Problems: Instead of treating hyper-gradient estimation as a sub-routine, the algorithm simultaneously solves for the upper variable ($x$), lower variable ($y$), and a third variable ($u$) used for hyper-gradient estimation. All three are updated in parallel.
- STORM Variance Reduction: By employing momentum-based variance reduction, the algorithm handles stochastic noise effectively without requiring massive batch sizes, "remembering" previous gradients to smooth updates.
- Local Updates: Clients perform multiple local updates across all three variables before communicating with the server, drastically reducing the total communication rounds needed for convergence.
Key Insights and Scalability
A major contribution of this work is the theoretical and empirical demonstration of linear speedup. As the number of participating clients increases, the sample complexity required per client decreases linearly, making the system highly scalable.
Furthermore, FedBiOAcc achieves a communication complexity of $O(\epsilon^{-1})$, matching the best-known rates for single-level federated optimization and significantly improving upon the $O(\epsilon^{-2})$ rates of previous state-of-the-art methods like FedNest or CommFedBiO.
Empirical Performance
The researchers evaluated FedBiOAcc on tasks including federated data cleaning (MNIST) and hyper-representation learning (Omniglot, MiniImageNet).
In high-noise data cleaning scenarios, FedBiOAcc consistently reached lower validation errors faster than all baselines. In meta-learning tasks, the "Local" variant of the algorithm (FedBiOAcc-Local) proved highly effective for personalized learning environments where each client has a unique lower-level task.
Conclusion
FedBiOAcc represents a significant step forward in federated bilevel optimization. By treating hyper-gradient estimation as a parallel federated task and leveraging variance reduction, it provides a scalable, communication-efficient solution for complex distributed machine learning problems. While current proofs rely on strong convexity assumptions for lower-level problems, the empirical results suggest robust performance across a variety of real-world ML applications.
Summary updated