Multifractal Flexibly Detrended Fluctuation Analysis as Feature Engineering for Attention-Augmented LSTM Commodity Price Forecasting
Ahmad Nasser, Syed M. Abdullah
Abstract
This paper investigates whether rolling multifractal regime descriptors, computed via Multifractal Flexibly Detrended Fluctuation Analysis (MFFDFA), can improve deep-learning-based commodity return forecasting. We implement a vectorised MFFDFA algorithm following Rak and Zięba (2015) and extract rolling estimates of the generalised Hurst exponent $h(q)$, spectrum width $Δα$, and spectrum asymmetry as auxiliary input features for an attention-augmented Long Short-Term Memory (LSTM) network. The hybrid model is compared against a baseline LSTM trained on standard price-based features, using identical architecture, hyperparameters, and chronological train/validation/test splits across multiple commodity series. A multi-seed ensemble protocol and the Diebold-Mariano test are employed to assess statistical significance. We additionally compare MFFDFA with classical fixed-order polynomial MFDFA and apply surrogate shuffle tests to verify that the detected multifractality reflects genuine temporal correlations rather than distributional artefacts.
Read the AI summary and key takeaways for traders on WOBR Quant Research.