[Paper Review] Stock Volatility Prediction Using Recurrent Neural Networks with Sentiment Analysis
This paper proposes a hybrid Recurrent Neural Network (RNN) model enhanced with sentiment indicators derived from Chinese stock forum posts to improve stock volatility prediction in the Chinese market. By constructing a domain-specific sentiment dictionary and fusing sentiment scores with market data, the model achieves significantly higher accuracy—up to 69.85% on stock 000573—compared to RNN alone, demonstrating that sentiment from financial forums enhances predictive performance.
In this paper, we propose a model to analyze sentiment of online stock forum and use the information to predict the stock volatility in the Chinese market. We have labeled the sentiment of the online financial posts and make the dataset public available for research. By generating a sentimental dictionary based on financial terms, we develop a model to compute the sentimental score of each online post related to a particular stock. Such sentimental information is represented by two sentiment indicators, which are fused to market data for stock volatility prediction by using the Recurrent Neural Networks (RNNs). Empirical study shows that, comparing to using RNN only, the model performs significantly better with sentimental indicators.
Motivation & Objective
- To investigate the correlation between investor sentiment in Chinese stock forums and stock market volatility.
- To address the limitations of general-purpose sentiment dictionaries in financial contexts by creating a domain-specific sentiment dictionary for Chinese financial posts.
- To develop and evaluate a hybrid RNN model that integrates sentiment indicators with market data for improved volatility prediction.
- To create and release a publicly available, manually labeled dataset of Chinese financial forum posts for sentiment analysis and volatility prediction research.
Proposed method
- A custom sentiment dictionary is generated using machine learning on a labeled dataset of Chinese financial forum posts, tailored to financial terminology and investor sentiment.
- Sentiment scores are computed for each post using the learned dictionary, producing two sentiment indicators: positive and negative sentiment intensity.
- The sentiment indicators are fused with historical market price data (e.g., returns over k-day windows) to form a multi-modal input for the RNN model.
- A Recurrent Neural Network (RNN) is trained on the combined input to predict future stock volatility, with the prediction task framed as a binary classification of volatility increase or decrease.
- The model’s performance is evaluated using accuracy on a test set, with hyperparameter tuning for the lookback window length (k), and results are compared against baseline models including RNN, MLP, and SVM.
- A 50-repetition cross-validation procedure is applied to ensure robustness and reduce the risk of overfitting or random performance fluctuations.
Experimental results
Research questions
- RQ1Can sentiment extracted from Chinese financial forum posts improve the accuracy of stock volatility prediction models?
- RQ2How does the performance of an RNN model change when augmented with sentiment indicators derived from investor discussions?
- RQ3What is the optimal historical window length (k) for incorporating sentiment and price data in volatility prediction?
- RQ4To what extent does a domain-specific sentiment dictionary outperform general-purpose sentiment lexicons in financial context analysis?
- RQ5Can a publicly available, labeled dataset of Chinese financial forum posts serve as a benchmark for future research in sentiment-based stock prediction?
Key findings
- The RNN model enhanced with sentiment indicators (RNN+EMM) achieved a prediction accuracy of 69.85% on stock 000573, significantly outperforming the RNN-only model, which reached 57.33% accuracy.
- On average, the inclusion of sentiment indicators improved prediction accuracy by approximately 4% across 10 tested stocks, with 8 out of 10 stocks showing improved performance over the baseline RNN.
- The optimal lookback window length (k) for volatility prediction varied by stock, with the best results observed around k=10–15, and the best-performing k for 000573 was 12.
- The RNN+EMM model outperformed other baseline models, including MLP and SVM, with a mean accuracy of 65.49% compared to 61.62% for RNN alone.
- The model's performance was most accurate for stocks with higher volumes of forum discussion during the training period, such as 000573, suggesting data quality and volume influence model effectiveness.
- The study released a public, manually labeled dataset of 1,000 Chinese financial forum posts, enabling reproducibility and benchmarking for future research in sentiment-based financial prediction.
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.