IDEAS home Printed from https://ideas.repec.org/a/prv/jeblpv/1894.html

Predicting currency crises in emerging markets: A deep learning approach with LSTM networks and attention mechanism

Author

Listed:
  • Şaban Onur Viga

    (Istanbul Esenyurt University)

Abstract

Exchange rate crises in emerging markets can unfold with extraordinary speed; however, the macroeconomic vulnerabilities feeding into them typically build over years rather than overnight. This study asks whether machine learning — specifically, a Long Short-Term Memory network augmented with Bahdanau attention — can expose the temporal structure of that build-up in a way that conventional early warning models cannot. Using a panel of 30 emerging economies from 1998 to 2023 (780 country-year observations and nine macroeconomic predictors), Exchange Market Pressure indices are constructed to generate crisis labels cross-validated against Laeven and Valencia (2018). Head-to-head testing against Logistic Regression (AUC = 0.985) and Random Forest (AUC = 0.968) showed that the LSTM-attention model (AUC = 0.886) did not win on raw discriminative metrics, a result reported transparently rather than apologetically. The model's value lies elsewhere: attention weights decompose each crisis probability estimate across the three-year look-back window, revealing that conditions one year before a crisis carry roughly 40 percent of the total explanatory weight, with meaningful contributions from two and three years prior as well. Real effective exchange rate misalignment and interest rate differentials emerge as the most informative predictors. These findings support the view that temporal interpretability — understanding not just whether a crisis is probable but how vulnerability accumulates — constitutes a distinct and operationally useful addition to existing surveillance toolkits.

Suggested Citation

  • Şaban Onur Viga, 2026. "Predicting currency crises in emerging markets: A deep learning approach with LSTM networks and attention mechanism," Journal of Economics and Business Letters, Privietlab Research Center, vol. 6(3), pages 86-100, June.
  • Handle: RePEc:prv:jeblpv:1894
    DOI: 10.55942/jebl.v6i3.1894
    as

    Download full text from publisher

    File URL: https://journal.privietlab.org/download.php?id=13446
    Download Restriction: no

    File URL: https://libkey.io/10.55942/jebl.v6i3.1894?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    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:prv:jeblpv:1894. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Mochammad Fahlevi (email available below). General contact details of provider: https://journal.privietlab.org/index.php/JEBL .

    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.