Submitted:
17 July 2025
Posted:
21 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
3. Materials and Methods
- Positive: compound ≥ 0.05
- Negative: compound ≤ –0.05
- Neutral: values in between
- Global feature importance plots (e.g., SHAP beeswarm) to identify the most influential words across the dataset.
- Local force plots that explain individual classification decisions in terms of contributing and offsetting terms.
4. Results
4.1. Rule-Based Sentiment Layer (VADER)
4.2. Supervised Layer: TF–IDF and Logistic Regression
4.2.1. Cross-Validation Protocol
4.2.2. Hold-Out Evaluation
4.3. Explainability with SHAP
4.4. Token-Impact Table
5. Discussions
5.1. Quality of Automatic Labelling
5.2. Interpretability Gains
5.3. Practical Implications for Finance Research
5.4. Limitations and Future Work
6. Conclusion
Author Contributions
Conflicts of Interest
References
- S. Lundberg and S.-I. Lee, “A Unified Approach to Interpreting Model Predictions,” Nov. 25, 2017, arXiv: arXiv:1705.07874. [CrossRef]
- D. Araci, “FinBERT: Financial Sentiment Analysis with Pre-trained Language Models,” Aug. 27, 2019, arXiv: arXiv:1908.10063. [CrossRef]
- P. Hajek, J. Novotny, and J. Kovarnik, “Predicting Exchange Rate with FinBERT-Based Sentiment Analysis of Online News,” in Proceedings of the 2022 6th International Conference on E-Business and Internet, in ICEBI ’22. New York, NY, USA: Association for Computing Machinery, Mar. 2023, pp. 133–138. [CrossRef]
- M. T. Ribeiro, S. Singh, and C. Guestrin, “‘Why Should I Trust You?’: Explaining the Predictions of Any Classifier,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, in KDD ’16. New York, NY, USA: Association for Computing Machinery, Aug. 2016, pp. 1135–1144. [CrossRef]
- “Giving Content to Investor Sentiment: The Role of Media in the Stock Market,” ResearchGate. [CrossRef]
- A. Khadjeh Nassirtoussi, S. Aghabozorgi, T. Ying Wah, and D. C. L. Ngo, “Text mining for market prediction: A systematic review,” Expert Syst. Appl., vol. 41, no. 16, pp. 7653–7670, Nov. 2014. [CrossRef]
- “Model Cards for Model Reporting | Proceedings of the Conference on Fairness, Accountability, and Transparency.” Accessed: Jul. 11, 2025. [Online]. Available: https://dl.acm.org/doi/10.1145/3287560.3287596.
- J. Pineau et al., “Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program),” Dec. 30, 2020, arXiv: arXiv:2003.12206. [CrossRef]
- S. F. Yazdani, M. A. A. Murad, N. Sharef, Y. P. Singh, and A. Latiff, “Sentiment Classification of Financial News Using Statistical Features,” Int J Pattern Recognit Artif Intell, vol. 31, pp. 17500061–175000634, 2017. [CrossRef]
- arXiv:arXiv:2504.16188.J. Magomere, E. Kochkina, S. Mensah, S. Kaur, and C. H. Smiley, “FinNLI: Novel Dataset for Multi-Genre Financial Natural Language Inference Benchmarking,” Apr. 22, 2025, arXiv: arXiv:2504.16188. [CrossRef]
- T. Adams, A. Ajello, D. Silva, and F. Vazquez-Grande, “More than Words: Twitter Chatter and Financial Market Sentiment,” Finance Econ. Discuss. Ser., no. 2023–034, pp. 1–36, May 2023. [CrossRef]
- P. Lison, J. Barnes, and A. Hubin, “skweak: Weak Supervision Made Easy for NLP,” in Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, H. Ji, J. C. Park, and R. Xia, Eds., Online: Association for Computational Linguistics, Aug. 2021, pp. 337–346. [CrossRef]
- K. Kirtac and G. Germano, “Sentiment trading with large language models,” Finance Res. Lett., vol. 62, p. 105227, Apr. 2024. [CrossRef]
- M. Rizinski, H. Peshov, K. Mishev, M. Jovanovik, and D. Trajanov, “Sentiment Analysis in Finance: From Transformers Back to eXplainable Lexicons (XLex),” IEEE Access, vol. 12, pp. 7170–7198, 2024. [CrossRef]
- M. P. Cristescu, R. A. Nerisanu, D. A. Mara, and S.-V. Oprea, “Using Market News Sentiment Analysis for Stock Market Prediction,” Mathematics, vol. 10, no. 22, Art. no. 22, Jan. 2022. [CrossRef]
- L. O. Hjelkrem and P. E. de Lange, “Explaining Deep Learning Models for Credit Scoring with SHAP: A Case Study Using Open Banking Data,” J. Risk Financ. Manag., vol. 16, no. 4, Art. no. 4, Apr. 2023. [CrossRef]
- C. Hong and Q. He, “Integrating Financial Knowledge for Explainable Stock Market Sentiment Analysis via Query-Guided Attention,” Appl. Sci., vol. 15, no. 12, Art. no. 12, Jan. 2025. [CrossRef]
- B. Fazlija and P. Harder, “Using Financial News Sentiment for Stock Price Direction Prediction,” Mathematics, vol. 10, no. 13, Art. no. 13, Jan. 2022. [CrossRef]
- M. K. P. Pasupuleti, “(PDF) Explainable Sentiment Analysis for Financial News and Market Prediction,” Int. J. Acad. Ind. Res. Innov., vol. 05, pp. 486–495, May 2025. [CrossRef]
- M. Wang and T. Ma, “MANA-Net: Mitigating Aggregated Sentiment Homogenization with News Weighting for Enhanced Market Prediction,” Oct. 2024, pp. 2379–2389. [CrossRef]
- “(PDF) FinBERT-FOMC: Fine-Tuned FinBERT Model with Sentiment Focus Method for Enhancing Sentiment Analysis of FOMC Minutes,” in ResearchGate, Jun. 2025. [CrossRef]
- P.-D. Arsenault, S. Wang, and J.-M. Patenande, “A Survey of Explainable Artificial Intelligence (XAI) in Financial Time Series Forecasting,” ACM Comput. Surv., vol. 57, no. 10, pp. 1–37, Oct. 2025. [CrossRef]
- J. Chen et al., “FinTextQA: A Dataset for Long-form Financial Question Answering,” 2024, pp. 6025–6047. [CrossRef]
- Z. Chen et al., “FinQA: A Dataset of Numerical Reasoning over Financial Data,” May 07, 2022, arXiv: arXiv:2109.00122. [CrossRef]
- S. Anbaee Farimani, M. Vafaei Jahan, A. Milani Fard, and S. R. K. Tabbakh, “Investigating the informativeness of technical indicators and news sentiment in financial market price prediction,” Knowl.-Based Syst., vol. 247, p. 108742, Jul. 2022. [CrossRef]
- P. Xiao, “Stock Market Prediction Based on Financial News, Text Data Mining, and Investor Sentiment Analysis,” Int. J. Inf. Syst. Model. Des. IJISMD, vol. 15, no. 1, pp. 1–13, 2024. [CrossRef]
- W.-J. Liu, Y.-B. Ge, and Y.-C. Gu, “News-driven stock market index prediction based on trellis network and sentiment attention mechanism,” Expert Syst. Appl., vol. 250, p. 123966, Sep. 2024. [CrossRef]




