Skip to main navigation Skip to search Skip to main content

Online Ensemble Learning for Sector Rotation: A Gradient-Free Framework

  • Stony Brook University
  • Georgia Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We propose a gradient-free online ensemble learning algorithm that dynamically combines forecasts from a heterogeneous set of machine learning models based on their recent predictive performance, measured by out-of-sample R2. The ensemble is model-agnostic, requires no gradient access, and is designed for sequential forecasting under nonstationarity. It adaptively reweights 16 constituent models: three linear benchmarks - Ordinary Least Squares (OLS), Principal Component Regression (PCR), and LASSO - and thirteen nonlinear machine learning models, including Random Forests, Gradient-Boosted Regression Trees, and a hierarchy of feedforward neural networks (NN1-NN12). We apply this framework to the sector rotation problem, using sector-level features derived by aggregating firm-specific characteristics. Empirically, we find that sector-level returns are more predictable and stable than individual asset returns, making them well-suited for cross-sectional forecasting. To exploit this structure, our algorithm constructs sector-specific ensembles that assign adaptive weights to constituent models in a rolling-window fashion, guided by their forecast accuracy. Our key theoretical contribution is to bound the online forecast regret directly in terms of realized out-of-sample R2, a standard empirical performance metric that here serves as the loss function in the ensemble procedure. This provides a novel and interpretable guarantee: the ensemble performs nearly as well as the best model in hindsight in terms of predictive power. Empirical results show that the ensemble consistently outperforms individual models, equal-weighted combinations, and traditional offline ensemble methods in both predictive accuracy and economic value. When used to construct sector rotation portfolios, it delivers substantial improvements in risk-adjusted returns, maintains robustness across macroeconomic regimes, and demonstrates resilience during periods of financial stress, including the COVID-19 crisis.

Original languageEnglish
Title of host publicationICAIF 2025 - 6th ACM International Conference on AI in Finance
PublisherAssociation for Computing Machinery, Inc
Pages440-448
Number of pages9
ISBN (Electronic)9798400722202
DOIs
StatePublished - Nov 14 2025
Event6th ACM International Conference on AI in Finance, ICAIF 2025 - Singapore, Singapore
Duration: Nov 15 2025Nov 18 2025

Publication series

NameICAIF 2025 - 6th ACM International Conference on AI in Finance

Conference

Conference6th ACM International Conference on AI in Finance, ICAIF 2025
Country/TerritorySingapore
CitySingapore
Period11/15/2511/18/25

Keywords

  • Ensemble of Models
  • Machine Learning
  • Multiplicative Weights Update Method
  • Online Learning
  • Regret Minimization
  • Sector Rotation

Fingerprint

Dive into the research topics of 'Online Ensemble Learning for Sector Rotation: A Gradient-Free Framework'. Together they form a unique fingerprint.

Cite this