Mixture Density Conditional Generative Adversarial Network Models (MD-CGAN)

Jaleh Zand, Stephen Roberts

TL;DR

This paper introduces the Mixture Density Conditional Generative Adversarial Network (MD-CGAN) model, a novel approach for time series forecasting that leverages GANs to predict probabilistic, potentially non-Gaussian, future distributions. The MD-CGAN demonstrates superior robustness to noise and improved forecasting accuracy, especially in financial time series.

What Problem Does This Paper Address?

While Generative Adversarial Networks (GANs) have achieved remarkable success in fields like computer vision, their application to time series modeling, particularly forecasting, has been less explored. Existing GAN-based time series forecasting methods often produce point estimates, which fail to capture the inherent uncertainty in predictions. This lack of probabilistic forecasting limits their utility in domains where understanding predictive uncertainty is crucial. The paper aims to bridge this gap by developing a GAN-based model that can estimate a full probabilistic posterior distribution over future values, going beyond simple point predictions.

Methods

The core innovation of this paper is the Mixture Density Conditional Generative Adversarial Network (MD-CGAN). It builds upon the Conditional GAN (CGAN) framework by modifying the generator's output. Instead of directly outputting a forecast, the generator in MD-CGAN is designed as a Mixture Density Network (MDN). This MDN outputs the parameters (mixing coefficients, means, and standard deviations) of a Gaussian Mixture Model (GMM). This allows the model to represent a more complex, potentially multi-modal and non-Gaussian, posterior distribution over the forecast.

The training process involves an adversarial setup:

  • Generator (G): Learns to predict the parameters of the GMM for the future time series values, conditioned on past observations and a noise vector.
  • Discriminator (D): Tries to distinguish between real historical data and the "fake" data generated by G.

The loss functions are adapted to accommodate the probabilistic output of the generator. The paper also details the specific neural network architecture used for both the generator and discriminator, emphasizing a consistent structure across different models for fair comparison.

Datasets

The authors evaluated their MD-CGAN model on a variety of datasets:

  • Synthetic Datasets:
    • Mackey-Glass chaotic time series
    • Sunspot dataset
  • Financial Time Series:
    • U.S. initial jobless claims (USIJC)
    • EURUSD foreign exchange daily rates (EURUSD FX rate)
    • WTI crude oil spot prices (WTI)
    • Henry Hub Natural Gas spot prices (Nat Gas)
    • CBOE Volatility Index (VIX)
    • New York Harbor No. 2 Heating Oil Spot Price (Heating Oil)
    • Invesco DB U.S. Dollar Index Bullish Fund (USD Index)
    • iShares MSCI Brazil Small-Cap ETF (EM ETF)
  • Other Time Series:
    • Number of daily births in Quebec (DBQ)
    • Minimum daily temperatures in Caribou, Maine, USA (MDT)

The datasets were split into training (2000 samples) and out-of-sample test sets (400 samples). A fixed lookback window of k=5 data points was used as input for all models to ensure comparability.

Key Insights and Ideas

  • Probabilistic Forecasting with GANs: The paper successfully demonstrates that GANs can be extended to produce probabilistic forecasts, moving beyond simple point estimates. This is a significant step for applying GANs to time series where uncertainty quantification is paramount.
  • Robustness to Noise: MD-CGAN exhibits remarkable resilience to additive noise in the test data. This is attributed to the adversarial nature of GANs, which are inherently designed to be robust to perturbations, treating them as potential adversarial attacks.
  • Non-Gaussian Posteriors: By using a Gaussian Mixture Model, MD-CGAN can capture complex, non-Gaussian posterior distributions, which are often more realistic for financial and other real-world time series than simple Gaussian assumptions.
  • Financial Time Series Suitability: The model's performance on financial datasets, especially over longer horizons and in the presence of noise, suggests it's particularly well-suited for this domain, which is known for its stochasticity.

Key Results

  • Noise Resilience: In experiments with increasing levels of added noise (5% to 30%), MD-CGAN consistently outperformed benchmark models like AR(5), SNN, CGAN, and MDN, particularly on the Mackey-Glass and Sunspot datasets. For instance, on the Mackey-Glass dataset with 30% noise, MD-CGAN achieved a significantly lower MSE compared to other methods.
  • Longer-Horizon Forecasting: For ten-week forecasts on various financial time series, MD-CGAN delivered the lowest MSE ratios relative to the martingale (AR(0)) baseline across most datasets, indicating strong performance in capturing longer-term dynamics.
  • Multi-Modal Posterior Benefits: While the primary experiments used a single mixture component (m=1), preliminary results for m > 1 showed performance improvements for some datasets, suggesting the potential of richer, multi-modal posterior distributions.

Limitations and Future Work

  • Fixed Lookback Window and Architecture: The paper acknowledges that the lookback window (k=5) and the neural network architecture were kept fixed for all models and datasets to ensure fair comparison. Optimizing these hyperparameters for specific datasets is suggested as a future research direction.
  • Inferring Mixture Components: The paper notes that inferring the optimal number of mixture components (m) for the GMM is not addressed but suggests using cross-validation as a potential method.
  • Bayesian Inference Extensions: The authors mention that further extensions involving more extensive Bayesian inference could be explored for richer posterior estimation.
  • Optimized Adversarial Attacks: While the current "adversarial" perturbations are due to inherent data noise, assessing the model's performance against carefully crafted adversarial attacks is proposed as an interesting avenue for future research, especially relevant for finance.

Summary updated

BibTeX
@inproceedings{zand2021mixture,
  author = {Jaleh Zand and Stephen Roberts},
  title = {{Mixture Density Conditional Generative Adversarial Network Models (MD-CGAN)}},
  booktitle = {Signals},
  year = {2021},
  doi = {10.3390/signals2030034},
}
Figure