TFDNet
Long-term time series forecaster that encodes trend and seasonal components in the time-frequency domain.
Time series · 174 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
- 759.5K
- Operations
- 174
- Framework
- PyTorch
- Recurrent
- No
- Published
- Pattern Recognition (2025)
- Cited by
- 1 (as of 26 October 2026)
- Authors
- Yuxiao Luo, Ziyu Lyu, Xingyu Huang
- Source
- GitHub: YuxiaoLuo0013/TFDNet
- 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
- m20779
- Graph hash
- dfc4511de1987848ae3187cb0ad18de03dbd3cf6ed59c2fa646e9cb145199555
- Skeleton hash
- 9f1e9d5d489a9dccf6255676598c67d5324a57ff59d681dc276d8b4be7a6c75f
- Architecture hash
- 0f5c9297654c4b44e3d0719588e451427f08bcdfc24bd896c4d53545cb0a2ff9
- Diagram SHA-256
- c05b113459216daa1664c5263f2ed25c00927d82f6dd321a82fbc8536a9358e7
- 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
TFDNet (Time-Frequency Enhanced Decomposed Network) is a model for long-term time series forecasting that looks at a series in the time-frequency domain instead of in time or frequency alone. It uses the Short-time Fourier transform (STFT), a classical signal processing method, to turn the series into a time-frequency representation.
The model has three phases. First the input is instance-normalized and split into seasonal and trend components with the series decomposition block from Autoformer. Each component then goes through encoders that each use a different STFT sliding window size, and every encoder has four parts: an STFT, a time-frequency block, a frequency feed-forward network and an inverse STFT. Finally a linear projection and instance denormalization produce the forecast.
The time-frequency block differs by component. The trend block uses one single kernel shared across channels. The seasonal block has two versions: TFDNet-IK gives each channel its own kernel, while TFDNet-MK, the version this model uses, shares multiple kernels and combines them with a gate layer. The paper evaluates on 8 datasets, among them Traffic, Electricity, ILI and 4 ETT datasets, and reports that TFDNet-MK reduces MSE by 32.7% and MAE by 22.0% overall compared with FEDformer, its best channel-mixing baseline. It also reports that TFDNet-MK does better on datasets with higher channel correlations in the seasonal component, such as Traffic.
Key idea. TFDNet forecasts long-term time series by decomposing them into trend and seasonal components and encoding each in the time-frequency domain with multi-scale Short-time Fourier transform encoders.
- tfdnet
- time-frequency enhanced decomposed network
- long-term time series forecasting
- time series forecasting
- short-time fourier transform
- stft forecasting
- trend seasonal decomposition
- multivariate forecasting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{luo2023tfdnettimefrequencyenhanceddecomposed,
title={TFDNet: Time-Frequency Enhanced Decomposed Network for Long-term Time Series Forecasting},
author={Yuxiao Luo and Ziyu Lyu and Xingyu Huang},
year={2023},
eprint={2308.13386},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2308.13386},
}