node2vec or triangle-biased random walks: stationarity, regularity & recurrence
Pith reviewed 2026-05-10 12:51 UTC · model grok-4.3
The pith
Lifting node2vec random walks to directed wedges shows a graph is regular precisely when it meets a weighted Eulerianity condition.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The node2vec random walk admits two Markovian lifts, one to directed edges and one to directed wedges. The wedge lift turns out to be the natural state space on regular graphs; its reversibility and stationary measure exist if and only if the graph satisfies a weighted Eulerianity condition. Under mild assumptions that make the lifted chains ergodic, this yields an explicit invariant measure for the original walk and establishes recurrence or transience on finite and infinite graphs. The same analysis shows that the walk behaves qualitatively differently from the non-backtracking walk, which simplifies on arbitrary graphs via its edge representation.
What carries the argument
The Markov chain obtained by lifting the node2vec walk onto the space of directed wedges, whose transition probabilities incorporate the triangle bias and whose stationary distribution encodes regularity via a weighted Eulerianity condition.
If this is right
- The long-run distribution of the node2vec walk is given explicitly by the stationary measure of the wedge chain once regularity holds.
- Ergodicity and recurrence of the walk follow from standard Markov-chain criteria applied to the wedge lift.
- On non-regular graphs the edge lift remains available but does not simplify the stationary measure in the same way.
- The equivalence supplies a probabilistic test for regularity that can be checked by simulating the wedge chain.
Where Pith is reading between the lines
- Simulating the wedge chain and testing whether its empirical measure satisfies the Eulerianity condition could serve as a statistical probe for regularity in large networks.
- For embedding algorithms on irregular graphs, the edge lift may be preferable to the wedge lift to avoid the regularity mismatch.
- The same lifting technique might extend to other second-order walks and yield analogous characterizations for other graph properties such as degree regularity or bipartiteness.
- On infinite regular lattices the wedge representation could be used to compute return probabilities or mixing times in closed form.
Load-bearing premise
The underlying finite or infinite graph satisfies mild conditions that make the lifted chains on directed edges and directed wedges ergodic and reversible.
What would settle it
A concrete finite regular graph together with node2vec parameters for which the wedge-lifted chain fails to possess a stationary distribution that satisfies the weighted Eulerianity condition.
Figures
read the original abstract
The node2vec random walk is a non-Markovian random walk on the vertex set of a graph, widely used for network embedding and exploration. This random walk model is defined in terms of three parameters which control the probability of, respectively, backtracking moves, moves within triangles, and moves to the remaining neighboring nodes. From a mathematical standpoint, the node2vec random walk is a nontrivial generalization of the non-backtracking random walk and thus belongs to the class of second-order Markov chains. Despite its widespread use in applications, little is known about its long-run behavior. The goal of this paper is to begin exploring its fundamental properties on arbitrary graphs. To this aim, we show how lifting the node2vec random walk to the state spaces of directed edges and directed wedges yields two distinct Markovian representations which are key for its asymptotic analysis. Using these representations, we find mild sufficient conditions on the underlying finite or infinite graph to guarantee ergodicity, reversibility, recurrence and characterization of the invariant measure. As we discuss, the behavior of the node2vec random walk is drastically different compared to the non-backtracking random walk. While the latter simplifies on arbitrary graphs when using its natural edge Markovian representation thanks to bistochasticity, the former simplifies on regular graphs when using its natural wedge Markovian representation. Remarkably, this representation reveals that a graph is regular if and only if a certain weighted Eulerianity condition holds.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper lifts the node2vec random walk (a second-order Markov chain controlled by backtracking, triangle-bias, and other-neighbor parameters) to Markov chains on directed edges and directed wedges. Under mild sufficient conditions on finite or infinite graphs, the lifted chains are ergodic and reversible, the invariant measure is characterized, and recurrence is established. The central result is that the wedge-lifted chain satisfies a weighted Eulerianity condition for all wedges if and only if the underlying graph is regular; this explains why the node2vec walk simplifies on regular graphs (in contrast to the non-backtracking walk, which simplifies via its edge representation on arbitrary graphs).
Significance. If the lifting derivations and equivalence hold, the work supplies the first rigorous long-run analysis of node2vec, a model widely used in network embedding yet previously lacking probabilistic foundations. The regularity-Eulerianity characterization is a clean algebraic insight that may prove useful beyond this model, and the explicit contrast with non-backtracking walks clarifies when each second-order walk admits simple stationary behavior.
Simulated Author's Rebuttal
We thank the referee for the positive and insightful summary of our work, as well as for recognizing its significance in providing the first rigorous long-run analysis of node2vec walks. We appreciate the recommendation for minor revision and will address any editorial or clarification points in the revised manuscript.
Circularity Check
No significant circularity detected
full rationale
The paper's central result—that a graph is regular if and only if a weighted Eulerianity condition holds on the lifted directed-wedge chain—follows from an explicit algebraic derivation: the transition probabilities of the wedge-lifted Markov chain are written down, the global balance equations are formed, and these equations are shown to be satisfied for every wedge precisely when all vertex degrees are identical. This equivalence is obtained directly from the definitions of the node2vec transition rules and the standard lifting construction; it does not rely on any fitted parameters, self-referential definitions, or load-bearing self-citations. The mild ergodicity assumptions are used only to guarantee existence of the invariant measure so that the balance equations can be stated; they do not enter the algebraic equivalence itself. The derivation is therefore self-contained and independent of its own outputs.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption The node2vec random walk admits a Markovian representation on the space of directed edges.
- domain assumption The node2vec random walk admits a Markovian representation on the space of directed wedges.
Reference graph
Works this paper leans on
-
[1]
D. Aldous and J. A. Fill.Reversible Markov Chains and Random Walks on Graphs. 2002
work page 2002
-
[2]
Non-backtracking random walks mix faster
N. Alon et al. “Non-backtracking random walks mix faster”.Communications in Contemporary Math- ematics09.04 (2007), pp. 585–603
work page 2007
- [3]
-
[4]
CUTOFF FOR NON-BACKTRACKING RANDOM WALKS ON SPARSE RANDOM GRAPHS
A. Ben-Hamou and J. Salez. “CUTOFF FOR NON-BACKTRACKING RANDOM WALKS ON SPARSE RANDOM GRAPHS”.The Annals of Probability(2017)
work page 2017
-
[5]
Lifting Markov chains to speed up mixing
F. Chen, L. Lov´ asz, and I. Pak. “Lifting Markov chains to speed up mixing”. In:Proceedings of the thirty-first annual ACM symposium on Theory of Computing. STOC ’99. New York, NY, USA: Association for Computing Machinery, 1999, pp. 275–281
work page 1999
-
[6]
Exploring complex networks through random walks
L. d. F. Costa and G. Travieso. “Exploring complex networks through random walks”.Physical Review E75.1 (2007), p. 016102
work page 2007
-
[7]
On the spectral analysis of second-order Markov chains
P. Diaconis and L. Miclo. “On the spectral analysis of second-order Markov chains”.Annales de la facult´ e des sciences de Toulouse Math´ ematiques22.3 (2013), pp. 573–621. 23
work page 2013
-
[8]
Hitting times for second-order random walks
D. Fasino, A. Tonetto, and F. Tudisco. “Hitting times for second-order random walks”.European Journal of Applied Mathematics34.4 (2023), pp. 642–666
work page 2023
-
[9]
R. Fitzner and R. van der Hofstad. “Non-backtracking random walk”.Journal of Statistical Physics 150.2 (2013), pp. 264–284
work page 2013
-
[10]
Glover et al.Effects of Backtracking on PageRank
C. Glover et al.Effects of Backtracking on PageRank. arXiv:2211.13353. 2026
-
[11]
ItemRank: A Random-Walk Based Scoring Algorithm for Recommender En- gines
M. Gori and A. Pucci. “ItemRank: A Random-Walk Based Scoring Algorithm for Recommender En- gines”. In:International Joint Conference on Artificial Intelligence. 2007
work page 2007
-
[12]
node2vec: Scalable Feature Learning for Networks
A. Grover and J. Leskovec. “node2vec: Scalable Feature Learning for Networks”. In:Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD ’16. New York, NY, USA: Association for Computing Machinery, 2016, pp. 855–864
work page 2016
-
[13]
Reversibility of the non-backtracking random walk
J. Hermon. “Reversibility of the non-backtracking random walk”.Annales de l’Institut Henri Poincar´ e, Probabilit´ es et Statistiques55.4 (2019), pp. 2295–2319
work page 2019
-
[14]
Convergence of a second order Markov chain
S. Hu and L. Qi. “Convergence of a second order Markov chain”.Applied Mathematics and Computation 241 (2014), pp. 183–192
work page 2014
-
[15]
Non-backtracking random walks and a weighted Ihara’s theorem
M. Kempton. “Non-backtracking random walks and a weighted Ihara’s theorem”.Open journal of Discrete Mathematics06 (2016), pp. 207–226
work page 2016
-
[16]
R. Lyons and Y. Peres.Probability on Trees and Networks. Cambridge Series in Statistical and Prob- abilistic Mathematics. Cambridge: Cambridge University Press, 2017
work page 2017
-
[17]
A Random Walks View of Spectral Segmentation
M. Meil˘ a and J. Shi. “A Random Walks View of Spectral Segmentation”. en. In:International Work- shop on Artificial Intelligence and Statistics. PMLR, 2001, pp. 203–208
work page 2001
-
[18]
Analysis of node2vec random walks on networks
L. Meng and N. Masuda. “Analysis of node2vec random walks on networks”.Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences476.2243 (2020), p. 20200447
work page 2020
-
[19]
Sampling directed graphs with random walks
B. Ribeiro et al. “Sampling directed graphs with random walks”. In:2012 Proceedings IEEE INFO- COM. 2012, pp. 1692–1700
work page 2012
-
[20]
Stationary distribution of node2vec random walks on household mod- els
L. Schroeder and C. Stegehuis. “Stationary distribution of node2vec random walks on household mod- els”.Journal of Complex Networks13.5 (2025), cnaf028
work page 2025
-
[21]
Random matrices, nonbacktracking walks, and orthogonal polynomials
S. Sodin. “Random matrices, nonbacktracking walks, and orthogonal polynomials”.Journal of Math- ematical Physics48 (2007), pp. 123503–123503. 24
work page 2007
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.