<?xml version="1.1" encoding="utf-8"?>
<article xsi:noNamespaceSchemaLocation="http://jats.nlm.nih.gov/publishing/1.1/xsd/JATS-journalpublishing1-mathml3.xsd" dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="publisher-id">JERA</journal-id><journal-title-group><journal-title>Journal of Electronic Research and Application</journal-title></journal-title-group><issn>2208-3502</issn><eissn>2208-3510</eissn><publisher><publisher-name>Bio-Byword Scientific Publishing Pty. Ltd.</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26689/jera.v9i5.12198</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title>Correlation Analysis Between Investor Sentiment and Stock Price Fluctuations Based on Large Language Models</title><url>https://artdesignp.com/journal/JERA/9/5/10.26689/jera.v9i5.12198</url><author>RenGuohua,LuoZiyu,ZhangNaiwen,YangYichen</author><pub-date pub-type="publication-year"><year>2025</year></pub-date><volume>9</volume><issue>5</issue><history><date date-type="pub"><published-time>2025-10-15</published-time></date></history><abstract>The efficient market hypothesis in traditional financial theory struggles to explain the short-term irrational fluctuations in the A-share market, where investor sentiment fluctuations often serve as the core driver of abnormal stock price movements. Traditional sentiment measurement methods suffer from limitations such as lag, high misjudgment rates, and the inability to distinguish confounding factors. To more accurately explore the dynamic correlation between investor sentiment and stock price fluctuations, this paper proposes a sentiment analysis framework based on large language models (LLMs). By constructing continuous sentiment scoring factors and integrating them with a long short-term memory (LSTM) deep learning model, we analyze the correlation between investor sentiment and stock price fluctuations. Empirical results indicate that sentiment factors based on large language models can generate an annualized excess return of 9.3% in the CSI 500 index domain. The LSTM stock price prediction model incorporating sentiment features achieves a mean absolute percentage error (MAPE) as low as 2.72%, significantly outperforming traditional models. Through this analysis, we aim to provide quantitative references for optimizing investment decisions and preventing market risks.</abstract><keywords/></article-meta></front><body/><back><ref-list><ref id="B1" content-type="article"><label>1</label><element-citation publication-type="journal"><p>Baker M, Wurgler J, 2006, Investor Sentiment and the Cross-section of Stock Returns. The Journal of Finance, 61(4): 1645–1680.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B2" content-type="article"><label>2</label><element-citation publication-type="journal"><p>Zhu H, Lu X, Xue L, 2023, A BERT-Based Sentiment Analysis Model for Financial Texts. Journal of Shanghai University (Natural Science Edition), 29(01): 118–128.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B3" content-type="article"><label>3</label><element-citation publication-type="journal"><p>Wang D, Liang Y, 2025, The Technological Foundations, Application Scenarios, and Risk Prevention of Large Language Models in Artificial Intelligence: Taking the Banking Industry as an Example. Journal of Dongbei University of Finance and Economics, (04): 17–30.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B4" content-type="article"><label>4</label><element-citation publication-type="journal"><p>Lu M, 2024, Research on the Application Principles, Challenges, and Implementation Paths of Large Language Models in the Financial Sector. Journal of Chongqing Technology and Business University (Social Science Edition), 41(04): 1–12.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B5" content-type="article"><label>5</label><element-citation publication-type="journal"><p>Liu M, Zhang L, Ping W, et al., 2025, Research on a Multi-Stage Network Public Opinion-Driven Group Consensus Decision-Making Method Based on Large Language Models. Chinese Journal of Management, 22(04): 750–759.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B6" content-type="article"><label>6</label><element-citation publication-type="journal"><p>Jiang F, Liu Y, Meng L, 2024, Large Language Models, Text Sentiment, and Financial Markets. Management World, 40(08): 42–64.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B7" content-type="article"><label>7</label><element-citation publication-type="journal"><p>Weng X, Lin X, Zhao S, 2022, A Long Short-Term Memory Network Stock Price Movement Prediction Model Based on Empirical Mode Decomposition and Investor Sentiment. Computer Applications, 42(S2): 296–301.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B8" content-type="article"><label>8</label><element-citation publication-type="journal"><p>Yang S, Guo W, 2018, Investor Sentiment, Excess Returns, and Market Volatility. Journal of Hubei Engineering University, 38(02): 85–90.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B9" content-type="article"><label>9</label><element-citation publication-type="journal"><p>Brown GW, Cliff MT, 2004, Investor Sentiment and the Near-Term Stock Market. Journal of Empirical Finance, 11(1): 1–27.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B10" content-type="article"><label>10</label><element-citation publication-type="journal"><p>Xu T, 2018, Research on the Impact of Investor Sentiment on the Stock Market in Online Social Media. Shanghai Management Science, 40(03): 67–74.</p><pub-id pub-id-type="doi"/></element-citation></ref></ref-list></back></article>
