Decoding Futures Price Dynamics: A Regularized Sparse Autoencoder for Interpretable Multi-Horizon Forecasting and Factor Discovery
Abhijit Gupta
TL;DR
This paper addresses the challenge of forecasting commodity futures across multiple horizons while uncovering interpretable market drivers. It introduces the Regularized Sparse Autoencoder (RSAE), a three-component, energy-based framework that enforces sparsity on the latent code $\mathbf{z}$ via $L1$ regularization to jointly predict future prices and discover latent factors, using amortized inference for test-time predictions. Evaluated on Copper and Crude Oil data from 2005–2023, RSAE delivers competitive multi-horizon forecasting accuracy and yields latent factors that align with economic drivers such as demand, supply shocks, USD strength, and sentiment. The approach offers a transparent alternative to black-box models, with potential benefits for risk management and scenario analysis through interpretable, data-driven latent factors.
Abstract
Commodity price volatility creates economic challenges, necessitating accurate multi-horizon forecasting. Predicting prices for commodities like copper and crude oil is complicated by diverse interacting factors (macroeconomic, supply/demand, geopolitical, etc.). Current models often lack transparency, limiting strategic use. This paper presents a Regularized Sparse Autoencoder (RSAE), a deep learning framework for simultaneous multi-horizon commodity price prediction and discovery of interpretable latent market drivers. The RSAE forecasts prices at multiple horizons (e.g., 1-day, 1-week, 1-month) using multivariate time series. Crucially, L1 regularization ($\|\mathbf{z}\|_1$) on its latent vector $\mathbf{z}$ enforces sparsity, promoting parsimonious explanations of market dynamics through learned factors representing underlying drivers (e.g., demand, supply shocks). Drawing from energy-based models and sparse coding, the RSAE optimizes predictive accuracy while learning sparse representations. Evaluated on historical Copper and Crude Oil data with numerous indicators, our findings indicate the RSAE offers competitive multi-horizon forecasting accuracy and data-driven insights into price dynamics via its interpretable latent space, a key advantage over traditional black-box approaches.
