Introduction
Modern machine learning increasingly relies on bilevel optimization to solve complex tasks such as meta-learning, hyperparameter tuning, and neural architecture search. These problems are characterized by an Upper-Level (UL) objective that depends on the optimal solution of a Lower-Level (LL) objective. In the context of Federated Learning (FL), where data is distributed across numerous clients and communication is a primary bottleneck, solving these bilevel problems efficiently is a significant challenge.
While adaptive gradient methods like Adam have become the standard for single-level optimization due to their robust performance on non-convex landscapes, their application to federated bilevel optimization has remained largely unexplored. Existing federated bilevel algorithms often suffer from high communication overhead or lack the flexibility to utilize adaptive learning rates (ALR).
The AdaFBiO Framework
To address these challenges, we introduce AdaFBiO (Adaptive Federated Bilevel Optimization). This framework is the first to combine adaptive learning rates with federated bilevel optimization while maintaining state-of-the-art efficiency. AdaFBiO integrates several key technical innovations:
- Unified Adaptive Learning Rates: The algorithm employs a general framework for adaptive matrices, allowing it to seamlessly incorporate optimizers like Adam or AdaBelief into both the UL and LL updates.
- Momentum-Based Variance Reduction: By utilizing a STORM-like variance reduction technique, AdaFBiO mitigates the noise inherent in stochastic gradient estimates, which is particularly critical given the nested structure of bilevel problems.
- Communication Efficiency via Local-SGD: To minimize expensive server-client communication, AdaFBiO allows clients to perform multiple local update steps before synchronizing.
- Efficient Gradient Estimation: Calculating the exact hypergradient in bilevel optimization requires computing Hessian inverses, which is computationally prohibitive. AdaFBiO uses a Neumann series approximation to estimate these gradients efficiently.
Theoretical Advantages
AdaFBiO is designed to achieve a "sweet spot" of efficiency. It matches the best-known sample and communication complexities of non-adaptive methods while being the first to support adaptive learning rates.
As shown in the table above, AdaFBiO achieves a sample complexity of $\tilde{O}(\epsilon^{-3})$ and a communication complexity of $\tilde{O}(\epsilon^{-2})$ to reach an $\epsilon$-stationary point. Crucially, it is the only algorithm in its class to provide the flexibility of ALR, which is essential for handling the complex, non-convex landscapes typical of modern deep learning. Furthermore, our analysis proves that AdaFBiO remains stable and converges even under significant data heterogeneity (non-I.I.D. data), a common hurdle in real-world federated environments.
Experimental Validation
The effectiveness of AdaFBiO was evaluated across two primary federated tasks:
- Federated Hyper-representation Learning: A meta-learning task focused on learning a shared feature extractor across diverse client tasks.
- Federated Data Hyper-cleaning: A robust learning scenario where the algorithm must identify and down-weight noisy or "poisoned" labels distributed across the network.
Empirical results demonstrate that the adaptive nature of AdaFBiO leads to faster and more stable convergence compared to non-adaptive baselines, confirming its theoretical superiority in practical settings.
Conclusion and Future Work
AdaFBiO represents a significant step forward in federated bilevel optimization by successfully integrating adaptive learning rates with variance reduction and local updates. While the current framework assumes a strongly convex lower-level problem, future work will focus on relaxing this assumption to accommodate a broader range of deep learning applications. Additionally, exploring unbiased Hessian-inverse-vector product estimations and more aggressive client sampling strategies could further enhance the scalability and performance of the framework.
Summary updated