All models

CRaWl (Convolutional Random Walk Neural Network)

CRaWl learns on graphs by running 1D convolutions over feature matrices built from random walks.

Graphs and geometry · 2,153 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,153 operations (13 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
497.7K
Operations
2,153
Framework
PyTorch
Recurrent
No
Published
Transactions on machine learning research (arXiv 2021)
Cited by
76 (as of 30 November 2026)
Authors
Jan Tönshoff, Martin Ritzert, Hinrikus Wolf, Martin Grohe
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15183
Graph hash
1cb685cb4db3c30004db84b1c11e9d2e4ca55fd18b860042a578c8075a57fe2d
Skeleton hash
93bbbef08e809d5aa33ad011a74de15b25692d28c294fa3fb4150361ba1810e0
Architecture hash
eeab972a4d9a24bf92e70e274598f6d753a5fc2ce3f31ca90127c22a7ef036ff
Diagram SHA-256
ca8c4008f7a4acbfe2914f6d4132d7c38124280c58750e669097e20ac266a8c8
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

CRaWl (CNNs for Random Walks) is a neural network architecture for graphs. Its layers update node features on a graph as graph neural network layers do, so the two can be combined or interleaved. The way it computes those features is different from message passing.

The model samples a set of random walks and, for each one, builds features that describe the subgraph visible in a sliding window over the walk. Alongside node and edge features, each row records which of the preceding nodes in the window are the same node, meaning the walk looped or backtracked, and which of them are adjacent to it. Standard 1D convolutions process these walk features, and the result is pooled into the nodes so that each layer updates an embedding per node. After the final layer, a global sum- or mean-pooling readout gives a graph-level embedding for classification or regression.

The paper proves that the expressiveness of CRaWl is incomparable with that of the Weisfeiler Leman algorithm, and hence with graph neural networks. On the long-range graph benchmark datasets PASCALVOC-SP and PEPTIDES-FUNC, it reports improving the previous best result by 13 and 6 percentage points respectively. The default window size is s = 8, chosen because molecular datasets need a window of at least 6 to capture organic rings.

Key idea. CRaWl extracts subgraph information along random walks with 1D convolutions, and the paper proves its expressiveness is incomparable with that of graph neural networks.

  • CRaWl
  • CNNs for Random Walks
  • Convolutional Random Walk Neural Network
  • random walk graph network
  • graph learning
  • graph classification
  • graph regression
  • Weisfeiler Leman
  • beyond message passing

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tönshoff2023walkingweisfeilerlemanhierarchy,
      title={Walking Out of the Weisfeiler Leman Hierarchy: Graph Learning Beyond Message Passing}, 
      author={Jan Tönshoff and Martin Ritzert and Hinrikus Wolf and Martin Grohe},
      year={2023},
      eprint={2102.08786},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2102.08786}, 
}