[Paper Review] Deep Factors with Gaussian Processes for Forecasting
This paper proposes Deep Factors with Gaussian Processes (DFGP), a scalable global-local model that combines deep learning for shared temporal patterns with local Gaussian Processes to model individual time series uncertainty. By using attention-driven deep factors for global dynamics and GP priors for local fluctuations, DFGP achieves state-of-the-art accuracy and superior uncertainty quantification on large-scale time series forecasting tasks.
A large collection of time series poses significant challenges for classical and neural forecasting approaches. Classical time series models fail to fit data well and to scale to large problems, but succeed at providing uncertainty estimates. The converse is true for deep neural networks. In this paper, we propose a hybrid model that incorporates the benefits of both approaches. Our new method is data-driven and scalable via a latent, global, deep component. It also handles uncertainty through a local classical Gaussian Process model. Our experiments demonstrate that our method obtains higher accuracy than state-of-the-art methods.
Motivation & Objective
- To address the limitations of classical time series models, which scale poorly and lack global pattern extraction, and deep neural networks, which struggle with uncertainty quantification.
- To develop a scalable, data-driven forecasting model that leverages shared global patterns across many time series while preserving individual time series variability.
- To integrate probabilistic Gaussian Process models locally with deep learning globally to enable uncertainty propagation in forecasts.
- To achieve high forecasting accuracy and reliable uncertainty estimates on large collections of time series with limited training data.
Proposed method
- The model decomposes each time series into a global component driven by K latent deep dynamic factors, learned via an RNN (e.g., LSTM) with temporal attention for weighting factor contributions.
- The global factor representation is combined with time-series-specific attention weights to form a fixed-effect component: $ f_{i,t} = w_i^T g_t(x_{i,t}) $.
- Local random effects are modeled as a Gaussian Process $ r_i \sim \text{GP}(0, \mathcal{K}_i(\cdot,\cdot)) $, capturing individual time series deviations and enabling uncertainty propagation.
- The observed value is modeled as $ z_{i,t} \sim p(\cdot|u_{i,t}) $, where $ u_{i,t} = f_{i,t} + r_{i,t} $, with a Gaussian likelihood for efficient marginal likelihood computation.
- Inference is performed via maximum likelihood estimation, with the marginal likelihood computed as $ p(z_i) = \mathcal{N}(f_i, \mathcal{K}_i + \sigma_i^2 \mathbb{I}) $, enabling efficient training.
- The model uses a radial basis function (RBF) kernel for the GP and is implemented in MXNet Gluon with a p3.4xlarge SageMaker instance for training.
Experimental results
Research questions
- RQ1Can a hybrid model combining deep learning and Gaussian processes achieve better forecasting accuracy than state-of-the-art methods on large collections of time series?
- RQ2Can such a model effectively capture uncertainty in forecasts while remaining scalable to large datasets?
- RQ3Does the global-local architecture, with attention-driven deep factors and local GPs, outperform purely deep or purely probabilistic models in both accuracy and uncertainty quantification?
- RQ4How well does the model generalize under cold-start conditions with limited training data?
Key findings
- On the electricity dataset, DFGP achieved a P90QL of 0.061, significantly outperforming DeepAR (0.182) and Prophet (0.103) in uncertainty quantification for a 3-day forecast.
- For the 24-hour forecast on electricity, DFGP reduced P90QL to 0.074, compared to 0.100 (DeepAR) and 0.091 (Prophet), demonstrating superior uncertainty estimation.
- On the traffic dataset, DFGP achieved a P90QL of 0.093 for 3-day forecasts, outperforming DeepAR (0.162) and Prophet (0.207).
- For the 24-hour traffic forecast, DFGP achieved a P90QL of 0.090, compared to 0.149 (DeepAR) and 0.191 (Prophet), showing consistent gains in uncertainty estimation.
- DFGP reduced RMSE to 454.307 on the 24-hour electricity forecast, compared to 783.598 for Prophet and 2100.927 for DeepAR, indicating improved point forecast accuracy.
- With only one week of training data, DFGP achieved strong performance across both datasets, demonstrating robustness to limited data and scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.