[Paper Review] DP-LSTM: Differential Privacy-inspired LSTM for Stock Prediction Using Financial News
This paper proposes DP-LSTM, a novel deep learning model that integrates financial news sentiment via VADER and differential privacy (DP) to improve stock price prediction. By combining LSTM with sentiment-ARMA modeling and DP noise injection, the method reduces prediction errors and enhances robustness, achieving a 0.32% improvement in mean MPA and up to 65.79% reduction in MSE for S&P 500 index prediction compared to baseline models.
Stock price prediction is important for value investments in the stock market. In particular, short-term prediction that exploits financial news articles is promising in recent years. In this paper, we propose a novel deep neural network DP-LSTM for stock price prediction, which incorporates the news articles as hidden information and integrates difference news sources through the differential privacy mechanism. First, based on the autoregressive moving average model (ARMA), a sentiment-ARMA is formulated by taking into consideration the information of financial news articles in the model. Then, an LSTM-based deep neural network is designed, which consists of three components: LSTM, VADER model and differential privacy (DP) mechanism. The proposed DP-LSTM scheme can reduce prediction errors and increase the robustness. Extensive experiments on S&P 500 stocks show that (i) the proposed DP-LSTM achieves 0.32% improvement in mean MPA of prediction result, and (ii) for the prediction of the market index S&P 500, we achieve up to 65.79% improvement in MSE.
Motivation & Objective
- To address the challenge of integrating unstructured financial news into stock price prediction while minimizing bias from subjective reporting.
- To improve prediction accuracy and model robustness by incorporating sentiment analysis from news articles into deep learning frameworks.
- To reduce overfitting and enhance generalization by applying differential privacy (DP) to the training process of the LSTM model.
- To develop a hybrid model that combines ARMA-based time series modeling with deep neural networks for improved short-term stock prediction.
Proposed method
- The model uses a sentiment-ARMA framework that extends traditional ARMA by incorporating sentiment scores derived from financial news articles.
- It employs the VADER sentiment analysis tool to extract compound sentiment scores from news headlines and articles, capturing both polarity and intensity.
- A three-component deep neural network is designed: an LSTM layer for sequence modeling, a sentiment encoder for news input, and a differential privacy mechanism to inject noise during training.
- Differential privacy is applied by adding Laplace or Gaussian noise to gradients or model parameters to protect individual data points and reduce overfitting.
- The loss function is mean squared error (MSE), optimized using the ADAM optimizer for efficient training on large-scale financial data.
- The model is trained separately for each stock due to varying price scales, with results aggregated across 451 individual runs to ensure statistical reliability.
Experimental results
Research questions
- RQ1Can integrating financial news sentiment into an LSTM-based model improve short-term stock price prediction accuracy?
- RQ2How does applying differential privacy to the training process affect the robustness and generalization of stock prediction models?
- RQ3To what extent does combining sentiment-ARMA modeling with deep learning enhance prediction performance on the S&P 500 index?
- RQ4Does the DP-LSTM model outperform standard LSTM and LSTM with news-only input in terms of both accuracy and error reduction?
- RQ5How does the inclusion of sentiment scores from diverse news sources impact model stability and risk mitigation in financial forecasting?
Key findings
- The DP-LSTM model achieves a 0.32% improvement in mean prediction accuracy (MPA) compared to standard LSTM with news input, demonstrating enhanced accuracy.
- For the S&P 500 index prediction, the DP-LSTM reduces the mean squared error (MSE) by up to 65.79% compared to the baseline LSTM with news.
- The model's prediction results are consistently closer to the actual S&P 500 index price line than both LSTM with and without news, as shown in visual comparisons.
- The mean MPA for DP-LSTM is 0.98158, outperforming LSTM with news (0.97837) and LSTM without news (0.97831), indicating superior predictive performance.
- The use of differential privacy significantly reduces model sensitivity to individual data points, enhancing robustness against noisy or biased news reports.
- The compound sentiment score from VADER shows a neutral-to-slightly-negative sentiment trend over time, which the model effectively leverages for improved forecasting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.