DFTNet: Deep Fourier Tokenization and Routing Codebook for Universal and Generalizable Time Series Forecasting

Lu, Yicheng, Tu, Shihao, Ding, Wenyue, Ren, Qingkai, Chen, Yujun, Zhang, Yin, Yang, Yang

–arXiv.org Artificial Intelligence 

Universal and generalizable time series forecasting has become an increasingly important goal, as real-world applications often involve diverse domains with varying temporal characteristics and data distributions. To address this challenge, methods such as vector quantization (VQ) learn compact, discrete representations within a constrained latent space. However, existing VQ-based methods still suffer from limited codebook utilization and a lack of effective temporal decomposition, which hinder their generalization in complex multi-domain scenarios. To address these problems, this paper proposes DFTNet, a novel two-stage time series forecasting model. This model achieves universal forecasting and effective generalization across multiple domains through two core innovations: first, to extract independent and informative deep bases, a Deep Fourier Tokenization (DFT) module is introduced with orthogonality and consistency constraints; second, to improve codebook utilization and expressiveness, this paper introduces the Routing Codebook, which replaces traditional distance metrics with a learnable routing strategy. Experimental results demonstrate that DFTNet outperforms baseline models in prediction accuracy on multiple public datasets, especially showing competitive generalization capabilities in cross-domain prediction tasks.