Time–Frequency Parallel and Channel-Adaptive Gating for Multivariate Time Series Prediction
Abstract
1. Introduction
- (a)
- A magnitude-phase decoupling frequency-domain correction module is proposed, which maps only the magnitude spectrum while adopting historical phase values from the input spectrum. New frequency components beyond the historical bandwidth are uniformly zero-padded for completion. This approach stabilizes corrections of periodicity-related errors in the backbone prediction without introducing frequency-domain attention or phase learning.
- (b)
- Time–frequency fusion is achieved at the original scale through a channel-wise gating mechanism, initialized with low values to ensure stability. During training, the gate dynamically learns channel-specific weights to adjust the intensity of frequency-domain injection according to demand, thereby avoiding over-correction and ensuring robustness.
2. Related Work
2.1. Deep Learning for Time Series Modeling
2.2. Transformer Series
2.3. Linear Models
2.4. Summary
3. Methods
3.1. Model Overview
3.2. Time-Domain Backbone Network
- (1)
- Temporal Query and Channel Aggregation
- (2)
- Residual MLP Module
3.3. Frequency-Domain Correction Module
- (1)
- Time-to-Frequency Domain Transformation
- (2)
- Nonlinear Mapping of Spectral Magnitudes
- (3)
- Spectrum Reconstruction via Phase Reuse
- (4)
- Frequency-to-Time Domain Inverse Transformation
3.4. Channel-Independent Adaptive Gated Fusion
4. Experiments and Results
4.1. Experimental Setup
4.2. Main Results and Analysis
4.3. Ablation Studies
4.4. Autonomous Regulation of the Gating Mechanism
4.5. Phase Strategy Analysis
4.6. Efficiency Analysis
5. Limitations
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lai, G.; Chang, W.-C.; Yang, Y.; Liu, H. Modeling long-and short-term temporal patterns with deep neural networks. In Proceedings of the 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, Ann Arbor, MI, USA, 8–12 July 2018; pp. 95–104. [Google Scholar]
- Wang, Y.; Wu, H.; Dong, J.; Liu, Y.; Long, M.; Wang, J. Deep Time Series Models: A Comprehensive Survey and Benchmark. arXiv 2024, arXiv:2407.13278. [Google Scholar] [CrossRef] [Scilit]
- Pantiskas, L.; Verstoep, K.; Bal, H. Interpretable Multivariate Time Series Forecasting with Temporal Attention Convolutional Neural Networks. In Proceedings of the 2020 IEEE Symposium Series on Computational Intelligence (SSCI), Canberra, ACT, Australia, 1–4 December 2020; pp. 1687–1694. [Google Scholar] [CrossRef] [Scilit]
- Yi, K.; Zhang, Q.; Fan, W.; Cao, L.; Wang, S.; He, H.; Long, G.; Hu, L.; Wen, Q.; Xiong, H. A Survey on Deep Learning based Time Series Analysis with Frequency Transformation. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, New York, NY, USA, 3–7 August 2025; pp. 6206–6215. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Wu, H.; Dong, J.; Qin, G.; Zhang, H.; Liu, Y.; Qiu, Y.; Wang, J.; Long, M. TimeXer: Empowering transformers for time series forecasting with exogenous variables. In Proceedings of the 38th Annual Conference on Neural Information Processing Systems (NeurIPS 2024), Vancouver, BC, Canada, 8–14 December 2024. [Google Scholar]
- Lin, S.; Chen, H.; Wu, H.; Qiu, C.; Lin, W. Temporal Query Network for Efficient Multivariate Time Series Forecasting. arXiv 2025, arXiv:2505.12917. [Google Scholar] [CrossRef] [Scilit]
- Salinas, D.; Flunkert, V.; Gasthaus, J.; Januschowski, T. DeepAR: Probabilistic forecasting with autoregressive recurrent networks. Int. J. Forecast. 2020, 36, 1181–1191. [Google Scholar] [CrossRef] [Scilit]
- Bai, S.; Kolter, J.Z.; Koltun, V. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv 2018, arXiv:1803.01271. [Google Scholar] [CrossRef] [Scilit]
- Oreshkin, B.N.; Carpov, D.; Chapados, N.; Bengio, Y. N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. arXiv 2019, arXiv:1905.10437. [Google Scholar]
- Challu, C.; Olivares, K.G.; Oreshkin, B.N.; Ramirez, F.K.; Canseco, M.M.; Dubrawski, A. Nhits: Neural hierarchical interpolation for time series forecasting. In Proceedings of the 37th AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023. [Google Scholar]
- Kim, T.; Kim, J.; Tae, Y.; Park, C.; Choi, J.H.; Choo, J. Reversible instance normalization for accurate time-series forecasting against distribution shift. In Proceedings of the International Conference on Learning Representations (ICLR 2022), Virtual, 25–29 April 2022. [Google Scholar]
- Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, G.; Mei, H.; Ma, H.; Wen, Q. Informer: Beyond efficient transformer for long sequence time-series forecasting. In Proceedings of the 35th AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021. [Google Scholar]
- Wu, H.; Xu, J.; Wang, J.; Long, M. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Adv. Neural Inf. Process. Syst. 2021, 34, 22419–22430. [Google Scholar]
- Zhou, T.; Ma, Z.; Wen, Q.; Wang, X.; Sun, L.; Jin, R. Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting. In Proceedings of the 39th International Conference on Machine Learning, Baltimore, MD, USA, 17–23 July 2022. [Google Scholar]
- Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A Time Series is Worth 64 Words: Long-term Forecasting with Transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar]
- Liu, Y.; Hu, T.; Zhang, H.; Wu, H.; Wang, S.; Ma, L.; Long, M. itransformer: Inverted transformers are effective for time series forecasting. arXiv 2023, arXiv:2310.06625. [Google Scholar]
- Wu, H.; Hu, T.; Liu, Y.; Zhou, H.; Wang, J.; Long, M. Timesnet: Temporal 2D-variation modeling for general time series analysis. arXiv 2022, arXiv:2210.02186. [Google Scholar]
- Zeng, A.; Chen, M.; Zhang, L.; Xu, Q. Are transformers effective for time series forecasting? In Proceedings of the 37th AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023. [Google Scholar]
- Bernardini, L.; Bono, F.M.; Collina, A. Drive-by damage detection and localization exploiting continuous wavelet transform and multiple sparse autoencoders. Railw. Eng. Sci. 2025, 33, 721–745. [Google Scholar] [CrossRef] [Scilit]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019; Curran Associates Inc.: Red Hook, NY, USA, 2019; pp. 8026–8037. [Google Scholar]
- Lin, S.; Lin, W.; Hu, X.; Wang, S. Cyclenet: Enhancing time series forecasting through modeling periodic patterns. Adv. Neural Inf. Process. Syst. 2024, 37, 106315–106345. [Google Scholar]
- Cai, W.; Liang, Y.; Liu, X.; Feng, J.; Zhou, K. Msgnet: Learning multi-scale inter-series correlations for multivariate time series forecasting. In Proceedings of the 38th AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024. [Google Scholar]



