Macro-aware time series forecasting via hierarchical mixed-frequency attention models
Daniel Cunha Oliveira, Kieran Wood, Stefan Zohren, Mihai Cucuringu, André Fujita · 2026
Read Macro-aware time series forecasting via hierarchical mixed-frequency attention models by Daniel Cunha Oliveira, Kieran Wood, Stefan Zohren, Mihai Cucuringu, André Fujita (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2606-00624.txt.
Introduction
Oliveira and co-authors feed big-picture money traits into market calls through a tiered watch net. Deep tools show flair for trade calls, yet their broad skill is thin. Small sets, noise, and shift-prone runs all drag them down. Scant past money regimes are the core bind they name.
Their net, HANET, nests day trade marks in month money frames. A cross-watch step joins slow money marks with fast day marks. No day grain is lost in that join, they stress. Regime pick acts as watch weight on past money frames. Tests span 55 liquid trade lines in more than one class. Gains swell most in wild times, with loss cuts to match. A kin tool with the same money marks but no tiers falls flat.
Catalog record
| CREATOR | Daniel Cunha Oliveira, Kieran Wood, Stefan Zohren, Mihai Cucuringu, André Fujita |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 81 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2606.00624
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Macro-aware time series forecasting via hierarchical mixed-frequency attention models Daniel Cunha Oliveira, Kieran Wood, Stefan Zohren, Mihai Cucuringu, André Fujita 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. 1 Introduction Deep learning has achieved remarkable success across many domains, yet its generalization can degrade sharply when training data is limited. Small datasets increase the risk of learning spurious patterns, a phenomenon closely tied to imbalanced and noisy samples 34 ; 15 . In financial forecasting, this challenge is amplified by non-stationarity and structural change, including time-varying predictability of stocks and bonds 10 ; 16 , momentum crashes 8 , carry crashes 5 , and correlation breaks 26 . Robust methods are therefore essential, especially in realistic multi-asset settings where models must generalize across heterogeneous instruments. A large body of machine learning research addresses biased or scarce data via resampling (e.g., SMOTE 6 ), importance weighting 17 , hard example mining 12 ; 22 , and meta-learning 28 ; 29 . A complementary perspective is one-shot or few-shot learning: rather than correcting bias, the goal is to learn from a small set of relevant examples. This framing is natural for macro-finance, where long histories do not imply many independent training “episodes”: the number of distinct macroeconomic regimes (recessions, inflation cycles, and structural shifts) is inherently scarce. Even in broad universes, such as our dataset of 55 liquid futures spanning multiple asset classes, regime diversity remains limited and non-stationarity manifests differently across sectors. Attention over a context set, as introduced by Matching Networks 30 and further developed by Neural Processes 18 , provides a mechanism for test-time adaptation by retrieving and weighting the most relevant past contexts. Beyond performance, attention can also support interpretability: the Momentum Transformer ( 31 ) demonstrates how attention mechanisms can be used to visualize the specific historical time steps associated with trend predictions, effectively treating attention weights as a proxy for importance. In financial deep learning, 32 proposes a few-shot approach inspired by Neural Processes where attention is defined over the cross-section of assets, improving portfolio metrics in difficult post-2017 periods. While promising, this line of work leaves open a key question: how can high-dimensional external information be integrated into attention, particularly macroeconomic variables that are central in asset pricing theory 23 ; 4 ; 9 and empirics 10 ; 7 ; 20 ; 1 ? Moreover, macro data are typically low-frequency, creating a mixed-frequency challenge: a practical architecture must reconcile monthly macro signals with daily returns without discarding daily trading information. To bridge this gap, we introduce HANET (Hierarchical Attention Network), a hybrid LSTM-based architecture grounded in macroeconomic domain knowledge. HANET extends few-shot attention frameworks 30 ; 32 with a Hierarchical Cross-Attention mechanism designed for mixed-frequency inputs. Queries and keys operate at the monthly frequency to identify relevant historical macro regimes, while values preserve granular daily market information. Monthly attention weights are then projected to the daily grid to reweight high-frequency representations aligning regime information with daily returns without losing day-to-day signal structure. We evaluate HANET in a realistic multi-asset setting using 55 futures across multiple asset classes and show that macro-conditioned attention improves robustness and performance, particularly in turbulent periods where standard neural forecasters often fail. Crucially, the macro-attention mechanism also provides an interpretable lens into the model’s behavior, revealing which historical regimes and macro features most strongly associate with each forecast and linking macro conditions to portfolio outcomes. We summarize our contributions as follows: • Macro-conditioned forecasting. We propose HANET, a hybrid LSTM-based forecasting architecture that conditions predictions on high-dimensional macroeconomic contexts, enabling adaptation to scarce and shifting regimes without requiring explicit regime labels. • A Hierarchical Mixed-Frequency Attention Primitive. We introduce a Hierarchical Cross-Attention mechanism that bridges disparate data frequencies by computing attention on a monthly macro grid and projecting the resulting weights onto a daily trading grid, thereby anchoring decisions in low-frequency fundamentals while preserving high-frequency signal integrity. • General-purpose systematic forecasting, including carry. We provide, to our knowledge, the first deep learning formulation of the time-series carry task and demonstrate that HANET generalizes beyond momentum-style applications by capturing the relationships between macro regimes and term-structure-driven signals across assets. • Interpretability via hierarchical attention on the macro space. We show how HANET’s attention over macro contexts can be used to identify influential historical regimes and macroeconomic conditions associated with each prediction, offering an interpretable connection between macro conditions, trading signals, and portfolio performance. 2 Related Literature The literature on systematic time-series strategies is extensive, with substantial evidence that momentum and carry signals capture persistent risk premia across asset classes. 27 established time-series momentum as a pervasive phenomenon across equities, bonds, commodities, and currencies, showing that an asset’s own past excess return predicts its future excess return at horizons ranging from one to twelve months. 3 provided a unified framework for constructing momentum and carry signals across asset classes, including the MACD-based trend filters and carry definitions we adopt as benchmarks. Carry strategies, in particular, have been studied extensively in foreign exchange by 24 and generalized to a multi-asset setting by 19 , who showed that carry earns a significant and persistent premium in virtually every asset class studied. Despite their strong unconditional performance, both factors exhibit episodic crash risk: 8 documented sharp momentum crashes following market rebounds, and 5 highlighted analogous carry unwinds during periods of funding-liquidity stress. These non-stationarities motivate models that can adapt to changing market regimes rather than relying on fixed signal-to-position mappings. Recently, due to advancements in computational power, theoretical developments in machine learning, and the availability of large financial datasets, researchers have started to apply deep learning to systematic trading. 21 proposed the Deep Momentum Network (DMN), which uses an LSTM to jointly learn the trend signal and the position sizing from volatility-adjusted inputs, trained end-to-end under a Sharpe-based objective. 31 extended this line of work to attention-based architectures