Communication Efficient Primal-Dual Algorithm for Nonconvex Nonsmooth Distributed Optimization

Congliang Chen, Jiawei Zhang, Li Shen, Peilin Zhao, Zhi-Quan Luo

Abstract

Modern large-scale machine learning requires training models across decentralized networks, facing the combined challenges of nonconvex objective functions, nonsmooth components, and communication bottlenecks. We present a novel smoothed proximal-primal-dual algorithm that is the first to achieve the optimal $O(1/\epsilon^2)$ iteration complexity while utilizing compressed communication. Our method integrates error-tracking and proximal smoothing to ensure convergence in complex landscapes. Empirical evaluations on nonconvex linear regression and CIFAR-10 image classification demonstrate that our approach maintains theoretical optimality and outperforms existing state-of-the-art decentralized methods in both speed and accuracy.

Introduction

In decentralized machine learning, data is distributed across multiple nodes (servers or devices) that must reach a consensus on model weights through iterative information exchange. This process is often hindered by two major factors: communication bottlenecks, where sending high-dimensional model updates is slow and expensive, and complex optimization landscapes. Modern models, such as deep neural networks, frequently involve nonconvex objective functions with many local minima and nonsmooth components like $L_1$ regularization for sparsity or ReLU activations.

While many algorithms address these challenges individually, few can handle the "triple threat" of nonconvexity, nonsmoothness, and communication constraints simultaneously without sacrificing convergence speed. This paper introduces a framework that bridges this gap, providing both theoretical guarantees and practical efficiency.

Methodology

The proposed Smoothed Proximal-Primal-Dual Algorithm addresses the limitations of existing decentralized methods through several key innovations:

  • Primal-Dual Framework: Unlike simple gradient-based consensus methods, this algorithm introduces dual variables to enforce consistency between nodes. This framework is generally more efficient for decentralized settings where nodes must synchronize their local model states.
  • Proximal Smoothing: To handle nonconvexity and nonsmoothness, the algorithm adds a proximal term centered at an auxiliary sequence ($z^t$). This sequence is an exponentially weighted average of past model states, which effectively "smooths" the optimization path and helps the algorithm converge more reliably in rugged landscapes.
  • Communication Compression and Error Tracking: To minimize bandwidth usage, nodes exchange compressed versions of their updates (e.g., using quantization or top-$k$ sparsification). To prevent the resulting compression noise from destabilizing the process, the algorithm maintains tracking variables ($\hat{x}$) that account for the information lost during compression, allowing for accurate consensus despite aggressive data reduction.

Experimental Evaluation

The authors evaluated the algorithm's performance through two primary experimental setups designed to test its robustness across different network environments and task complexities.

  1. Nonconvex Linear Regression: This synthetic task utilized a least-squares problem with a sparsity-inducing nonconvex regularizer. The algorithm was tested across various network topologies to ensure its performance was not dependent on a specific graph structure.
  2. Deep Learning (CIFAR-10): A ResNet-18 architecture was trained on the standard CIFAR-10 dataset (60,000 images across 10 classes). This served as a real-world benchmark for high-dimensional, highly nonconvex optimization.
Common decentralized network topologies used in the evaluation, including Ring and Grid graphs.

Key Results and Insights

  • Theoretical Optimality: The algorithm achieves an iteration complexity of $O(1/\epsilon^2)$, matching the theoretical lower bound for first-order nonconvex optimization. This signifies that the method is mathematically as fast as possible for this class of problems.
  • Compression for Free: A significant insight is that as long as the compressor meets a standard accuracy threshold, the algorithm maintains its optimal $O(1/\epsilon^2)$ rate. This allows for substantial communication savings without a theoretical penalty in convergence speed.
  • Superior Empirical Performance: In the nonconvex regression experiments, the proposed method converged significantly faster and reached higher accuracy than established baselines like CHOCO-SGD and Prox-PDA. Under "top-$k$" sparsification (sending only the largest 10% of values), it remained robust while other methods struggled. On CIFAR-10, the algorithm eventually surpassed CHOCO-SGD in test accuracy within 200 epochs, proving its efficacy for complex neural network training.

Conclusion and Future Work

This work establishes a robust, communication-efficient framework for decentralized optimization under nonconvex and nonsmooth conditions. While the current theoretical proofs focus on the deterministic case, the algorithm's success in stochastic deep learning experiments suggests broad applicability. Future research will focus on extending the full $O(1/\epsilon^2)$ proof to the stochastic (mini-batch) setting and further refining hyperparameter selection for practical deployments.

Summary updated

BibTeX
@inproceedings{chen2021communication,
  author = {Congliang Chen and Jiawei Zhang and Li Shen and Peilin Zhao and Zhi-Quan Luo},
  title = {{Communication Efficient Primal-Dual Algorithm for Nonconvex Nonsmooth Distributed Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure