Visual Forecasting of Time Series with Image-to-Image Regression

Time series forecasting is essential for agents to make decisions in many domains. Existing models rely on classical statistical methods to predict future values based on previously observed numerical information. Yet, practitioners often rely on visualizations such as charts and plots to reason about their predictions. Inspired by the end-users, we re-imagine the topic by creating a framework to produce visual forecasts, similar to the way humans intuitively do. In this work, we take a novel approach by leveraging advances in deep learning to extend the field of time series forecasting to a visual setting. We do this by transforming the numerical analysis problem into the computer vision domain. Using visualizations of time series data as input, we train a convolutional autoencoder to produce corresponding visual forecasts. 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, we find the proposed visual forecasting method to outperform numerical baselines. We attribute the success of the visual forecasting approach to the fact that we convert the continuous numerical regression problem into a discrete domain with quantization of the continuous target signal into pixel space.

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

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

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

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

[5]  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).

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

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

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

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

[10]  Guoqiang Peter Zhang,et al.  Time series forecasting using a hybrid ARIMA and neural network model , 2003, Neurocomputing.

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

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

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

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

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

[16]  Ping-Feng Pai,et al.  A hybrid ARIMA and support vector machines model in stock price forecasting , 2005 .

[17]  Evangelos Spiliotis,et al.  The M4 Competition: Results, findings, conclusion and way forward , 2018, International Journal of Forecasting.

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

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

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

[21]  Ali Safari,et al.  Oil price forecasting using a hybrid model , 2018 .

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

[23]  Guigang Zhang,et al.  Deep Learning , 2016, Int. J. Semantic Comput..

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

[25]  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).

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

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

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

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

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

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

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

[33]  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.

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

[35]  Tucker Hybinette Balch,et al.  Intra-day Equity Price Prediction using Deep Learning as a Measure of Market Efficiency , 2019, ArXiv.

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

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