用于金融时间序列预测的检索增强大型语言模型
Retrieval-augmented Large Language Models for Financial Time Series Forecasting
AI总结:
本文提出含领域专用检索器 FinSeer 的 RAG 框架 FinSrag,结合 LLM 反馈候选选择、相似性训练与 StockLLM,提升股票走势预测性能。
摘要:
准确预测股票价格走势对于明智的金融决策至关重要,支持从算法交易到风险管理的各类应用。然而,这项任务仍然具有挑战性,因为很难从含噪的金融时间序列数据中检索出微妙但影响重大的模式;传统检索方法无论是基于通用语言模型还是简单的数值相似性,往往都无法捕捉精确市场预测所必需的复杂时间依赖关系和特定情境信号。为弥合这一差距,我们提出 FinSrag,这是首个面向金融时间序列预测的检索增强生成(RAG)框架,并配备新型领域专用检索器 FinSeer。FinSeer 利用由 LLM 反馈优化的候选选择机制和相似性驱动的训练目标,将查询与历史上具有影响力的序列对齐,同时过滤金融噪声。这种训练使 FinSeer 能够为下游预测任务识别最相关的时间序列数据片段,这不同于现有 RAG 框架中使用的基于嵌入或距离的检索方法。检索到的模式随后被输入 StockLLM,后者是一个经过股票走势预测微调的 10 亿参数 LLM,充当生成主干。除检索方法外,我们还通过整理整合更广泛金融指标的新数据集来丰富检索语料,以捕捉此前被忽视的市场动态。实验表明,FinSeer 在提升 StockLLM 预测准确率方面优于现有文本检索器和传统基于距离的检索方法,凸显了领域专用检索框架在处理金融时间序列数据复杂性方面的重要性。
英文摘要:
Accurately forecasting stock price movements is critical for informed financial decision-making, supporting applications ranging from algorithmic trading to risk management. However, this task remains challenging due to the difficulty of retrieving subtle yet high-impact patterns from noisy financial time-series data, where conventional retrieval methods, whether based on generic language models or simplistic numeric similarity, often fail to capture the intricate temporal dependencies and context-specific signals essential for precise market prediction. To bridge this gap, we introduce FinSrag, the first retrieval-augmented generation (RAG) framework with a novel domain-specific retriever FinSeer for financial time-series forecasting. FinSeer leverages a candidate selection mechanism refined by LLM feedback and a similarity-driven training objective to align queries with historically influential sequences while filtering out financial noise. Such training enables FinSeer to identify the most relevant time-series data segments for downstream forecasting tasks, unlike embedding or distance-based retrieval methods used in existing RAG frameworks. The retrieved patterns are then fed into StockLLM, a 1B-parameter LLM fine-tuned for stock movement prediction, which serves as the generative backbone. Beyond the retrieval method, we enrich the retrieval corpus by curating new datasets that integrate a broader set of financial indicators, capturing previously overlooked market dynamics. Experiments demonstrate that FinSeer outperforms existing textual retrievers and traditional distance-based retrieval approaches in enhancing the prediction accuracy of StockLLM, underscoring the importance of domain-specific retrieval frameworks in handling the complexity of financial time-series data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。