A Hybrid Deep Learning Framework for Stock Price Prediction Considering the Investor Sentiment of Online Forum Enhanced by Popularity

Huiyu Li,Junhua Hu
2024-05-17
Abstract:Stock price prediction has always been a difficult task for forecasters. Using cutting-edge deep learning techniques, stock price prediction based on investor sentiment extracted from online forums has become feasible. We propose a novel hybrid deep learning framework for predicting stock prices. The framework leverages the XLNET model to analyze the sentiment conveyed in user posts on online forums, combines these sentiments with the post popularity factor to compute daily group sentiments, and integrates this information with stock technical indicators into an improved BiLSTM-highway model for stock price prediction. Through a series of comparative experiments involving four stocks on the Chinese stock market, it is demonstrated that the hybrid framework effectively predicts stock prices. This study reveals the necessity of analyzing investors' textual views for stock price prediction.
Machine Learning,Computation and Language
What problem does this paper attempt to address?
The paper aims to address the issue of stock price prediction, specifically by improving prediction accuracy through the analysis of investor sentiment on online forums. The main problems this paper attempts to solve are as follows: 1. **Proposing a new hybrid deep learning framework**: This study proposes a hybrid framework (XSI-BiLSTM) that combines text analysis, sentiment processing, and prediction modules for stock price prediction. The framework utilizes the XLNet model to analyze the sentiment of online forum posts and generates a daily sentiment index by incorporating the popularity of the posts. This information is then integrated with stock technical indicators into an improved BiLSTM-highway model for prediction. 2. **Exploring the impact of popularity on investor sentiment**: The study investigates whether introducing the factor of post popularity can effectively enhance the responsiveness of investor sentiment to stock prices. 3. **Validating the effectiveness of the framework**: Through a series of comparative experiments on 4 stocks from the Chinese stock market, the study demonstrates the effectiveness of the hybrid framework in stock price prediction and highlights the importance of incorporating investor sentiment into stock price prediction. In summary, this paper is dedicated to providing a more accurate and practical stock market prediction method by analyzing text data and investor sentiment on online forums, thereby supporting investment decisions.