All models

GSSC

A graph layer that extends state space models to graphs with linear-time global aggregation.

Graphs and geometry · 1,281 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

Loading diagram (18 KB)

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
426.2K
Operations
1,281
Framework
PyTorch
Recurrent
No
Published
2024
Cited by
2 (as of 28 October 2026)
Authors
Yinan Huang, Siqi Miao, Pan Li
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
m16976
Graph hash
8a05a446d66389ac8b9f53fa95d7500c9afb1d00962a9cbeff018a4c91642447
Skeleton hash
a8ffdd5176e2c27013ea05d4e5d233e6eaba4152075480dd063b6240a472c82a
Architecture hash
bad9e1bab82abb89bacfc9d1a883447bd7dc10ad78c745a3c28cda244fa0cb27
Diagram SHA-256
3a8c8c6d3b69d6dbfaa77a8eba82f20af628808c65bcdf8029dcae075af6f533
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

GSSC, short for Graph State Space Convolution, carries the state space models (SSMs) used for sequences over to graphs. The paper sets it between two existing options: message passing neural networks (MPNNs), which it says have limited expressive power and struggle with long-range dependencies, and graph transformers, whose global attention brings great computational overheads on large graphs. SSMs do not transfer directly, because graphs lack a canonical node ordering.

GSSC uses a global, permutation-equivariant aggregation over the nodes of the graph, with convolution kernels that rely on relative distances between nodes. The kernels factorize into positional encodings of the two nodes, with Laplacian eigenvectors playing the role of absolute positions in the graph. By design the resulting layer is permutation equivariant, long-range and linear-time. The Laplacian eigendecomposition it needs is computed as preprocessing.

In the paper's models each layer pairs one MPNN, which brings in edge features, with one GSSC block. The authors describe the result as a GraphGPS with the vanilla transformer replaced by GSSC. The paper reports the best results on 6 of its 11 benchmark datasets and the second-best results on the other 5.

Key idea. GSSC extends state space models to graphs through a global permutation-equivariant aggregation whose kernels depend on relative node distances and factorize into positional encodings, giving a long-range, linear-time layer.

  • GSSC
  • Graph State Space Convolution
  • graph state space model
  • state space models on graphs
  • graph SSM
  • long-range graph learning
  • linear-time graph model
  • graph substructure counting
  • Laplacian positional encoding

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

Cite the paper

@misc{huang2024learnstatespacemodels,
      title={What Can We Learn from State Space Models for Machine Learning on Graphs?}, 
      author={Yinan Huang and Siqi Miao and Pan Li},
      year={2024},
      eprint={2406.05815},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2406.05815}, 
}