Distributed Online Optimization With Long-Term Constraints

Deming Yuan, Alexandre Proutière, Guodong Shi

TL;DR

This paper introduces a novel decentralized algorithm for optimizing systems with multiple interconnected units that learn over time while facing constraints. The algorithm achieves near-optimal performance in terms of minimizing accumulated loss (regret) and adhering to long-term constraints, even when units only receive partial feedback (bandit feedback). This work is significant because it extends powerful online optimization techniques to distributed, real-world scenarios where full information is often unavailable.

What Problem Does This Paper Address?

The paper tackles the challenge of Distributed Online Convex Optimization (DOCO) with long-term constraints. Imagine a network of agents (like sensors, servers, or trading bots) that need to make sequential decisions to minimize a collective loss over time. Each agent experiences its own loss based on its decision, and these losses are unknown beforehand. Crucially, these agents are connected by a communication network that can change over time, and they must also satisfy certain constraints that are not necessarily met at every single step but must hold on average over a long period.

Traditional online optimization methods often assume a single decision-maker with full knowledge of the loss function at each step. However, in distributed systems, agents have limited local information, and communication is restricted by the network topology. Furthermore, enforcing strict constraints at every step can be computationally prohibitive. This paper aims to bridge this gap by developing a decentralized algorithm that can handle these distributed, dynamic, and constrained learning scenarios efficiently.

Methods

The core of the proposed solution is a decentralized algorithm based on an online augmented Lagrangian function. This approach cleverly transforms the constrained optimization problem into an unconstrained one by introducing dual variables (Lagrangian multipliers) that are updated locally by each agent.

Key methodological aspects include:

  • Augmented Lagrangian: The algorithm uses a smoothed version of the augmented Lagrangian function, which allows for local updates without requiring global information.
  • Dual Updates: Each agent updates its local dual variables based on its local information and messages from neighbors. This is done in a way that avoids explicit projections onto the constraint set at each step, which is computationally expensive. Instead, the constraints are satisfied in a "long-term" sense.
  • Consensus Mechanism: Agents communicate with their neighbors in the network to update their decisions. The communication structure is modeled by a time-varying graph and a doubly stochastic weight matrix, which is standard in distributed optimization literature.
  • Handling Bandit Feedback: A significant contribution is the adaptation of the algorithm to the bandit feedback setting. In this scenario, an agent only observes the loss at a single, randomly queried point, rather than the full loss function or its gradient. This is achieved by using a one-point gradient estimator and introducing exploration parameters.

The algorithm is designed to be projection-free, meaning it doesn't require computationally expensive projections onto the feasible set at each time step, which is a major advantage in distributed settings.

Datasets

The paper evaluates its algorithms on:

  • Synthetic Data: Generated for a distributed online regularized linear regression problem.
  • Real Datasets: Two datasets (mg and bodyfat) from the LIBSVM repository were used to demonstrate the algorithm's performance on real-world data.

The paper does not introduce new benchmark datasets.

Key Insights and Ideas

  • Long-Term Constraints are Key: The ability to satisfy constraints "in the long run" rather than strictly at every step is crucial for enabling efficient decentralized optimization without costly projections.
  • Augmented Lagrangian for Decentralization: The augmented Lagrangian framework provides a powerful tool to decompose a complex distributed optimization problem into simpler, local subproblems that agents can solve independently or with limited communication.
  • Bandit Feedback is Surprisingly Tractable: Achieving near-optimal regret bounds in the bandit setting, where information is very limited, is a significant achievement. This suggests that decentralized learning can be robust even with noisy and partial feedback.
  • Trade-off Tuning: The parameter 'c' allows for a tunable trade-off between minimizing regret (accumulated loss) and minimizing constraint violation, offering flexibility in algorithm design.
  • Communication Cost vs. Performance: The paper analyzes how the network structure (graph connectivity) impacts the regret, showing that denser or more connected networks can lead to better performance.

Key Results

The paper establishes theoretical guarantees for its proposed algorithms (DOCO-LTC) under both full information and bandit feedback settings.

For Convex Loss Functions:

  • Full Information: Achieves system-level regret and cumulative constraint violation bounds of $O(T^{\max\{c, 1-c\}})$ and $O(T^{1-c/2})$ respectively, matching state-of-the-art centralized algorithms.
  • Bandit Feedback: Achieves system-level regret and cumulative constraint violation bounds of $O(d^2 T^{\max\{c, 1-c/3\}})$ and $O(d T^{1-c/2})$ respectively. Notably, the regret scaling of $O(T^{3/4})$ for a specific choice of $c$ matches centralized bandit optimization results.

For Strongly Convex Loss Functions:

  • Full Information: Improved bounds of $O(\log T)$ for regret and $O(\sqrt{T \log T})$ for constraint violation.
  • Bandit Feedback: Improved bounds of $O(d^2 T^{2/3} \log T)$ for regret and $O(d \sqrt{T} \log T)$ for constraint violation.

Empirical Results: Numerical experiments on synthetic and real datasets demonstrate that the proposed DOCO-LTC algorithms perform well, showing convergence and achieving performance consistent with theoretical predictions. The experiments also highlight that bandit feedback generally leads to worse performance than full information feedback, as expected.

Limitations and Future Work

  • Communication Complexity: While the algorithm avoids explicit projections, the communication cost (number of transmitted vectors) is still dependent on the network structure and can be significant. The paper analyzes this cost for specific graph types.
  • Parameter Tuning: The theoretical bounds depend on various parameters (like $c$, $\beta_t$, $\eta_t$, $\epsilon_t$) that need to be set appropriately. The paper provides theoretical choices for these parameters but practical tuning might be necessary.
  • Generalization to Non-convexity: The current work focuses on convex loss functions. Extending these methods to non-convex settings would be a natural next step.
  • Asynchronous Updates: The current framework assumes synchronous updates. Investigating asynchronous communication and update schemes in distributed systems could be a valuable extension.
  • Robustness to Noise: While bandit feedback introduces a form of noise, further analysis on robustness to other types of noise or communication failures could be explored.

Summary updated

BibTeX
@article{yuan2021distributed,
  author = {Deming Yuan and Alexandre Proutière and Guodong Shi},
  title = {{Distributed Online Optimization With Long-Term Constraints}},
  journal = {IEEE Transactions on Automatic Control},
  year = {2021},
  doi = {10.1109/tac.2021.3057601},
}
Figure