Visual time series forecasting: an image-driven approach

Time series forecasting is essential for agents to make decisions. Traditional approaches rely on statistical methods to forecast given past numeric values. In practice, end-users often rely on visualizations such as charts and plots to reason about their forecasts. Inspired by practitioners, we re-imagine the topic by creating a novel framework to produce visual forecasts, similar to the way humans intuitively do. In this work, we leverage advances in deep learning to extend the field of time series forecasting to a visual setting. We capture input data as an image and train a model to produce the subsequent image. This approach results in predicting distributions as opposed to pointwise values. We examine various synthetic and real datasets with diverse degrees of complexity. Our experiments show that visual forecasting is effective for cyclic data but somewhat less for irregular data such as stock price. Importantly, when using image-based evaluation metrics, we find the proposed visual forecasting method to outperform various numerical baselines, including ARIMA and a numerical variation of our method. We demonstrate the benefits of incorporating vision-based approaches in forecasting tasks – both for the quality of the forecasts produced, as well as the metrics that can be used to evaluate them.

[1]  Touradj Ebrahimi,et al.  Learning-Based Image Compression using Convolutional Autoencoder and Wavelet Decomposition , 2019, CVPR Workshops.

[2]  L. Pedersen Efficiently Inefficient: How Smart Money Invests and Market Prices Are Determined , 2015 .

[3]  Juan Pardo,et al.  Stacked Denoising Auto-Encoders for Short-Term Time Series Forecasting , 2015 .

[4]  Ferenc Huszar,et al.  How (not) to Train your Generative Model: Scheduled Sampling, Likelihood, Adversary? , 2015, ArXiv.

[5]  Luc Van Gool,et al.  The Pascal Visual Object Classes (VOC) Challenge , 2010, International Journal of Computer Vision.

[6]  Ming-Hsuan Yang,et al.  Generative Face Completion , 2017, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[7]  W. Briggs Statistical Methods in the Atmospheric Sciences , 2007 .

[8]  Manuela Veloso,et al.  The Effect of Visual Design in Image Classification , 2019, ArXiv.

[9]  Yoshua Bengio,et al.  What regularized auto-encoders learn from the data-generating distribution , 2012, J. Mach. Learn. Res..

[10]  P. Barucca,et al.  Image Processing Tools for Financial Time Series Classification , 2020, 2008.06042.

[11]  Natalia Gimelshein,et al.  PyTorch: An Imperative Style, High-Performance Deep Learning Library , 2019, NeurIPS.

[12]  Evangelos Spiliotis,et al.  The M4 Competition: 100,000 time series and 61 forecasting methods , 2020 .

[13]  Silvio Savarese,et al.  Generalized Intersection Over Union: A Metric and a Loss for Bounding Box Regression , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[14]  Spyros Makridakis,et al.  The M3-Competition: results, conclusions and implications , 2000 .

[15]  Abubakar Abid,et al.  Autowarp: Learning a Warping Distance from Unlabeled Time Series Using Sequence Autoencoders , 2018, NeurIPS.

[16]  Alaa Sagheer,et al.  Unsupervised Pre-training of a Deep LSTM-based Stacked Autoencoder for Multivariate Time Series Forecasting Problems , 2019, Scientific Reports.

[17]  Akbar Siami Namin,et al.  Clustering Time Series Data through Autoencoder-based Deep Learning Models , 2020, ArXiv.

[18]  Aurélien Géron,et al.  Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems , 2017 .

[19]  Yulei Rao,et al.  A deep learning framework for financial time series using stacked autoencoders and long-short term memory , 2017, PloS one.

[20]  Yu-Bin Yang,et al.  Image Restoration Using Convolutional Auto-encoders with Symmetric Skip Connections , 2016, ArXiv.

[21]  Manuela Veloso,et al.  Trading via image classification , 2019, ICAIF.

[22]  David Byrd Explaining Agent-Based Financial Market Simulation , 2019, ArXiv.

[23]  S. Shreve Stochastic Calculus for Finance II: Continuous-Time Models , 2010 .

[24]  George Athanasopoulos,et al.  Forecasting: principles and practice , 2013 .

[25]  Lovedeep Gondara,et al.  Medical Image Denoising Using Convolutional Denoising Autoencoders , 2016, 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW).

[26]  Bernhard Sick,et al.  Deep Learning for solar power forecasting — An approach using AutoEncoder and LSTM Neural Networks , 2016, 2016 IEEE International Conference on Systems, Man, and Cybernetics (SMC).

[27]  Feng Li,et al.  Forecasting with time series imaging , 2019, Expert Syst. Appl..

[28]  Jeffrey M. Hausdorff,et al.  Physionet: Components of a New Research Resource for Complex Physiologic Signals". Circu-lation Vol , 2000 .

[29]  S. Mostafa Mousavi,et al.  Unsupervised Clustering of Seismic Signals Using Deep Convolutional Autoencoders , 2019, IEEE Geoscience and Remote Sensing Letters.

[30]  Eric R. Ziegel,et al.  The Elements of Statistical Learning , 2003, Technometrics.

[31]  M. Varacallo,et al.  2019 , 2019, Journal of Surgical Orthopaedic Advances.

[32]  Badong Chen,et al.  Weighted-permutation entropy: a complexity measure for time series incorporating amplitude information. , 2013, Physical review. E, Statistical, nonlinear, and soft matter physics.

[33]  Alaa El. Sagheer,et al.  Time series forecasting of petroleum production using deep LSTM recurrent networks , 2019, Neurocomputing.