English

FRWKV:Frequency-Domain Linear Attention for Long-Term Time Series Forecasting

Machine Learning 2025-12-10 v2

Abstract

Traditional Transformers face a major bottleneck in long-sequence time series forecasting due to their quadratic complexity (O(T2))(\mathcal{O}(T^2)) and their limited ability to effectively exploit frequency-domain information. Inspired by RWKV's O(T)\mathcal{O}(T) linear attention and frequency-domain modeling, we propose FRWKV, a frequency-domain linear-attention framework that overcomes these limitations. Our model integrates linear attention mechanisms with frequency-domain analysis, achieving O(T)\mathcal{O}(T) computational complexity in the attention path while exploiting spectral information to enhance temporal feature representations for scalable long-sequence modeling. Across eight real-world datasets, FRWKV achieves a first-place average rank. Our ablation studies confirm the critical roles of both the linear attention and frequency-encoder components. This work demonstrates the powerful synergy between linear attention and frequency analysis, establishing a new paradigm for scalable time series modeling. Code is available at this repository: https://github.com/yangqingyuan-byte/FRWKV.

Keywords

Cite

@article{arxiv.2512.07539,
  title  = {FRWKV:Frequency-Domain Linear Attention for Long-Term Time Series Forecasting},
  author = {Qingyuan Yang and Shizhuo Deng and Dongyue Chen and Da Teng and Zehua Gan},
  journal= {arXiv preprint arXiv:2512.07539},
  year   = {2025}
}
R2 v1 2026-07-01T08:14:50.268Z