# node2vec or triangle-biased random walks: stationarity, regularity & recurrence

arXiv: https://arxiv.org/abs/2604.13681 · HTML: https://mlsanity.com/paper/2604.13681/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 6 of its 21 references that are in the map.
- First posted on arXiv 15 Apr 2026.

## Builds on (most cited first, 6 of 6)

- [node2vec: Scalable Feature Learning for Networks](https://mlsanity.com/paper/1607.00653/) (2016)
- [Community detection using low-dimensional network embedding algorithms](https://mlsanity.com/paper/2111.05267/) (2021)
- [Analysis of node2vec random walks on networks](https://mlsanity.com/paper/2006.04904/) (2020)
- [Convergence of a Second Order Markov Chain](https://mlsanity.com/paper/1307.6919/) (2013)
- [Effects of Backtracking on PageRank](https://mlsanity.com/paper/2211.13353/) (2022)
- [Stationary distribution of node2vec random walks on household models](https://mlsanity.com/paper/2502.19039/) (2025)

## Abstract (arXiv)

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.
