TL;DR
This paper introduces ForGAN, a novel probabilistic forecasting method using generative adversarial networks to better capture real-world data fluctuations in time series predictions.
Contribution
The paper presents ForGAN, a new approach that leverages GANs for probabilistic time series forecasting, overcoming limitations of traditional regression and probabilistic methods.
Findings
ForGAN effectively models data distributions for forecasting.
Demonstrates superior performance on Mackey-Glass and Internet traffic datasets.
Provides a new dataset for benchmarking probabilistic forecasting methods.
Abstract
Time series forecasting is one of the challenging problems for humankind. Traditional forecasting methods using mean regression models have severe shortcomings in reflecting real-world fluctuations. While new probabilistic methods rush to rescue, they fight with technical difficulties like quantile crossing or selecting a prior distribution. To meld the different strengths of these fields while avoiding their weaknesses as well as to push the boundary of the state-of-the-art, we introduce ForGAN - one step ahead probabilistic forecasting with generative adversarial networks. ForGAN utilizes the power of the conditional generative adversarial network to learn the data generating distribution and compute probabilistic forecasts from it. We argue how to evaluate ForGAN in opposition to regression methods. To investigate probabilistic forecasting of ForGAN, we create a new dataset and…
| Index | Relative Occurrence | |
|---|---|---|
| 0 | 1.0001 | 5.5 % |
| 1 | 1.000001 | 22 % |
| 2 | 1.00000001 | 42 % |
| 3 | 1.0000000001 | 24 % |
| 4 | 1.000000000001 | 6.5 % |
| Hyperparameters | Abbreviation | Values |
|---|---|---|
| The type of cells | T | GRU, LSTM |
| The number of cells in generator | RG | 1, 2, 4, 8, 16, 32, 64, 128, 256 |
| The number of cells in discriminator | RD | 1, 2, 4, 8, 16, 32, 64, 128, 256 |
| The size of noise vector | N | 1, 2, 4, 8, 16, 32 |
| The size of look-back window ( Condition ) | C | 1, 2, 4, 8, 16, 32, 64, 128, 256 |
| Number of training iteration for discriminator | 1, 2, 3, 4, 5, 6, 7 |
| Lorenz | Mackey-Glass | Internet Traffic Data | ||
|---|---|---|---|---|
| Experiment | Experiment | Experiment | ||
| T | GRU | LSTM | GRU | |
| RG | 8 | 64 | 8 | |
| Hyperparameters | RD | 64 | 256 | 128 |
| N | 32 | 4 | 16 | |
| C | 24 | 32 | 32 | |
| 2 | 6 | 3 | ||
| state-of-the-art | G-regression | ForGAN [Our Method] | ||
|---|---|---|---|---|
| RMSE | - | |||
| Lorenz | MAE | - | ||
| dataset | MAPE | - | ||
| KLD | - | Nan | ||
| RMSE | ||||
| Mackey-Glass | MAE | - | ||
| dataset | MAPE | - | ||
| KLD | - | |||
| RMSE | - | |||
| Internet traffic | MAE | - | ||
| dataset (A5M) | MAPE | |||
| KLD | - | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsDogecoin Customer Service Number +1-833-534-1729
\corresp
Corresponding author: Alireza Koochali (e-mail: akoochal@ rhrk.uni-kl.de).
Probabilistic Forecasting of Sensory Data with Generative Adversarial Networks – ForGAN
ALIREZA KOOCHALI1,2, PETER SCHICHTEL2, SHERAZ AHMED3, AND ANDREAS DENGEL1,3
Department of Computer Science, University of Kaiserslautern, 67663 Germany
Ingenieurgesellschaft Auto und Verkehr (IAV), Kaiserslautern, 67663 Germany
German Research Center for Artificial Intelligence (DFKI), Kaiserslautern, 67663 Germany
Abstract
Time series forecasting is one of the challenging problems for humankind. Traditional forecasting methods using mean regression models have severe shortcomings in reflecting real-world fluctuations. While new probabilistic methods rush to rescue, they fight with technical difficulties like quantile crossing or selecting a prior distribution. To meld the different strengths of these fields while avoiding their weaknesses as well as to push the boundary of the state-of-the-art, we introduce ForGAN – one step ahead probabilistic forecasting with generative adversarial networks. ForGAN utilizes the power of the conditional generative adversarial network to learn the data generating distribution and compute probabilistic forecasts from it. We argue how to evaluate ForGAN in opposition to regression methods. To investigate probabilistic forecasting of ForGAN, we create a new dataset and demonstrate our method abilities on it. This dataset will be made publicly available for comparison. Furthermore, we test ForGAN on two publicly available datasets, namely Mackey-Glass dataset [1] and Internet traffic dataset (A5M) [2] where the impressive performance of ForGAN demonstrate its high capability in forecasting future values.
Index Terms:
Time-series, Generative Adversarial Networks, Forecasting, Probabilistic, Prediction
\titlepgskip
=-15pt
I Introduction
At its core, life is about decision making. Decision making always depends on our perspective of the future. Therefore, the forecast of what might lay before us is one of the most intriguing challenges for humankind. It is no surprise that there is a huge and diverse community concerned with forecasting and decision making. To name, but a few, there is weather and climate prediction [3, 4], flood risk assessment [5], seismic hazard prediction [6, 7], predictions about the availability of (renewable) energy resources [8, 9], economic and financial risk management [10, 11], health care [12, 13, 14], predictive and preventative medicine [15] and many more.
Since the forecast is the prediction of future values, we can take the predictive view of regression to provide a solution to this problem [16]. The ultimate goal of regression analysis is to obtain information about the conditional distribution of a response given a set of explanatory variables [17]. In the context of forecasting, the ultimate goal is obtaining the predictive probability distribution over future quantities or events of interest. In other words, given the time-dependent observable of interest , the goal is to acquire . Unfortunately, the ultimate goal is seldom achieved and most of the methods focus on only one designated quantity of the response distribution, namely the mean. The mean regression models have the advantage of being easy to understand and predict however they often lead to incomplete analyses when more complex relationships are presented and also bears the risk of false conclusions about the significance/importance of covariates [18]. In the following sections, we review mean regression forecast methods briefly and then we provide an overview about scientific endeavors on probabilistic forecasting. Note that in this paper, we call the history of events the condition and we use as the notion for the value of the next step i.e. target value.
I-A Mean Regression Forecast
Mean regression forecasting is concerned with predicting most accurately. There is a broad range of mean regression methods available in literature e.g., statistical methods (like ARMA and ARIMA [19] and their variants), machine learning based methods (like Support Vector Machines (SVM) [20, 21, 22, 23, 24, 25], Evolutionary Algorithms (EA) [26, 24, 25, 27, 28, 29, 30] and Fuzzy Logic Systems (FLS) [31, 32, 33, 29, 30, 34, 35]), and Artificial Neural Network based methods (ANN) [36, 37, 38, 39]. These methods use handcrafted features on the data except ANNs which try to automatically extract those features using an end-to-end pipeline. As these methods forecast the future following the principles of mean regression, all of them inherit the main problem/limitation of these principles, i.e. they do not include the fluctuations around the mean value. Hence, their results can be unreliable and misleading in some cases. Fig. 1a presents an example of the problem inherent in all mean regression based methods. It shows a cluster of time series with identical, but noisy, time window and the future value at (to be found right of the blue dashed line) which can take two distinctive realizations: in of the cases yields one while in of the cases it yields zero111If you like you may imagine this as an experiment on a chaotic system..
To demonstrate the problem, we train a simple neural network to forecast . We present the result in Fig. 1b. It illustrates that the regression model fails to model the data. The best answer we can get from mean regression will converge to , the weighted average of all possible values for . We can observe from Fig. 1b that the values forecasted with mean regression do not have any overlap with ground truth. It indicates mean regression is incapable of predicting any ground truth value precisely and it cannot be improved any further. Note, this does not imply that the mean regression method does not work. The closer the target distribution approximates a Dirac delta distribution, the better and more accurate a mean regression forecast will be. It is upon the researcher to evaluate this constraint carefully.
I-B Probabilistic Forecast
To solve the shortcomings associated with mean regression, recently many researchers presented solutions which are moving from mean regression to probabilistic forecasting. Probabilistic forecasting serves to quantify the variance in a prediction [16]. Different approaches have been proposed to undertake probabilistic forecasting in various fields [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55]. In the twentieth century, Stigler [56] coined the idea of the transition from point estimation to distribution estimation. However, the shift toward applying probabilistic forecasting on real-world problems did not take place until recent years. Two of the most prominent approaches in these fields are conditional quantile regression and conditional expectile regression. Quantile regression is a statistical technique intended to estimate, and conduct inference about, conditional quantile functions [57]. To estimate the regression coefficients from training data, one uses the asymmetric piecewise linear scoring function, which is consistent for the -quantile [58, 57]. Expectile regression works similarly but it is based on the asymmetric piecewise quadratic scoring function [59, 60, 61]. While these methods push regression methods beyond the mean regression, the problem of crossing quantile curves is frequently observed especially when considering a dense set of quantiles or using small dataset [18]. Various methods have been proposed in the literature to overcome this problem [62, 63] but they always require additional efforts and are not always applicable [18]. Furthermore, one can use a collection of point forecasts for a specific quantity or event as an ensemble model for probabilistic forecasting. In this setup, we need some form of statistical post-processing [16]. State-of-the-art techniques for statistical post-processing include the non-homogeneous regression (NR) or ensemble model output statistics (EMOS) technique proposed by Gneiting et al. [41] and the ensemble Bayesian model averaging (BMA) approach developed by Raftery et al. [64]. For an in-depth review of probabilistic forecasting, please refer to [16].
Besides these methods, researchers employ Bayesian probability theory to provide approaches for probabilistic forecasting. Bayesian probability theory offers mathematically grounded tools to reason about model uncertainty, but these usually come with a prohibitive computational cost [65]. This computation complexity stems from marginalising, a computationally intensive integration required by Bayesian models which makes the computation for complex models impossible. To solve this problem, many approximate integration algorithms have been developed, including Markov chain Monte Carlo (MCMC) methods, variational approximations, expectation propagation, and sequential Monte Carlo [66, 67, 68, 69]. However, this method still suffers from a prohibitive computational cost, rapid growth in the number of parameters and time-intensive convergence [65]. Furthermore, the success of Bayesian model heavily relies on selecting a prior distribution. Selecting a suitable prior distribution is a delicate task which requires insight into the data. Recently, Gal et al. [65] use dropout [70] layers for probabilistic machine learning. While dropout is used in many models in deep learning as a way to avoid over-fitting, Gal has shown in his paper that a neural network with arbitrary depth and non-linearities, with dropout applied before every weight layer, is mathematically equivalent to an approximation to the probabilistic deep Gaussian process [71]. For an in-depth review of Bayesian probabilistic machine learning, please refer to [72, 73].
I-C Generative Adversarial Networks
Generative Adversarial Network (GAN) [74] is a new type of neural networks which enables us to learn an unknown probability distribution from samples of the distribution. GAN can learn the probability distribution of a given dataset and generate synthetic data which follows the same distribution. As a result, they are capable of synthesizing artificial data which looks realistic. While GANs were originally proposed to solve the problem of data scarcity, its promising results have drawn a lot of attention in the research community and many interesting derivations, extensions, and applications have been proposed for GANs [75, 76, 77, 78, 79]. Unfortunately, despite their remarkable performance, evaluating and comparing GANs is notoriously hard. Thus, the application of GANs is limited to the domains where the results are intuitively assessable like image generation [75], music generation [80], voice generation [81], and text generation [82].
Diverse approaches have been proposed for probabilistic forecasting. However, each of these methods has limitations which prevent them from becoming canonical approach in the industry. Hence, mean regression methods are widely employed by industry section with their critical shortcomings. As mentioned before, GANs are a powerful method for learning probability distributions. In this paper, we exploit the potentials of GANs to learn full probability distribution of future values without the restrictions of the aforementioned methods. We introduced ForGAN, a conditional GAN [79] for probabilistic forecasting. The main contributions of this paper are as follows:
- •
We propose ForGAN, a novel approach to employ a conditional GAN for forecasting future value. Our method can learn the full conditional probability distribution of future values even in complex situations without facing conventional problems of probabilistic forecasting methods such as quantile crossing or dependency on the chosen prior distribution.
- •
We conduct various experiments to investigate the predictive capabilities of our method and compare it with the state-of-the-art methods as well as a conventional regression neural network model with a similar structure to ForGAN. Our method outperforms its counterparts on various metrics.
- •
We introduce a new dataset for later reference and comparison.
II Related work
Lately, GANs have been applied to various problems in the sequential data domain and achieved remarkable results. In this section, we give a brief overview of studies related to our work.
Most research regarding applying GAN on sequential data is concerned with discrete problems, e.g. text generation task. Since the discrete space of words cannot be differentiated in mathematics, modifying a GAN to work with discrete data is a challenging task. Many papers have been published to address this problem and they have reported remarkable results [83, 84, 82, 85]. However, we are interested in the (quasi) continues regime. Therefore, these techniques are not directly applicable here.
In the continuous regime, we find GANs being utilized to generate auditory data. C-RNN-GAN [80] works on music waveforms as continuous sequential data to generate polyphonic music. This GAN uses Bidirectional LSTM in the structure of the generator and discriminator. Moreover, there are many other studies on auditory data which work on audio spectrograms and consider them as 2D images. For instance, Donahue et al. [86] as well as Michelsanti, Tan et al. [87] employ GAN on audio spectrograms for speech enhancement. Fan et al. [88] propose a GAN for separating the singing voice from background music. Donahue et al. [89] propose a GAN for synthesizing raw-waveform audio and Gao et al. [81] employ GAN for synthesizing of impersonated voices. However, contrary to our work these studies are first not concerned with forecasting and second, the results are intuitive. The latter point is important as analogous to the image domain, music can be judged by listening to it.
Since there is no consensus on a process for evaluating GANs, application of GANs beyond text and auditory data is a very challenging task. We found a few attempts on the application of GANs beyond these data types. Hyland and Esteban [90] propose RGAN and RCGAN to produce realistic real-valued multi-dimensional medical time series. Both of these GANs employ LSTM in their generator and discriminator while RCGAN uses Conditional GAN instead of Vanilla GAN to incorporate a condition in the process of data generation. They also describe novel evaluation methods for GANs, where they generate a synthetic labeled training dataset and train a model using this set. Then, they test this model using real data. They repeat the same process using a real train set and synthetic labeled test set. GAN-AD [91] is proposed to model time-series for anomaly detection in Cyber-Physical Sytems (CPSs). This GAN uses LSTM in both generator and discriminator, too. Zhang et al. [92] propose a conditional GAN for generating synthetic time-series in smart-grids. Unlike previous work, this GAN employs CNN to construct generator and discriminator.
To the best of our knowledge, this is for the first time that a GAN is employed for the forecasting task. Our work is analogous to RCGAN [90], however, we pursue a different goal. As a result, we need to take a different approach to train and evaluate the performance of ForGAN.
III Methodology
III-A Generative Adversarial Network (GAN)
Generative Adversarial Networks (GANs) [74] are a class of algorithms for modeling a probability distribution given a set of samples from the data probability distribution . A GAN consists of two neural networks namely generator and discriminator . These components are trained simultaneously in an adversarial process. First, a noise vector is sampled from a known probability distribution (normally a Gaussian distribution). takes the noise vector as an input and trains to generate a sample whose distribution follows . On the other hand, is optimized to distinguish between generated data and real data. In other words, and play the following two-player minimax game with value function :
[TABLE]
While training the GAN, generator learns to transform a known probability distribution to the generators distribution which resembles .
III-B Conditional GAN (CGAN)
Conditional GAN (CGAN) [79] is an extension of GAN which enables us to condition the model on some extra information . This could be any kind of auxiliary information, such as class labels or data from other modalities. We can perform the conditioning by feeding into both the discriminator and generator as additional input layer. The new value function for this setting is:
[TABLE]
III-C Probabilistic forecasting with CGAN
In this paper we aim to model the probability distribution of one step ahead value given the historical data , i.e. . We employ CGAN to model . Figure 2 presents an overview of ForGAN. The historical data is provided to generator and discriminator as condition. The generator takes the noise vector which is sampled from a Gaussian distribution with mean [math] and standard deviation and forecasts with regard to the condition window . The discriminator takes the and inspects whether it is a valid value to follow or not. Hence, the ForGAN value function is:
[TABLE]
By training this model, the optimal generator models the full probability distribution of for a given condition window. With having the full probability distribution in hand, we can extract information regarding any possible outcome and the probability of their occurrence by sampling.
III-D Architecture
We use one of the members of RNN family as the main component of both generator and discriminator. We select between LSTM or GRU using the procedure described in section IV-C. The generator (Fig. 3LABEL:sub@fig:gen) takes the condition window and passes the condition through an RNN layer to construct its representation. Then, it concatenates the condition representation with the noise vector and passes them through two dense layers which result in the predicted value. The discriminator (Fig. 3LABEL:sub@fig:dis) takes either from the generator or the dataset alongside the corresponding condition window and concatenates at the end of the condition window to obtain . The rest of the network tries to check the validity of this time window. For this purpose, it passes the obtained time window through an LSRM/GRU layer followed by a dense layer to acquire a single value which specifies the validity of the aforementioned time window.
III-E G-regression model
Normally, forecasting models are trained by optimizing a point-wise error metric as loss function however we employ adversarial training to train neural network for forecasting. To study the effectiveness of adversarial training in comparison to conventional training, we construct the G-regression model, a model with identical structure to generator .To follow the conventional way of training neural networks for forecasting, we train this model by optimizing RMSE as the loss function and compare its results with ForGAN.
IV Experiments
To investigate the performance of ForGAN, we test our method with three experiments and later on, if applicable, compare results with the state-of-the-art methods. Let us first introduce the used datasets. Next, we elaborate on common evaluation methods for forecasting task and how we assess ForGAN to produce correct and meaningful results. We then demonstrate how we chose the particular hyperparameters for each dataset. Last but not least we elaborate on the setup of our experiments.
IV-A Datasets
IV-A1 Lorenz Dataset
In the first experiment, we create a complex dataset to inspect the probabilistic forecasting capability of our method. We form a dataset which contains multiple time window clusters. Each cluster consists of similar and complex time windows generated using the Lorenz system. The Lorenz equations describe the atmospheric convection , the horizontal temperature variation , and the vertical temperature as a function of time . Using a dot for temporal derivative the system of coupled differential equations is given by
[TABLE]
where is proportional to the Prandtl number [93], is proportional to the Rayleigh number [94] and is connected to physical dimensions of the atmospheric layer of interest [95]. One of the most interesting features of the Lorenz equations is the emergence of chaotic behavior [96, 95] for certain choices of the parameters , , and . In the following we fix , , and . Furthermore, we fix the initial conditions and . To construct the dataset, first, we select five to serve as the seeds for our clusters and specify the relative occurrence of clusters as presented in Tab. I. Then we generate 100000 data samples with the length of 26 seconds and the resolution of 0.02s using these . The result is presented in Fig. 4LABEL:sub@fig:lorenz_1. We add a Gaussian noise with mean [math] and standard deviation of to create unique time windows while preserving similarity inside each cluster. From Fig. 4LABEL:sub@fig:lorenz_1, we locate the bifurcation region and select the region between 12 and 17 seconds as the condition time window for training. The dataset of condition time windows is plotted in Fig. 4LABEL:sub@fig:lorenz_2. Finally, for the target values , we sample randomly from which forms the probability distributions as they are presented in Fig. 4LABEL:sub@fig:lorenz_3. Fig. 4LABEL:sub@fig:lorenz_4 presents the full probability distribution of the for the entire dataset.
IV-A2 Mackey-Glass Dataset
The time delay differential equation suggested by Mackey and Glass [1] has been used widely as a standard benchmark model to generate chaotic time-series for the forecasting task.
[TABLE]
To make our result comparable with state-of-the-art [97], we set , and . We generate a dataset with length 20000 using Eq.( 2) for our second experiment.
IV-A3 Internet Traffic Dataset
For our last experiment, we apply our method to a real-world problem, forecasting internet traffic. We use a dataset which belongs to a private ISP with centers in eleven European cities (which is commonly known as A5M) [2]. It contains data corresponding to a transatlantic link and was collected in 2005 from 06:57 on 7th of June to 11:17 on 29th of July.
IV-B Evaluation Metrics
Commonly, in forecasting tasks, point-wise error metrics are used. To be able to compare to the state-of-the-art we report RMSE, MAE and MAPE which are related to each other by
[TABLE]
Here is the number of data samples , and are the actual predictions. However, point-wise error metrics are not suitable for assessing distributions similarities. Since ForGAN models the full probability distribution of , we are interested in measuring how accurate we managed to reproduce the data distribution. Therefore, we select the Kullback-Leibler divergence (KLD) [98] to report the performance of our method. KLD measures the divergence between two probability distributions and . Since we have finite data samples and ForGAN by nature samples, we select the discrete version of KLD which is defined as:
[TABLE]
Note, denotes data distribution and indicates prediction probability distribution. Hence, due to the appearance of in the denominator, if predictions distribution does not cover data distribution correctly KLD is not defined. To determine the optimal number of bins for the histogram of distribution, we follow the method suggested in [99] which aims for the optimum between shape information and noise. To evaluate our method and compare our results to the state-of-the-art in one step ahead forecasting, we train ForGAN alongside G-regression and report RMSE, MAE, MAPE, and (if possible) KLD. To compute KLD for ForGAN, we sample forecast of for any condition in the test set. Then, we form ForGAN’s prediction probability distribution for the entire test set and calculate KLD between this distribution and test set data distribution. Therefore, the G-regression model does not output probability distribution. Thus, we use the histogram of G-regression predictions to calculate KLD. To calculate point-wise error metrics for ForGAN, we run it times over the test set and report the mean and the standard deviation of these metrics as the result. With this information, we present a complete and clear image of ForGAN performance. The KLD value shows how accurate our method has learned the data distribution and the point-wise error metrics specifies how well it has considered the condition to forecast . Furthermore, we have the possibility to compare ForGAN with other methods based on various criteria.
IV-C Hyperparameter Tuning
The ForGAN structure has a set of hyperparameters which we tune for each experiment separately. Tab. II provides the list of hyperparameters alongside the allowed values. During training, at each epoch, we train the discriminator several times but our generator is only trained once per epoch. The number of training iterations for discriminator in one epoch is one of the hyperparameters ( in Tab. II).
To tune these hyperparameters, we use a genetic algorithm. Genetic algorithms [100] are a class of methods for optimization task which are inspired by the evolution in nature. These methods provide an alternative to traditional optimization techniques by using directed random searches to locate optimal solutions in complex landscapes [101]. The hyperparameters are encoded in a vector which is called a gene. The algorithm starts with a set of randomly initialized genes to form a gene pool and tries to find the most optimized gene through iterative progress. In each iteration, the genes in the gene pool are evaluated using a fitness function and those with low scores are eliminated. Then, the remaining genes are used to create offsprings. After multiple iterations, the algorithm converges to a gene with the most optimized combination of values. For further detailed information on genetic algorithms, we refer to this comprehensive survey [101].
Our genetic algorithm has a gene pool of size 8 and we run it for 8 iterations. At each iteration, we use 4 of the genes with the best scores to create offsprings. 4 new genes are created using crossover while 4 other genes are created using mutation. Using the values of a gene, we construct a ForGAN and train it on a train set while we monitor KLD on a validation set.
IV-D Setup
For each experiment, the dataset is divided into three subsets. 50% of the dataset is used as the train set, 10% as the validation set and 40% as the test set. We code the ForGAN using TensorFlow [102] and run it on a DGX-1 machine.
V Results and Discussion
In Tab. III we present the set of optimal hyperparameters which are found by the genetic algorithm for each experiment. The numerical results achieved by ForGAN are summarized in Tab. IV alongside the state-of-the-art results on the Mackey-Glass dataset [97] and Internet traffic dataset (A5M) [2]. Furthermore, we report the results obtained from G-regression model.
In the Lorenz experiment, the G-regression method performs better than GAN based on RMSE, MAE and MAPE values. However, we can perceive from Fig. 5 how misleading these metrics can be. Fig. 5 presents the probability distribution learned by ForGAN alongside the histogram of the G-regression predictions and the data distribution for each cluster on the test set as well as the entire test set. These plots indicate that ForGAN learns the probability distribution of the dataset precisely with respect to the corresponding cluster. Contrary, G-regression predictions are completely inaccurate While it obtained better scores on the point-wise metrics in comparison to ForGAN. The G-regression method has converged to the mean value of distribution for each cluster and as a result, the predictions do not represent the ground truth at all. Since the histogram of G-regression predictions does not cover the range of ground truth values, it is not possible to calculate KLD for G-regression method in this experiment.
Furthermore, we expect ForGAN to forecast all possible outcomes for a given time window. To investigate the validity of this assumption, we select two random time windows from the test set and forecast 100 times using ForGAN. Fig. 6 portrays the distribution of sampled alongside the probability distribution of their cluster. We can perceive from this figure that ForGAN can model the full probability distribution of for a given time window condition accurately.
In the Mackey-Glass experiment, ForGAN outperforms both state-of-the-art [97] and G-regression model based on point-wise error metrics as well as KLD. The G-regression model has the same structure as ForGAN and it is optimized directly on RMSE, yet ForGAN performs significantly better than G-regression. We find this observation to be the evidence for the effectiveness of adversarial training for forecasting in comparison to standard training methods.
Finally, in our last experiment on Internet traffic dataset, G-regression method outperforms state-of-the-art and ForGAN based on the MAPE value. On the other hand, ForGAN performs almost two times better than G-regression method based on KLD. Furthermore, the KLD for the state-of-the-art method is not available. Due to inconsistency between point-wise error metrics and divergence measure, selecting the best method with certainty is not possible. However, in the Lorenz experiment, we witness that it is possible to have a mean regression algorithm with a small point-wise error which is completely imprecise in forecasting future values. In any case, the performance of ForGAN on Internet traffic dataset is quite impressive. It outperforms the G-regression based on KLD and it falls behind other methods based on point-wise error metrics only with a narrow margin.
VI Conclusion and Future Work
We present ForGAN, a neural network for one step ahead probabilistic forecasting. Our method is trained using adversarial training to learn the conditional probability distribution of future values.
We test our method with three experiments. In the first experiment, ForGAN demonstrates its high capability of learning probability distributions while taking the input time window into account. In the next two experiments, ForGAN demonstrates impressive performance on two public datasets, showing the effectiveness of adversarial training for forecasting tasks.
We compare ForGAN to G-regression, where the generator architecture is kept, but RMSE loss is optimized. We demonstrate that while G-regression performs better than ForGAN based on some point-wise error metrics, it does not accurately model the real data distribution and ForGAN outperforms G-regression considering distribution divergence measure. Our experiments show that point-wise error metrics are not a precise indicator for the performance of forecasting methods. Furthermore, ForGAN demonstrates its high capability in forecasting full probability distribution of future values which makes it superior to conventional mean regression methods. Adversarial training enables us to train a model for probabilistic forecasting easily without facing any technical problems like quantile crossing nor any dependency on the chosen prior.
Our experiments reveal that in the presence of strong noise, the effectiveness of ForGAN is more prominent as we illustrate in Lorenz experiments. The performance of mean regression methods is close to ForGAN when the noise is weak. Since ForGAN can model data distributions with any level of noise, it is more reliable and a robust choice for forecasting in comparison to mean regression methods.
For future reference and comparison, we introduce the Lorenz dataset for probabilistic forecasting. It is based on a chaotic differential equation. The Lorenz dataset can be downloaded from https://cloud.dfki.de/owncloud/index.php/s/KGJm5iNKrCnAwEg .
VI-A Future Work
With the promising results from ForGAN, there are many possibilities to pursue this line of research further. One possible direction is to investigate the capability of ForGAN to forecast multiple-step ahead values. It would be interesting to find out how far we can push the horizon with ForGAN and compare to the state-of-the-art in multi-step prediction. Another direction is improving the architecture of ForGAN. In this paper, we limit the ForGAN structure to one layer of LSTM/GRU in generator and discriminator however one can study the performance of ForGAN with different architectures e.g. CNNs or different loss functions like Wasserstein [76]. As in other works of studying GAN, we found some issues in evaluating and comparing the methods. Hence, further research in that direction would be beneficial, too.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. C. Mackey and L. Glass, “Oscillation and chaos in physiological control systems,” Science , vol. 197, no. 4300, pp. 287–289, 1977.
- 2[2] P. Cortez, M. Rio, M. Rocha, and P. Sousa, “Multi-scale internet traffic forecasting using neural networks and time series methods,” Expert Systems , vol. 29, no. 2, pp. 143–155, 2012.
- 3[3] E. Racah, C. Beckham, T. Maharaj, S. E. Kahou, M. Prabhat, and C. Pal, “Extremeweather: A large-scale climate dataset for semi-supervised detection, localization, and understanding of extreme weather events,” in Advances in Neural Information Processing Systems , 2017, pp. 3402–3413.
- 4[4] E. R. Rodrigues, I. Oliveira, R. Cunha, and M. Netto, “Deepdownscale: a deep learning strategy for high-resolution weather forecast,” in 2018 IEEE 14th International Conference on e-Science (e-Science) . IEEE, 2018, pp. 415–422.
- 5[5] A. Wiesel, A. Hassidim, G. Elidan, G. Shalev, M. Schlesinger, O. Zlydenko, R. El-Yaniv, S. Nevo, Y. Matias, Y. Gigi et al. , “Ml for flood forecasting at scale,” 2018.
- 6[6] S. M. Mousavi, W. Zhu, Y. Sheng, and G. C. Beroza, “CRED: A deep residual network of convolutional and recurrent units for earthquake signal detection,” Co RR , vol. abs/1810.01965, 2018. [Online]. Available: http://arxiv.org/abs/1810.01965
- 7[7] Z. E. Ross, Y. Yue, M. Meier, E. Hauksson, and T. H. Heaton, “Phaselink: A deep learning approach to seismic phase association,” Co RR , vol. abs/1809.02880, 2018. [Online]. Available: http://arxiv.org/abs/1809.02880
- 8[8] A. Gensler and B. Sick, “A multi-scheme ensemble using coopetitive soft-gating with application to power forecasting for renewable energy generation,” ar Xiv preprint ar Xiv:1803.06344 , 2018.
