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

Repelling Random Walks

Isaac Reid, Eli Berger, Krzysztof Choromanski, Adrian Weller · DOI

Abstract

Random walks are fundamental to graph analysis, yet standard independent, identically distributed (i.i.d.) walkers often explore graphs inefficiently by clustering together. We present Repelling Random Walks, a novel framework that forces an ensemble of walkers to "repel" each other at each node. By assigning walkers to neighbors without replacement, we ensure a more diverse exploration of the graph while maintaining unbiased estimators. Our method serves as a drop-in replacement for standard random walk algorithms, significantly reducing variance and accelerating convergence across tasks such as PageRank estimation and graph kernel approximation.

Introduction

Random walks are the "Swiss Army knife" of graph analysis, used to estimate everything from node importance (PageRank) to structural similarity between graphs (kernels). Traditionally, these methods rely on many independent, identically distributed (i.i.d.) walkers. However, i.i.d. walkers are inherently inefficient; they often cluster together, redundantly exploring the same parts of a graph while leaving others untouched.

In Euclidean space, Quasi-Monte Carlo (QMC) methods are used to spread samples out more evenly. Translating these "low-discrepancy" ideas to the discrete, irregular world of graphs is difficult. The challenge is to make walkers coordinate their paths to explore better without changing the underlying mathematics that ensures estimators remain unbiased.

Methodology: The Repelling Mechanism

The proposed framework introduces a mechanism where an ensemble of walkers interacts at each node to maximize exploration diversity.

The Core Algorithm

Instead of each walker at a node picking a neighbor independently (with replacement), the "repelling" scheme partitions the walkers into blocks. Within each block, walkers are assigned to neighbors without replacement. For example, if five walkers reside at a node with five neighbors, each walker is forced to take a different exit. If there are more walkers than neighbors, they are distributed as evenly as possible.

Comparison of i.i.d. vs. repelling random walks. In the repelling scheme, walkers are forced to explore different neighbors, preventing clustering.

Key Technical Innovation

The strength of this approach lies in its mathematical consistency. While the walkers are correlated (they "know" where others are going), the marginal transition probability for any single walker remains identical to a standard random walk. This allows the repelling scheme to function as a "drop-in" replacement for any existing random walk algorithm, providing more accurate results without requiring changes to the estimator's formula.

Empirical Evaluation

The authors evaluated the method on a diverse set of synthetic and real-world graphs, including Erdős-Rényi random graphs, binary trees, and social networks like the Zachary Karate Club and Eurosis.

Key Results

Across all tested topologies, the repelling scheme consistently outperformed standard i.i.d. walks. For estimating graph kernels, the error was often halved compared to the standard approach when using 16 walkers. In node attribute prediction on 3D meshes, such as a torus dataset, the error was reduced by a factor of three.

Performance comparison across various graph types. The repelling variants (q-r-GRFs and q-ar-GRFs) consistently show lower Frobenius norm error compared to standard GRFs.

For PageRank estimation, the authors proved that for a transient repelling ensemble, the variance is lower than i.i.d. for any graph. Experiments confirmed this, showing significantly lower $L_2$ error across all tested topologies.

Insights and Discussion

  • The Diversity Advantage: By preventing walkers from clustering, the ensemble acts like a search party that stays spread out, leading to a more diverse sample of the graph's local environment.
  • Quantum Intuition: The authors draw a parallel to quantum mechanics, noting that in repelling walks, the joint transition matrix is "entangled," increasing the Shannon mutual information between walkers.
  • Compatibility: This method is fully compatible with other QMC techniques, such as "antithetic termination" (correlating walk lengths). Combining both methods yields the highest performance gains.

Limitations and Future Work

While empirical results are robust, theoretical proofs for graph kernels are currently limited to specific structures like trees and 2D grids. Extending these proofs to arbitrary graphs remains an open challenge. Additionally, future work could explore whether these repelling benefits scale as the complexity of sampled subgraphs (larger graphlets) increases.

Summary updated

BibTeX
@inproceedings{reid2024repelling,
  author = {Isaac Reid and Eli Berger and Krzysztof Choromanski and Adrian Weller},
  title = {{Repelling Random Walks}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=31IOmrnoP4},
}
Figure