A General Framework of Exact Primal-Dual First-Order Algorithms for Distributed Optimization ∗

Fatemeh Mansoori, Ermin Wei

Abstract

We study the problem of minimizing a sum of local objective convex functions over a network of processors/agents. This problem naturally calls for distributed optimization algorithms, in which the agents cooperatively solve the problem through local computations and communications with neighbors. While many of the existing distributed algorithms with constant stepsize can only converge to a neighborhood of optimal solution, some recent methods based on augmented Lagrangian and method of multipliers can achieve exact convergence with a fixed stepsize. However, these methods either suffer from slow convergence speed or require minimization at each iteration. In this work, we develop a class of distributed first order primal-dual methods, which allows for multiple primal steps per iteration. This general framework makes it possible to control the trade off between the performance and the execution complexity in primal-dual algorithms. We show that for strongly convex and Lipschitz gradient objective functions, this class of algorithms converges linearly to the optimal solution under appropriate constant stepsize choices. Simulation results confirm the superior performance of our algorithm compared to existing methods.

Introduction

Distributed optimization is a cornerstone of modern large-scale machine learning and sensor networks. In these systems, a network of agents aims to minimize a global objective function where each agent only possesses knowledge of its local cost function and communicates solely with immediate neighbors.

Historically, researchers have faced a significant trade-off between simple primal methods and complex dual methods. Simple primal methods like Distributed Gradient Descent (DGD) are computationally efficient but fail to converge to an exact solution with a fixed stepsize. Conversely, dual or augmented Lagrangian methods provide exact convergence but often require solving complex minimization sub-problems at each iteration, imposing a heavy computational burden. While recent "exact" first-order methods like EXTRA and DIGing have bridged some of this gap, they are generally limited to a single primal update per iteration. This paper introduces a general framework that allows for multiple primal steps, offering a tunable mechanism to balance computational effort and communication speed.

Methodology: The Primal-Dual Framework

The core of the proposed approach is a class of distributed first-order primal-dual methods that generalizes existing state-of-the-art algorithms. The framework is characterized by three main components:

  1. Single Gradient Evaluation: Each agent computes the gradient of its local function exactly once per iteration.
  2. Multiple Primal Steps ($T$): Agents perform $T$ rounds of local updates and communications using the previously computed gradient. This "gradient reuse" allows the network to move closer to a consensus before updating dual variables.
  3. Dual Update: A single dual variable update is performed after the $T$ primal steps to enforce the consensus constraint.

By setting $T=1$, the framework recovers the EXTRA algorithm. As $T$ increases, the algorithm approaches the behavior of the "Method of Multipliers," which typically converges in fewer iterations but requires more complex updates. This parameter $T$ acts as a "knob" to balance the performance and execution complexity.

Experimental Results

The framework was evaluated using regularized logistic regression on standard benchmarks, including the Mushrooms dataset (8,124 data points, 112 features) and others from the LIBSVM library such as diabetes-scale and heart-scale.

Convergence Performance

The proposed algorithms (PD-1 through PD-4, where the number indicates $T$) were compared against baselines such as NEAR-DGD+, DIGing, and EXTRA. As shown in the convergence plot below, increasing the number of primal steps $T$ significantly accelerates the convergence rate in terms of the number of iterations. PD-4 reaches the target precision much faster than PD-1 and outperforms all other baseline methods, achieving exact linear convergence.

Convergence of the proposed PD framework compared to state-of-the-art methods.

Scalability and Network Size

The authors also investigated how the algorithm scales with the number of nodes ($n$) in the network. Results illustrate that while the number of steps to reach a target error $\epsilon$ increases with network size, the versions with higher $T$ consistently require fewer iterations. This demonstrates the robustness of the framework across different network topologies, from 5 to 30 agents.

Number of steps to reach target error $\epsilon$ as a function of the number of nodes $n$.

Key Insights

  • Efficiency through Gradient Reuse: Reusing a single gradient evaluation over multiple communication rounds is a highly effective strategy for accelerating convergence in distributed settings without increasing the local computational cost per iteration.
  • Tunable Complexity: The parameter $T$ allows practitioners to optimize the algorithm for their specific hardware constraints—balancing the cost of local computation against the cost of inter-agent communication.
  • Theoretical Guarantees: The paper provides a rigorous proof of linear convergence for strongly convex functions with Lipschitz gradients under a fixed stepsize, filling a gap in the literature for multi-step primal-dual methods.

Conclusion

This work provides a flexible and theoretically sound framework for distributed optimization. By allowing multiple primal steps per iteration, it offers superior performance over existing first-order methods. Future research directions include extending these guarantees to non-convex objective functions and exploring second-order variants to further enhance convergence speed.

Summary updated

BibTeX
@inproceedings{mansoori2019general,
  author = {Fatemeh Mansoori and Ermin Wei},
  title = {{A General Framework of Exact Primal-Dual First-Order Algorithms for Distributed Optimization ∗}},
  booktitle = {CDC},
  year = {2019},
  url = {https://openreview.net/forum?id=-TSt5TFPvYq},
}
Figure