Shallow or Deep? Detecting Anomalous Flows in the Canadian Automated Clearing and Settlement System using an Autoencoder

26 Pages Posted: 23 Apr 2020 Last revised: 11 May 2020

See all articles by Leonard Sabetti

Leonard Sabetti

Government of Canada - Bank of Canada

Ronald Heijmans

De Nederlandsche Bank

Date Written: April 19, 2020

Abstract

Financial market infrastructures and their participants play a crucial role in the economy. Financial or operational challenges faced by one participant can have contagion effects and pose risks to the broader financial system. Our paper applies (deep) neural networks (autoencoder) to detect anomalous flows from payments data in the Canadian Automated Clearing and Settlement System (ACSS) similar to Triepels et al. (2018). We evaluate several neural network architecture setups based on the size and number of hidden layers, as well as differing activation functions dependent on how the input data was normalized. As the Canadian financial system has not faced bank runs in recent memory, we train the models on “normal” data and evaluate out-of-sample using test data based on historical anomalies as well as simulated bank runs. Our out-of-sample simulations demonstrate the autoencoder’s performance in different scenarios, and results suggest that the autoencoder detects anomalous payment flows reasonably well. Our work highlights the challenges and trade-offs in employing a workhorse deep-learning model in an operational context and raises policy questions around how such outlier signals can be used by the system operator in complying with the prominent payment systems guidelines and by financial stability experts in assessing the impact on the financial system of a financial institution that shows extreme behaviour.

Keywords: Anomaly Detection, Autoencoder, Neural Network, Articial intelligence, ACSS, Financial Market Infrastructure, Retail Payments

JEL Classification: C45, E42, E58

Suggested Citation

Sabetti, Leonard and Heijmans, Ronald, Shallow or Deep? Detecting Anomalous Flows in the Canadian Automated Clearing and Settlement System using an Autoencoder (April 19, 2020). De Nederlandsche Bank Working Paper No. 681, Available at SSRN: https://ssrn.com/abstract=3581595 or http://dx.doi.org/10.2139/ssrn.3581595

Leonard Sabetti

Government of Canada - Bank of Canada ( email )

234 Wellington Street
Ontario, Ottawa K1A 0G9
Canada

Ronald Heijmans (Contact Author)

De Nederlandsche Bank ( email )

PO Box 98
1000 AB Amsterdam
Amsterdam, 1000 AB
Netherlands

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
136
Abstract Views
1,020
Rank
537,489
PlumX Metrics