Detecting anomalies in blockchain transactions using machine learning classifiers and explainability analysis

被引:1
|
作者
Hasan, Mohammad [1 ]
Rahman, Mohammad Shahriar [2 ]
Janicke, Helge [3 ,4 ]
Sarker, Iqbal H. [3 ,4 ]
机构
[1] Premier Univ, Dept Comp Sci & Engn, Chitagong 4000, Bangladesh
[2] United Int Univ, Dept Comp Sci & Engn, Dhaka 1212, Bangladesh
[3] Cyber Secur Cooperat Res Ctr, Perth 6027, Australia
[4] Edith Cowan Univ, Ctr Securing Digital Futures, Perth 6027, Australia
来源
BLOCKCHAIN-RESEARCH AND APPLICATIONS | 2024年 / 5卷 / 03期
关键词
Anomaly detection; Blockchain; Bitcoin transactions; Data imbalance; Data sampling; Explainable AI; Machine learning; Decision tree; Anomaly rules;
D O I
10.1016/j.bcra.2024.100207
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As the use of blockchain for digital payments continues to rise, it becomes susceptible to various malicious attacks. Successfully detecting anomalies within blockchain transactions is essential for bolstering trust in digital payments. However, the task of anomaly detection in blockchain transaction data is challenging due to the infrequent occurrence of illicit transactions. Although several studies have been conducted in the field, a limitation persists: the lack of explanations for the model's predictions. This study seeks to overcome this limitation by integrating explainable artificial intelligence (XAI) techniques and anomaly rules into tree-based ensemble classifiers for detecting anomalous Bitcoin transactions. The shapley additive explanation (SHAP) method is employed to measure the contribution of each feature, and it is compatible with ensemble models. Moreover, we present rules for interpreting whether a Bitcoin transaction is anomalous or not. Additionally, we introduce an under-sampling algorithm named XGBCLUS, designed to balance anomalous and non-anomalous transaction data. This algorithm is compared against other commonly used under-sampling and over-sampling techniques. Finally, the outcomes of various tree-based single classifiers are compared with those of stacking and voting ensemble classifiers. Our experimental results demonstrate that: (i) XGBCLUS enhances true positive rate (TPR) and receiver operating characteristic-area under curve (ROC-AUC) scores compared to state-of-the-art under-sampling and over-sampling techniques, and (ii) our proposed ensemble classifiers outperform traditional single tree-based machine learning classifiers in terms of accuracy, TPR, and false positive rate (FPR) scores.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Automatically Detecting Excavator Anomalies Based on Machine Learning
    Zhou, Qingqing
    Chen, Guo
    Jiang, Wenjun
    Li, Kenli
    Li, Keqin
    SYMMETRY-BASEL, 2019, 11 (08):
  • [2] Detecting BGP Routing Anomalies Using Machine Learning: A Review
    Muosa, Ali Hassan
    Ali, A. H.
    FORTHCOMING NETWORKS AND SUSTAINABILITY IN THE AIOT ERA, VOL 1, FONES-AIOT 2024, 2024, 1035 : 145 - 164
  • [3] Detecting Anomalies in Financial Data Using Machine Learning Algorithms
    Bakumenko, Alexander
    Elragal, Ahmed
    SYSTEMS, 2022, 10 (05):
  • [4] DETECTING ANOMALIES IN PROGRAMMABLE LOGIC CONTROLLERS USING UNSUPERVISED MACHINE LEARNING
    Chan, Chun-Fai
    Chow, Kam-Pui
    Mak, Cesar
    Chan, Raymond
    ADVANCES IN DIGITAL FORENSICS XV, 2019, 569 : 119 - 130
  • [5] Detecting BGP Anomalies Using Machine Learning Techniques
    Ding, Qingye
    Li, Zhida
    Batta, Prerna
    Trajkovic, Ljiljana
    2016 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2016, : 3352 - 3355
  • [6] Performance Analysis of Machine Learning Classifiers for Detecting PE Malware
    Azmee, A. B. M. Adnan
    Choudhury, Pranto Protim
    Alam, Md Aosaful
    Dutta, Orko
    Hossain, Muhammad Iqbal
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (01) : 510 - 517
  • [7] Preserving Data Integrity and Detecting Toxic Recordings in Machine Learning using Blockchain
    Alaya, Bechir
    Moulahi, Tarek
    El Khediri, Salim
    Aladhadh, Suliman
    PROCEEDINGS 2024 IEEE 25TH INTERNATIONAL SYMPOSIUM ON A WORLD OF WIRELESS, MOBILE AND MULTIMEDIA NETWORKS, WOWMOM 2024, 2024, : 18 - 23
  • [8] Detecting money laundering transactions with machine learning
    Jullum, Martin
    Loland, Anders
    Huseby, Ragnar Bang
    Anonsen, Geir
    Lorentzen, Johannes
    JOURNAL OF MONEY LAUNDERING CONTROL, 2020, 23 (01): : 173 - 186
  • [9] Detecting Heart Anomalies Using Mobile Phones and Machine Learning
    Talab, Elhoussine
    Mohamed, Omar
    Begum, Labeeba
    Aloul, Fadi
    Sagahyroon, Assim
    2019 IEEE 19TH INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOENGINEERING (BIBE), 2019, : 428 - 432
  • [10] DDoS mitigation using blockchain and machine learning techniques
    Jawahar, A.
    Kaythry, P.
    Kumar, Vinoth C.
    Vinu, R.
    Amrish, R.
    Bavapriyan, K.
    Gopinaath, V
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (21) : 60265 - 60278