Decentralized Constrained Optimization: Double Averaging and Gradient Projection

Firooz Shahriari-Mehr, David Bosch, Ashkan Panahi

Abstract

This paper introduces DAGP (Double Averaging and Gradient Projection), a novel algorithm for decentralized optimization where multiple nodes collaborate to minimize a global function subject to individual, local constraints. Unlike previous methods, DAGP operates efficiently over directed graphs and supports a fixed step size, leading to significantly faster convergence than traditional subgradient-based approaches.

Introduction

In decentralized optimization, a network of nodes must agree on a single solution that minimizes the sum of their local cost functions. Most existing research assumes undirected communication, where links are bidirectional. However, real-world networks—such as sensor arrays or broadcast channels—are often directed, resembling a system of one-way streets.

Furthermore, many practical problems involve local constraints. For instance, in a smart grid, each power plant has specific capacity limits unknown to others. Solving this Decentralized Constrained Optimization Problem (DCOP) over directed graphs is notoriously difficult. Previous solutions often relied on "diminishing step sizes," which start large and shrink over time. While mathematically sound, these are painfully slow in practice. The authors set out to create a method that handles directed graphs and local constraints while maintaining the speed of a fixed step size.

The DAGP Algorithm

The authors propose the DAGP algorithm, which combines three sophisticated mechanisms:

  1. Double Averaging: To handle the asymmetry of directed graphs, the algorithm uses two different weight matrices. One (row-stochastic) helps nodes reach a consensus on the variable value, while the other (column-stochastic) ensures that gradient information is "pushed" correctly across the network.
  2. Gradient Tracking: Instead of just using its own local gradient, each node maintains a "memory" variable that tracks the average gradient of the entire network. This allows the algorithm to use a fixed step size without drifting away from the true optimum.
  3. Local Projections: At every iteration, each node projects its local estimate onto its own private constraint set. Because the nodes are communicating, these local projections eventually guide the entire network toward the intersection of all constraints.

The authors provide a rigorous mathematical proof showing that DAGP achieves a convergence rate of $O(1/\sqrt{n})$ for general convex functions, matching the standard benchmark for robust first-order methods.

Experimental Evaluation

The researchers evaluated DAGP using two primary setups: synthetic data and the MNIST dataset. The synthetic tests involved random directed graphs and "log-cosh" objective functions with linear constraints to test the "feasibility gap." For the MNIST task, they performed binary classification using logistic regression, distributing 10,000 images across 20 nodes.

Network topologies for the synthetic and MNIST experimental setups.

Key Results

DAGP demonstrated superior speed in constrained tasks. In synthetic tests, it reached high-precision solutions (error < $10^{-13}$) in about 5,000 to 8,000 iterations, whereas the competing DDPS algorithm was still struggling at $10^{-5}$ after 20,000 iterations.

Convergence performance of DAGP showing consensus error (left) and optimality gap (right) reaching high precision.

The algorithm also effectively reduced the "feasibility gap" (the distance to the constraint sets) to near-zero. When tested on the MNIST logistic regression task, DAGP performed on par with state-of-the-art unconstrained algorithms like ADD-OPT and Push-Pull, proving it is a versatile "all-in-one" tool.

Conclusion

DAGP offers a powerful solution for decentralized optimization in directed networks with local constraints. By moving away from diminishing step sizes and leveraging gradient tracking, it provides a significant speed advantage. Future work may address communication costs associated with dual-variable transmission, non-convex constraints, and robustness in dynamic, time-varying topologies.

Summary updated

BibTeX
@inproceedings{shahriarimehr2021decentralized,
  author = {Firooz Shahriari-Mehr and David Bosch and Ashkan Panahi},
  title = {{Decentralized Constrained Optimization: Double Averaging and Gradient Projection}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc45484.2021.9683355},
}
Figure