cs.LGMar 11, 2026

Regime-aware financial volatility forecasting via in-context learning

Authors: Saba Asaad, Shayan Mohajer Hamidi, Ali Bereyhi

Organizations: Department of Electrical and Computer Engineering, University of Toronto, Toronto, Canada · Department of Electrical Engineering, Stanford University, Stanford, CA, USA

Abstract

This work introduces a regime-aware in-context learning framework that leverages large language models (LLMs) for financial volatility forecasting under nonstationary market conditions. The proposed approach deploys pretrained LLMs to reason over historical volatility patterns and adjust their predictions without parameter fine-tuning. We develop an oracle-guided refinement procedure that constructs regime-aware demonstrations from training data. An LLM is then deployed as an in-context learner that predicts the next-step volatility from the input sequence using demonstrations sampled conditional to the estimated market label. This conditional sampling strategy enables the LLM to adapt its predictions to regime-dependent volatility dynamics through contextual reasoning alone. Experiments with multiple financial datasets show that the proposed regime-aware in-context learning framework outperforms both classical volatility forecasting approaches and direct one-shot learning, especially during high-volatility periods.

Figures & tables

Explore similar work

CardsList
  1. Regime-Gated Residual Mixture-of-Experts for Cross-Sectional Volatility Forecasting

    Aug 12, 2026Junyi Ye, Gargi Vijay BordeQuantitative FinanceNon-Stationary Time Series Forecasting

  2. Latent-Regime Bias Auditing for Volatility Forecasting

    Aug 3, 2026Arthur Chagas, Pedro Bento, Yan Aquino +3Time Series ForecastingFinancial Time Series

  3. Beyond Sequential Prediction: Learning Financial Market Dynamics in Volatile and Non-Stationary Environments through Sentiment-Conditioned Generative Modelling

    Apr 13, 2026Alexis Lazanas, Spyridon KarpouzisTime Series ForecastingNon-Stationary Time Series Forecasting