RETuning:利用大语言模型升级股票走势预测的推理时扩展
RETuning: Upgrading Inference-Time Scaling for Stock Movement Prediction with Large Language Models
AI总结:
针对大语言模型在股票走势预测中缺乏独立推理的问题,提出RETuning冷启动方法,通过动态构建分析框架并权衡证据,提升预测能力,实验验证其有效性和泛化性。
摘要:
近年来,大语言模型(LLMs)在数学和编程任务上展现出了卓越的推理能力。然而,它们在金融任务——尤其是股票走势预测这一最基础的任务——上的应用仍未得到充分探索。我们研究了一个三分类问题(上涨、持平、下跌),并通过分析现有的推理响应观察到:(1)LLMs 倾向于跟随分析师的观点,而非展现出系统性、独立的分析逻辑(思维链,CoTs)。(2)LLMs 会列出不同来源的摘要,却不权衡对立的证据,然而这类反证对于可靠预测至关重要。这表明模型并未充分利用其推理能力来完成任务。为解决这一问题,我们提出了反思性证据调优(RETuning),一种在强化学习之前的冷启动方法,以增强预测能力。在生成思维链的同时,RETuning 鼓励模型从多样化的信息源中动态构建分析框架,基于该框架——而非上下文观点——组织和评分支持股价上涨或下跌的证据,并最终通过反思得出预测。这种方法使模型最大程度地与其学到的分析框架对齐,确保独立的逻辑推理并减少来自上下文的过度影响。我们还构建了一个大规模数据集,覆盖2024年全年5,123只A股股票,具有长上下文(32K tokens)和超过20万个样本。除价格和新闻外,该数据集还包含分析师观点、量化报告、基本面数据、宏观经济指标以及相似股票。实验表明,RETuning 成功解锁了模型在金融领域的推理能力。即使在6个月后或面对分布外股票时,推理时扩展仍然有效,因为模型获得了关于股票走势预测的有价值见解。
英文摘要:
Recently, large language models (LLMs) have demonstrated outstanding reasoning capabilities on mathematical and coding tasks. However, their application to financial tasks-especially the most fundamental task of stock movement prediction-remains underexplored. We study a three-class classification problem (up, hold, down) and, by analyzing existing reasoning responses, observe that: (1) LLMs follow analysts' opinions rather than exhibit a systematic, independent analytical logic (CoTs). (2) LLMs list summaries from different sources without weighing adversarial evidence, yet such counterevidence is crucial for reliable prediction. It shows that the model does not make good use of its reasoning ability to complete the task. To address this, we propose Reflective Evidence Tuning (RETuning), a cold-start method prior to reinforcement learning, to enhance prediction ability. While generating CoT, RETuning encourages dynamically constructing an analytical framework from diverse information sources, organizing and scoring evidence for price up or down based on that framework-rather than on contextual viewpoints-and finally reflecting to derive the prediction. This approach maximally aligns the model with its learned analytical framework, ensuring independent logical reasoning and reducing undue influence from context. We also build a large-scale dataset spanning all of 2024 for 5,123 A-share stocks, with long contexts (32K tokens) and over 200K samples. In addition to price and news, it incorporates analysts' opinions, quantitative reports, fundamental data, macroeconomic indicators, and similar stocks. Experiments show that RETuning successfully unlocks the model's reasoning ability in the financial domain. Inference-time scaling still works even after 6 months or on out-of-distribution stocks, since the models gain valuable insights about stock movement prediction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。