University of Toronto
Dynamic Adaptation to Financial Market Regimes Through Filtering and Reward Engineering of Large Language Models
Abstract
dc:description.abstractThe financial market regime switching problem refers to the challenge of modeling financial time-seriesphenomena (such as asset prices or exchange rates) that exhibit distinct behavioral patterns under different underlying, unobservable market conditions, or “regimes”. Examples of such regimes include bull and bear markets, periods of high or low volatility, and phases of economic expansion or recession. This problem is most commonly addressed using Markovian switching models, which posit that the observed market phenomena are generated by an underlying system with distinct states, each governed by its own set of parameters that undergo hidden distributional shifts (e.g., correlation or covariate shifts). These distributional shifts and dynamics (e.g., aperiodicity and non-stationarity) in financial temporal data present significant challenges for traditional neural network-based approaches. Specifically, transformer-based specialist models or state-of-the-art (SOTA) pretrained and fine-tuned large language models (LLMs), despite their formidable capabilities, often struggle to perform effectively on such downstream tasks. This thesis addresses the regime switching problem by contributing two orthogonal dynamic adaptation techniques: (I) a dynamic filtering mechanism using a heterogeneous mixture of experts ((MoE-F)) and (II) a regime-adaptive alignment method using reinforcement learning from market feedback (RLMF). Additionally, it highlights fundamental limitations of transformer-based specialized models and LLMs which impede their success in time- series forecasting tasks. Furthermore, we introduce a specialized dataset of financial news headlines to support novel reward engineering techniques aimed at enhancing LLM performance in downstream tasks involving aperiodic, non-stationary temporal data.
Degree
thesis:*- Department dc:contributor.department
- Computer Science
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Saqur, Raeid
- Advisor dc:contributor.advisor
-
- Rudzicz, Frank
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- Attribution-NonCommercial 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/150057