arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.18103q-fin.CPcs.LGq-fin.PM
收藏

利用新闻流微调大型语言模型以预测股票收益

Fine-Tuning Large Language Models for Stock Return Prediction Using Newsflow

Systematic Equities Team(系统股票团队);RAM Active Investments(RAM主动投资公司)

Tian Guo, Emmanuel Hauptmann

AI总结:

本文研究利用金融新闻流微调 encoder-only 与 decoder-only LLM 预测股票收益,比较 token 表示聚合方式,证明其组合构建信号优于传统情绪评分,且 Mistral 更稳健。

摘要:

大型语言模型(LLM)及其微调技术已在各类语言理解和生成任务中展现出卓越性能。本文探讨如何利用金融新闻流微调 LLM 来预测股票收益。在量化投资中,收益预测是选股、投资组合优化等后续任务的基础。我们将模型设计为包含文本表示模块和预测模块。鉴于仅编码器(encoder-only)与仅解码器(decoder-only)LLM 生成文本表示的方式不同,我们提出对二者进行比较;这些不同表示如何影响预测性能仍是一个开放问题。同时,我们比较了将 LLM 的 token 级表示整合到预测模块的两种简单方法。基于真实新闻和投资域的实验表明:(1)由 LLM 的 token 级嵌入聚合得到的表示所产生的收益预测,通常能够提升多头组合和多空组合的表现;(2)在相对较大的投资域中,基于 decoder LLM 的预测模型可构建更强的投资组合,而在较小的投资域中则没有始终一致的优胜者;在所研究的三个 LLM(DeBERTa、Mistral、Llama)中,Mistral 在不同投资域间表现更稳健;(3)源自 LLM 文本表示的收益预测是投资组合构建的强信号,优于传统情绪评分。

英文摘要:

Large language models (LLMs) and their fine-tuning techniques have demonstrated superior performance in various language understanding and generation tasks. This paper explores fine-tuning LLMs for stock return forecasting with financial newsflow. In quantitative investing, return forecasting is fundamental for subsequent tasks like stock picking, portfolio optimization, etc. We formulate the model to include text representation and forecasting modules. We propose to compare the encoder-only and decoder-only LLMs, considering they generate text representations in distinct ways. The impact of these different representations on forecasting performance remains an open question. Meanwhile, we compare two simple methods of integrating LLMs' token-level representations into the forecasting module. The experiments on real news and investment universes reveal that: (1) aggregated representations from LLMs' token-level embeddings generally produce return predictions that enhance the performance of long-only and long-short portfolios; (2) in the relatively large investment universe, the decoder LLMs-based prediction model leads to stronger portfolios, whereas in the small universes, there are no consistent winners. Among the three LLMs studied (DeBERTa, Mistral, Llama), Mistral performs more robustly across different universes; (3) return predictions derived from LLMs' text representations are a strong signal for portfolio construction, outperforming conventional sentiment scores.

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

↑