All models

GTS

Forecasts multiple time series with a graph recurrent model while learning the graph among the series.

Time series · 1,952 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 (204 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
38.5M
Operations
1,952
Framework
PyTorch
Recurrent
Yes
Published
ICLR 2021
Cited by
155 (as of 27 October 2026)
Authors
Chao Shang, Jie Chen, Jinbo Bi
License
Apache-2.0
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
m16986
Graph hash
59368483aa88bf96930a3ebe732bbd3e786a11f1aac5d3c380a5f6e3fcc26a10
Skeleton hash
5a2b06b5d400ea99f61b10821ae8cd117e3888a2300a9d0797cd3ffb9cc6f77d
Architecture hash
1c5a9bd840d17d4ec854b1d2afd903b1f7fb6e97d4fa2c7387d5eb1149ee4859
Diagram SHA-256
82b90c2535d7c73c48407103f50524a4d50bf1b67701e590c3dff8443603ff0f
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

GTS, short for graph for time series, is a forecasting model for multiple time series that uses graph structure learning to improve the forecast. Graph neural networks (GNNs) can exploit a graph among the series when one is known, and the paper proposes learning the structure simultaneously with the GNN when it is not.

The graph is treated as a probabilistic model: a neural network parameterizes a distribution over graphs, and discrete graphs are sampled from it differentiably through reparameterization. In that network a feature extractor yields a feature vector for each series, and a link predictor takes a pair of feature vectors and outputs a link probability. The feature extractor works on the entire sequence, not a window of time steps, and its weights are shared among all series. Sampling uses the Gumbel reparameterization trick so that gradients can flow through the sampled graph. The forecasting part is a sequence-to-sequence model built on the diffusion convolutional GRU defined in DCRNN, chosen because it is designed for directed graphs.

On the METR-LA traffic data set, the paper reports that GTS significantly outperforms LDS, an earlier method that also learns a graph, and hence DCRNN. The repository includes traffic data for Los Angeles (METR-LA) and the Bay Area (PEMS-BAY), and this model is set up for METR-LA.

Key idea. GTS learns a discrete graph among time series jointly with a GNN forecaster by parameterizing a distribution over graphs with a neural network and sampling from it differentiably.

  • GTS
  • graph for time series
  • discrete graph structure learning
  • multivariate time series forecasting
  • time series forecasting
  • traffic forecasting
  • graph structure learning
  • METR-LA
  • PEMS-BAY

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

Cite the paper

@misc{shang2021discretegraphstructurelearning,
      title={Discrete Graph Structure Learning for Forecasting Multiple Time Series}, 
      author={Chao Shang and Jie Chen and Jinbo Bi},
      year={2021},
      eprint={2101.06861},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2101.06861}, 
}