Distributed Online Optimization with Stochastic Agent Availability

Juliette Achddou, Nicolò Cesa-Bianchi, Hao QiuarXiv 2024

Introduction

In the evolving landscape of decentralized machine learning, particularly Federated Learning, the assumption that all participating agents are "always on" is increasingly unrealistic. Real-world networks consist of mobile devices with limited battery, intermittent connectivity, and user-driven availability. This paper introduces Gossip-FTRL, an algorithm designed to provide formal theoretical guarantees for Distributed Online Optimization (DOO) under conditions of stochastic node availability.

The Challenge of Stochastic Availability

Traditional DOO models often focus on link failures. However, stochastic node availability presents a more significant hurdle: when an agent is inactive, it cannot compute local gradients, contribute to the global objective, or facilitate message passing. This "blackout" hinders the propagation of information across the network, potentially leading to high "regret"—the difference between the algorithm's performance and the best possible fixed strategy in hindsight.

Gossip-FTRL: A Decentralized Solution

The proposed Gossip-FTRL algorithm integrates two robust frameworks:

  1. Follow-The-Regularized-Leader (FTRL): Each agent maintains a local model by minimizing a regularized sum of past gradients.
  2. Gossip Protocols: Active agents perform decentralized communication by averaging their local gradient estimates with active neighbors.

To analyze this, the authors define Network Regret, which averages instantaneous regret only over currently active agents. They compare this decentralized system to an "omniscient agent" that possesses immediate access to all active gradients, bounding the disagreement between the two.

Theoretical Framework and Laplacian Analysis

A critical component of the analysis involves the spectral properties of the network. The authors utilize the condition number $\kappa$ of the graph Laplacian to quantify how the physical topology influences learning speed.

Comparison of $6 \times 6$ lattice and grid topologies and their associated spectral properties ($\rho^2$), which determine the rate of information propagation.

The research identifies a "phase transition" in the $p$-uniform regime (where each agent has probability $p$ of being active) at $p \approx 1/\sqrt{N}$. The expected network regret is shown to scale at $O(\frac{\kappa}{p^2} \sqrt{T})$, indicating that regret increases quadratically as availability decreases.

Experimental Validation

The authors validated Gossip-FTRL using distributed linear regression tasks across various graph topologies, including cliques, grids, and lattices.

A clique topology representing a fully connected network, used as a baseline for maximum connectivity in the study.

Experiments demonstrated that connectivity is the primary driver of performance. In sparse structures like grids, information "hops" too slowly, keeping regret high. Conversely, Gossip-FTRL proved robust to noise; even when half the agents provided random data, the gossip mechanism allowed informative gradients to permeate the network, provided it remained connected over time.

Conclusion and Future Directions

Gossip-FTRL establishes a legitimate generalization of DOO theory, showing that average-case network regret under stochastic availability is equivalent to standard worst-case regret when $p=1$. Future work remains in addressing non-stationary availability patterns and removing the requirement for agents to know their activation probability $p$ beforehand.

Summary updated

BibTeX
@misc{achddou2024distributed,
  author = {Juliette Achddou and Nicolò Cesa-Bianchi and Hao Qiu},
  title = {{Distributed Online Optimization with Stochastic Agent Availability}},
  year = {2024},
  eprint = {2411.16477},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.16477},
}
Figure