A hybrid transformer framework integrating sentiment and dynamic market structure for stock price movement forecasting
Dong-Jun Kim , Eunjung Noh , Sun-Yong Choi
AIMS Mathematics ›› 2026, Vol. 11 ›› Issue (1) : 977 -1020.
Traditional financial forecasting models are inherently limited as their sole reliance on price data causes them to overlook critical information such as market sentiment and dynamic inter-market interactions. To address this shortcoming, this study proposes a novel hybrid transformer model that integrates heterogeneous data sources. Specifically, our framework combines investor sentiment extracted from news headlines using FinBERT and dynamic changes in market structure analyzed with a TVP-VAR model, along with traditional log-return data. In forecasting experiments conducted on four major global stock indices (S&P 500, FTSE 100, CSI 300, and Nikkei 225), the proposed model consistently demonstrated superior performance compared to both single-data-source models and traditional benchmarks. We found that the inclusion of dynamic market structure information, derived from the TVP-VAR model, as a predictive variable was a decisive factor in improving forecasting accuracy. This research empirically validates that a multi-modal approach combining heterogeneous data can significantly enhance the precision of financial market forecasting.
transformer / TVP-VAR / FinBERT / multi-modal / hybrid-transformer-model / stock price
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
M. A. B. Jeet, R. M. Haque, M. A. I. Sayem, A. Arman, R. M. Rahman, Using deep learning models and FinBERT to predict the stock price of top banks in the Dhaka Stock Exchange, In: 2024 IEEE/ACIS 24th International Conference on Computer and Information Science (ICIS), IEEE, 2024,121–126. https://doi.org/10.1109/ICIS61260.2024.10778363 |
| [8] |
|
| [9] |
|
| [10] |
W. Zhang, J. Huang, R. Wang, C. Wei, W. Huang, Y. Qiao, Integration of Mamba and Transformer - MAT for long-short range time series forecasting with application to weather dynamics, In: 2024 International Conference on Electrical, Communication and Computer Engineering (ICECCE), IEEE, 2024, 1–6. https://doi.org/10.1109/ICECCE63537.2024.10823516 |
| [11] |
|
| [12] |
|
| [13] |
S. S. Begum, N. S. Fatima, M. Abbas, Enhancing stock market prediction with an LSTM-attention model integrating macroeconomic and sentiment features, In: 2024 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES), IEEE, 2024, 1–6. https://doi.org/10.1109/ICSES63760.2024.10910478 |
| [14] |
G. N. Rodrigues, M. N. H. Mir, M. S. M. Bhuiyan, M. Al Rafi, K. N. R. Fuad, M. S. Islam, et al., MiniBert24: A lightweight transformer-based model for stock market movement prediction, In: 2024 IEEE 3rd International Conference on Robotics, Automation, Artificial-Intelligence and Internet-of-Things (RAAICON), IEEE, 2024,293–298. |
| [15] |
M. B. Mahendran, A. K. Gokul, P. Lakshmi, S. Pavithra, Comparative advances in financial sentiment analysis: A review of BERT, FinBert, and large language models, In: 2025 3rd International Conference on Intelligent Data Communication Technologies and Internet of Things (IDCIoT), IEEE, 2025, 39–45. https://doi.org/10.1109/IDCIOT64235.2025.10914764 |
| [16] |
S. Yang, S. Yang, F. Mai, Financial semantic textual similarity: A new dataset and model, In: 2024 IEEE Symposium on Computational Intelligence for Financial Engineering and Economics (CIFEr), IEEE, 2024, 1–8. https://doi.org/10.1109/CIFEr62890.2024.10772793 |
| [17] |
Y. Shen, P. K. Zhang, Financial sentiment analysis on news and reports using large language models and FinBert, In: 2024 IEEE 6th International Conference on Power, Intelligent Computing and Systems (ICPICS), IEEE, 2024,717–721. https://doi.org/10.1109/ICPICS62053.2024.10796670 |
| [18] |
|
| [19] |
S. B. Priya, M. Kumar, N. P. JD, N. Krithika, Advanced financial sentiment analysis using FinBERT to explore sentiment dynamics, In: 2025 3rd International Conference on Intelligent Data Communication Technologies and Internet of Things (IDCIoT), IEEE, 2025,889–897. https://doi.org/10.1109/IDCIOT64235.2025.10915080 |
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
S. Sridhar, S. Sanagavarapu, Multi-head self-attention transformer for Dogecoin price prediction, In: 2021 14th International Conference on Human System Interaction (HSI), IEEE, 2021, 1–6. https://doi.org/10.1109/HSI52170.2021.9538640 |
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
R. Gupta, M. Chen, Sentiment analysis for stock price prediction, In: 2020 IEEE conference on multimedia information processing and retrieval (MIPR), IEEE, 2020,213–218. https://doi.org/10.1109/MIPR49039.2020.00051 |
| [31] |
|
| [32] |
|
| [33] |
T. Sidogi, R. Mbuvha, T. Marwala, Stock price prediction using sentiment analysis, In: 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), IEEE, 2021, 46–51. https://doi.org/10.1109/SMC52423.2021.9659283 |
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
K. Karthika, P. Balasubramanie, S. Harishmitha, P. Shanmugapriya, T. Ramya, Deep learning based hybrid transformer model for stock price prediction, In: 2025 International Conference on Multi-Agent Systems for Collaborative Intelligence (ICMSCI), IEEE, 2025, 1603–1608. https://doi.org/10.1109/ICMSCI62561.2025.10894439 |
| [39] |
|
| [40] |
R. Engle, Anticipating correlations: A new paradigm for risk management, Princeton University Press, 2009. https://doi.org/10.1515/9781400830190 |
| [41] |
|
| [42] |
|
| [43] |
|
| [44] |
|
| [45] |
|
| [46] |
|
| [47] |
|
| [48] |
|
| [49] |
|
| [50] |
X. Ding, Y. Zhang, T. Liu, J. Duan, Deep learning for event-driven stock prediction, In: Proceedings of the 24th International Conference on Artificial Intelligence, AAAI Press, 2015, 2327–2333. |
| [51] |
K. Koh, The impact of investor sentiment on stock returns in developed and emerging markets: The case of US and South Korea, Emerg. Mark. Financ. Tr., 2025, 1–24. https://doi.org/10.1080/1540496X.2025.2588236 |
| [52] |
|
| [53] |
|
| [54] |
|
| [55] |
|
| [56] |
|
| [57] |
|
| [58] |
|
| [59] |
|
| [60] |
|
| [61] |
|
| [62] |
|
| [63] |
|
| [64] |
R. Liu, J. Liang, H. Chen, Y. Hu, Analyst reports and stock performance: Evidence from the Chinese market, Asia-Pac. Financ. Mark., 2025, 1–26. https://doi.org/10.1007/s10690-025-09522-w |
| [65] |
|
| [66] |
|
| [67] |
|
| [68] |
|
| [69] |
|
| [70] |
|
| [71] |
|
| [72] |
H. G. Souto, A. Moradi, Can transformers transform financial forecasting?, China Financ. Rev. Int., 2024. https://doi.org/10.1108/CFRI-01-2024-0032 |
| [73] |
|
| [74] |
|
| [75] |
|
| [76] |
|
| [77] |
|
| [78] |
|
| [79] |
|
| [80] |
|
| [81] |
D. Araci, FinBERT: Financial sentiment analysis with pre-trained language models, arXiv preprint, 2019. https://doi.org/10.48550/arXiv.1908.10063 |
| [82] |
Z. Wang, T. Oates, Encoding time series as images for visual inspection and classification using tiled convolutional neural networks, In: Workshops at the twenty-ninth AAAI conference on artificial intelligence, vol. 1. AAAI, 2015, 000091–000096. |
| [83] |
|
| [84] |
|
| [85] |
|
| [86] |
|
| [87] |
G. Shashank, G. Pandey, S. G. Koolagudi, Time based sentiment analysis of financial headlines using recurrent neural network, In: 2025 International Conference on Artificial Intelligence and Data Engineering (AIDE), IEEE, 2025,752–756. https://doi.org/10.1109/AIDE64228.2025.10987536 |
| [88] |
|
| [89] |
|
| [90] |
|
| [91] |
|
/
| 〈 |
|
〉 |