All models

ST-MegaCRN

MegaCRN forecasts traffic with a recurrent encoder-decoder whose graph is rebuilt from a learned memory.

Time series · 1,275 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 (231 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
388.8K
Operations
1,275
Framework
PyTorch
Recurrent
Yes
Published
AAAI 2023
Cited by
330 (as of 23 October 2026)
Authors
Renhe Jiang, Zhaonan Wang, Jiawei Yong and others
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
m2716
Graph hash
6cb2d2492a485dc039796813d5eaeb9e5dcd96e5faa896aad95ca6fee981ac47
Skeleton hash
5bb5b134e784f29755deb39cecd322642f9c85767da837d83f895e8688a7e546
Architecture hash
5de6c96489ccb08e0af891e118ebe5467aad37c50110234e7f8ebf3960e4b2f7
Diagram SHA-256
88c58cb24609bfe26ce9d70c9654c47a9ce3ccff13211a0952ced9faa0b18204
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

MegaCRN, the Meta-Graph Convolutional Recurrent Network, is a traffic forecasting model made by plugging a Meta-Graph Learner, powered by a Meta-Node Bank, into a GCRN encoder-decoder. The paper is aimed at what it calls spatio-temporal heterogeneity: traffic conditions differ from road to road and between off-peak and rush hours.

The graph is learned in two steps: the model queries node-level prototypes from the Meta-Node Bank, then a hyper-network reconstructs node embeddings from them. The resulting meta-graph is fed back to the recurrent encoder-decoder as an alternative to the adaptive and momentary graphs of earlier work. Two added constraints on the memory, a contrastive loss and a consistency loss, are meant to keep memory items compact and at the same time dissimilar from each other.

The paper evaluates on METR-LA, PEMS-BAY and EXPY-TKY, a new traffic speed data set covering 1843 expressway road links in Tokyo. It reports better results than the methods it compares against on all three. For METR-LA and PEMS-BAY, each recurrent layer in the encoder and decoder has 64 units and the memory bank holds 20 meta-nodes of 64 dimensions.

Key idea. The paper proposes spatio-temporal meta-graph learning, in which a Meta-Node Bank and a hyper-network generate the graph used by a graph convolutional recurrent encoder-decoder.

  • MegaCRN
  • Meta-Graph Convolutional Recurrent Network
  • spatio-temporal meta-graph learning
  • traffic forecasting
  • traffic speed prediction
  • graph structure learning
  • meta-node bank
  • METR-LA
  • PEMS-BAY
  • EXPY-TKY

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

Cite the paper

@misc{jiang2023spatiotemporalmetagraphlearningtraffic,
      title={Spatio-Temporal Meta-Graph Learning for Traffic Forecasting}, 
      author={Renhe Jiang and Zhaonan Wang and Jiawei Yong and Puneet Jeph and Quanjun Chen and Yasumasa Kobayashi and Xuan Song and Shintaro Fukushima and Toyotaro Suzumura},
      year={2023},
      eprint={2211.14701},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2211.14701}, 
}