mlsanityData to 24 Nov 2026

RoleWalk: training-free structural embeddings for directed graphs that transfer across graphs

arXiv 2611.09189 ↗Submitted 6 Nov 2026cs.LG cs.SIcited by 0

Not on the map. Why?

Abstract (arXiv)

Structural role embeddings describe a node by its position in a graph - hub, bridge, periphery, member of a dense core - rather than by who its neighbours are. Existing methods either learn coordinates specific to one graph (struc2vec, Role2Vec, RESD) or read scales and normalisations from the whole graph (GraphWave, Digraphwave), so the same neighbourhood can receive different coordinates in two graphs; few read edge directions. We present RoleWalk, a training-free embedding that follows a short lazy random walk from each node and records, at each step, two distributions: that of the transition probabilities, through its characteristic function at a fixed grid of frequencies, and that of the walker's distance to its starting node. On directed graphs, walks that go forward then backward add who shares a node's targets or sources. The embedding depends only on a node's neighbourhood within a fixed radius, so its coordinates mean the same thing in every graph. We show that, without curvature, it is the kernel mean embedding of the walk's footprint, that it separates graphs that the Weisfeiler-Leman test cannot, and that pruning small probabilities comes with a per-node error certificate. Empirically, RoleWalk is competitive with the best role embeddings on five classification benchmarks at a fraction of their cost, has the highest scores on real directed roles in Wikipedia adminship, exceeds the published accuracy of Digraphwave at every noise level of its own Enron network-alignment benchmark, transfers centrality predictors to graphs four times larger better than existing inductive embeddings, hand-made features and a trained GIN, and embeds a million nodes in 20 s to 3 min on one CPU core. The code is open source (BSD license): https://github.com/kerighan/rolewalk

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 14 of its 27 references that are in the map. Submitted 6 Nov 2026.

Builds on

14 of 27 references.

References · 14

  1. 2018How Powerful are Graph Neural Networks?cited by 4,526
  2. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 899
  3. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 741
  4. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 353
  5. 2017struc2vec: Learning Node Representations from Structural Identitycited by 226
  6. 2020Characteristic Functions on Graphs: Birds of a Feather, from Statistical Descriptors to Parametric Modelscited by 120
  7. 2017Learning Structural Node Embeddings Via Diffusion Waveletscited by 102
  8. 2018Anonymous Walk Embeddingscited by 47
  9. 2018REGAL: Representation Learning-based Graph Alignmentcited by 41
  10. 2014Exploiting Social Network Structure for Person-to-Person Sentiment Analysiscited by 27
  11. 2018Learning Role-based Graph Embeddingscited by 16
  12. 2019RiWalk: Fast Structural Node Embedding via Role Identificationcited by 9
2 more
  1. 2021A Survey on Role-Oriented Network Embeddingcited by 5
  2. 2022Digraphwave: Scalable Extraction of Structural Node Embeddings via Diffusion on Directed Graphscited by 2

Built on by

Not cited yet.