๐ค AI Summary
Financial time series forecasting often suffers from limited generalization due to data noise, non-stationarity, and the absence of macroeconomic context. This work proposes HANET, a novel model that introduces a hierarchical mixed-frequency attention mechanism, nesting daily asset returns within monthly macroeconomic windows to preserve high-frequency dynamics while incorporating macro-level knowledge. By leveraging hierarchical cross-attention, HANET explicitly models the selection of relevant macroeconomic regimes and integrates high- and low-frequency information through an LSTM-based architecture, enabling both effective fusion and interpretability. Empirical evaluation on 55 liquid futures demonstrates that HANET significantly outperforms baseline models that ignore macroeconomic signals, particularly during turbulent market periods, yielding higher risk-adjusted returns and reduced losses.
๐ Abstract
Deep learning models show promise in financial forecasting, yet their generalization is often undermined by small datasets, noisy signals, and non-stationarity. While meta-learning and related techniques mitigate some of these issues, they typically do not account for a core limitation in macro-financial prediction: the scarcity of distinct macroeconomic regimes that drive asset returns. We introduce HANET (Hierarchical Attention Network), a hybrid LSTM-based architecture that integrates macroeconomic domain knowledge through attention over long-run macro contexts while preserving high-frequency market dynamics. HANET organizes information in a hierarchical mixed-frequency structure, with daily asset-return signals nested within monthly macroeconomic windows, and introduces a Hierarchical Cross-Attention mechanism that reconciles low-frequency macro signals with high-frequency returns without discarding granular daily information. By framing regime selection as attention over macroeconomic contexts, the model adapts to scarce and shifting regimes. Empirically, across 55 liquid futures spanning multiple asset classes, HANET consistently outperforms neural forecasters that ignore macroeconomic information, particularly during turbulent periods, improving risk-adjusted returns and mitigating losses. Ablation studies show that these gains rely on structured macro conditioning rather than naive feature augmentation: an LSTM with the same macro representation performs poorly, and shuffling macro contexts substantially degrades performance. Finally, HANET provides interpretability through attention weights, highlighting which historical regimes are most influential for each forecast and linking macro conditions to portfolio outcomes. These results establish HANET as a systematic approach to integrating macroeconomic information into attention-based deep learning for financial forecasting.