TSLib MSGNet
A forecaster that learns a separate graph of correlations between series for each time scale found by FFT.
Time series · 253 operations Checked
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
- Task
- Time series
- Parameters
- 935.9K
- Operations
- 253
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2024
- Paper
- MSGNet: Learning Multi-Scale Inter-Series Correlations for Multivariate Time Series Forecasting
- Cited by
- 256 (as of 23 October 2026)
- Authors
- Wanlin Cai, Yuxuan Liang, Xianggen Liu 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3034
- Graph hash
- 22dcb93d92350956235abf6f7100347a795ed60901dbb4b9dbfb589bc0af33c4
- Skeleton hash
- d588e8d4bdaa28862d1c60de4d744d9df0cb6dac90f28192d8179d06e6864933
- Architecture hash
- 3d700026638cb0f9b3d58b8401f94cc4dc4eabf1d568675d795bfe05594a6a00
- Diagram SHA-256
- b6d37272827d5e631f4a51dba5c8feff4f6d8b9634a11a398f465ee0fd943813
- 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
MSGNet is a multivariate time series forecasting model designed to capture how the correlations between series vary across time scales. The paper's motivating example is a pair of series that are positively correlated at one time scale and negatively correlated at a shorter one. The version shown here is the implementation in the Time Series Library (TSLib), an open-source library for deep time series analysis.
The model is built from ScaleGraph blocks, each with three modules: an FFT module that identifies time scales, an adaptive graph convolution module that learns correlations between series within a scale, and a multi-head attention module that learns correlations within each series. The time scales are the prominent periodicities detected by a Fast Fourier Transform (FFT), an approach the authors say was inspired by TimesNet. For each time scale, a dedicated adjacency matrix is learned. A Mixhop graph convolution then uses that matrix to capture the correlation between series.
The paper evaluates on 8 datasets: Flight, Weather, four ETT sets, Exchange-Rate and Electricity. On mean squared error averaged over prediction lengths, it reports the best result on 5 of them and the second-best on 2. The Flight dataset includes flight data related to the COVID-19 pandemic. The authors use it to assess the robustness of the model against out-of-distribution samples.
Key idea. MSGNet captures the varying correlations between series across multiple time scales using frequency domain analysis and adaptive graph convolution.
- msgnet
- tslib msgnet
- multi-scale graph network
- multi-scale inter-series correlations
- multivariate time series forecasting
- adaptive graph convolution
- scalegraph block
- time series forecasting
- time series library
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cai2023msgnetlearningmultiscaleinterseries,
title={MSGNet: Learning Multi-Scale Inter-Series Correlations for Multivariate Time Series Forecasting},
author={Wanlin Cai and Yuxuan Liang and Xianggen Liu and Jianshuai Feng and Yuankai Wu},
year={2023},
eprint={2401.00423},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2401.00423},
}