arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.09003cs.AI
收藏

利用大语言模型增强少样本股票趋势预测

Enhancing Few-Shot Stock Trend Prediction with Large Language Models

The University of Hong Kong(香港大学)

Yiqi Deng, Xingwei He, Jiahao Hu, Siu-Ming Yiu

AI总结:

针对股票趋势预测中标注数据稀缺的问题,提出基于大语言模型的“去噪-投票”少样本两步法,通过单条新闻预测加多数投票缓解噪声与输入长度限制,在三大股指预测中性能优于标准少样本方法且比肩最优监督方法。

摘要:

股票趋势预测的目标是预测未来市场走势,以支撑明智的投资决策。现有方法大多依赖在大量标注数据上训练的监督模型来预测股票趋势,但人工标注成本高昂,且标注数据往往难以获取。受大语言模型(LLMs)出色的少样本能力启发,我们提出在少样本场景下使用LLMs,以解决标注数据稀缺的问题,让投资者更易开展预测工作。\n此前的研究通常将多条财经新闻合并后用于预测股票趋势,这在使用LLMs时会引发两个关键问题:(1)合并后的新闻包含噪声;(2)可能超出LLMs的输入长度限制,导致性能下降。为解决这些问题,我们提出“去噪-投票”两步法。具体而言,我们引入“无关”类别,针对单条新闻而非合并新闻预测股票趋势,再通过多数投票聚合这些预测结果。\n该方法具备两大优势:(1)将噪声新闻归类为无关类别,可消除其对最终预测的影响;(2)针对单条新闻预测,可缓解LLMs的输入长度限制。我们的方法在标普500指数(S&P 500)预测中准确率达66.59%,在中证100指数(CSI-100)中达62.17%,在港股预测中达61.17%,较标准少样本基线方法分别高出约7%、4%和4%。此外,该方法的性能与当前最优的监督方法相当。

英文摘要:

The goal of stock trend prediction is to forecast future market movements for informed investment decisions. Existing methods mostly focus on predicting stock trends with supervised models trained on extensive annotated data. However, human annotation can be resource-intensive and the annotated data are not readily available. Inspired by the impressive few-shot capability of Large Language Models (LLMs), we propose using LLMs in a few-shot setting to overcome the scarcity of labeled data and make prediction more feasible to investors. Previous works typically merge multiple financial news for predicting stock trends, causing two significant problems when using LLMs: (1) Merged news contains noise, and (2) it may exceed LLMs' input limits, leading to performance degradation. To overcome these issues, we propose a two-step method 'denoising-then-voting'. Specifically, we introduce an `Irrelevant' category, and predict stock trends for individual news instead of merged news. Then we aggregate these predictions using majority voting. The proposed method offers two advantages: (1) Classifying noisy news as irrelevant removes its impact on the final prediction. (2) Predicting for individual news mitigates LLMs' input length limits. Our method achieves 66.59% accuracy in S&P 500, 62.17% in CSI-100, and 61.17% in HK stock prediction, outperforming the standard few-shot counterparts by around 7%, 4%, and 4%. Furthermore, our proposed method performs on par with state-of-the-art supervised methods.

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

↑