Finding a Needle in a Haystack: A Machine Learning Framework for Anomaly Detection in Payment Systems
Ajit Desai,
Anneke Kosse and
Jacob Sharples
Staff Working Papers from Bank of Canada
Abstract:
We propose a flexible machine learning (ML) framework for real-time transaction monitoring in high-value payment systems (HVPS), which are a central piece of a country’s financial infrastructure. This framework can be used by system operators and overseers to detect anomalous transactions, which—if caused by a cyber attack or an operational outage and left undetected—could have serious implications for the HVPS, its participants and the financial system more broadly. Given the substantial volume of payments settled each day and the scarcity of actual anomalous transactions in HVPS, detecting anomalies resembles an attempt to find a needle in a haystack. Therefore, our framework uses a layered approach. In the first layer, a supervised ML algorithm is used to identify and separate “typical” payments from “unusual” payments. In the second layer, only the unusual payments are run through an unsupervised ML algorithm for anomaly detection. We test this framework using artificially manipulated transactions and payments data from the Canadian HVPS. The ML algorithm employed in the first layer achieves a detection rate of 93%, marking a significant improvement over commonly used econometric models. Moreover, the ML algorithm used in the second layer marks the artificially manipulated transactions as nearly twice as suspicious as the original transactions, proving its effectiveness.
Keywords: Digital currencies and fintech; Financial institutions; Financial services; Financial system regulation and policies; Payment clearing and settlement systems (search for similar items in EconPapers)
JEL-codes: C45 C55 D83 E42 (search for similar items in EconPapers)
Pages: 33 pages
Date: 2024-05
New Economics Papers: this item is included in nep-ban, nep-big, nep-mon and nep-pay
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.bankofcanada.ca/2024/05/staff-working-paper-2024-15/ Abstract (text/html)
https://www.bankofcanada.ca/wp-content/uploads/2024/05/swp2024-15.pdf Full text (application/pdf)
Related works:
Chapter: Finding a needle in a haystack: a machine learning framework for anomaly detection in payment systems (2024) 
Working Paper: Finding a needle in a haystack: a machine learning framework for anomaly detection in payment systems (2024) 
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:bca:bocawp:24-15
Access Statistics for this paper
More papers in Staff Working Papers from Bank of Canada 234 Wellington Street, Ottawa, Ontario, K1A 0G9, Canada. Contact information at EDIRC.
Bibliographic data for series maintained by ().