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

历史押韵:用于稳健金融预测的宏观语境检索

History Rhymes: Macro-Contextual Retrieval for Robust Financial Forecasting

Fraunhofer IAIS - Department of Media Engineering(弗劳恩霍夫研究所-媒体工程部门);University of Bonn - Department of Computer Science(波恩大学-计算机科学系);Lamarr Institute for Machine Learning(拉马尔机器学习研究所)

Sarthak Khanna, Armin Berger, Muskaan Chopra, David Berghaus, Rafet Sifa

AI总结:

针对金融市场非平稳性导致预测模型分布外失效问题,提出宏观语境检索框架,通过联合嵌入宏观指标与财经新闻情绪实现历史类似宏观体制的因果检索,提升分布外预测稳健性并支持可解释性。

摘要:

金融市场本质上是非平稳的:结构性断裂和宏观经济体制转变常导致预测模型在分布外(OOD)部署时失效。简单融合数值指标和文本情绪的传统多模态方法很少能适应此类转变。我们引入宏观语境检索,这是一种检索增强的预测框架,将每个预测基于历史上类似的宏观经济体制。该方法将宏观指标(如CPI、失业率、收益率差、GDP增长)和财经新闻情绪联合嵌入共享相似空间,实现推理时无需重新训练即可因果检索先例时期。基于2007-2023年十七年的标普500数据训练,并在2024年的AAPL和XOM上进行OOD评估,该框架持续缩小交叉验证与OOD性能差距。宏观条件检索实现了唯一正向的样本外交易结果(AAPL:PF=1.18,夏普比率=0.95;XOM:PF=1.16,夏普比率=0.61),而静态数值、纯文本和朴素多模态基线在体制转变下表现崩溃。除指标提升外,检索到的相邻时期形成可解释的证据链,对应可识别的宏观语境(如通胀或收益率曲线倒挂阶段),支持因果可解释性和透明度。所有数据集、模型和源代码均公开可用。

英文摘要:

Financial markets are inherently non-stationary: structural breaks and macroeconomic regime shifts often cause forecasting models to fail when deployed out of distribution (OOD). Conventional multimodal approaches that simply fuse numerical indicators and textual sentiment rarely adapt to such shifts. We introduce macro-contextual retrieval, a retrieval-augmented forecasting framework that grounds each prediction in historically analogous macroeconomic regimes. The method jointly embeds macro indicators (e.g., CPI, unemployment, yield spread, GDP growth) and financial news sentiment in a shared similarity space, enabling causal retrieval of precedent periods during inference without retraining. Trained on seventeen years of S&P 500 data (2007-2023) and evaluated OOD on AAPL (2024) and XOM (2024), the framework consistently narrows the CV to OOD performance gap. Macro-conditioned retrieval achieves the only positive out-of-sample trading outcomes (AAPL: PF=1.18, Sharpe=0.95; XOM: PF=1.16, Sharpe=0.61), while static numeric, text-only, and naive multimodal baselines collapse under regime shifts. Beyond metric gains, retrieved neighbors form interpretable evidence chains that correspond to recognizable macro contexts, such as inflationary or yield-curve inversion phases, supporting causal interpretability and transparency. By operationalizing the principle that "financial history may not repeat, but it often rhymes," this work demonstrates that macro-aware retrieval yields robust, explainable forecasts under distributional change. All datasets, models, and source code are publicly available.

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

↑