CycleNet
A linear forecaster that removes a learned weekly cycle, predicts the residual and adds the cycle back.
Time series · 28 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
- 63.2K
- Operations
- 28
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2024
- Cited by
- 56 (as of 28 October 2026)
- Authors
- Shengsheng Lin, Weiwei Lin, Xinyi Hu and others
- Source
- GitHub: ACAT-SCUT/CycleNet
- 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 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
- m15505
- Graph hash
- 2237de058cb4301da87a6af576ef5c9f4aaab4e4d0d96ca530b770bc8796c12a
- Skeleton hash
- cefe372f2dc717718611a79d147554bfc0cf0dfaa0ab44c877fd34c7df22e717
- Architecture hash
- 737c8d53d3f6b7e4affa511505767aabf9b5feecec6978c89ce8ca4d2ec5eed0
- Diagram SHA-256
- dae5416fcf086d748a023c173d38e5972e09ed24d125f7dbe313e99dfa502134
- 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
CycleNet is a long-term time series forecasting model that learns a series' periodic pattern explicitly. The paper asks why, if deep and complex models are built solely to better extract periodic features from long-range dependencies, the patterns should not be modeled directly. Its Residual Cycle Forecasting (RCF) technique uses learnable recurrent cycles to model the periodic patterns within sequences and then predicts the residual components of the modeled cycles.
The recurrent cycles are learnable parameters of a set cycle length, shared globally within each channel, initialized to zeros and trained by backpropagation together with the backbone. For each input window the cyclic component is removed, the backbone predicts the residual for the horizon, and the cyclic component for the horizon is added back. Every channel passes through the same backbone with shared parameters.
This model uses the single-layer Linear backbone, which the paper calls CycleNet/Linear, with a look-back length of 96 and a cycle length of 168, the weekly period the repository deduces for the hourly Electricity dataset. The paper tests CycleNet on the ETT series, Weather, Traffic, Electricity and Solar-Energy datasets and reports that CycleNet/MLP ranked first overall and CycleNet/Linear second, though on Traffic it was inferior to iTransformer. The paper also notes that CycleNet can only learn a fixed-length cycle, so it may not suit data whose cycle length varies over time.
Key idea. The paper models periodicity explicitly with learnable recurrent cycles and forecasts only the residual with a single-layer Linear or dual-layer MLP backbone.
- CycleNet
- CycleNet/Linear
- Residual Cycle Forecasting
- RCF
- long-term time series forecasting
- LTSF
- periodic patterns
- learnable recurrent cycles
- time series forecasting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lin2024cyclenetenhancingtimeseries,
title={CycleNet: Enhancing Time Series Forecasting through Modeling Periodic Patterns},
author={Shengsheng Lin and Weiwei Lin and Xinyi Hu and Wentai Wu and Ruichao Mo and Haocheng Zhong},
year={2024},
eprint={2409.18479},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2409.18479},
}