IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2606.00624.html

Macro-aware time series forecasting via hierarchical mixed-frequency attention models

Author

Listed:
  • Daniel Cunha Oliveira
  • Kieran Wood
  • Stefan Zohren
  • Mihai Cucuringu
  • Andr'e 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.

Suggested Citation

  • Daniel Cunha Oliveira & Kieran Wood & Stefan Zohren & Mihai Cucuringu & Andr'e Fujita, 2026. "Macro-aware time series forecasting via hierarchical mixed-frequency attention models," Papers 2606.00624, arXiv.org.
  • Handle: RePEc:arx:papers:2606.00624
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2606.00624
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Eric Ghysels & Arthur Sinko & Rossen Valkanov, 2007. "MIDAS Regressions: Further Results and New Directions," Econometric Reviews, Taylor & Francis Journals, vol. 26(1), pages 53-90.
    2. Breeden, Douglas T., 1979. "An intertemporal asset pricing model with stochastic consumption and investment opportunities," Journal of Financial Economics, Elsevier, vol. 7(3), pages 265-296, September.
    3. Hanno Lustig & Nikolai Roussanov & Adrien Verdelhan, 2011. "Common Risk Factors in Currency Markets," The Review of Financial Studies, Society for Financial Studies, vol. 24(11), pages 3731-3777.
    4. Claudia Foroni & Massimiliano Marcellino & Christian Schumacher, 2015. "Unrestricted mixed data sampling (MIDAS): MIDAS regressions with unrestricted lag polynomials," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 178(1), pages 57-82, January.
    5. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    6. Markus K. Brunnermeier & Stefan Nagel & Lasse H. Pedersen, 2009. "Carry Trades and Currency Crashes," NBER Chapters, in: NBER Macroeconomics Annual 2008, Volume 23, pages 313-347, National Bureau of Economic Research, Inc.
    7. Martin Lettau & Sydney Ludvigson, 2001. "Consumption, Aggregate Wealth, and Expected Stock Returns," Journal of Finance, American Finance Association, vol. 56(3), pages 815-849, June.
    8. Michael W. McCracken & Serena Ng, 2016. "FRED-MD: A Monthly Database for Macroeconomic Research," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 34(4), pages 574-589, October.
    9. Lucas, Robert E, Jr, 1978. "Asset Prices in an Exchange Economy," Econometrica, Econometric Society, vol. 46(6), pages 1429-1445, November.
    10. Ilmanen, Antti, 1995. "Time-Varying Expected Returns in International Bond Markets," Journal of Finance, American Finance Association, vol. 50(2), pages 481-506, June.
    11. Larry G. Epstein & Stanley E. Zin, 2013. "Substitution, risk aversion and the temporal behavior of consumption and asset returns: A theoretical framework," World Scientific Book Chapters, in: Leonard C MacLean & William T Ziemba (ed.), HANDBOOK OF THE FUNDAMENTALS OF FINANCIAL DECISION MAKING Part I, chapter 12, pages 207-239, World Scientific Publishing Co. Pte. Ltd..
    12. Fama, Eugene F. & French, Kenneth R., 1989. "Business conditions and expected returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 25(1), pages 23-49, November.
    13. Andrew Ang & Robert J. Hodrick & Yuhang Xing & Xiaoyan Zhang, 2006. "The Cross‐Section of Volatility and Expected Returns," Journal of Finance, American Finance Association, vol. 61(1), pages 259-299, February.
    14. H. Kahn & A. W. Marshall, 1953. "Methods of Reducing Sample Size in Monte Carlo Computations," Operations Research, INFORMS, vol. 1(5), pages 263-278, November.
    15. Chen, Nai-Fu & Roll, Richard & Ross, Stephen A, 1986. "Economic Forces and the Stock Market," The Journal of Business, University of Chicago Press, vol. 59(3), pages 383-403, July.
    16. Kieran Wood & Samuel Kessler & Stephen J. Roberts & Stefan Zohren, 2023. "Few-Shot Learning Patterns in Financial Time-Series for Trend-Following Strategies," Papers 2310.10500, arXiv.org, revised Mar 2024.
    17. Bańbura, Marta & Giannone, Domenico & Modugno, Michele & Reichlin, Lucrezia, 2013. "Now-Casting and the Real-Time Data Flow," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 195-237, Elsevier.
    18. Moskowitz, Tobias J. & Ooi, Yao Hua & Pedersen, Lasse Heje, 2012. "Time series momentum," Journal of Financial Economics, Elsevier, vol. 104(2), pages 228-250.
    19. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Clarke, Charles, 2022. "The level, slope, and curve factor model for stocks," Journal of Financial Economics, Elsevier, vol. 143(1), pages 159-187.
    2. Adcock, Christopher & Bessler, Wolfgang & Conlon, Thomas, 2022. "Characteristic-sorted portfolios and macroeconomic risks—An orthogonal decomposition," Journal of Empirical Finance, Elsevier, vol. 65(C), pages 24-50.
    3. Shen, Junyan & Yu, Jianfeng & Zhao, Shen, 2017. "Investor sentiment and economic forces," Journal of Monetary Economics, Elsevier, vol. 86(C), pages 1-21.
    4. Gregory Connor & Lisa R. Goldberg & Robert A. Korajczyk, 2010. "Portfolio Risk Analysis," Economics Books, Princeton University Press, edition 1, number 9224, December.
    5. Gagliardini, Patrick & Ossola, Elisa & Scaillet, Olivier, 2019. "A diagnostic criterion for approximate factor structure," Journal of Econometrics, Elsevier, vol. 212(2), pages 503-521.
    6. João M. Sousa & Ricardo M. Sousa, 2019. "Asset Returns Under Model Uncertainty: Evidence from the Euro Area, the US and the UK," Computational Economics, Springer;Society for Computational Economics, vol. 54(1), pages 139-176, June.
    7. Hardouvelis, Gikas A. & Kim, Dongcheol & Wizman, Thierry A., 1996. "Asset pricing models with and without consumption data: An empirical evaluation," Journal of Empirical Finance, Elsevier, vol. 3(3), pages 267-301, September.
    8. Nobel Prize Committee, 2013. "Understanding Asset Prices," Nobel Prize in Economics documents 2013-1, Nobel Prize Committee.
    9. Jin Du & Alexander Walter & Maxim Ulrich, 2026. "Cross-Market Alpha: Testing Short-Term Trading Factors in the U.S. Market via Double-Selection LASSO," Papers 2601.06499, arXiv.org, revised May 2026.
    10. Juan Ignacio Peña & Rosa Rodríguez, 2007. "On the Economic Link Between Asset Prices and Real Activity," Journal of Business Finance & Accounting, Wiley Blackwell, vol. 34(5‐6), pages 889-916, June.
    11. Babiak, Mykola & Baruník, Jozef, 2026. "Deep learning, predictability, and optimal portfolio returns," Journal of Empirical Finance, Elsevier, vol. 87(C).
    12. Campbell, John Y. & Giglio, Stefano & Polk, Christopher & Turley, Robert, 2018. "An intertemporal CAPM with stochastic volatility," Journal of Financial Economics, Elsevier, vol. 128(2), pages 207-233.
    13. Luca De Gennaro Aquino & Xuedong He & Moris Simon Strub & Yuting Yang, 2024. "Reference-dependent asset pricing with a stochastic consumption-dividend ratio," Papers 2401.12856, arXiv.org.
    14. Keunbae Ahn, 2021. "Predictable Fluctuations in the Cross-Section and Time-Series of Asset Prices," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2021, January-A.
    15. Malamud, Semyon & Vilkov, Grigory, 2018. "Non-myopic betas," Journal of Financial Economics, Elsevier, vol. 129(2), pages 357-381.
    16. Zhang, Han & Xiong, Xiong & Guo, Bin, 2025. "The stock return predictability of treasury bond yield in China," Journal of Empirical Finance, Elsevier, vol. 84(C).
    17. Ricardo M. Sousa, 2011. "Asset Returns Under Model Uncertainty: Evidence from the euro area, the U.K. and the U.S," Working Papers w201119, Banco de Portugal, Economics and Research Department.
    18. Doron Avramov & Guofu Zhou, 2010. "Bayesian Portfolio Analysis," Annual Review of Financial Economics, Annual Reviews, vol. 2(1), pages 25-47, December.
    19. Campbell, John Y., 2003. "Consumption-based asset pricing," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, edition 1, volume 1, chapter 13, pages 803-887, Elsevier.
    20. Cao, Sean & Jiang, Wei & Wang, Junbo & Yang, Baozhong, 2024. "From Man vs. Machine to Man + Machine: The art and AI of stock analyses," Journal of Financial Economics, Elsevier, vol. 160(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2606.00624. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.