IDEAS home Printed from https://ideas.repec.org/p/ira/wpaper/202402.html
   My bibliography  Save this paper

Monitoring time-varying systemic risk in sovereign debt and currency markets with generative AI

Author

Listed:
  • Helena Chuliá

    (Riskcenter- IREA and Department of Econometrics and Statistics, University of Barcelona.)

  • Sabuhi Khalili

    (Department of Econometrics and Statistics, University of Barcelona.)

  • Jorge M. Uribe

    (Faculty of Economics and Business Studies, Open University of Catalonia.)

Abstract

SWe propose generative artificial intelligence to measure systemic risk in the global markets of sovereign debt and foreign exchange. Through a comparative analysis, we explore three novel models to the economics literature and integrate them with traditional factor models. These models are: Time Variational Autoencoders, Time Generative Adversarial Networks, and Transformer-based Time-series Generative Adversarial Networks. Our empirical results provide evidence in support of the Variational Autoencoder. Results here indicate that both the Credit Default Swaps and foreign exchange markets are susceptible to systemic risk, with a historically high probability of distress observed by the end of 2022, as measured by both the Joint Probability of Distress and the Expected Proportion of Markets in Distress. Our results provide insights for governments in both developed and developing countries, since the realistic counterfactual scenarios generated by the AI, yet to occur in global markets, underscore the potential worst-case scenarios that may unfold if systemic risk materializes. Considering such scenarios is crucial when designing macroprudential policies aimed at preserving financial stability and when measuring the effectiveness of the implemented policies.

Suggested Citation

  • Helena Chuliá & Sabuhi Khalili & Jorge M. Uribe, 2024. "Monitoring time-varying systemic risk in sovereign debt and currency markets with generative AI," IREA Working Papers 202402, University of Barcelona, Research Institute of Applied Economics, revised Feb 2024.
  • Handle: RePEc:ira:wpaper:202402
    as

    Download full text from publisher

    File URL: http://www.ub.edu/irea/working_papers/2024/202402.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jose E. Gomez-Gonzalez & Jorge M. Uribe & Oscar M. Valencia, 2023. "Risk spillovers between global corporations and Latin American sovereigns: global factors matter," Applied Economics, Taylor & Francis Journals, vol. 55(13), pages 1477-1496, March.
    2. Satyajit Chatterjee & Dean Corbae & Kyle Dempsey & José‐Víctor Ríos‐Rull, 2023. "A Quantitative Theory of the Credit Score," Econometrica, Econometric Society, vol. 91(5), pages 1803-1840, September.
    3. Tatyana Deryugina & Garth Heutel & Nolan H. Miller & David Molitor & Julian Reif, 2019. "The Mortality and Medical Costs of Air Pollution: Evidence from Changes in Wind Direction," American Economic Review, American Economic Association, vol. 109(12), pages 4178-4219, December.
    4. Forni, Mario & Hallin, Marc & Lippi, Marco & Reichlin, Lucrezia, 2005. "The Generalized Dynamic Factor Model: One-Sided Estimation and Forecasting," Journal of the American Statistical Association, American Statistical Association, vol. 100, pages 830-840, September.
    5. Harold D. Chiang & Kengo Kato & Yukun Ma & Yuya Sasaki, 2022. "Multiway Cluster Robust Double/Debiased Machine Learning," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(3), pages 1046-1056, June.
    6. Farbmacher, Helmut & Löw, Leander & Spindler, Martin, 2022. "An explainable attention network for fraud detection in claims management," Journal of Econometrics, Elsevier, vol. 228(2), pages 244-258.
    7. Augustin, Patrick, 2018. "The term structure of CDS spreads and sovereign credit risk," Journal of Monetary Economics, Elsevier, vol. 96(C), pages 53-76.
    8. Daniele Bianchi & Matthias Büchner & Tobias Hoogteijling & Andrea Tamoni, 2021. "Corrigendum: Bond Risk Premiums with Machine Learning [Bond risk premiums with machine learning]," Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1090-1103.
    9. 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.
    10. Dawood, Mary & Horsewood, Nicholas & Strobel, Frank, 2017. "Predicting sovereign debt crises: An Early Warning System approach," Journal of Financial Stability, Elsevier, vol. 28(C), pages 16-28.
    11. Leippold, Markus & Wang, Qian & Zhou, Wenyu, 2022. "Machine learning in the Chinese stock market," Journal of Financial Economics, Elsevier, vol. 145(2), pages 64-82.
    12. Jushan Bai & Serena Ng, 2002. "Determining the Number of Factors in Approximate Factor Models," Econometrica, Econometric Society, vol. 70(1), pages 191-221, January.
    13. Augustin, Patrick & Sokolovski, Valeri & Subrahmanyam, Marti G. & Tomio, Davide, 2022. "How sovereign is sovereign credit risk? Global prices, local quantities," Journal of Monetary Economics, Elsevier, vol. 131(C), pages 92-111.
    14. Kay Giesecke & Baeho Kim, 2011. "Systemic Risk: What Defaults Are Telling Us," Management Science, INFORMS, vol. 57(8), pages 1387-1405, August.
    15. Andrii Babii & Eric Ghysels & Jonas Striaukas, 2022. "Machine Learning Time Series Regressions With an Application to Nowcasting," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(3), pages 1094-1106, June.
    16. Helmut Farbmacher & Martin Huber & Lukáš Lafférs & Henrika Langen & Martin Spindler, 2022. "Causal mediation analysis with double machine learning [Mediation analysis via potential outcomes models]," The Econometrics Journal, Royal Economic Society, vol. 25(2), pages 277-300.
    17. Viral V. Acharya & Lasse H. Pedersen & Thomas Philippon & Matthew Richardson, 2017. "Measuring Systemic Risk," Review of Financial Studies, Society for Financial Studies, vol. 30(1), pages 2-47.
    18. Dong Hwan Oh & Andrew J. Patton, 2018. "Time-Varying Systemic Risk: Evidence From a Dynamic Copula Model of CDS Spreads," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 36(2), pages 181-195, April.
    19. Xi Dong & Yan Li & David E. Rapach & Guofu Zhou, 2022. "Anomalies and the Expected Market Return," Journal of Finance, American Finance Association, vol. 77(1), pages 639-681, February.
    20. Cahan, Ercument & Bai, Jushan & Ng, Serena, 2023. "Factor-based imputation of missing values and covariances in panel data of large dimensions," Journal of Econometrics, Elsevier, vol. 233(1), pages 113-131.
    21. Xiong, Ruoxuan & Pelger, Markus, 2023. "Large dimensional latent factor modeling with missing observations and applications to causal inference," Journal of Econometrics, Elsevier, vol. 233(1), pages 271-301.
    22. Francesco Bianchi & Sydney C. Ludvigson & Sai Ma, 2022. "Belief Distortions and Macroeconomic Fluctuations," American Economic Review, American Economic Association, vol. 112(7), pages 2269-2315, July.
    23. Hanno Lustig & Adrien Verdelhan, 2007. "The Cross Section of Foreign Currency Risk Premia and Consumption Growth Risk," American Economic Review, American Economic Association, vol. 97(1), pages 89-117, March.
    24. Kozak, Serhiy & Nagel, Stefan & Santosh, Shrihari, 2020. "Shrinking the cross-section," Journal of Financial Economics, Elsevier, vol. 135(2), pages 271-292.
    25. Ethan Ilzetzki & Carmen M Reinhart & Kenneth S Rogoff, 2019. "Exchange Arrangements Entering the Twenty-First Century: Which Anchor will Hold?," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 134(2), pages 599-646.
    26. Angelico, Cristina & Marcucci, Juri & Miccoli, Marcello & Quarta, Filippo, 2022. "Can we measure inflation expectations using Twitter?," Journal of Econometrics, Elsevier, vol. 228(2), pages 259-277.
    27. Darrell Duffie & Lasse Heje Pedersen & Kenneth J. Singleton, 2003. "Modeling Sovereign Yield Spreads: A Case Study of Russian Debt," Journal of Finance, American Finance Association, vol. 58(1), pages 119-159, February.
    28. Hatchondo, Juan Carlos & Martinez, Leonardo, 2009. "Long-duration bonds and sovereign defaults," Journal of International Economics, Elsevier, vol. 79(1), pages 117-125, September.
    29. André Lucas & Bernd Schwaab & Xin Zhang, 2014. "Conditional Euro Area Sovereign Default Risk," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 32(2), pages 271-284, April.
    30. Claudio Borio & Robert Neil McCauley & Patrick McGuire & Vladyslav Sushko, 2016. "Covered interest parity lost: understanding the cross-currency basis," BIS Quarterly Review, Bank for International Settlements, September.
    31. Susan Athey & Guido W. Imbens, 2019. "Machine Learning Methods That Economists Should Know About," Annual Review of Economics, Annual Reviews, vol. 11(1), pages 685-725, August.
    32. Daniele Bianchi & Matthias Büchner & Andrea Tamoni, 2021. "Bond Risk Premiums with Machine Learning [Quadratic term structure models: Theory and evidence]," Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1046-1089.
    33. Oriana Bandiera & Andrea Prat & Stephen Hansen & Raffaella Sadun, 2020. "CEO Behavior and Firm Performance," Journal of Political Economy, University of Chicago Press, vol. 128(4), pages 1325-1369.
    34. Wu, Eliza & Erdem, Magdalena & Kalotychou, Elena & Remolona, Eli, 2016. "The anatomy of sovereign risk contagion," Journal of International Money and Finance, Elsevier, vol. 69(C), pages 264-286.
    35. 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.
    36. Frank Packer & Chamaree Suthiphongchai, 2003. "Sovereign credit default swaps," BIS Quarterly Review, Bank for International Settlements, December.
    37. Mark A Chen & Qinxi Wu & Baozhong Yang, 2019. "How Valuable Is FinTech Innovation?," Review of Financial Studies, Society for Financial Studies, vol. 32(5), pages 2062-2106.
    38. Gu, Shihao & Kelly, Bryan & Xiu, Dacheng, 2021. "Autoencoder asset pricing models," Journal of Econometrics, Elsevier, vol. 222(1), pages 429-450.
    39. Seunghoon Na & Stephanie Schmitt-Grohé & Martín Uribe & Vivian Yue, 2018. "The Twin Ds: Optimal Default and Devaluation," American Economic Review, American Economic Association, vol. 108(7), pages 1773-1819, July.
    40. Fan, Jianqing & Jiang, Bai & Sun, Qiang, 2022. "Bayesian factor-adjusted sparse regression," Journal of Econometrics, Elsevier, vol. 230(1), pages 3-19.
    41. Lettau, Martin & Maggiori, Matteo & Weber, Michael, 2014. "Conditional risk premia in currency markets and other asset classes," Journal of Financial Economics, Elsevier, vol. 114(2), pages 197-225.
    42. Wenxin Du & Alexander Tepper & Adrien Verdelhan, 2018. "Deviations from Covered Interest Rate Parity," Journal of Finance, American Finance Association, vol. 73(3), pages 915-957, June.
    43. Aït-Sahalia, Yacine & Laeven, Roger J.A. & Pelizzon, Loriana, 2014. "Mutual excitation in Eurozone sovereign CDS," Journal of Econometrics, Elsevier, vol. 183(2), pages 151-167.
    44. Devdeepta Bose & Henning Cordes & Sven Nolte & Judith Christiane Schneider & Colin Farrell Camerer, 2022. "Decision Weights for Experimental Asset Prices Based on Visual Salience," Review of Financial Studies, Society for Financial Studies, vol. 35(11), pages 5094-5126.
    45. Mario Forni & Marc Hallin & Marco Lippi & Lucrezia Reichlin, 2000. "The Generalized Dynamic-Factor Model: Identification And Estimation," The Review of Economics and Statistics, MIT Press, vol. 82(4), pages 540-554, November.
    46. Dovern, Jonas & van Roye, Björn, 2014. "International transmission and business-cycle effects of financial stress," Journal of Financial Stability, Elsevier, vol. 13(C), pages 1-17.
    47. Chernov, Mikhail & Creal, Drew & Hördahl, Peter, 2023. "Sovereign credit and exchange rate risks: Evidence from Asia-Pacific local currency bonds," Journal of International Economics, Elsevier, vol. 140(C).
    48. Mr. Frigyes F Heinz & Ms. Yan M Sun, 2014. "Sovereign CDS Spreads in Europe: The Role of Global Risk Aversion, Economic Fundamentals, Liquidity, and Spillovers," IMF Working Papers 2014/017, International Monetary Fund.
    49. Greenwood-Nimmo, Matthew & Nguyen, Viet Hoang & Shin, Yongcheol, 2023. "What is mine is yours: Sovereign risk transmission during the European debt crisis," Journal of Financial Stability, Elsevier, vol. 65(C).
    50. Bai, Jushan & Ng, Serena, 2007. "Determining the Number of Primitive Shocks in Factor Models," Journal of Business & Economic Statistics, American Statistical Association, vol. 25, pages 52-60, January.
    51. Irina Mihai & Florian Neagu, 2011. "CDS and government bond spreads - how informative are they for financial stability analysis?," IFC Bulletins chapters, in: Bank for International Settlements (ed.), Proceedings of the IFC Conference on "Initiatives to address data gaps revealed by the financial crisis", Basel, 25-26 August 2010, volume 34, pages 415-429, Bank for International Settlements.
    52. Nadja Klein & Michael Stanley Smith & David J. Nott, 2023. "Deep distributional time series models and the probabilistic forecasting of intraday electricity prices," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 38(4), pages 493-511, June.
    53. Chuliá, Helena & Fernández, Julián & Uribe, Jorge M., 2018. "Currency downside risk, liquidity, and financial stability," Journal of International Money and Finance, Elsevier, vol. 89(C), pages 83-102.
    54. Francis A. Longstaff & Jun Pan & Lasse H. Pedersen & Kenneth J. Singleton, 2011. "How Sovereign Is Sovereign Credit Risk?," American Economic Journal: Macroeconomics, American Economic Association, vol. 3(2), pages 75-103, April.
    55. Marcelo C. Medeiros & Gabriel F. R. Vasconcelos & Álvaro Veiga & Eduardo Zilberman, 2021. "Forecasting Inflation in a Data-Rich Environment: The Benefits of Machine Learning Methods," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(1), pages 98-119, January.
    56. Ziwei Mei & Zhentao Shi, 2022. "On LASSO for High Dimensional Predictive Regression," Papers 2212.07052, arXiv.org, revised Jan 2024.
    57. Wenxin Du & Jesse Schreger, 2016. "Local Currency Sovereign Risk," Journal of Finance, American Finance Association, vol. 71(3), pages 1027-1070, June.
    58. Athey, Susan & Imbens, Guido W., 2019. "Machine Learning Methods Economists Should Know About," Research Papers 3776, Stanford University, Graduate School of Business.
    59. Connor, Gregory & Korajczyk, Robert A., 1988. "Risk and return in an equilibrium APT : Application of a new test methodology," Journal of Financial Economics, Elsevier, vol. 21(2), pages 255-289, September.
    60. Obaid, Khaled & Pukthuanthong, Kuntara, 2022. "A picture is worth a thousand words: Measuring investor sentiment by combining machine learning and photos from news," Journal of Financial Economics, Elsevier, vol. 144(1), pages 273-297.
    61. Carr, Peter & Wu, Liuren, 2007. "Theory and evidence on the dynamic interactions between sovereign credit default swaps and currency options," Journal of Banking & Finance, Elsevier, vol. 31(8), pages 2383-2403, August.
    62. Lustig, Hanno & Roussanov, Nikolai & Verdelhan, Adrien, 2014. "Countercyclical currency risk premia," Journal of Financial Economics, Elsevier, vol. 111(3), pages 527-553.
    63. Bai, Jushan & Ng, Serena, 2008. "Large Dimensional Factor Analysis," Foundations and Trends(R) in Econometrics, now publishers, vol. 3(2), pages 89-163, June.
    64. Stock J.H. & Watson M.W., 2002. "Forecasting Using Principal Components From a Large Number of Predictors," Journal of the American Statistical Association, American Statistical Association, vol. 97, pages 1167-1179, December.
    65. Victor Chernozhukov & Whitney K. Newey & Rahul Singh, 2022. "Automatic Debiased Machine Learning of Causal and Structural Effects," Econometrica, Econometric Society, vol. 90(3), pages 967-1027, May.
    66. Jushan Bai & Peng Wang, 2015. "Identification and Bayesian Estimation of Dynamic Factor Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(2), pages 221-240, April.
    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. Jose E. Gomez-Gonzalez & Jorge M. Uribe & Oscar M. Valencia, 2024. "Asymmetric Sovereign Risk: Implications for Climate Change Preparation," IREA Working Papers 202401, University of Barcelona, Research Institute of Applied Economics, revised Jan 2024.
    2. Hoang, Daniel & Wiegratz, Kevin, 2022. "Machine learning methods in finance: Recent applications and prospects," Working Paper Series in Economics 158, Karlsruhe Institute of Technology (KIT), Department of Economics and Management.
    3. Cakici, Nusret & Fieberg, Christian & Metko, Daniel & Zaremba, Adam, 2023. "Machine learning goes global: Cross-sectional return predictability in international stock markets," Journal of Economic Dynamics and Control, Elsevier, vol. 155(C).
    4. Borup, Daniel & Christensen, Bent Jesper & Mühlbach, Nicolaj Søndergaard & Nielsen, Mikkel Slot, 2023. "Targeting predictors in random forest regression," International Journal of Forecasting, Elsevier, vol. 39(2), pages 841-868.
    5. Chernov, Mikhail & Augustin, Patrick & Song, Dongho, 2018. "Sovereign credit risk and exchange rates: Evidence from CDS quanto spreads," CEPR Discussion Papers 12857, C.E.P.R. Discussion Papers.
    6. Thomas Conlon & John Cotter & Iason Kynigakis, 2021. "Machine Learning and Factor-Based Portfolio Optimization," Papers 2107.13866, arXiv.org.
    7. Rodríguez-Caballero, Carlos Vladimir & Caporin, Massimiliano, 2019. "A multilevel factor approach for the analysis of CDS commonality and risk contribution," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 63(C).
    8. Andrew J. Patton & Yasin Simsek, 2023. "Generalized Autoregressive Score Trees and Forests," Papers 2305.18991, arXiv.org.
    9. Ajit Desai, 2023. "Machine learning for economics research: when, what and how," Staff Analytical Notes 2023-16, Bank of Canada.
    10. Mario Forni & Luca Gambetti & Luca Sala, 2014. "No News in Business Cycles," Economic Journal, Royal Economic Society, vol. 124(581), pages 1168-1191, December.
    11. Nii Ayi Armah & Norman Swanson, 2010. "Seeing Inside the Black Box: Using Diffusion Index Methodology to Construct Factor Proxies in Large Scale Macroeconomic Time Series Environments," Econometric Reviews, Taylor & Francis Journals, vol. 29(5-6), pages 476-510.
    12. Zhao, Albert Bo & Cheng, Tingting, 2022. "Stock return prediction: Stacking a variety of models," Journal of Empirical Finance, Elsevier, vol. 67(C), pages 288-317.
    13. Yuan Liao & Xinjie Ma & Andreas Neuhierl & Zhentao Shi, 2023. "Economic Forecasts Using Many Noises," Papers 2312.05593, arXiv.org, revised Dec 2023.
    14. Stock, J.H. & Watson, M.W., 2016. "Dynamic Factor Models, Factor-Augmented Vector Autoregressions, and Structural Vector Autoregressions in Macroeconomics," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 415-525, Elsevier.
    15. Poncela, Pilar & Ruiz, Esther & Miranda, Karen, 2021. "Factor extraction using Kalman filter and smoothing: This is not just another survey," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1399-1425.
    16. Helena Chuliá & Montserrat Guillén & Jorge M. Uribe, 2015. "Mortality and Longevity Risks in the United Kingdom: Dynamic Factor Models and Copula-Functions," Working Papers 2015-03, Universitat de Barcelona, UB Riskcenter.
    17. Juho Koistinen & Bernd Funovits, 2022. "Estimation of Impulse-Response Functions with Dynamic Factor Models: A New Parametrization," Papers 2202.00310, arXiv.org, revised Feb 2022.
    18. Forni, Mario & Gambetti, Luca, 2010. "The dynamic effects of monetary policy: A structural factor model approach," Journal of Monetary Economics, Elsevier, vol. 57(2), pages 203-216, March.
    19. Byron Botha & Rulof Burger & Kevin Kotzé & Neil Rankin & Daan Steenkamp, 2023. "Big data forecasting of South African inflation," Empirical Economics, Springer, vol. 65(1), pages 149-188, July.
    20. Gregory Connor & Robert A. Korajczyk, 2019. "Semi-strong factors in asset returns," Economics Department Working Paper Series n294-19.pdf, Department of Economics, National University of Ireland - Maynooth.

    More about this item

    Keywords

    Twin Ds; Sovereign Debt; Credit Risk; TimeGANs; Transformers; TimeVAEs; Autoencoders; Variational Inference. JEL classification: C45; C53; F31; F37.;
    All these keywords.

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • F31 - International Economics - - International Finance - - - Foreign Exchange

    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:ira:wpaper:202402. 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: Alicia García (email available below). General contact details of provider: https://edirc.repec.org/data/feubaes.html .

    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.