Federated Distributionally Robust Optimization With Non-Convex Objectives: Algorithm and Analysis

Yang Jiao, Kai Yang, Dongjin Song

TL;DR

This paper introduces ASPIRE-EASE, a novel asynchronous algorithm for federated distributionally robust optimization (FDRO) with non-convex objectives. It tackles data heterogeneity and malicious attacks by incorporating prior distribution information into uncertainty sets, offering a flexible trade-off between robustness and performance.

What Problem Does This Paper Address?

Federated learning (FL) enables distributed model training without centralizing data, preserving privacy and reducing communication overhead. However, traditional FL struggles with Non-IID (Non-Independent and Identically Distributed) data across devices, which can significantly degrade model performance. Distributionally Robust Optimization (DRO) offers a solution by finding models that perform well under worst-case data distributions. Applying DRO in a distributed setting (FDRO) faces challenges like asynchronous updates, effectively leveraging prior distribution, and controlling the degree of robustness. This paper aims to address these challenges by proposing a new asynchronous FDRO algorithm and a flexible uncertainty set.

Methods

The core contribution is the ASPIRE-EASE algorithm, an asynchronous, single-loop approach for FDRO. It uses simple gradient projection steps for efficiency. A key innovation is the CD-norm uncertainty set, which allows for flexible control over the degree of robustness by incorporating prior distribution information. This set is designed to be computationally efficient. The paper also introduces ASPIRE-ADP, an adaptive version of ASPIRE-EASE that dynamically adjusts the number of active workers to improve convergence speed, especially in the presence of stragglers. Theoretical analysis is provided for convergence, iteration complexity, and communication complexity.

Datasets

The paper evaluates its methods on four real-world datasets:

  • SHL
  • Person Activity
  • Single Chest-Mounted Accelerometer (SM-AC)
  • Fashion MNIST

Key Insights and Ideas

  • Prior Distribution as a Constraint: Instead of using prior distribution as a regularizer (like in DRFA-Prox), incorporating it directly into the uncertainty set constraint provides a more effective way to leverage this information for robustness.
  • Asynchronous Advantage: Asynchronous updates are crucial for practical distributed systems where worker availability and communication delays vary significantly. ASPIRE-EASE's asynchronous nature makes it resilient to stragglers and hardware failures.
  • CD-Norm Flexibility: The CD-norm uncertainty set offers a tunable parameter (Γ) to precisely control the trade-off between model robustness and performance, a critical aspect for real-world applications.
  • Adaptive Worker Selection: Dynamically adjusting the number of active workers (ASPIRE-ADP) can significantly speed up convergence, especially when dealing with systems that have varying worker delays.

Key Results

  • Robustness: ASPIRE-EASE demonstrates superior robustness against data heterogeneity and malicious attacks compared to baseline methods like FedAvg, AFL, and DRFA-Prox. This is evidenced by lower worst-case loss and success attack rates.
  • Efficiency: ASPIRE-EASE shows faster convergence than synchronous methods and its cutting-plane counterpart (ASPIRE-CP), attributed to its asynchronous nature and the efficient EASE method.
  • Scalability: Experiments with up to 1,000 workers on the QMNIST dataset show that the asynchronous approach effectively handles large-scale distributed learning problems.
  • Tunable Robustness: Figures 6 and 7 show that increasing the parameter Γ in the CD-norm uncertainty set gradually enhances model robustness.

Limitations and Future Work

  • Privacy: While federated learning offers privacy benefits, the paper acknowledges that the level of privacy remains limited. Future work could explore privacy-preserving FDRO with differential privacy.
  • Client Participation: The current work assumes reliable and willing participants. Future research could investigate incentivization mechanisms for scenarios where client participation is not guaranteed.
  • Tri-level Optimization: Extending the framework to a tri-level optimization problem for more advanced privacy guarantees is suggested, though it comes with higher computational costs.

Summary updated

BibTeX
@article{jiao2023federated,
  author = {Yang Jiao and Kai Yang and Dongjin Song},
  title = {{Federated Distributionally Robust Optimization With Non-Convex Objectives: Algorithm and Analysis}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2023},
}
Figure