LGMLMay 10, 2022

Real-time Forecasting of Time Series in Financial Markets Using Sequentially Trained Many-to-one LSTMs

arXiv:2205.04678v14 citationsh-index: 10
Originality Incremental advance
AI Analysis

This work addresses the problem of accurate real-time predictions in volatile financial markets for traders and analysts, but it is incremental as it builds on existing LSTM techniques.

The paper tackles real-time forecasting of financial time series by proposing a sequentially trained many-to-one LSTM method, which maintains superior accuracy as training proceeds through the testing period, validated on stock, cryptocurrency, and commodity markets with comparisons to traditional models.

Financial markets are highly complex and volatile; thus, learning about such markets for the sake of making predictions is vital to make early alerts about crashes and subsequent recoveries. People have been using learning tools from diverse fields such as financial mathematics and machine learning in the attempt of making trustworthy predictions on such markets. However, the accuracy of such techniques had not been adequate until artificial neural network (ANN) frameworks were developed. Moreover, making accurate real-time predictions of financial time series is highly subjective to the ANN architecture in use and the procedure of training it. Long short-term memory (LSTM) is a member of the recurrent neural network family which has been widely utilized for time series predictions. Especially, we train two LSTMs with a known length, say $T$ time steps, of previous data and predict only one time step ahead. At each iteration, while one LSTM is employed to find the best number of epochs, the second LSTM is trained only for the best number of epochs to make predictions. We treat the current prediction as in the training set for the next prediction and train the same LSTM. While classic ways of training result in more error when the predictions are made further away in the test period, our approach is capable of maintaining a superior accuracy as training increases when it proceeds through the testing period. The forecasting accuracy of our approach is validated using three time series from each of the three diverse financial markets: stock, cryptocurrency, and commodity. The results are compared with those of an extended Kalman filter, an autoregressive model, and an autoregressive integrated moving average model.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes