Fast Composite Optimization and Statistical Recovery in Federated Learning

Yajie Bao, Michael Crawshaw, Shan Luo, Mingrui Liu

TL;DR

This paper introduces two novel algorithms, Fast-FedDA and MC-FedDA, providing the first fast optimization and statistical recovery guarantees for composite problems (like LASSO and low-rank matrix recovery) in Federated Learning. By cleverly exploiting strong convexity and employing a multi-stage homotopy strategy, these methods achieve state-of-the-art communication efficiency and linear speedup with high-probability bounds.

What Problem Does This Paper Address?

Federated Learning (FL) typically excels at training models across decentralized devices without sharing raw data. However, most standard FL algorithms focus on unconstrained, smooth optimization problems. In the real world, we often want our models to exhibit specific structures, such as sparsity (e.g., predicting features with only a few non-zero weights) or low rank. This is typically achieved using composite optimization, which combines a smooth loss function with a non-smooth regularizer (like the $L_1$ norm in LASSO).

Existing federated composite optimization methods suffer from two major gaps:

  1. Lack of Statistical Guarantees: They focus purely on optimization objectives without ensuring that the recovered model parameters are close to the true underlying "ground truth" parameters.
  2. Slow Convergence: They fail to exploit the strong convexity (or restricted strong convexity) inherent in statistical recovery problems, leading to slow convergence rates (typically $O(1/\sqrt{T})$).

Furthermore, in practical FL, clients only have access to local empirical data rather than the true population distribution, making statistical recovery highly challenging under data heterogeneity.

Methods

The authors tackle these challenges from both an optimization and a statistical perspective by introducing two algorithms:

1. Fast Federated Dual Averaging (Fast-FedDA)

Designed for strongly convex and smooth losses, Fast-FedDA improves upon previous dual-averaging frameworks. Standard methods only aggregate historical cumulative gradients. Fast-FedDA introduces a new local update scheme that tracks both historical gradients and historical model parameters. This allows it to fully leverage the strong convexity of the objective, accelerating convergence.

2. Multi-stage Constrained Federated Dual Averaging (MC-FedDA)

For high-dimensional settings where standard strong convexity is unrealistic, researchers use Restricted Strong Convexity (RSC) and Restricted Smoothness (RSM). Under these conditions, direct domain-shrinking tricks fail because the optimal regularization parameter is typically very small.

To solve this, MC-FedDA employs a homotopy continuation strategy. It runs a constrained version of the algorithm (C-FedDA) across multiple stages, adaptively shrinking the radius of the constraint ball and decreasing the regularization parameter at each stage. The output of one stage serves as a warm-start for the next.

Datasets

The authors evaluated their algorithms using both synthetic and real-world datasets:

  • Synthetic Sparse Linear Regression: Generated heterogeneous data for 64 clients ($p = 1024$ dimensions, sparsity $s = 512$).
  • Synthetic Low-Rank Matrix Estimation: Matrix recovery setup for 64 clients ($32 \times 32$ matrices with true rank $r^* = 16$).
  • Federated EMNIST: A real-world image classification dataset of handwritten letters and digits partitioned by writer to simulate data heterogeneity. The authors evaluated on EMNIST-10 (digits only, 367 clients) and EMNIST-62 (alphanumeric, 379 clients) for federated sparse logistic regression.

Key Insights and Ideas

  • Tracking Parameters, Not Just Gradients: The core "aha moment" for Fast-FedDA is that aggregating historical model parameters alongside gradients preserves the benefits of strong convexity across communication rounds, bypassing the slow $O(1/\sqrt{T})$ bottleneck of prior federated dual averaging methods.
  • High-Probability vs. Expectation: Traditional FL literature evaluates convergence in expectation. However, statistical recovery requires high-probability guarantees to ensure the model reliably bounds noise. MC-FedDA achieves this by incorporating light-tailed noise assumptions into a distributed framework.
  • The Homotopy Advantage: In the RSC/RSM regime, changing the regularization parameter dynamically (the homotopy strategy) prevents the algorithm from getting stuck due to loose tolerances, enabling it to converge all the way down to optimal statistical precision.

Key Results

The theoretical and empirical results show significant advancements over baseline methods like FedDA and Federated Mirror Descent (FedMiD):

  • Linear Speedup & Optimal Complexity: Fast-FedDA achieves a communication complexity of $O(T^{1/2}K^{1/2})$, matching the theoretical lower bound of FedAvg for unconstrained problems while successfully handling non-smooth regularizers.
  • Statistical Precision: MC-FedDA is proven to reach the optimal statistical error bound with high probability.

A comprehensive breakdown of how these results compare to prior art is illustrated in the paper's summary table:

Comparison of related works under bounded heterogeneity

Empirically, both algorithms demonstrate faster convergence across all metrics ($L_2$ error, $L_1$ error, and training loss) on both synthetic tasks and the real-world EMNIST benchmarks.

Limitations and Future Work

While the paper provides strong theoretical guarantees, it relies on the assumption of bounded heterogeneity (Assumption 3) to control the variance between client gradients. In extremely non-IID environments, this bound might be strained. Additionally, the current statistical recovery guarantees are tailored to convex composite problems; extending these high-probability recovery guarantees to entirely non-convex loss functions remains an open and promising direction for future research.

Summary updated

BibTeX
@inproceedings{bao2022fast,
  author = {Yajie Bao and Michael Crawshaw and Shan Luo and Mingrui Liu},
  title = {{Fast Composite Optimization and Statistical Recovery in Federated Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=vZ5NVaAUiJ},
}
Figure