Meta-Learning Framework with Applications to Zero-Shot Time-Series Forecasting

Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua Bengio

Introduction

Deep learning (DL) has transformed many domains, yet time-series (TS) forecasting often struggles with the "cold start" problem. Traditional DL models typically require extensive, domain-specific datasets for training. In contrast, classical statistical models like ARIMA or ETS are inherently "zero-shot"—they estimate parameters on a single series—but lack the expressive capacity of neural networks. This paper explores whether a general "logic of forecasting" can be learned to enable zero-shot forecasting, where a model trained on one domain (e.g., economic data) generalizes to entirely different fields (e.g., electricity demand) without retraining.

Meta-Learning Framework

The authors propose a meta-learning framework consisting of an inner loop for task-specific adaptation and an outer loop for learning a general forecasting strategy across diverse tasks. They demonstrate that the N-BEATS architecture, a pure-DL forecasting model, inherently functions as a meta-learner. Its "doubly residual" structure allows for on-the-fly task adaptation.

Theoretical analysis via first-order Taylor expansion reveals that each residual block in N-BEATS acts as a sequential update to the model's final linear layer. By using the input history of a new time series, the model "re-weights" its internal logic without requiring gradient descent at inference time. In the zero-shot regime, the model is trained on a source dataset and deployed directly on a target dataset, with only simple scale normalization applied.

Experimental Evaluation

The study utilizes several benchmarks: M4 (100k series), M3 (3k series), Tourism indicators, and high-frequency Electricity and Traffic data. Additionally, the authors introduce the FRED dataset, containing 290,000 economic time series from the Federal Reserve Bank of St. Louis.

Key Results

The zero-shot performance of N-BEATS is remarkable. When trained on M4 and applied to M3, it outperformed the original M3 competition winner (the Theta model). Furthermore, N-BEATS-M4 (zero-shot) surpassed DeepAR on the Tourism and M3 datasets, even when DeepAR was trained specifically on those target datasets.

Performance of N-BEATS and other models across various datasets in zero-shot and domain-specific settings.

Models trained on the massive FRED dataset demonstrated excellent generalization, suggesting that large-scale, diverse data can serve as a foundation for general-purpose forecasting engines. This approach effectively solves the cold start problem, providing high-quality forecasts immediately upon data collection.

Architectural Insights

A critical finding is that the iterative process of the residual architecture, rather than just parameter count, drives meta-learning. Performance improved as the number of blocks increased, even when those blocks shared the same weights, confirming that the depth of the residual stack facilitates adaptation.

Effect of the number of blocks and weight sharing on forecasting performance (sMAPE and MAPE).

This suggests that residual connections in forecasting serve as a feedback loop, allowing the model to iteratively refine predictions based on errors made on the input history.

Limitations and Future Directions

Despite its success, the model's reliance on scale normalization makes it sensitive to extreme outliers. Additionally, this work focuses on univariate forecasting; extending zero-shot meta-learning to multivariate settings remains a significant challenge. Future research should also investigate the optimal configuration of the "backcast" operator to better sanitize input data during the adaptation phase.

Summary updated

BibTeX
@inproceedings{oreshkin2021meta,
  author = {Boris N. Oreshkin and Dmitri Carpov and Nicolas Chapados and Yoshua Bengio},
  title = {{Meta-Learning Framework with Applications to Zero-Shot Time-Series Forecasting}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i10.17115},
}
Figure