On the Number of Steps of CyclePopping in Weakly Inconsistent U(1)-Connection Graphs

Michaël Fanuel, Rémi BardenetarXiv 2024 · DOI · arXiv

Abstract

This paper provides a rigorous proof for the correctness of CyclePopping—a generalization of Wilson’s algorithm—to sample cycle-rooted spanning forests (CRSFs). Crucially, the authors derive the exact distribution of the algorithm's running time, showing it is governed by a Poisson point process of loops and the spectral properties of the "magnetic" Laplacian.

Introduction

In graph theory and spatial statistics, sampling random subgraphs like Uniform Spanning Trees (USTs) is a fundamental task with applications ranging from statistical physics to preconditioning linear systems. Wilson’s algorithm is the gold standard for USTs, using loop-erased random walks to build the tree.

However, researchers are increasingly interested in Cycle-Rooted Spanning Forests (CRSFs)—subgraphs where every connected component contains exactly one cycle. These are more complex than trees and are intimately linked to "magnetic" Laplacians, which are used in data science for angular synchronization and semi-supervised learning. While a version of Wilson’s algorithm exists for CRSFs, this work addresses the need for a detailed proof of correctness and an analytical understanding of the algorithm's time complexity.

Examples of cycle-rooted spanning forests (CRSFs) on a grid graph, illustrating the target subgraphs of the CyclePopping algorithm.

The CyclePopping Algorithm

The authors utilize a modified version of Wilson’s algorithm called CyclePopping. In standard Wilson’s, every time a random walk forms a loop, that loop is erased. In CyclePopping for CRSFs, when a cycle $c$ is formed, it is "popped" (rejected) with a probability $1 - \alpha(c)$, where $\alpha(c)$ is a weight associated with the cycle's "holonomy" (a measure of magnetic flux around the loop).

To analyze this, the authors employ several sophisticated mathematical frameworks:

  • Last-exit Decomposition: A technique to break down the path of a random walk based on the last time it leaves a specific set of nodes.
  • Heaps of Cycles: A combinatorial theory by Viennot that treats rejected cycles as pieces in a "heap," allowing the authors to relate the algorithm's progress to the partition function of the underlying probability measure.
  • Poisson Point Processes: The authors prove that the collection of popped loops behaves like a Poisson process, which is the key to unlocking the running time distribution.

Key Insights and Complexity

The "Magnetic" Connection

The algorithm's efficiency is tied to the Magnetic Laplacian. Specifically, the expected running time is inversely proportional to the smallest eigenvalue of the normalized magnetic Laplacian. If a graph has very little "inconsistency" (low magnetic flux), the algorithm actually takes longer to run.

Running Time as a Loop Sum

The most elegant insight is the formula for the total number of steps $T$: $$T \stackrel{(\text{law})}{=} n + \sum_{[\gamma] \in \mathcal{X}} |\gamma|$$ where $n$ is the number of vertices and $\mathcal{X}$ is a Poisson point process of loops. This means the "extra" work the algorithm does is exactly equal to the total length of all loops that were formed and then "popped."

Results and Validation

The paper successfully "fleshes out" the proof that CyclePopping samples from Kenyon’s CRSF distribution. Furthermore, they provide the first explicit distribution for the running time $T$ by deriving the Moment Generating Function (MGF), which allows for the calculation of exact mean and variance:

  • Mean: $E[T] = n + \text{Tr}(\Pi(I - \Pi)^{-1})$, where $\Pi$ is a connection-aware transition matrix.
  • Variance: $\text{var}[T] = \text{Tr}(\Pi(I - \Pi)^{-1}) + \text{Tr}(\Pi(I - \Pi)^{-1})^2$.

Numerical results on Erdős-Rényi unicycle models show that these theoretical formulas for mean and standard deviation perfectly align with Monte Carlo estimators, confirming the theory.

Conclusion

While the current work focuses on $U(1)$ connections (complex numbers of unit modulus), the authors suggest that extending these proofs to non-abelian groups (like $SO(3)$ or $SU(2)$) would be a valuable next step. This research bridges the gap between theoretical probability and practical algorithm analysis for complex graph structures.

Summary updated

BibTeX
@misc{fanuel2024number,
  author = {Michaël Fanuel and Rémi Bardenet},
  title = {{On the Number of Steps of CyclePopping in Weakly Inconsistent U(1)-Connection Graphs}},
  year = {2024},
  eprint = {2404.14803},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.14803},
}
Figure