History Rhymes: Macro-Contextual Retrieval for Robust Financial Forecasting

Financial markets are inherently non-stationary: structural breaks and macroeconomic regime shifts frequently cause forecasting models to fail when deployed out of distribution. Conventional multimodal approaches that fuse numerical indicators and textual sentiment often lack robustness to such shifts. We introduce macro-contextual retrieval, a retrieval-augmented forecasting framework that grounds each prediction in historically analogous macroeconomic regimes. The approach jointly embeds macroeconomic indicators and financial news sentiment into a shared similarity space, enabling retrieval of precedent periods during inference without retraining. Evaluated on seventeen years of S\&P 500 data and tested out-of-distribution on AAPL and XOM, the method consistently narrows the generalization gap and produces the only positive out-of-sample trading outcomes among tested baselines. Retrieved historical neighbors further provide interpretable evidence chains corresponding to recognizable macroeconomic contexts. These results demonstrate that macro-aware retrieval improves robustness and interpretability in financial forecasting under distributional change.

Informationen zur Zitierung

Khanna, Sarthak; Berger, Armin; Chopra, Muskaan; Berghaus, David; Sifa, Rafet: History Rhymes: Macro-Contextual Retrieval for Robust Financial Forecasting, 2025 IEEE International Conference on Big Data (BigData), 2025, 7196--7203, https://www.computer.org/csdl/proceedings-article/bigdata/2025/11400811/2eDsnSlubPq, Khanna.etal.2025c,

Assoziierte Lamarr-ForscherInnen

Prof. Dr. Rafet Sifa

Prof. Dr. Rafet Sifa

Principal Investigator Hybrides ML zum Profil
Photo. Portrait of David Berghaus.

Dr. David Berghaus

Postdoctoral Researcher NLP zum Profil