NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerated Stochastic Gradient Method with Applications to Consensus Problem in Markov-Varying Networks

Vladimir Solodkin, Savelii Chezhegov, Ruslan Nazikov, Aleksandr Beznosikov, Alexander GasnikovLecture Notes in Computer Science 2024 · OpenAlex

Introduction

Stochastic optimization serves as a cornerstone for modern mathematical modeling, with applications spanning from operations research to the training of complex machine learning architectures. Traditionally, stochastic gradient methods rely on the assumption that noise is independent and identically distributed (i.i.d.). However, real-world systems—such as autonomous drone swarms or decentralized sensor networks—often operate in environments where the current state is intrinsically linked to the previous one. This dependency introduces Markovian noise, a challenge that complicates the application of standard accelerated optimization techniques.

In this paper, we present a novel first-order optimization algorithm, Markov Accelerated Gradient Descent (MAGD). By integrating Nesterov acceleration with a specialized randomized batching strategy, we address the bias inherent in Markovian settings and demonstrate superior performance in solving consensus problems over time-varying networks.

The Challenge of Markovian Noise

In standard stochastic gradient descent (SGD), the gradient estimate is assumed to be an unbiased estimator of the true gradient. In Markovian environments, this assumption fails. Because the noise follows a Markov chain, the "memory" of the system ensures that the expected value of a single noisy gradient is not equal to the true gradient.

Standard accelerated methods, like Nesterov’s, are particularly sensitive to this bias. The momentum terms can accumulate errors from biased gradient estimates, leading to divergence or suboptimal convergence rates. Previous attempts to solve this either ignored acceleration entirely or relied on restrictive assumptions, such as bounded domains or known mixing times of the Markov chain.

The MAGD Algorithm

The proposed Markov Accelerated GD (MAGD) algorithm introduces several key innovations to stabilize acceleration under Markovian conditions:

  1. Nesterov Acceleration: The algorithm utilizes momentum terms to achieve the faster convergence rates characteristic of accelerated first-order methods.
  2. Randomized Batch Size: To mitigate the bias of the Markovian noise, MAGD employs a randomized batch size $J_k$ sampled from a geometric distribution. This technique allows the estimator to effectively "forget" the initial state of the Markov chain, producing a gradient estimate that is much closer to being unbiased without requiring explicit knowledge of the chain's mixing time.
  3. Relaxed Noise Assumptions: Unlike traditional analyses that assume constant noise variance, this work adopts a distance-dependent noise model. Here, the noise is bounded by the distance to the optimal solution, a condition that better reflects "over-parameterized" models where noise vanishes as the algorithm approaches the optimum.

Theoretical Contributions

The paper provides a rigorous convergence analysis for MAGD, establishing a rate that accounts for both the condition number of the objective function and the mixing time ($\tau$) of the underlying Markov chain. A significant theoretical insight is the discovery that error reduction depends linearly on the mixing time. This represents a "sharp" result, matching the theoretical best-case scenario for optimization under Markovian constraints.

Consensus in Markov-Varying Networks

To demonstrate the practical utility of MAGD, we apply it to the consensus problem. In this scenario, multiple agents must agree on a common value while each agent minimizes its own local objective function. The communication network between agents is dynamic, with edges appearing or disappearing according to a Markovian law.

We mathematically frame this consensus task as a minimization problem using the Laplacian matrix of the communication graph. This allows the MAGD framework to optimize the agreement between agents even as the network topology shifts unpredictably.

Experimental Results

The performance of MAGD was evaluated using synthetic communication networks, specifically cycle-graph and star-graph topologies, across various dimensions ($d = 10, 100, 1000$).

Key findings include:

  • Superiority over Gossip Protocols: In all tested scenarios, MAGD consistently outperformed the classic "Gossip" approach (standard SGD applied to consensus).
  • Scalability: The advantage of MAGD became more pronounced as the dimensionality of the problem increased. For instance, in a star topology with $d=1000$ agents, MAGD reached high-precision consensus significantly faster than traditional methods.
  • Robustness: The randomized batching strategy proved effective at handling the shifting edges of the Markovian network, maintaining steady progress toward the optimum where standard methods faltered.

Conclusion and Future Work

MAGD offers a robust framework for acceleration in the presence of dependent noise, bridging the gap between theoretical stochastic optimization and practical decentralized applications. While the current analysis focuses on strongly convex functions and requires an "almost sure" bound on gradient estimators, it sets the stage for future extensions.

Future research directions include adapting the algorithm for non-convex landscapes—such as deep neural networks—and relaxing the noise bounds to accommodate heavy-tailed distributions. By addressing the complexities of Markovian environments, this work provides a vital tool for the next generation of decentralized and autonomous systems.

Summary updated

BibTeX
@inproceedings{solodkin2024accelerated,
  author = {Vladimir Solodkin and Savelii Chezhegov and Ruslan Nazikov and Aleksandr Beznosikov and Alexander Gasnikov},
  title = {{Accelerated Stochastic Gradient Method with Applications to Consensus Problem in Markov-Varying Networks}},
  booktitle = {Lecture Notes in Computer Science},
  year = {2024},
  doi = {10.1007/978-3-031-62792-7\_5},
}

Loading related content...

Figure