Distributed Distributionally Robust Optimization with Non-Convex Objectives

Yang Jiao, Kai Yang, Dongjin Song

Distributed Distributionally Robust Optimization with Non-Convex Objectives

TL;DR

This paper introduces ASPIRE-EASE, a novel asynchronous algorithm for solving Distributionally Robust Optimization (DRO) problems in distributed machine learning systems, such as federated learning. By utilizing a new "$CD$-norm" uncertainty set and an active set method that prunes inactive constraints, the approach efficiently trains non-convex models (like deep neural networks) that are highly robust to heterogeneous (non-IID) data and malicious backdoor attacks—all without requiring workers to synchronize.

The Challenge of Distributed Robustness

In distributed machine learning, data is often scattered across many devices (workers) and is highly heterogeneous (non-IID). Traditional methods like Federated Averaging (FedAvg) optimize for average performance, which can result in terrible performance for minority workers with distinct data distributions.

Distributionally Robust Optimization (DRO) tackles this by optimizing the model for the worst-case distribution among the workers. However, applying DRO to modern distributed networks faces three major hurdles:

  1. Asynchrony: Real-world devices have different compute speeds and network delays. Traditional DRO algorithms require strict synchronization, which creates severe bottlenecks.
  2. Non-Convexity: Modern models have non-convex objective functions, making the inner optimization loops of standard DRO computationally prohibitive.
  3. Prior Utilization: Existing methods struggle to effectively leverage prior knowledge about the data distribution to balance average performance with worst-case robustness.

The ASPIRE-EASE Solution

To solve these challenges, the authors propose a Prior Distribution informed DRO (PD-DRO) framework powered by a new algorithm and uncertainty set:

  • Constrained $D$-norm ($CD$-norm) Uncertainty Set: Instead of using standard divergence metrics (like Wasserstein or KL divergence), the authors introduce the $CD$-norm. It defines an ambiguity set around a prior distribution. Crucially, it allows developers to flexibly control the degree of robustness via a single parameter ($\Gamma$) and makes the resulting subproblem computationally simple to solve.
  • ASPIRE (Asynchronous Single-looP alternatIve gRadient projEction): Instead of using complex, double-loop optimization methods (like ADMM) that try to find optimal solutions for non-convex subproblems at every step, ASPIRE uses a single-loop approach. It relies on simple, computationally cheap gradient projection steps and updates the global model asynchronously as soon as a subset of workers finish their tasks.
  • EASE (itErative Active SEt method): Traditional DRO often uses "cutting plane" methods, which iteratively add linear constraints to approximate the worst-case distribution. Over time, these constraints pile up, slowing down computation. EASE improves this by periodically identifying and removing inactive cutting planes, drastically speeding up convergence and reducing memory overhead.

Key Insights

  • Constraints > Regularizers for Priors: Previous state-of-the-art methods (like DRFA-Prox) incorporated prior distributions as a regularizer in the objective function. This paper shows that embedding the prior distribution directly into the constraints (via the $CD$-norm) leverages the prior more effectively, leading to better robustness guarantees.
  • Algorithmic Elegance: Because of how the $CD$-norm is mathematically structured, the complex subproblem of generating a new cutting plane is reduced to a simple sorting operation. It can be solved using a standard merge sort algorithm, keeping computational overhead incredibly low ($\mathcal{O}(N \log N)$).
  • Pruning Constraints is Crucial: Ablation studies reveal that standard cutting plane methods get bogged down by their own history. By actively pruning inactive planes (EASE), the algorithm requires significantly fewer iterations to converge.
  • Straggler Resilience: By completely decoupling the master node's updates from the slowest workers, ASPIRE prevents the "straggler effect" that plagues synchronous federated learning, leading to much faster wall-clock convergence times.

Key Results

The authors evaluated their method on four real-world datasets (SHL, Person Activity, SC-MA, and Fashion MNIST), primarily focusing on multi-class classification tasks.

  • Robustness to Data Heterogeneity: ASPIRE-EASE consistently achieved the highest worst-case test accuracy across all datasets. For example, on the SHL dataset, it achieved 79.16% worst-case accuracy, outperforming DRFA-Prox (78.34%), AFL (78.11%), and FedAvg (69.96%).
Performance comparison of ASPIRE-EASE against baselines across four datasets.
  • Defense Against Malicious Attacks: The method proved highly resilient to backdoor attacks. Because the algorithm intelligently bounds adversarial distributions, it assigns lower weights to malicious workers. On the SHL dataset, the backdoor attack success rate was slashed to just 9.17%, compared to 21.23% for DRFA-Prox and a massive 68.63% for AFL.
  • Theoretical Guarantees: Despite the asynchronous nature and non-convex objectives, the authors mathematically prove that ASPIRE-EASE is guaranteed to converge to an $\epsilon$-stationary point, providing a formal iteration complexity bound.

Limitations and Future Work

While the $CD$-norm is highly efficient, the paper primarily focuses on this specific uncertainty set and does not extensively explore how the framework might perform with other complex, non-linear uncertainty sets. Future research could design new uncertainty sets tailored specifically for this asynchronous framework. Additionally, exploring alternative update rules for the variables within the ASPIRE algorithm could further optimize convergence speed and robustness.

Summary updated

BibTeX
@inproceedings{jiao2022distributed,
  author = {Yang Jiao and Kai Yang and Dongjin Song},
  title = {{Distributed Distributionally Robust Optimization with Non-Convex Objectives}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=AUJT3rj2F5U},
}
Figure