| Accuracy | Macro-F1 | ROC-AUC | |
| Mean | 0.760 | 0.732 | 0.831 |
| Std. | 0.035 | 0.034 | 0.029 |
| Rank | Positive token | Mean SHAP (+) | Negative token | Mean SHAP (–) |
| 11 | nvidia | 0.0293 | amd | –0.0272 |
| 22 | amd | 0.0244 | micro | –0.0224 |
| 33 | shares | 0.0204 | strong | –0.0219 |
| 44 | ai | 0.0172 | trump | –0.0215 |
| 55 | tariffs | +0.0168 | ai | –0.0205 |
| 66 | stocks | +0.0166 | tariffs | –0.0190 |
| 77 | tensions | +0.0164 | nvidia | –0.0176 |
| 88 | trump | +0.0161 | growth | –0.0170 |
| 99 | growth | +0.0148 | shares | –0.0155 |
| 110 | micro | +0.0129 | stocks | –0.0150 |
| 111 | trade | +0.0124 | day | –0.0137 |
| 112 | drop | +0.0113 | tariff | –0.0132 |
| 113 | gains | +0.0112 | devices | –0.0131 |
| 114 | recession | +0.0105 | trade | –0.0130 |
| 115 | advanced | +0.0105 | advanced | –0.0129 |
| 116 | lower | +0.0100 | advanced micro | –0.0115 |
| 117 | losses | +0.0099 | lower | –0.0112 |
| 118 | amid | +0.0097 | losses | –0.0112 |
| 619 | strong | 0.0084 | micro devices | –0.0108 |
| 720 | devices | 0.0082 | advanced micro devices | –0.0108 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).