OATS: Online Data Augmentation for Time Series Foundation Models
Junwei Deng, Chang Xu, Jiaqi W. Ma, Ming Jin, Chenghao Liu, Jiang Bian
TL;DR
This work tackles the challenge of high-quality data for Time Series Foundation Models (TSFMs) by proposing Online Data Augmentation for Time Series Foundation Models (OATS), a principled, step-aware augmentation framework. OATS uses Time-Series Influence Scores (TSIS) to quantify the value of training samples via data attribution with respect to a small reference set, and then conditions a diffusion-based generator on high-quality guiding signals to synthesize realistic time series data. An explore–exploit mechanism selectively recalculates TSIS to balance augmentation benefit with computational cost, utilizing cached signals to sample high-quality data efficiently. Empirical results across six validation datasets and two TSFM architectures show that OATS consistently improves performance (NLL and MAPE) over static augmentation baselines and regular training, with notable gains on several datasets and robustness to explore–exploit settings. Overall, OATS establishes a practical, scalable approach to dynamically optimize TSFM training data through principled influence assessment and diffusion-based synthesis, enhancing cross-domain generalization and robustness in time-series forecasting tasks.
Abstract
Time Series Foundation Models (TSFMs) are a powerful paradigm for time series analysis and are often enhanced by synthetic data augmentation to improve the training data quality. Existing augmentation methods, however, typically rely on heuristics and static paradigms. Motivated by dynamic data optimization, which shows that the contribution of samples varies across training stages, we propose OATS (Online Data Augmentation for Time Series Foundation Models), a principled strategy that generates synthetic data tailored to different training steps. OATS leverages valuable training samples as principled guiding signals and dynamically generates high-quality synthetic data conditioned on them. We further design a diffusion-based framework to produce realistic time series and introduce an explore-exploit mechanism to balance efficiency and effectiveness. Experiments on TSFMs demonstrate that OATS consistently outperforms regular training and yields substantial performance gains over static data augmentation baselines across six validation datasets and two TSFM architectures. The code is available at the link https://github.com/microsoft/TimeCraft.
