journal article·2024Open access

Structured Multi-Head Attention Stock Index Prediction Method Based Adaptive Public Opinion Sentiment Vector

Cheng Zhao, Zhe Peng, Xuefeng Lan, Yuefeng Cen, Zuxin Wang

Computers, Materials & Continua· Volume 78· Issue 1

Abstract

The present study examines the impact of short-term public opinion sentiment on the secondary market, with a focus on the potential for such sentiment to cause dramatic stock price fluctuations and increase investment risk. The quantification of investment sentiment indicators and the persistent analysis of their impact has been a complex and significant area of research. In this paper, a structured multi-head attention stock index prediction method based adaptive public opinion sentiment vector is proposed. The proposed method utilizes an innovative approach to transform numerous investor comments on social platforms over time into public opinion sentiment vectors expressing complex sentiments. It then analyzes the continuous impact of these vectors on the market through the use of aggregating techniques and public opinion data via a structured multi-head attention mechanism. The experimental results demonstrate that the public opinion sentiment vector can provide more comprehensive feedback on market sentiment than traditional sentiment polarity analysis. Furthermore, the multi-head attention mechanism is shown to improve prediction accuracy through attention convergence on each type of input information separately. The mean absolute percentage error (MAPE) of the proposed method is 0.463%, a reduction of 0.294% compared to the benchmark attention algorithm. Additionally, the market backtesting results indicate that the return was 24.560%, an improvement of 8.202% compared to the benchmark algorithm. These results suggest that the market trading strategy based on this method has the potential to improve trading profits.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Stock Market Forecasting Methods · Energy Load and Power Forecasting · Sentiment Analysis and Opinion Mining

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (32)

Show source-provided references
1. The efficient market hypothesis and its critics10.1257/089533003321164958 ↗
2. Bad news and Dow Jones make the Spanish stocks go round10.1016/j.ejor.2004.01.001 ↗
3. DATT-NGRU: A novel deep learning model with data augmentation for daily stock indexes prediction10.1108/K-04-2022-0629 ↗
4. Size and value in China10.1016/j.jfineco.2019.03.008 ↗
5. The impacts of investors’ sentiments on stock returns using fintech approaches10.1016/j.irfa.2021.101858 ↗
6. A hybrid model integrating deep learning with investor sentiment analysis for stock price prediction10.1016/j.eswa.2021.115019 ↗
7. Applying BERT to analyze investor sentiment in stock market10.1007/s00521-020-05411-7 ↗
8. A method of sentiment polarity identification in financial news using deep learning
9. Stock movement predictive network via incorporative attention mechanisms based on tweet and historical prices10.1016/j.neucom.2020.07.108 ↗
10. Two-channel attention mechanism fusion model of stock price prediction based on CNN-LSTM10.1145/3453693 ↗
11. Leveraging social media news to predict stock index movement using RNN-boost10.1016/j.datak.2018.08.003 ↗
12. Investment strategies applied to the Brazilian stock market: A methodology based on sentiment analysis with deep learning10.1016/j.eswa.2021.115470 ↗
13. Incorporating stock prices and news sentiments for stock market prediction: A case of Hong Kong10.1016/j.ipm.2020.102212 ↗
14. Effects of investor sentiment on stock volatility: New evidences from multi-source data in China’s green stock markets10.1186/s40854-022-00381-2 ↗
15. Predicting stock market crisis via market indicators and mixed frequency investor sentiments10.1016/j.eswa.2021.115844 ↗
16. Social-media and intraday stock returns: The pricing power of sentiment10.1016/j.frl.2019.03.030 ↗
17. Sentiment analysis on stock social media for stock price movement prediction10.1016/j.engappai.2019.07.002 ↗
18. Emotion space model for classifying opinions in stock message board10.1016/j.eswa.2015.08.023 ↗
19. A novel stock evaluation index based on public opinion analysis10.1016/j.procs.2019.01.212 ↗
20. An ensemble of a boosted hybrid of deep learning models and technical analysis for forecasting stock prices10.1016/j.ins.2022.02.015 ↗
21. Price graphs: Utilizing the structural information of financial time series for stock prediction10.1016/j.ins.2021.12.089 ↗
22. Modeling the momentum spillover effect for stock prediction via Attribute-Driven graph attention networks
23. A multimodal event-driven LSTM model for stock prediction using online news10.1109/TKDE.2020.2968894 ↗
24. Attention is all you need
25. Improving time series forecasting using LSTM and attention models10.1007/s12652-020-02761-x ↗
26. Chinese clinical named entity recognition via multi-head self-attention based BiLSTM-CRF10.1016/j.artmed.2022.102282 ↗
27. Multi-modal knowledge graphs representation learning via multi-headed self-attention10.1016/j.inffus.2022.07.008 ↗
28. Prediction of COVID-19 confirmed cases combining deep learning methods and Bayesian optimization10.1016/j.chaos.2020.110511 ↗
29. Multi-head attention fusion networks for multi-modal speech emotion recognition10.1016/j.cie.2022.108078 ↗
30. A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting10.1016/j.eswa.2007.11.062 ↗
31. Deep learning with long short-term memory networks for financial market predictions10.1016/j.ejor.2017.11.054 ↗
32. Prediction of SSE Shanghai Enterprises index based on bidirectional LSTM model of air pollutants10.1016/j.eswa.2022.117600 ↗