A One-Sample Decentralized Proximal Algorithm for Non-Convex Stochastic Composite Optimization

Tesi Xiao, Xuxing Chen, Krishna Balasubramanian, Saeed Ghadimi

Abstract

We focus on decentralized stochastic non-convex optimization, where $n$ agents work together to optimize a composite objective function which is a sum of a smooth term and a non-smooth convex term. To solve this problem, we propose two single-time scale algorithms: Prox-DASA and Prox-DASA-GT. These algorithms can find $\epsilon$-stationary points in $\mathcal{O}(n^{-1}\epsilon^{-2})$ iterations using constant batch sizes (i.e., $\mathcal{O}(1)$). Unlike prior work, our algorithms achieve comparable complexity without requiring large batch sizes, more complex per-iteration operations (such as double loops), or stronger assumptions. Our theoretical findings are supported by extensive numerical experiments, which demonstrate the superiority of our algorithms over previous approaches.

Introduction

In decentralized optimization, a network of $n$ agents (such as mobile devices or sensors) collaborates to minimize a global objective function. This paper specifically addresses stochastic non-convex composite optimization. In this setting, the objective function consists of a smooth part (e.g., a neural network loss) and a non-smooth convex term (e.g., an $L_1$ penalty for sparsity).

The primary challenge in this field has been the trade-off between algorithmic simplicity and convergence speed. Existing state-of-the-art methods often rely on large batch sizes to reduce noise, complex "double-loop" architectures that are difficult to tune, or restrictive assumptions like mean-squared smoothness. We propose two "one-sample" algorithms that achieve optimal performance under weaker, more realistic assumptions.

Proposed Methods: Prox-DASA and Prox-DASA-GT

We introduce two primary algorithms designed for efficiency and scalability:

  • Prox-DASA (Proximal Averaged Stochastic Approximation): This algorithm utilizes a dual variable to track and average stochastic gradients over time. This averaging effect naturally reduces variance without the need for large data batches.
  • Prox-DASA-GT (with Gradient Tracking): To handle data heterogeneity (where agents have different local datasets), this version adds a gradient tracking step to ensure local updates remain aligned with the global objective.

Both algorithms are single-time scale, meaning all variables are updated at the same rate, which simplifies both implementation and theoretical analysis. To accelerate information spread across the network, we utilize multi-consensus rounds or an accelerated Chebyshev mixing protocol.

Comparison of Prox-DASA and Prox-DASA-GT with state-of-the-art decentralized algorithms.

As illustrated in the table above, our proposed algorithms achieve a sample complexity of $\mathcal{O}(n^{-1}\epsilon^{-2})$ while maintaining a constant batch size of $\mathcal{O}(1)$. This is a significant improvement over previous methods like ProxGT-SA, which require batch sizes of $\mathcal{O}(\epsilon^{-1})$ to reach similar complexity.

Theoretical and Empirical Results

A key theoretical contribution of this work is the proof of linear speedup: doubling the number of agents roughly halves the time required to reach a target accuracy. Notably, our algorithms achieve this without requiring the "mean-squared smoothness" assumption used by competitors like DEEPSTORM.

We evaluated the algorithms on synthetic sparse phase retrieval problems and real-world classification tasks using the a9a and MNIST datasets.

Empirical demonstration of linear speedup on test loss and proximal gradient mapping for varying numbers of agents $n$.

The experimental results confirm our theoretical findings. As shown in the plots above, increasing the number of agents $n$ from 5 to 20 results in a clear leftward shift of the convergence curves for both test loss and proximal gradient mapping, demonstrating the linear speedup in practice. Furthermore, Prox-DASA variants proved to be more efficient in terms of wall-clock time because they require only one forward-backward pass per iteration, whereas many variance-reduced methods require two.

Conclusion

Prox-DASA and Prox-DASA-GT provide a robust and scalable framework for decentralized non-convex optimization. By achieving optimal complexity with single-sample updates and minimal assumptions, these algorithms represent a significant step forward for large-scale distributed learning. Future research will explore the impact of network topology on "transient time" and the robustness of these methods to heavy-tailed noise distributions.

Summary updated

BibTeX
@inproceedings{xiao2023one,
  author = {Tesi Xiao and Xuxing Chen and Krishna Balasubramanian and Saeed Ghadimi},
  title = {{A One-Sample Decentralized Proximal Algorithm for Non-Convex Stochastic Composite Optimization}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=72QoIYIamQ},
}
Figure