Distributed stochastic projection-free solver for constrained optimization

Xia Jiang, Xianlin Zeng, Lihua Xie, Jian Sun, Jie ChenarXiv 2022 · DOI

TL;DR

This paper introduces DstoFW, the first distributed stochastic projection-free solver designed for large-scale constrained optimization. By integrating Frank-Wolfe updates with variance reduction and gradient tracking, the algorithm avoids computationally expensive projection steps. It matches the convergence rates of deterministic methods while significantly reducing both computational and communication overhead in decentralized environments.

Addressing the Bottlenecks of Large-Scale Optimization

In modern machine learning, we frequently encounter "finite-sum" optimization problems where a global cost function is the average of many local functions distributed across a network of agents. Two major bottlenecks typically hinder performance in these scenarios:

  1. Complex Constraints: Standard algorithms like Projected Gradient Descent (PGD) require a "projection" step in every iteration. For constraints such as nuclear norm balls (common in matrix completion) or low-rank structures, this projection is computationally expensive or even mathematically intractable.
  2. Stochastic Noise: Utilizing random samples (stochastic gradients) saves time but introduces high variance, which can drastically slow down convergence.

While Frank-Wolfe (FW) algorithms are popular because they are projection-free—replacing projections with simpler linear minimization—existing distributed versions were either deterministic (requiring slow, full gradient calculations) or lacked efficient variance reduction mechanisms.

The DstoFW Framework

The authors propose the DstoFW (Distributed Stochastic Frank-Wolfe) algorithm to bridge this gap. The framework is built upon four foundational components:

  • Frank-Wolfe (Projection-Free) Update: Instead of projecting onto a constraint set $\Omega$, agents solve a linear minimization problem over $\Omega$. This is significantly faster for complex sets.
  • Gradient Tracking: Agents maintain an estimate of the global gradient by communicating with their neighbors. This ensures that local updates do not "drift" away from the global optimum due to data heterogeneity.
  • Variance Reduction (SPIDER-style): The algorithm employs a path-integrated differential estimator. It periodically computes a full local gradient but primarily relies on small, efficient updates from mini-batches to suppress the noise of stochastic sampling.
  • Novel Sampling Rule: A periodically reducing sampling rule dictates the number of samples required at each step to guarantee convergence.
The 10-agent undirected communication network used for simulating distributed optimization.

Notably, DstoFW requires only one round of communication per iteration, making it more efficient than previous decentralized FW methods that required two rounds.

Theoretical Performance and Complexity

A key contribution of this work is proving that a stochastic algorithm can achieve the same sublinear convergence rates as deterministic counterparts ($O(1/k)$ for convex and $O(1/\sqrt{K})$ for non-convex problems) through the proposed sampling and variance reduction rules.

Comparison of IFO and LO complexity for DstoFW against existing stochastic Frank-Wolfe variants.

As shown in the complexity analysis, DstoFW optimizes the trade-off between communication and computation. It maintains a low Incremental First-Order oracle (IFO) complexity while ensuring robust performance across both convex and non-convex landscapes.

Empirical Evaluation and Key Results

The algorithm was evaluated on three real-world datasets for binary classification (logistic regression): a9a (32,561 samples), w8a (64,700 samples), and covtype.binary (581,012 samples). The experiments were conducted over a simulated ten-agent undirected network.

  • Significant Speedup: In simulations, DstoFW was substantially faster than DenFW (a decentralized deterministic FW). For the covtype dataset, DstoFW converged in approximately 104 seconds, whereas DenFW required over 1,206 seconds—representing a nearly 12x speedup.
  • Efficiency: DstoFW outperformed even centralized benchmarks (CenFW) in terms of convergence speed per iteration on several datasets, validating the effectiveness of the variance reduction technique in a distributed setting.
  • Complexity Guarantees: The solver achieves an IFO complexity of $O(n^{3/4}\epsilon^{-1})$ in the convex case and $O(n^{2/3}\epsilon^{-2})$ in the non-convex case.

Limitations and Future Work

While DstoFW offers superior IFO complexity in many scenarios, it is slightly higher than the centralized SPIDER-FW when the number of local data samples ($n$) is extremely large. The authors suggest that increasing the number of agents ($m$) can mitigate this by reducing the individual data load per agent.

Future research directions include integrating momentum or Nesterov’s acceleration techniques to further enhance the convergence rate of this distributed projection-free framework.

Summary updated

BibTeX
@misc{jiang2022distributed,
  author = {Xia Jiang and Xianlin Zeng and Lihua Xie and Jian Sun and Jie Chen},
  title = {{Distributed stochastic projection-free solver for constrained optimization}},
  year = {2022},
  eprint = {2204.10605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10605},
}
Figure