IDEAS home Printed from https://ideas.repec.org/a/eee/lajcba/v2y2021i2s2666143821000119.html
   My bibliography  Save this article

Shallow or deep? Training an autoencoder to detect anomalous flows in a retail payment system

Author

Listed:
  • Sabetti, Leonard
  • Heijmans, Ronald

Abstract

Our paper applies a deep neural network autoencoder (AE) to detect anomalous payment flows in Canada's retail batch clearing payments system, the Automated Clearing Settlement System (ACSS). We aim to investigate an AE's potential for detecting complex changes in the liquidity outflows between participants, which could provide an early warning indication for exceptionally large outflows for a participant. As the Canadian financial system has neither faced bank runs nor severe liquidity shocks in recent history, we trained our models on “normal” data and evaluated them out-of-sample using test data drawn from two constructed scenarios: a sample derived from the largest 1% of observed historical multilateral net outflows and a sample drawn from a simulated bank run. In both cases, the trained AE performed well by producing larger than usual reconstruction errors. Our approach highlights the efficacy of a class of unsupervised machine learning methods as a useful component of a system operator's risk management toolkit.

Suggested Citation

  • Sabetti, Leonard & Heijmans, Ronald, 2021. "Shallow or deep? Training an autoencoder to detect anomalous flows in a retail payment system," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 2(2).
  • Handle: RePEc:eee:lajcba:v:2:y:2021:i:2:s2666143821000119
    DOI: 10.1016/j.latcb.2021.100031
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S2666143821000119
    Download Restriction: Gold Open Access

    File URL: https://libkey.io/10.1016/j.latcb.2021.100031?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Chakraborty, Chiranjit & Joseph, Andreas, 2017. "Machine learning at central banks," Bank of England working papers 674, Bank of England.
    2. Luca Arciero & Ronald Heijmans & Richard Heuver & Marco Massarenti & Cristina Picillo & Francesco Vacirca, 2016. "How to Measure the Unsecured Money Market: The Eurosystem’s Implementation and Validation Using TARGET2 Data," International Journal of Central Banking, International Journal of Central Banking, vol. 12(1), pages 247-280, March.
    3. Galbiati, Marco & Soramäki, Kimmo, 2011. "An agent-based model of payment systems," Journal of Economic Dynamics and Control, Elsevier, vol. 35(6), pages 859-875, June.
    4. Neville Arjani & Ronald Heijmans, 2020. "Is there anybody out there? Detecting operational outages from LVTS transaction data," Working Papers 683, DNB.
    5. Luis Gerardo Gage & Raúl Morales-Resendiz & John Arroyo & Jeniffer Rubio & Paolo Barucca, 2022. "Classifying payment patterns with artificial neural networks: an autoencoder approach," IFC Bulletins chapters, in: Bank for International Settlements (ed.), Machine learning in central banking, volume 57, Bank for International Settlements.
    6. León, Carlos & Barucca, Paolo & Acero, Oscar & Gage, Gerardo & Ortega, Fabio, 2020. "Pattern recognition of financial institutions’ payment behavior," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 1(1).
    7. Morten L. Bech & Rodney J. Garratt, 2012. "Illiquidity in the Interbank Payment System Following Wide‐Scale Disruptions," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 44(5), pages 903-929, August.
    8. James Chapman & Ajit Desai, 2021. "Using Payments Data to Nowcast Macroeconomic Variables During the Onset of COVID-19," Staff Working Papers 21-2, Bank of Canada.
    9. Martinez-Jaramillo, Serafin & Alexandrova-Kabadjova, Biliana & Bravo-Benitez, Bernardo & Solórzano-Margain, Juan Pablo, 2014. "An empirical study of the Mexican banking system’s network and its implications for systemic risk," Journal of Economic Dynamics and Control, Elsevier, vol. 40(C), pages 242-265.
    10. Jason Allen & Ali Hortaçsu & Jakub Kastl, 2011. "Analyzing Default Risk and Liquidity Demand during a Financial Crisis: The Case of Canada," Staff Working Papers 11-17, Bank of Canada.
    11. Richard Heuver & Ron TriepelsTriepels, 2019. "Liquidity stress detection in the European banking sector," DNB Working Papers 642, Netherlands Central Bank, Research Department.
    12. Klaus Abbink & Ronald Bosman & Ronald Heijmans & Frans van Winden, 2017. "Disruptions in Large-Value Payment Systems: An Experimental Approach," International Journal of Central Banking, International Journal of Central Banking, vol. 13(4), pages 63-95, December.
    13. Klee, Elizabeth, 2010. "Operational outages and aggregate uncertainty in the federal funds market," Journal of Banking & Finance, Elsevier, vol. 34(10), pages 2386-2402, October.
    14. Carlos León & Fabio Ortega, 2018. "Nowcasting Economic Activity with Electronic Payments Data: A Predictive Modeling Approach," Revista de Economía del Rosario, Universidad del Rosario, vol. 21(2), pages 381-407, December.
    15. Li, Fuchun & Perez-Saiz, Hector, 2018. "Measuring systemic risk across financial market infrastructures," Journal of Financial Stability, Elsevier, vol. 34(C), pages 1-11.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Carolina E S Mattsson & Teodoro Criscione & Frank W Takes, 2022. "Circulation of a digital community currency," Papers 2207.08941, arXiv.org, revised Jun 2023.
    2. Arévalo, Franklim & Barucca, Paolo & Téllez-León, Isela-Elizabeth & Rodríguez, William & Gage, Gerardo & Morales, Raúl, 2022. "Identifying clusters of anomalous payments in the salvadorian payment system," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 3(1).

    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. Paulick, Jan & Berndsen, Ron & Diehl, Martin & Heijmans, Ronald, 2021. "No more Tears without Tiers? The Impact of Indirect Settlement on liquidity use in TARGET2," Other publications TiSEM 57477131-2199-46bf-a2f1-5, Tilburg University, School of Economics and Management.
    2. Leonard Sabetti & Ronald Heijmans, 2020. "Shallow or deep? Detecting anomalous flows in the Canadian Automated Clearing and Settlement System using an autoencoder," Working Papers 681, DNB.
    3. Neville Arjani & Ronald Heijmans, 2020. "Is there anybody out there? Detecting operational outages from LVTS transaction data," Working Papers 683, DNB.
    4. Olivier Armantier & Adam Copeland, 2015. "Challenges in identifying interbank loans," Economic Policy Review, Federal Reserve Bank of New York, issue 21-1, pages 1-17.
    5. Peter Heemeijer & Ronald Heijmans, 2015. "Central bank intervention in large value payment systems: An experimental approach," DNB Working Papers 466, Netherlands Central Bank, Research Department.
    6. Michel Alexandre & Thiago Christiano Silva & Colm Connaughton & Francisco A. Rodrigues, 2021. "The Role of (non-)Topological Features as Drivers of Systemic Risk: a machine learning approach," Working Papers Series 556, Central Bank of Brazil, Research Department.
    7. Anand, Kartik & van Lelyveld, Iman & Banai, Ádám & Friedrich, Soeren & Garratt, Rodney & Hałaj, Grzegorz & Fique, Jose & Hansen, Ib & Jaramillo, Serafín Martínez & Lee, Hwayun & Molina-Borboa, José Lu, 2018. "The missing links: A global study on uncovering financial network structures from partial data," Journal of Financial Stability, Elsevier, vol. 35(C), pages 107-119.
    8. James Chapman & Ajit Desai, 2022. "Macroeconomic Predictions Using Payments Data and Machine Learning," Staff Working Papers 22-10, Bank of Canada.
    9. Ronald Heijmans & Chen Zhou, 2019. "Outlier detection in TARGET2 risk indicators," DNB Working Papers 624, Netherlands Central Bank, Research Department.
    10. Ronald Heijmans & Richard Heuver & Clement Levallois & Iman van Lelyveld, 2014. "Dynamic visualization of large transaction networks: the daily Dutch overnight money market," DNB Working Papers 418, Netherlands Central Bank, Research Department.
    11. Shaun Byck & Ronald Heijmans, 2020. "How much liquidity would a liquidity-saving mechanism save if a liquidity-saving mechanism could save liquidity? A simulation approach for Canada's large-value payment system Shaun Byck," Working Papers 682, DNB.
    12. Paulick, Jan, 2022. "Financial market infrastructures : Essays on liquidity, participant behaviour and information extraction," Other publications TiSEM 004942ed-f68d-40cc-a830-b, Tilburg University, School of Economics and Management.
    13. Nellen, Thomas, 2019. "Intraday liquidity facilities, late settlement fee and coordination," Journal of Banking & Finance, Elsevier, vol. 106(C), pages 124-131.
    14. Benos, Evangelos & Ferrara, Gerardo & Gurrola-Perez, Pedro, 2017. "The impact of de-tiering in the United Kingdom’s large-value payment system," Bank of England working papers 676, Bank of England.
    15. Ronald Heijmans & Richard Heuver, 2011. "Is this bank ill? The diagnosis of doctor TARGET2," DNB Working Papers 316, Netherlands Central Bank, Research Department.
    16. Alexandre, Michel & Silva, Thiago Christiano & Connaughton, Colm & Rodrigues, Francisco A., 2021. "The drivers of systemic risk in financial networks: a data-driven machine learning analysis," Chaos, Solitons & Fractals, Elsevier, vol. 153(P1).
    17. Tong Mu & He Yi, 2017. "Topology of Complex Networks and Demand of Intraday Liquidity: Based on the Real-Time Gross Settlement System," Central European Economic Journal, Sciendo, vol. 2(49), pages 50-61, December.
    18. Carolina E S Mattsson & Teodoro Criscione & Frank W Takes, 2022. "Circulation of a digital community currency," Papers 2207.08941, arXiv.org, revised Jun 2023.
    19. Romain Plassard, 2020. "Making a Breach: The Incorporation of Agent-Based Models into the Bank of England's Toolkit," GREDEG Working Papers 2020-30, Groupe de REcherche en Droit, Economie, Gestion (GREDEG CNRS), Université Côte d'Azur, France.
    20. Bernardo Bravo-Benitez & Biliana Alexandrova-Kabadjova & Serafin Martinez-Jaramillo, 2016. "Centrality Measurement of the Mexican Large Value Payments System from the Perspective of Multiplex Networks," Computational Economics, Springer;Society for Computational Economics, vol. 47(1), pages 19-47, January.

    More about this item

    Keywords

    Anomaly detection; Autoencoder; Neural network; ACSS; Financial market infrastructure;
    All these keywords.

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • E42 - Macroeconomics and Monetary Economics - - Money and Interest Rates - - - Monetary Sytsems; Standards; Regimes; Government and the Monetary System
    • E58 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Central Banks and Their Policies

    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:eee:lajcba:v:2:y:2021:i:2:s2666143821000119. 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: Catherine Liu (email available below). General contact details of provider: https://www.journals.elsevier.com/latin-american-journal-of-central-banking .

    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.