Financial News Sentiment Analysis and Market Sentiment Prediction Based on Large Language Models
DOI:
https://doi.org/10.71222/y0vdp428Keywords:
financial sentiment analysis, large language models, market prediction, multimodal learning, investor behavior, risk managementAbstract
This study investigates the application of large language models (LLMs) to financial news sentiment analysis and market sentiment prediction. By integrating textual signals from financial news with structured market data, the research constructs a methodological framework combining sentiment classification, multimodal learning, and time-series forecasting. Experiments demonstrate that LLMs, particularly domain-specific models such as FinBERT, outperform traditional machine learning and deep learning approaches in capturing nuanced financial sentiment. Moreover, incorporating sentiment variables into market prediction models enhances forecasting accuracy, as illustrated by improvements in RMSE, MAE, and R² metrics. Although the analysis relies on simulated data for demonstration, the results align with existing empirical studies, underscoring the potential of LLMs to bridge qualitative sentiment extraction and quantitative market forecasting. This study highlights opportunities for improving investment decision-making, risk monitoring, and policy evaluation while also addressing challenges related to data quality, interpretability, scalability, and ethical concerns.
References
1. B. Zhang, H. Yang, T. Zhou, M. Ali Babar, and X. Y. Liu, "Enhancing financial sentiment analysis via retrieval augmented large language models," in Proceedings of the fourth ACM international conference on AI in finance, Nov. 2023, pp. 349–356, doi: 10.1145/3604237.362686.
2. C. Liu, A. Arulappan, R. Naha, A. Mahanti, J. Kamruzzaman, and I. H. Ra, "Large language models and sentiment analysis in financial markets: A review, datasets and case study," IEEE Access, 2024, doi: 10.1109/ACCESS.2024.3445413.
3. J. Delgadillo, J. Kinyua, and C. Mutigwe, "Finsosent: Advancing financial market sentiment analysis through pre-trained large language models," Big Data and Cognitive Computing, vol. 8, no. 8, p. 87, 2024, doi: 10.3390/bdcc8080087.
4. H. R. B. Seshakagari, A. Umashankar, T. Harikala, L. Jayasree, and J. Severance, "Dynamic financial sentiment analysis and market forecasting through large language models," International Journal of Human Computations & Intelligence, vol. 4, no. 1, pp. 397–410, 2025, doi: 10.5281/zenodo.15111609.
5. K. Kirtac and G. Germano, "Large language models in finance: Estimating financial sentiment for stock prediction," SSRN 5166656, 2025, doi: 10.2139/ssrn.5166656.
6. Y. Mun and N. Kim, "Leveraging Large Language Models for Sentiment Analysis and Investment Strategy Development in Financial Markets," Journal of Theoretical and Applied Electronic Commerce Research, vol. 20, no. 2, pp. 77, 2025, doi: 10.3390/jtaer20020077.
7. M. T. Siddique, S. S. Jamee, A. Sajal, S. N. Mou, M. R. H. Mahin, M. O. Obaid, et al., "Enhancing Automated Trading with Sentiment Analysis: Leveraging Large Language Models for Stock Market Predictions," The American Journal of Engineering and Technology, vol. 7, no. 03, pp. 185–195, 2025, doi: 10.37547/tajet/Volume07Issue03-16.
8. K. Kirtac and G. Germano, "Sentiment trading with large language models," Finance Research Letters, vol. 62, p. 105227, 2024, doi: 10.1016/j.frl.2024.105227.
9. J. Bollen, H. Mao, and X. Zeng, "Twitter mood predicts the stock market," Journal of Computational Science, vol. 2, no. 1, pp. 1–8, 2011, doi: 10.1016/j.jocs.2010.12.007.
10. J. Deveikyte, H. Geman, C. Piccari, and A. Provetti, "A sentiment analysis approach to the prediction of market volatility," Frontiers in Artificial Intelligence, vol. 5, p. 836809, 2022, doi: 10.3389/frai.2022.836809.
11. X. Wan, J. Yang, S. Marinov, J. P. Calliess, S. Zohren, and X. Dong, "Sentiment correlation in financial news networks and associated market movements," Scientific Reports, vol. 11, no. 1, p. 3062, 2021, doi: 10.1038/s41598-021-82338-6.
12. L. Hu, Q. Wu, and R. Qi, "Empowering smart app development with SolidGPT: an edge–cloud hybrid AI agent framework," Advances in Engineering Innovation, vol. 16, no. 7, pp. 86–92, 2025, doi: 10.54254/2977-3903/2025.25283.
13. W. Chen, W. Liu, J. Zheng, and X. Zhang, "Leveraging large language model as news sentiment predictor in stock markets: a knowledge-enhanced strategy," Discover Computing, vol. 28, no. 1, p. 74, 2025, doi: 0.1007/s10791-025-09573-7.
14. Y. Liang, Y. Liu, N. Wang, H. Yang, B. Zhang, and C. D. Wang, "FinGPT: enhancing sentiment-based stock movement prediction with dissemination-aware and context-enriched LLMs," arXiv preprint arXiv:2412.10823, 2024, doi: 10.48550/arXiv.2412.10823.
15. A. M. Rahman, A. Uddin, and G. Wang, "Evaluating Financial Sentiment Analysis with Annotators Instruction Assisted Prompting: Enhancing Contextual Interpretation and Stock Prediction Accuracy," arXiv preprint arXiv:2505.07871, 2025, doi: 10.48550/arXiv.2505.07871.
16. W. Luo and D. Gong, "Pre-trained large language models for financial sentiment analysis," arXiv preprint arXiv:2401.05215, 2024, doi: 10.48550/arXiv.2401.05215.
17. R. Qi and L. Hu, "Stock Price Prediction of Apple Inc. Based on LSTM Model: An Application of Artificial Intelligence in Individual Stock Analysis," European Journal of AI, Computing & Informatics, vol. 1, no. 3, pp. 1–9, 2025.
18. T. Loughran and B. McDonald, "Textual analysis in finance," Annual Review of Financial Economics, vol. 12, no. 1, pp. 357–375, 2020, doi: 10.1146/annurev-financial-012820-032249.
19. R. Qi, "Research on the Application of Robo-Advisory Systems in Personal Wealth Management: A Case Study of Mid-dle-Class Households in the United States," Economics and Management Innovation, vol. 2, no. 4, pp. 46–55, 2025.
20. T. Liu and Y. Shi, "News sentiment and investment risk management: Innovative evidence from the large language models," Economics Letters, vol. 247, p. 112124, 2025, doi: 10.1016/j.econlet.2024.112124.
21. K. Kirtac and G. Germano, "Enhanced financial sentiment analysis and trading strategy development using large language models," in Proc. 14th Workshop on Computational Approaches to Subjectivity, Sentiment, & Social Media Analysis, Aug. 2024, pp. 1–10, doi: 10.18653/v1/2024.wassa-1.1.
22. R. Qi, "An Empirical Study on Credit Risk Assessment Using Machine Learning: Evidence from the Kaggle Credit Card Fraud Detection Dataset," Journal of Computer, Signal, and System Research, vol. 2, no. 5, pp. 48–64, Jul. 25, 2025.
23. D. Araci, "Finbert: Financial sentiment analysis with pre-trained language models," arXiv preprint arXiv:1908.10063, 2019, doi: 10.48550/arXiv.1908.10063.
24. Y. Nie, Y. Kong, X. Dong, J. M. Mulvey, H. V. Poor, Q. Wen, and S. Zohren, "A survey of large language models for financial applications: Progress, prospects and challenges," arXiv preprint arXiv:2406.11903, 2024, doi: 10.48550/arXiv.2406.11903.
25. Y. Li, S. Wang, H. Ding, and H. Chen, "Large language models in finance: A survey," in Proceedings of the fourth ACM inter-national conference on AI in finance, Nov. 2023, pp. 374–382, doi: 10.1145/3604237.3626869.
26. P. R. Inserte, M. Nakhlé, R. Qader, G. Caillaut, and J. Liu, "Large language model adaptation for financial sentiment analysis," arXiv preprint arXiv:2401.14777, 2024, doi: 10.48550/arXiv.2401.14777.
27. R. Qi, "Loan Default Prediction and Feature Importance Analysis Based on the XGBoost Model," European Journal of Business, Economics & Management, vol. 1, no. 2, pp. 141–149, 2025.
28. Y. Yang, M. C. S. Uy, and A. Huang, "Finbert: A pretrained language model for financial communications," arXiv pre-print arXiv:2006.08097, 2020, doi: 10.48550/arXiv.2006.08097.
29. I. C. Chiu and M. W. Hung, "Finance-specific large language models: Advancing sentiment analysis and return prediction with LLaMA 2," Pacific-Basin Finance Journal, vol. 90, p. 102632, 2025, doi: 10.1016/j.pacfin.2024.102632.
30. B. Zhang, H. Yang, and X. Y. Liu, "Instruct-fingpt: Financial sentiment analysis by instruction tuning of general-purpose large language models," arXiv preprint arXiv:2306.12659, 2023, doi: 10.48550/arXiv.2306.12659.
31. T. Guo and E. Hauptmann, "Fine-tuning large language models for stock return prediction using newsflow," arXiv preprint arXiv:2407.18103, 2024, doi: 10.48550/arXiv.2407.18103.
32. K. Kirtac and G. Germano, "Large language models in finance: estimating financial sentiment for stock prediction," SSRN, 2025, doi: 10.2139/ssrn.5166656.
33. Q. Chen and H. Kawashima, "Stock price prediction using llm-based sentiment analysis," in 2024 IEEE International Conference on Big Data (BigData), Dec. 2024, pp. 4846–4853, doi: 10.1109/BigData62323.2024.10825946.
34. Y. Shen and 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), Jul. 2024, pp. 717–721, doi: 10.1109/ICPICS62053.2024.10796670.
35. X. Zhang, H. Fuehres, and P. A. Gloor, "Predicting stock market indicators through twitter “I hope it is not as bad as I fear”," Procedia-Social and Behavioral Sciences, vol. 26, pp. 55–62, 2011, doi: 10.1016/j.sbspro.2011.10.562.
36. D. Vamvourellis and D. Mehta, "Reasoning or Overthinking: Evaluating Large Language Models on Financial Sentiment Analysis," arXiv preprint arXiv:2506.04574, 2025, doi: 10.48550/arXiv.2506.04574.
37. Y. Lan, Y. Wu, W. Xu, W. Feng, and Y. Zhang, "Chinese fine-grained financial sentiment analysis with large language models," Neural Computing and Applications, pp. 1–10, 2024, doi: 10.1007/s00521-024-10603-6.
38. A. Jadhav and V. Mirza, "Large Language Models in Equity Markets: Applications, Techniques, and Insights," Techniques, and Insights, Mar. 15, 2025, doi: 10.2139/ssrn.5198854.
39. V. Echambadi, "Financial Market Sentiment Analysis Using LLM and RAG," SSRN, 2025.
40. K. Nakagawa, M. Hirano, and Y. Fujimoto, "Evaluating company-specific biases in financial sentiment analysis using large language models," in 2024 IEEE International Conference on Big Data (BigData), Dec. 2024, pp. 6614–6623, doi: 10.1109/BigData62323.2024.10826008.
41. Z. Zhang, R. Fu, Y. He, X. Shen, Y. Wang, X. Du, et al., "FinSentLLM: Multi-LLM and Structured Semantic Signals for En-hanced Financial Sentiment Forecasting," arXiv preprint arXiv:2509.12638, 2025, doi: 10.48550/arXiv.2509.12638.
42. Y. Chen, B. T. Kelly, and D. Xiu, "Expected returns and large language models," SSRN 4416687, 2022.
43. R. Kumar and C. Nolbaria, "Bridging the Data Gap in Financial Sentiment: LLM-Driven Augmentation," in ACL 2025 Student Research Workshop, Jul. 2025.
44. J. Kim, H. S. Kim, and S. Y. Choi, "Forecasting the S&P 500 index using mathematical-based sentiment analysis and deep learning models: A FinBERT transformer model and LSTM," Axioms, vol. 12, no. 9, p. 835, 2023, doi: 10.3390/axioms12090835.
45. O. Shobayo, S. Adeyemi-Longe, O. Popoola, and B. Ogunleye, "Innovative sentiment analysis and prediction of stock price using FinBERT, GPT-4 and logistic regression: A data-driven approach," Big Data and Cognitive Computing, vol. 8, no. 11, p. 143, 2024, doi: 10.3390/bdcc8110143.
46. D. Ballinari and J. Maly, "FX sentiment analysis with large language models," Swiss National Bank Working Paper No. 2025-11, Aug. 26, 2025, doi: 10.2139/ssrn.5406332.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Ruoyu Qi (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.







