arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.03633cs.LGcs.AI
收藏

基于大语言模型增强的推文情感分析预测股价走势

Predicting Stock Price Movement with LLM-Enhanced Tweet Emotion Analysis

Department of Electrical Engineering and Computer Science, University of Arkansas(电气工程与计算机科学系,亚拉巴马大学)

An Vuong, Susan Gauch

AI总结:

该研究提出融合LLaMA增强的推文情感特征与历史股价的LSTM框架,经三只股票实验验证,可显著提升短期股价变动预测准确率。

摘要:

由于市场固有的波动性以及对投资者情绪的敏感性,准确预测短期股价走势仍是一项具有挑战性的任务。本文提出了一种深度学习框架,该框架整合从推文数据中提取的情感特征与历史股价信息,以预测次日的显著股价变动。我们利用Meta的Llama 3.1-8B-Instruct模型对推文数据进行预处理,从而提升从三种情感分析方法中得到的情感特征质量:这三种方法分别是来自Hugging Face库的基于transformer的DistilRoBERTa分类器,以及两种使用加拿大国家研究委员会(NRC)资源的基于词典的方法。这些特征与前一日的股价数据相结合,用于训练长短期记忆(LSTM)模型。在TSLA、AAPL和AMZN股票上的实验结果表明,与仅使用历史股价的基线模型(准确率为13.5%)相比,三种情感分析方法均提升了预测显著股价变动的平均准确率。其中,基于DistilRoBERTa的股票预测模型表现最佳,在使用LLaMA增强的情感分析时,准确率从23.6%提升至38.5%。这些结果表明,使用大语言模型预处理推文内容可提升情感分析的有效性,进而提高预测显著股价变动的准确率。

英文摘要:

Accurately predicting short-term stock price movement remains a challenging task due to the market's inherent volatility and sensitivity to investor sentiment. This paper discusses a deep learning framework that integrates emotion features extracted from tweet data with historical stock price information to forecast significant price changes on the following day. We utilize Meta's Llama 3.1-8B-Instruct model to preprocess tweet data, thereby enhancing the quality of emotion features derived from three emotion analysis approaches: a transformer-based DistilRoBERTa classifier from the Hugging Face library and two lexicon-based methods using National Research Council Canada (NRC) resources. These features are combined with previous-day stock price data to train a Long Short-Term Memory (LSTM) model. Experimental results on TSLA, AAPL, and AMZN stocks show that all three emotion analysis methods improve the average accuracy for predicting significant price movements, compared to the baseline model using only historical stock prices, which yields an accuracy of 13.5%. The DistilRoBERTa-based stock prediction model achieves the best performance, with accuracy rising from 23.6% to 38.5% when using LLaMA-enhanced emotion analysis. These results demonstrate that using large language models to preprocess tweet content enhances the effectiveness of emotion analysis which in turn improves the accuracy of predicting significant stock price movements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