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


  • IREA Working Papers


  • We 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.

fecha de publicación

  • 2024

Líneas de investigación

  • Autoencoders
  • Credit Risk
  • Sovereign Debt
  • TimeGANs
  • TimeVAEs
  • Transformers
  • Twin Ds
  • Variational Inference


  • 202402