Time-Series Forecasting: Statistical Models, Global GBDTs, and Temporal AI
Time-series forecasting predicts future sequential observations—electricity grid load, retail SKU demand, cloud CPU utilization, or hospital admissions—ordered strictly along time. Unlike independent tabular rows, temporal sequences exhibit serial autocorrelation, non-stationary trends, nested daily-weekly-annual seasonalities, holiday shocks, and strict causal directionality where future values must never contaminate historical estimation.
Key Highlights
- Classical statistical forecasters (ETS exponential smoothing, SARIMA, Theta) fit each series individually and remain remarkably hard to beat on short, univariate, smoothly seasonal series.
- Global cross-learning models (LightGBM/CatBoost over lag, rolling-window, calendar, and price covariates) dominate multi-SKU retail and operational benchmarks like M5.
- Deep sequential architectures (N-BEATS, PatchTST, Temporal Fusion Transformers) and zero-shot time-series foundation models excel on massive high-frequency sensor panels.
- Rolling-origin (expanding or sliding window) backtesting and calibrated quantile/conformal intervals are mandatory for inventory and capacity decisions.
Local Statistical Models vs Global Cross-Series Machine Learning
George Box and Gwilym Jenkins formalized ARIMA around three components: differencing (I) to render non-stationary trends stationary, autoregressive lags (AR) capturing momentum from prior observations, and moving-average terms (MA) absorbing recent forecast shocks. State-space Exponential Smoothing (ETS) explicitly decomposes level, trend, and seasonal states with exponentially decaying weights.
When forecasting 100,000 retail products simultaneously—many newly launched or intermittently sold—fitting isolated local models misses shared promotional elasticities and holiday effects. Global machine learning stacks all series into one unified panel with lags, rolling means, price discounts, and store attributes, allowing a single gradient-boosted or neural model to transfer seasonal patterns across related items.
| Model Family | Data Regime | Exogenous Covariates (Prices/Weather) | Strengths & Operational Trade-Offs |
|---|---|---|---|
| Seasonal Naive / ETS / SARIMA | 1 to 500 univariate series | Limited (SARIMAX linear terms only) | Fast, transparent, unbeatable baseline when history is short |
| Global GBDT (LightGBM / XGBoost) | Hundreds to millions of related series | First-class nonlinear promotions, stockouts & events | Won M5 forecasting competition; requires detrending for unbounded growth |
| Deep / Foundation (PatchTST, TFT) | Large dense multi-horizon sensor panels | Rich static, historical & known-future covariates | Strong multi-horizon representations; higher GPU & tuning cost |
Rolling-Origin Backtesting, MAPE Pitfalls, and Probabilistic Quantiles
Random k-fold cross-validation is invalid on sequential data because knowing Tuesday and Thursday makes interpolating Wednesday trivial. Engineers evaluate forecasters across multiple rolling cutoff dates spanning distinct seasons, benchmarking every candidate against a Seasonal Naive baseline (predicting next Monday equals last Monday).
Furthermore, point forecasts alone cannot optimize safety stock or grid spinning reserves. Training pinball-loss quantile heads (p10, p50, p90) or wrapping residuals with conformal prediction yields calibrated uncertainty bands without brittle Gaussian assumptions.
- Avoid Mean Absolute Percentage Error (MAPE) whenever actual counts approach zero—division by tiny denominators explodes error asymmetrically; use MASE or WAPE instead.
- Distinguish strictly between known future covariates (public holidays, scheduled price promos) and unknown future covariates (tomorrow’s actual temperature, which must use weather forecasts at inference).
- Apply MinT hierarchical reconciliation when store-level, regional, and national forecasts must sum coherently.
FAQs
Why must every time-series project benchmark against a Seasonal Naive forecast first?
Many noisy financial and demand series behave close to random walks or pure weekly cycles; complex neural models that fail to beat predicting last week’s value (MASE >= 1.0) add engineering cost without genuine predictive skill.
How do you handle intermittent demand series with lots of zero-sales days?
Standard squared-error models underpredict spikes on sparse count series; specialized intermittent methods (Croston’s method, TSB, Poisson/Tweedie loss GBDTs, or negative-binomial probabilistic heads) model demand arrival probability separately from order size.
References & Sources
- Hyndman, Rob J.; Athanasopoulos, George — Forecasting: Principles and Practice (3rd ed.), OTexts.
- Makridakis, Spyros; Spiliotis, Evangelos; Assimakopoulos, Vassilios (2022) — M5 Accuracy Competition: Results, Findings, and Conclusions, International Journal of Forecasting.
- Box, George E. P.; Jenkins, Gwilym M.; Reinsel, Gregory C.; Ljung, Greta M. — Time Series Analysis: Forecasting and Control (5th ed.), Wiley.