[Paper Review] FrAug: Frequency Domain Augmentation for Time Series Forecasting
This paper proposes FrAug, a frequency domain data augmentation method for time series forecasting that preserves semantic consistency by applying frequency masking and mixing to maintain fine-grained temporal relationships. Experiments show FrAug boosts forecasting accuracy, enables 1% data training to match full-data performance, and improves model adaptation under distribution shifts via test-time training.
Data augmentation (DA) has become a de facto solution to expand training data size for deep learning. With the proliferation of deep models for time series analysis, various time series DA techniques are proposed in the literature, e.g., cropping-, warping-, flipping-, and mixup-based methods. However, these augmentation methods mainly apply to time series classification and anomaly detection tasks. In time series forecasting (TSF), we need to model the fine-grained temporal relationship within time series segments to generate accurate forecasting results given data in a look-back window. Existing DA solutions in the time domain would break such a relationship, leading to poor forecasting accuracy. To tackle this problem, this paper proposes simple yet effective frequency domain augmentation techniques that ensure the semantic consistency of augmented data-label pairs in forecasting, named FrAug. We conduct extensive experiments on eight widely-used benchmarks with several state-of-the-art TSF deep models. Our results show that FrAug can boost the forecasting accuracy of TSF models in most cases. Moreover, we show that FrAug enables models trained with 1\% of the original training data to achieve similar performance to the ones trained on full training data, which is particularly attractive for cold-start forecasting. Finally, we show that applying test-time training with FrAug greatly improves forecasting accuracy for time series with significant distribution shifts, which often occurs in real-life TSF applications. Our code is available at https://anonymous.4open.science/r/Fraug-more-results-1785.
Motivation & Objective
- To address the lack of effective data augmentation techniques for time series forecasting (TSF), where existing time-domain methods disrupt critical temporal relationships.
- To ensure semantic consistency in augmented data-label pairs for regression-based TSF, where label fidelity is essential.
- To develop a frequency-domain approach that preserves periodic patterns and dynamic system behavior in time series.
- To enable high-performance forecasting with minimal training data, particularly for cold-start scenarios.
- To improve model robustness under distribution shifts through test-time training with FrAug.
Proposed method
- FrAug performs frequency masking by randomly eliminating subsets of frequency components in the Fourier-transformed look-back window.
- FrAug applies frequency mixing by averaging the same frequency components across different time series windows to create new, semantically consistent samples.
- The method operates entirely in the frequency domain, avoiding time-domain perturbations that disrupt temporal dependencies.
- Augmented samples are reconstructed via inverse Fourier transform before being used for training.
- The approach is compatible with any deep TSF model and requires minimal computational overhead.
- For test-time training, FrAug generates 5 augmented samples for new data and gradually reduces to 1 for older data to adapt to distribution shifts.
Experimental results
Research questions
- RQ1Can frequency domain augmentation preserve the semantic consistency of data-label pairs in time series forecasting, where temporal relationships are critical?
- RQ2Does frequency masking and mixing improve forecasting accuracy compared to time-domain augmentation in low-data regimes?
- RQ3Can FrAug enable models trained on only 1% of the training data to achieve performance comparable to full-data training?
- RQ4How effective is FrAug in mitigating performance degradation under significant distribution shifts in real-world time series?
- RQ5Can FrAug enhance model adaptation during test-time training when new data arrives with shifted distributions?
Key findings
- On four benchmark datasets, models trained with only 1% of the data and FrAug achieved performance within 13% of models trained on the full dataset, compared to a 45% drop without augmentation.
- For the ETTh2 dataset, Autoformer with FrAug achieved 5.4% better performance than the full-data baseline at a forecast length of 96.
- On the Exchange Rate dataset, DLinear with FrAug outperformed the full-data model by 20% at a forecast length of 720, likely due to distribution shifts in the full dataset.
- In test-time training under distribution shifts, FrAug reduced test loss in the 9th data part of the ILI dataset, while the baseline loss continued to rise.
- FrAug consistently improved forecasting accuracy across eight benchmarks using multiple SOTA models, especially in low-data and distribution-shift scenarios.
- The method is effective across diverse time series, including traffic, electricity, and health data, demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.