Skip to main content
QUICK REVIEW

[Paper Review] A Novel Ensemble Deep Learning Model for Stock Prediction Based on Stock Prices and News

Yang Li, Yi Pan|arXiv (Cornell University)|Jul 23, 2020
Stock Market Forecasting MethodsDecision Sciences22 references17 citations
TL;DR

This paper proposes a novel blending ensemble deep learning model that combines Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) networks with a fully connected neural network to predict stock movements using both historical stock prices and news sentiment. The model reduces mean squared error by 57.55% and improves Movement Direction Accuracy by 33.34% compared to prior methods, demonstrating superior performance in predicting stock trends.

ABSTRACT

In recent years, machine learning and deep learning have become popular methods for financial data analysis, including financial textual data, numerical data, and graphical data. This paper proposes to use sentiment analysis to extract useful information from multiple textual data sources and a blending ensemble deep learning model to predict future stock movement. The blending ensemble model contains two levels. The first level contains two Recurrent Neural Networks (RNNs), one Long-Short Term Memory network (LSTM) and one Gated Recurrent Units network (GRU), followed by a fully connected neural network as the second level model. The RNNs, LSTM, and GRU models can effectively capture the time-series events in the input data, and the fully connected neural network is used to ensemble several individual prediction results to further improve the prediction accuracy. The purpose of this work is to explain our design philosophy and show that ensemble deep learning technologies can truly predict future stock price trends more effectively and can better assist investors in making the right investment decision than other traditional methods.

Motivation & Objective

  • To develop a deep learning model that effectively integrates numerical stock price data and textual news sentiment for improved stock movement prediction.
  • To address the limitations of prior models that use only price data or only textual data, or fail to account for time-series dynamics.
  • To enhance prediction accuracy by leveraging ensemble learning with multiple recurrent architectures.
  • To demonstrate that combining diverse RNNs with sentiment analysis improves robustness and performance in financial forecasting.

Proposed method

  • The model employs a two-level ensemble architecture: level one uses two separate RNNs—LSTM and GRU—each processing sequential stock price and news sentiment data.
  • Sentiment analysis is applied to news articles to extract positive or negative sentiment scores, which are fed into the RNNs as input features.
  • The outputs from the LSTM and GRU are concatenated and passed through a fully connected neural network (FCNN) to produce the final stock direction prediction.
  • The blending ensemble approach combines predictions from multiple RNNs to reduce variance and improve generalization.
  • The model is trained end-to-end using backpropagation with Adam optimization, minimizing mean squared error on historical data.
  • A fixed historical window size is used to capture relevant past events, balancing memory retention and relevance.

Experimental results

Research questions

  • RQ1Can combining multiple recurrent neural networks (LSTM and GRU) with sentiment-enhanced input improve stock price direction prediction accuracy?
  • RQ2How does the performance of an ensemble model compare to individual RNNs or traditional models when predicting stock movements using both price and news data?
  • RQ3To what extent does incorporating textual sentiment from news articles enhance prediction robustness compared to models using only numerical price data?
  • RQ4Does the blending ensemble approach reduce prediction error and improve key metrics like F1-score and Movement Direction Accuracy?
  • RQ5Can the model generalize well on unseen data, particularly in capturing long-term trends and short-term market shocks?

Key findings

  • The proposed blending ensemble model reduces the mean squared error (MSE) from 438.94 to 186.32, achieving a 57.55% improvement over the best existing model.
  • The model increases Movement Direction Accuracy (MDA) by 33.34% compared to the prior state-of-the-art, reaching up to 67% on the hold-out test set.
  • Precision is improved by 40%, recall by 50%, and F1-score by 44.78%, indicating stronger overall classification performance.
  • The model demonstrates that integrating both price time series and sentiment features leads to significantly more accurate predictions than models using only one data type.
  • The results suggest that ensemble learning with diverse RNN architectures enhances model robustness and generalization in financial forecasting.
  • The model’s performance exceeds the 60% threshold considered profitable in financial markets, indicating practical value for investors.

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.