Learning Augmentation Policies from A Model Zoo for Time Series Forecasting

Haochen Yuan, Xuelin Li, Yunbo Wang, Xiaokang Yang · Submission to ICLR 2025 · Withdrawn

TL;DR

AutoTSAug is a reinforcement learning-driven data augmentation framework that uses a pretrained "model zoo" to identify which time series samples are most valuable to augment. By training a Variational Masked Autoencoder (V-MAE) via the REINFORCE algorithm to minimize model prediction variance on these critical samples, AutoTSAug generates targeted, high-value training data that consistently improves forecasting accuracy across diverse model architectures.

What Problem Does This Paper Address?

Deep learning models for long-term time series forecasting (such as PatchTST and iTransformer) often suffer from limited training data and non-stationary distribution shifts. Traditional data augmentation techniques usually apply fixed heuristic transformations—such as random jitter, Gaussian noise, or slicing—uniformly across the entire dataset.

This uniform approach has two critical drawbacks:

  1. It wastes compute by generating redundant variations of simple, well-learned patterns.
  2. It introduces destructive noise by augmenting extreme outliers or noisy samples that models already struggle to interpret.

The authors ask: Can we systematically identify which specific training samples offer the highest learning payoff, and learn a policy to augment them in a way that directly aids model stability?

Methods

AutoTSAug breaks data augmentation into three distinct stages:

[Pretrained Model Zoo] 
         │ (Evaluate prediction error variance)
         ▼
[Identify Marginal Samples] ──► [Variational Masked Autoencoder] ──► [REINFORCE Fine-Tuning] ──► [Train Downstream Forecaster]
  1. Identifying "Marginal" Samples via a Model Zoo:
    The authors pretrain a diverse zoo of standard forecasters (iTransformer, PatchTST, vanilla Transformer, and LTSF-Linear) and evaluate their prediction errors across the training set. Samples are categorized based on model disagreement:

  2. Easy samples: All models perform well (low error variance; redundant to augment).

  3. Hard samples: All models perform poorly (low variance, high error; likely noise or severe outliers).
  4. Marginal samples: Models strongly disagree (high error variance; unstable training dynamics). The top 50% highest-variance samples are selected as anchor points for augmentation.
  5. Stage A – Generative Initialization (V-MAE):
    A Variational Masked Autoencoder (V-MAE) built using inverted Transformer layers is trained on randomly masked versions of these marginal samples. It optimizes a standard reconstruction loss combined with a Kullback–Leibler (KL) divergence penalty.

  6. Stage B – Policy Optimization via REINFORCE:
    Because the model zoo's prediction error variance is non-differentiable, the authors treat the V-MAE prior network as an RL policy network. The reward function balances two objectives:

  7. Data fidelity: Keeping the generated sequence close to the anchor marginal sample (measured via low reconstruction error).

  8. Cross-model consistency: Minimizing the prediction error variance across the model zoo when backtested on the generated sequence.
  9. Stage C – Downstream Forecasting:
    The downstream model is trained on a composite dataset consisting of original data and the newly generated samples (tripling the representation of marginal samples).

Datasets

The authors evaluated AutoTSAug on standard multivariate forecasting benchmarks:

  • ETT (Electricity Transformer Temperature): Four subsets (ETTh1, ETTh2, ETTm1, ETTm2) covering hourly and 15-minute intervals.
  • Weather: 21 meteorological indicators recorded every 10 minutes.
  • Electricity (ECL): Hourly electricity consumption across 321 clients.
  • Traffic: Road occupancy rates recorded across 862 freeway sensors in the San Francisco Bay Area.

No new datasets were introduced; all splits followed chronological train/validation/test partitions standard in recent literature.

Key Insights and Ideas

  • Variance as an Informational Signal: Training exclusively on low-variance samples actually outperforms training on high-variance samples—sometimes even matching full-dataset performance. High-variance ("marginal") data destabilizes training unless specifically reinforced.
  • Augmentation with Intent: Rather than generating realistic data at random, augmentation should actively smooth out the regions of the data manifold where models currently disagree.
  • Augmenting Everything Hurts: Indiscriminately augmenting all training samples degraded downstream accuracy compared to focusing strictly on the top 30%–50% marginal samples.

Key Results

  • Consistently Beats Heuristics: On iTransformer, random Gaussian noise augmentation frequently increased test errors. In contrast, AutoTSAug lowered both MAE and MSE across all benchmarks (e.g., on Weather, dropping MAE from 0.219 to 0.207 and MSE from 0.178 to 0.170).
  • Zoo-Wide Generalization: AutoTSAug is not overfitted to a single architecture. When applying the augmented dataset to all zoo members, every model saw performance gains—improving the vanilla Transformer on Weather by 20.69% in MAE and 24.21% in MSE.
  • Data-Efficient / Few-Shot Regimes: When restricted to only 25% of the original training data, models retrained with AutoTSAug recovered most of the performance lost due to missing data.
  • Low Overhead: On an NVIDIA RTX 3090, Stage A and Stage B training took roughly 6 minutes combined for ETTh1, significantly less than the 9–14 minutes required to train the downstream forecasting model itself.

Limitations and Future Work

  • Dependence on Model Zoo Quality: The selection of marginal samples relies on the assumption that the model zoo is diverse and reasonably competent. Incompetent or degenerate models in the zoo could corrupt the variance metric and degrade policy guidance.
  • Foundation Models: Current experiments utilized relatively lightweight architectures (Transformers, linear baselines). The authors identify incorporating modern large foundation models for time series into the model zoo as an open research direction.

Summary updated

BibTeX
@misc{yuan2024learning,
  author = {Haochen Yuan and Xuelin Li and Yunbo Wang and Xiaokang Yang},
  title = {{Learning Augmentation Policies from A Model Zoo for Time Series Forecasting}},
  year = {2024},
  eprint = {2409.06282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.06282},
}
Figure