Skip to main content
QUICK REVIEW

[Paper Review] Investigation Into The Effectiveness Of Long Short Term Memory Networks For Stock Price Prediction

Hengjian Jia|arXiv (Cornell University)|Mar 25, 2016
Stock Market Forecasting MethodsDecision Sciences4 references63 citations
TL;DR

This study evaluates Long Short-Term Memory (LSTM) networks for stock price prediction using Google's historical stock data (2005–2015). By employing a progressive pretraining strategy with sliding windows and ADAM optimization, the model achieves a lowest test RMSE of 0.0105 on a 3-layer, 250-unit LSTM, outperforming a no-change baseline (RMSE 0.0265).

ABSTRACT

The effectiveness of long short term memory networks trained by backpropagation through time for stock price prediction is explored in this paper. A range of different architecture LSTM networks are constructed trained and tested.

Motivation & Objective

  • To assess the effectiveness of LSTM networks in predicting stock price movements using time series data.
  • To investigate whether deeper and wider LSTM architectures improve prediction accuracy compared to simpler models.
  • To evaluate the impact of a novel progressive pretraining strategy using sliding windows on model convergence and performance.
  • To compare LSTM performance against a simple no-change baseline model to validate predictive utility.
  • To examine the robustness of LSTMs to overfitting despite high parameter counts relative to training samples.

Proposed method

  • LSTM networks with 1 to 3 hidden layers and varying sizes (50 to 500 units) are trained on normalized daily stock returns (open, high, low, close, volume).
  • Input sequences are created via a sliding window approach, starting from length 2 and doubling up to 256 for progressive pretraining.
  • The model uses hard sigmoid gates and tanh activation functions, with weight initialization via SVD to ensure stable hidden state dynamics.
  • Forget gate biases are initialized to 1, and other biases to 0, to promote learning of long-term dependencies.
  • Data is normalized into daily returns: $ \hat{x}_t = \frac{x_t}{x_{t-1}} - 1 $, to reduce scale and improve training stability.
  • ADAM optimizer is used with default hyperparameters and a fixed batch size of 20 sequences per batch.

Experimental results

Research questions

  • RQ1Can LSTMs effectively learn temporal patterns in stock price time series for accurate prediction?
  • RQ2How does network depth and width affect prediction performance in LSTM-based stock price forecasting?
  • RQ3Does progressive pretraining with increasing sequence lengths improve model convergence and final accuracy?
  • RQ4How does the LSTM model's performance compare to a simple no-change baseline in terms of RMSE?
  • RQ5Is the model robust to overfitting despite having more parameters than unique training sequences?

Key findings

  • The 3-layer, 250-unit LSTM achieved the lowest test RMSE of 0.0105, indicating strong predictive performance.
  • The model consistently outperformed the no-change baseline, which had an RMSE of 0.0265, confirming learned predictive capability.
  • Increasing network depth and width generally improved performance, with the 3-layer, 250-unit configuration yielding the best result.
  • The progressive pretraining strategy with sliding windows from length 2 to 256 improved training stability and convergence.
  • Despite high parameter counts relative to training samples, the model showed resistance to overfitting, as evidenced by consistent performance across architectures.
  • The best-performing model (3-layer, 250-unit) achieved a 58.5% reduction in RMSE compared to the baseline, demonstrating significant predictive advantage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.