Abstract
Long-term time series forecasting often relies on frequency- or time-domain decomposition to capture trends and seasonalities. Frequency based methods, such as the Discrete Fourier Transform, isolate dominant periodic components and suppress noise, but they operate in the complex domain. Time-domain models apply trend–seasonality decomposition but often capture only a single seasonality entangled with residual noise. To address these limitations, we propose the FragFM—Fragmented Fourier Matrix—a time domain framework that incorporates spectral insights through fixed Fourier fragments. FragFM removes trends via moving averages, extracts multiple seasonal components with fragmented Fourier bases, and corrects residual noise. Operating fully in the real domain, FragFM achieves forecasting accuracy comparable to leading frequency-domain models while consistently outperforming traditional time-domain approaches. Its lightweight, interpretable design offers an efficient solution for long-term forecasting, bridging time- and frequency-domain methods.
Introduction
Long-term time series forecasting (LTSF) requires a delicate balance: capturing slow-moving trends and repeating seasonal patterns while filtering out noise. Traditionally, researchers choose between the time domain, which is interpretable but often limited to single seasonalities, and the frequency domain, which excels at noise reduction but is computationally complex and prone to losing temporal resolution.
Most current LTSF models struggle with two things simultaneously: multi-seasonality and noise entanglement. Real-world data, such as electricity consumption, exhibits multiple overlapping cycles (e.g., hourly, daily, weekly). Many time-domain models only account for a single seasonal component, often leaving noise "baked into" the signal. While frequency-domain methods like the Discrete Fourier Transform (DFT) isolate noise better, they operate in the complex domain, which can be less intuitive and computationally expensive.
FragFM (Fragmented Fourier Matrix) bridges this gap by bringing spectral analysis into a real-valued time-domain model. It achieves state-of-the-art accuracy with a remarkably small parameter footprint.
Methodology
The core of FragFM is the Decomposition Block, which iteratively "cleans" the input signal through three main stages:
- De-trending: A simple moving average (AvgPool) isolates the broad trend.
- Fragmented Fourier Extraction: This is the framework's primary innovation. The model uses fixed, non-overlapping partitions of a large Fourier matrix—the "fragments." Each fragment specializes in a specific frequency band. By learning real-valued eigenvalues for these fragments, the model extracts multiple distinct seasonal components without the redundancy of overlapping spectral regions.
- Low-Rank Prediction: To maintain efficiency, FragFM factorizes the final forecast weight matrix into two smaller matrices ($P$ and $Q$). This low-rank approach significantly reduces the number of trainable parameters.
By using symmetric circulant matrices, the model allows each time point to interact with both past and future lags, mimicking the behavior of bidirectional networks while remaining entirely in the real domain.
Experimental Results
FragFM was evaluated on six standard LTSF benchmarks, including the ETT (Electricity Transformer Temperature) datasets, Electricity consumption, and Traffic occupancy rates.
As shown in Table 1, FragFM consistently outperformed or matched leading models across the ETT benchmarks. It achieved the lowest Mean Squared Error (MSE) on several ETTm1 and ETTm2 tasks, surpassing much larger models like PatchTST and iTransformer.
Parameter Efficiency and Robustness
A key advantage of FragFM is its extreme parameter efficiency. By utilizing fixed Fourier bases and low-rank layers, it uses only 19.64K parameters, compared to approximately 300K for DLinear and nearly 1 million for iTransformer. This represents a reduction of up to 93% compared to standard baselines.
Furthermore, FragFM demonstrates significant noise robustness. In ablation studies, FragFM's performance remained stable as Gaussian noise intensity increased, whereas models like DLinear saw sharp increases in error. The combination of decomposition blocks and low-rank layers acts as a natural filter, preventing the model from over-fitting to high-frequency noise.
Discussion and Conclusion
FragFM proves that spectral insights can be effectively harnessed within the time domain without the complexity of complex-valued operations. While it is highly storage-efficient, its iterative decomposition blocks result in higher FLOPs (floating-point operations) compared to some simpler baselines.
On larger, highly complex datasets like Electricity and Traffic, FragFM slightly underperformed compared to DLinear. This suggests that the separate forecasting of trends and residuals—a strategy used by DLinear—could be a valuable future addition to the FragFM framework. Overall, FragFM offers a lightweight, interpretable, and robust solution for long-term forecasting, particularly effective in scenarios with multiple seasonalities and significant noise.
Code available at: https://github.com/K0DX-DV1NUX/FragFM
Summary updated