| Dataset | Channels | Timesteps | Interval | Cycle | Domain |
|---|---|---|---|---|---|
| ETTh2 | 7 | 14,400 | 1 h | 24 | Electricity |
| ETTm2 | 7 | 57,600 | 15 min | 96 | Electricity |
| Weather | 21 | 52,696 | 10 min | 144 | Weather |
| Electricity | 321 | 26,304 | 1 h | 168 | Electricity |
| Exchange | 8 | 7588 | 1 day | 7 | Finance |
| Model | TFDG-Net (Ours) | TQNet (2025) | CycleNet (2024) | iTransformer (2024) | MSGNet (2024) | TimesNet (2023) | PatchTST (2023) | DLinear (2023) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| ETTh2 | 96 | 0.293 | 0.343 | 0.295 | 0.343 | 0.298 | 0.344 | 0.297 | 0.349 | 0.329 | 0.371 | 0.340 | 0.374 | 0.302 | 0.348 | 0.333 | 0.387 |
| 192 | 0.371 | 0.393 | 0.367 | 0.393 | 0.372 | 0.396 | 0.380 | 0.400 | 0.402 | 0.414 | 0.402 | 0.414 | 0.388 | 0.400 | 0.477 | 0.476 | |
| 336 | 0.415 | 0.428 | 0.417 | 0.427 | 0.431 | 0.439 | 0.428 | 0.432 | 0.440 | 0.445 | 0.452 | 0.452 | 0.426 | 0.433 | 0.594 | 0.541 | |
| 720 | 0.425 | 0.442 | 0.433 | 0.446 | 0.450 | 0.458 | 0.427 | 0.445 | 0.480 | 0.477 | 0.462 | 0.468 | 0.431 | 0.446 | 0.831 | 0.657 | |
| Avg | 0.376 | 0.402 | 0.378 | 0.402 | 0.388 | 0.409 | 0.383 | 0.407 | 0.413 | 0.427 | 0.414 | 0.427 | 0.387 | 0.407 | 0.559 | 0.515 | |
| ETTm2 | 96 | 0.172 | 0.254 | 0.173 | 0.256 | 0.163 | 0.246 | 0.180 | 0.264 | 0.182 | 0.266 | 0.187 | 0.267 | 0.175 | 0.259 | 0.193 | 0.292 |
| 192 | 0.238 | 0.297 | 0.238 | 0.298 | 0.229 | 0.290 | 0.250 | 0.309 | 0.248 | 0.306 | 0.249 | 0.309 | 0.241 | 0.302 | 0.284 | 0.362 | |
| 336 | 0.296 | 0.336 | 0.301 | 0.340 | 0.284 | 0.327 | 0.311 | 0.348 | 0.312 | 0.346 | 0.321 | 0.351 | 0.305 | 0.343 | 0.369 | 0.427 | |
| 720 | 0.397 | 0.395 | 0.397 | 0.396 | 0.389 | 0.391 | 0.412 | 0.407 | 0.414 | 0.404 | 0.408 | 0.403 | 0.402 | 0.400 | 0.554 | 0.522 | |
| Avg | 0.276 | 0.320 | 0.277 | 0.323 | 0.266 | 0.314 | 0.288 | 0.332 | 0.289 | 0.33 | 0.291 | 0.333 | 0.281 | 0.326 | 0.35 | 0.401 | |
| Electricity | 96 | 0.133 | 0.227 | 0.134 | 0.229 | 0.136 | 0.229 | 0.148 | 0.24 | 0.165 | 0.274 | 0.168 | 0.272 | 0.181 | 0.270 | 0.197 | 0.282 |
| 192 | 0.146 | 0.242 | 0.154 | 0.247 | 0.152 | 0.244 | 0.162 | 0.253 | 0.185 | 0.292 | 0.184 | 0.289 | 0.188 | 0.274 | 0.196 | 0.285 | |
| 336 | 0.155 | 0.257 | 0.169 | 0.264 | 0.170 | 0.264 | 0.178 | 0.269 | 0.197 | 0.304 | 0.198 | 0.300 | 0.204 | 0.293 | 0.209 | 0.301 | |
| 720 | 0.181 | 0.285 | 0.201 | 0.294 | 0.212 | 0.299 | 0.225 | 0.317 | 0.231 | 0.332 | 0.220 | 0.320 | 0.246 | 0.324 | 0.245 | 0.333 | |
| Avg | 0.154 | 0.253 | 0.164 | 0.259 | 0.168 | 0.259 | 0.178 | 0.270 | 0.194 | 0.301 | 0.193 | 0.295 | 0.205 | 0.290 | 0.212 | 0.300 | |
| Weather | 96 | 0.145 | 0.192 | 0.157 | 0.200 | 0.158 | 0.203 | 0.174 | 0.214 | 0.163 | 0.212 | 0.172 | 0.22 | 0.177 | 0.210 | 0.196 | 0.255 |
| 192 | 0.186 | 0.232 | 0.206 | 0.245 | 0.207 | 0.247 | 0.221 | 0.254 | 0.211 | 0.254 | 0.219 | 0.261 | 0.225 | 0.250 | 0.237 | 0.296 | |
| 336 | 0.235 | 0.270 | 0.262 | 0.287 | 0.262 | 0.289 | 0.278 | 0.296 | 0.273 | 0.299 | 0.280 | 0.306 | 0.278 | 0.290 | 0.283 | 0.335 | |
| 720 | 0.299 | 0.318 | 0.344 | 0.342 | 0.344 | 0.344 | 0.358 | 0.349 | 0.351 | 0.348 | 0.365 | 0.359 | 0.354 | 0.340 | 0.345 | 0.381 | |
| Avg | 0.216 | 0.253 | 0.242 | 0.269 | 0.243 | 0.271 | 0.258 | 0.278 | 0.249 | 0.278 | 0.259 | 0.287 | 0.259 | 0.273 | 0.265 | 0.317 | |
| Exchange | 96 | 0.082 | 0.200 | 0.083 | 0.202 | 0.085 | 0.203 | 0.086 | 0.206 | 0.102 | 0.23 | 0.106 | 0.234 | 0.137 | 0.273 | 0.088 | 0.218 |
| 192 | 0.173 | 0.295 | 0.177 | 0.301 | 0.178 | 0.299 | 0.177 | 0.299 | 0.195 | 0.317 | 0.227 | 0.344 | 0.250 | 0.370 | 0.176 | 0.315 | |
| 336 | 0.324 | 0.412 | 0.335 | 0.419 | 0.350 | 0.427 | 0.331 | 0.417 | 0.359 | 0.436 | 0.367 | 0.448 | 0.446 | 0.502 | 0.313 | 0.427 | |
| 720 | 0.827 | 0.684 | 0.913 | 0.714 | 0.881 | 0.703 | 0.847 | 0.691 | 0.940 | 0.738 | 0.964 | 0.746 | 0.901 | 0.717 | 0.839 | 0.695 | |
| Avg | 0.351 | 0.398 | 0.377 | 0.409 | 0.373 | 0.408 | 0.360 | 0.403 | 0.399 | 0.430 | 0.416 | 0.443 | 0.434 | 0.465 | 0.354 | 0.414 | |
| Settings | Without Frequency-Domain Correction, Without Gating | With Frequency-Domain Correction, Without Gating | With Frequency-Domain Correction, With Adaptive Gating | With Frequency-Domain Correction, With Projection Gating | |||||
|---|---|---|---|---|---|---|---|---|---|
| Metrics | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| Weather | 96 | 0.157 | 0.2 | 0.147 | 0.195 | 0.145 | 0.192 | 0.151 | 0.198 |
| 192 | 0.206 | 0.245 | 0.188 | 0.234 | 0.186 | 0.232 | 0.193 | 0.241 | |
| 336 | 0.262 | 0.287 | 0.235 | 0.271 | 0.235 | 0.270 | 0.258 | 0.288 | |
| 720 | 0.344 | 0.342 | 0.300 | 0.319 | 0.299 | 0.318 | 0.317 | 0.325 | |
| Electricity | 96 | 0.134 | 0.229 | 0.138 | 0.230 | 0.133 | 0.227 | 0.140 | 0.248 |
| 192 | 0.154 | 0.247 | 0.149 | 0.244 | 0.146 | 0.242 | 0.152 | 0.249 | |
| 336 | 0.169 | 0.264 | 0.160 | 0.261 | 0.155 | 0.257 | 0.167 | 0.263 | |
| 720 | 0.201 | 0.294 | 0.189 | 0.292 | 0.181 | 0.285 | 0.195 | 0.292 | |
| Phase Strategy | Phase Reuse | Zero-Phase Padding | Full Complex Spectrum Learning | |||
|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE |
| Weather | 0.145 | 0.192 | 0.148 | 0.190 | 0.149 | 0.191 |
| Electricity | 0.133 | 0.227 | 0.134 | 0.226 | 0.134 | 0.226 |
| ETTh2 | 0.293 | 0.343 | 0.295 | 0.345 | 0.305 | 0.348 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
He, X.; He, Z. Time–Frequency Parallel and Channel-Adaptive Gating for Multivariate Time Series Prediction. Appl. Sci. 2026, 16, 3266. https://doi.org/10.3390/app16073266
He X, He Z. Time–Frequency Parallel and Channel-Adaptive Gating for Multivariate Time Series Prediction. Applied Sciences. 2026; 16(7):3266. https://doi.org/10.3390/app16073266
Chicago/Turabian StyleHe, Xin, and Zhenwen He. 2026. "Time–Frequency Parallel and Channel-Adaptive Gating for Multivariate Time Series Prediction" Applied Sciences 16, no. 7: 3266. https://doi.org/10.3390/app16073266
APA StyleHe, X., & He, Z. (2026). Time–Frequency Parallel and Channel-Adaptive Gating for Multivariate Time Series Prediction. Applied Sciences, 16(7), 3266. https://doi.org/10.3390/app16073266

