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

Accelerating Distributed Stochastic Optimization via Self-Repellent Random Walks

Jie Hu, Vishwaraj Doshi, Do Young Eun

Abstract

Distributed optimization in decentralized networks often utilizes "token-based" algorithms where a single information packet traverses the network graph. While standard Markov chain methods like Metropolis-Hastings are common, they frequently suffer from high sampling noise and slow convergence due to inefficient graph exploration. This paper introduces SA-SRRW, a framework that integrates Stochastic Approximation with Self-Repellent Random Walks (SRRW). By making the token's movement history-dependent and "repelled" by frequently visited nodes, the authors demonstrate a significant reduction in optimization variance. Specifically, they prove that the asymptotic covariance of the optimization error decreases at a rate of $O(1/\alpha^2)$, where $\alpha$ is the repulsion parameter—a squared improvement over the $O(1/\alpha)$ benefit seen in pure sampling tasks.

Introduction

In decentralized machine learning, data is often siloed across numerous devices, such as IoT sensors or mobile phones, without a central coordinator. Training models in these environments requires algorithms that can operate efficiently over a network graph. Token-based algorithms are a popular solution: a single token carrying model parameters $(\theta)$ moves from node to node, performing local updates based on the data available at each stop.

However, the efficiency of these algorithms is tied to how well the token explores the graph. Traditional "linear" random walks can get trapped in local neighborhoods, leading to high variance in the model updates. This paper addresses the challenge of accelerating convergence by replacing these standard walks with a non-linear, self-repellent alternative.

Methodology: From Linear to Nonlinear Random Walks

The core innovation of this work is the application of the Self-Repellent Random Walk (SRRW) to the stochastic optimization problem. Unlike a standard Markov chain where transition probabilities are static, the SRRW is history-dependent.

Comparison between traditional Markov Chain (MC) methods and the proposed Nonlinear MC (SRRW) in a stochastic optimization framework.

The SRRW Mechanism

The SRRW tracks the empirical visit frequency $x_j$ of each node $j$. The probability of moving to a neighboring node is weighted by $(x_j/\mu_j)^{-\alpha}$, where $\mu_j$ is the target distribution and $\alpha$ is a repulsion hyperparameter. As $\alpha$ increases, the token becomes increasingly likely to move toward nodes it has visited less frequently, ensuring a more uniform and rapid exploration of the graph.

The SA-SRRW Framework

The authors integrate this walk into a Stochastic Approximation (SA) update rule: $$\theta_{n+1} = \theta_n + \beta_{n+1} H(\theta_n, X_{n+1})$$ where $\theta_n$ are the parameters, $\beta_n$ is the step size, and $X_{n+1}$ is the node visited by the SRRW. A critical aspect of their analysis is the two-timescale approach, which examines the interaction between the speed of the optimization updates and the speed at which the random walk adapts its transition probabilities.

Theoretical Insights: The $O(1/\alpha^2)$ Amplification

The paper's most striking theoretical contribution is the discovery of an "amplification" effect. While previous work showed that SRRW reduces variance in sampling at a rate of $O(1/\alpha)$, this research proves that in the context of optimization, the benefit is squared. The asymptotic covariance $V_\theta$ of the optimization error follows a Central Limit Theorem (CLT) and decreases at a rate of $O(1/\alpha^2)$.

This benefit is most pronounced when the optimization iterates move slower than the random walk's adaptation (Case i). In this regime, the algorithm can even outperform "ideal" i.i.d. sampling, despite the token being restricted to moving along the edges of a graph.

Experimental Validation

The researchers tested SA-SRRW on several real-world network topologies, including the wikiVote graph (889 nodes) and the Dolphins social network. They applied the algorithm to various tasks:

  • Convex Optimization: $L_2$ regularized binary classification using datasets like ijcnn1 and a9a.
  • Non-Convex Optimization: Linear regression with non-convex regularization.

In all scenarios, SA-SRRW with high $\alpha$ values consistently achieved lower Mean Square Error (MSE) compared to traditional Metropolis-Hastings walks. Empirical results on the Dolphins graph specifically confirmed the theoretical $O(1/\alpha^2)$ decay rate, validating the "near-zero variance" claim for high repulsion settings.

Discussion and Future Directions

While SA-SRRW offers a powerful tool for variance reduction, it currently focuses on a single-token regime. In massive networks, a single token may become a throughput bottleneck. Future research could explore extending this non-linear walk to multiple concurrent tokens. Additionally, while the algorithm is communication-efficient and locally implementable, further study into its performance in high-latency environments compared to parallel consensus methods would be valuable. Currently, the analysis is also limited to discrete state spaces, suggesting a potential expansion into continuous MCMC methods.

Summary updated

BibTeX
@inproceedings{hu2024accelerating,
  author = {Jie Hu and Vishwaraj Doshi and Do Young Eun},
  title = {{Accelerating Distributed Stochastic Optimization via Self-Repellent Random Walks}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=BV1PHbTJzd},
}
Figure