TMAML: Temporal Model-Agnostic Meta-Learning for Cold-Start Time Series Forecasting
Organizations: Ghent University, Research Group Data Analytics, Ghent, Belgium
Abstract
Cold-start forecasting, the task of forecasting a time series with little to no historical data, is a common challenge. Addressing it requires approaches that learn quickly from few datapoints and leverage information from related series, typically through static covariates, to generalize well to unseen series. While some global forecasting models can generate cold-start predictions by leveraging information shared across multiple series, they are not optimized for out-of-train-set generalization or adaptation from short histories. In this work, we formulate cold-start forecasting as a few-window learning problem and introduce Temporal Model-Agnostic Meta-Learning (TMAML), which tailors the model-agnostic meta-learning algorithm, originally developed for few-shot adaptation of neural networks, to deep time series forecasting. TMAML constructs meta-tasks as temporally consistent support-query windows and pairs them with a temporal meta-training and meta-testing procedure, yielding forecasting models that are explicitly optimized for cold-start forecasting. We instantiate TMAML on the Temporal Fusion Transformer (TFT) and present an initial empirical analysis of forecast accuracy and calibration across three cold-start scenarios: TMAML consistently outperforms or matches a standard ERM-trained TFT, yields better-calibrated forecasts than naive on two of the three scenarios, but does not consistently outperform naive on probabilistic forecast accuracy.
Figures & tables
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Favorita | M5 | Electricity | |
|---|---|---|---|
| Freq. | Daily | Daily | Hourly |
| 28 | 28 | 24 | |
| Max | 3 | 3 | 7 |
| Max | 84 | 84 | 168 |
| Train Series | 50 | 50 | 20 |
| Validation Series | 500 | 500 | 85 |
| Favorita | M5 | Electricity | |
|---|---|---|---|
| Meta-train | 2015-01-02–2015-11-03 | 2011-01-30–2016-02-01 | 2014-01-01–2014-08-07 |
| Meta-val | 2015-09-09–2015-12-29 | 2015-12-08–2016-03-28 | 2014-08-01–2014-08-08 |
| Meta-test | 2015-10-07–2016-01-26 | 2016-01-05–2016-04-25 | 2014-08-02–2014-08-09 |
| Favorita | M5 | Electricity | |
|---|---|---|---|
| Known inputs | day of month, month, store open flag, on promotion flag, day of week, national, regional, and local holidays | month, year, sell price, weekday, SNAP flag, event name and type | hour, day of week, hours from start |
| Observed inputs | transactions, oil price | — | — |
| Static covariates | series ID, family, perishable flag, class | series ID, department, category | series ID |
| Target (transform) | sales ( , floored at ) | sales ( ) | power usage ( ) |
| Favorita | M5 | Electricity | |
| Architecture | |||
| Hidden size | 240 | 240 | 160 |
| Attention heads | 4 | 4 | 4 |
| Dropout | 0.1 | 0.1 | 0.1 |
| Quantile levels | 0.1–0.9 (step 0.1) | ||
| ERM | |||
Time Series Forecasting
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
See all 861 papers