Time Series Data Augmentation for Deep Learning: A Survey

Qingsong Wen, Liang Sun, Fan Yang, Xiaomin Song, Jingkun Gao, Xue Wang, Huan Xu

Abstract

Deep learning performs remarkably well on many time series analysis tasks recently. The superior performance of deep neural networks relies heavily on a large number of training data to avoid overfitting. However, the labeled data of many real-world time series applications may be limited such as classification in medical time series and anomaly detection in AIOps. As an effective way to enhance the size and quality of the training data, data augmentation is crucial to the successful application of deep learning models on time series data. In this paper, we systematically review different data augmentation methods for time series. We propose a taxonomy for the reviewed methods, and then provide a structured review for these methods by highlighting their strengths and limitations. We also empirically compare different data augmentation methods for different tasks including time series classification, anomaly detection, and forecasting. Finally, we discuss and highlight five future directions to provide useful research guidance.

Introduction

Deep learning models are notoriously data-hungry, yet many real-world time series applications—such as medical diagnostics or anomaly detection in IT operations (AIOps)—suffer from limited labeled data. While data augmentation is a staple in computer vision (e.g., flipping or rotating images), time series data presents unique challenges. Naive transformations can easily destroy the "temporal dependency" or the underlying physical meaning of a signal.

Furthermore, time series data can be represented in multiple domains (time, frequency, and time-frequency), each offering different opportunities for augmentation. This survey provides a comprehensive taxonomy of data augmentation techniques tailored specifically for time series, moving beyond simple noise injection to advanced generative and automated methods.

A Taxonomy of Augmentation Methods

The survey categorizes augmentation techniques into two main branches: Basic and Advanced approaches. Basic approaches focus on direct manipulations within specific domains, while advanced approaches leverage complex modeling and learning strategies.

A hierarchical taxonomy of time series data augmentation methods.

1. Basic Approaches

  • Time Domain: Includes traditional methods like window cropping/slicing, jittering (noise injection), and flipping. A more sophisticated method is Window Warping, which uses techniques similar to Dynamic Time Warping (DTW) to compress or extend time ranges.
  • Frequency Domain: This involves perturbing the amplitude and phase spectra after a Fourier Transform. A key method is Amplitude and Phase Perturbation (APP).
  • Time-Frequency Domain: Utilizing Short-Time Fourier Transforms (STFT), methods like SpecAugment mask blocks of frequency channels or time steps to improve model robustness.

2. Advanced Approaches

  • Decomposition-based: Uses Seasonal-Trend decomposition (STL) to break a signal into trend, seasonality, and residuals. Augmentation is then performed on the residuals (e.g., via bootstrapping) before recombining.
  • Statistical Generative Models: Employs models like Mixture Autoregressive (MAR) to simulate new series that mimic the diversity of the original data.
  • Learning-based:
    • Embedding Space: Interpolating between samples in a learned latent space.
  • Deep Generative Models (DGMs): Using GANs (like TimeGAN or RCGAN) to generate synthetic but realistic sequences.
  • Automated Data Augmentation: Using reinforcement learning or evolutionary search (e.g., AutoAugment) to automatically find the optimal combination of augmentation policies for a specific dataset.

Visualizing Transformations

Most practitioners stick to the time domain, but frequency-domain perturbations can be more robust because they preserve the global "shape" of the data while introducing necessary variance. Decomposition is another "power tool"; by separating a signal into trend and seasonality, researchers can apply different augmentation strategies to each component, such as keeping the trend stable while adding noise only to the residual part.

Visual comparison of various time-domain and frequency-domain augmentation techniques.

Empirical Evaluation and Results

The authors evaluate these methods across several benchmarks including classification (Alibaba Cloud monitoring), anomaly detection (Yahoo! dataset), and forecasting (Electricity, Traffic, and M4 Competition datasets).

  • Classification: Adding augmentation (cropping, warping, flipping) improved accuracy by up to 1.92% when the test data contained "step-like" outliers.
  • Anomaly Detection: Using a U-Net model on decomposed and augmented data (U-Net-DeWA) increased the F1 score significantly from 0.403 (raw data) to 0.693.
  • Forecasting: On the M4-weekly dataset, data augmentation led to a massive 76% relative improvement in Mean Absolute Scaled Error (MASE) for the DeepAR model.

However, results can be inconsistent across different model/dataset pairs, highlighting the need for automated selection. Augmentation is not one-size-fits-all; a transformation that helps a classifier (like flipping a signal) might be disastrous for a forecasting model if the direction of the trend is critical.

Future Directions

While the field is advancing, several challenges remain:

  1. Selection Complexity: There is no "silver bullet" augmentation. Automated Data Augmentation is promising but currently computationally expensive.
  2. Imbalanced Classes: More sophisticated, task-aware weighting and generative methods are needed to handle extreme class imbalance.
  3. Beyond GANs: Normalizing Flows (NFs) and Variational Autoencoders (VAEs) are exciting, under-explored avenues for time series synthesis.
  4. Advanced Transforms: Wavelets, like the Discrete Wavelet Transform (DWT), could offer better resolution than STFT for non-stationary signals.

Summary updated

BibTeX
@inproceedings{wen2021time,
  author = {Qingsong Wen and Liang Sun and Fan Yang and Xiaomin Song and Jingkun Gao and Xue Wang and Huan Xu},
  title = {{Time Series Data Augmentation for Deep Learning: A Survey}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=SFNwkpSz1i},
}
Figure