Research Article

TFF-Former: A Time-Frequency Fusion Transformer for Multivariate Weather Time Series Forecasting

Zhixiang Zhang*
Beijing Normal University

* Corresponding author: [email protected]

Abstract

Multivariate weather time series forecasting is highly challenging due to the complex coexistence of short-term dynamic fluctuations and long-term periodic patterns. Existing models predominantly focus on the time domain, lacking explicit mechanisms to capture frequency priors, or rely on complex spatial reconstructions that struggle with long-range temporal dependencies. To address these limitations, we propose the Time-Frequency Fusion Transformer (TFF-Former), a novel dual-branch architecture. Specifically, the time-domain branch utilizes a Transformer encoder to extract local dynamics and variable dependencies, while the frequency-domain branch employs the real Fast Fourier Transform (rFFT) combined with a parallel Transformer encoder to explicitly model multi-scale periodic structures from amplitude spectra. The representations from both domains are subsequently concatenated to achieve feature complementarity. Experiments on the Jena Climate dataset demonstrate that TFF-Former achieves state-of-the-art performance, outperforming strong baselines including TimesNet and PatchTST across MAE, MSE, RMSE, and SMAPE metrics. Ablation studies further validate that the time-frequency fusion mechanism significantly surpasses single-domain modeling.

Keywords: Multivariate Time Series Forecasting; Weather Prediction; Transformer; Time-Frequency Fusion; Fast Fourier Transform
Published: July 14, 2026
DOI: 10.54254/2755-2721/2026.35325
Volume: ACE Vol.231
pp. 164-174
Download PDF

References

  1. Wen, Q., et al. (2022). Transformers in time series: A survey. arXiv preprint arXiv: 2202.07125.
  2. Bi, K., Xie, L., Zhang, H., Chen, X., Gu, X., & Tian, Q. (2026). Pangu-Weather: A 3D high-resolution model for fast and accurate global weather forecast. arXiv.org. https: //arxiv.org/abs/2211.02556v1
  3. Shi, X., Chen, Z., Wang, H., Yeung, D.-Y., Wong, W., & Woo, W. (2015). Convolutional LSTM network: A machine learning approach for precipitation nowcasting. In Advances in Neural Information Processing Systems. Curran Associates, Inc. https: //proceedings.neurips.cc/paper/2015/hash/07563a3fe3bbe7e3ba84431ad9d055af-Abstract.html
  4. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https: //doi.org/10.1162/neco.1997.9.8.1735
  5. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 770–778). https: //openaccess.thecvf.com/content_cvpr_2016/html/He_Deep_Residual_Learning_CVPR_2016_paper.html
  6. Bai, S., Kolter, J. Z., & Koltun, V. (2018, April 19). An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv. arXiv: 1803.01271. doi: 10.48550/arXiv.1803.01271.
  7. Vaswani, A. et al. (2017). Attention is all you need. In Advances in Neural Information Processing Systems. Curran Associates, Inc. Retrieved May 29, 2026, from https: //proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html
  8. Zhou, H. et al. (2021, May). Informer: Beyond efficient transformer for long sequence time-series forecasting.Proceedings of the AAAI Conference on Artificial Intelligence, 35(12), 11106–11115. doi: 10.1609/aaai.v35i12.17325.
  9. Wu, H., Xu, J., Wang, J., & Long, M. (2021). Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. In Advances in Neural Information Processing Systems (pp. 22419–22430). Curran Associates, Inc. Retrieved May 29, 2026, from https: //proceedings.neurips.cc/paper/2021/hash/bcc0d400288793e8bdcd7c19a8ac0c2b-Abstract.html
  10. Nie, Y., Nguyen, N. H., Sinthong, P., & Kalagnanam, J. (n.d.). A time series is worth 64 words: Long-term forecasting with transformers.arXiv.org. Retrieved May 29, 2026, from https: //arxiv.org/abs/2211.14730v2
  11. Zhou, T., Ma, Z., Wen, Q., Wang, X., Sun, L., & Jin, R. (2022, June). FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting. In Proceedings of the 39th International Conference on Machine Learning (pp. 27268–27286). PMLR. https: //proceedings.mlr.press/v162/zhou22g.html
  12. Lee-Thorp, J., Ainslie, J., Eckstein, I., & Ontañón, S. (2022, July). FNet: Mixing tokens with Fourier transforms. In M. Carpuat, M.-C. de Marneffe, & I. V. Meza Ruiz (Eds.), Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (pp. 4296–4313). Association for Computational Linguistics. https: //doi.org/10.18653/v1/2022.naacl-main.319
  13. Wu, H., Hu, T., Liu, Y., Zhou, H., Wang, J., & Long, M. (2022). Timesnet: Temporal 2d-variation modeling for general time series analysis. arXiv preprint arXiv: 2210.02186.
  14. Max Planck Institute for Biogeochemistry, "Jena Climate Dataset." 2009. [Online]. Available: https: //www.bgc-jena.mpg.de/wetter/