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 条
  • [41] Cesarean Section Classification Using Machine Learning With Feature Selection, Data Balancing, and Explainability
    Sultan, Nahid
    Hasan, Mahmudul
    Wahid, Md. Ferdous
    Saha, Hasi
    Habib, Ahsan
    IEEE ACCESS, 2023, 11 : 84487 - 84499
  • [42] DMLBC: Dependable machine learning for seaports using blockchain technology
    Duran, Claudia
    Fernandez-Campusano, Christian
    Carrasco, Raul
    Carrillo, Eduardo
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2024, 36 (01)
  • [43] Enhancing security in financial transactions: a novel blockchain-based federated learning framework for detecting counterfeit data in fintech
    Rabbani, Hasnain
    Shahid, Muhammad Farrukh
    Khanzada, Tariq Jamil Saifullah
    Siddiqui, Shahbaz
    Jamjoom, Mona Mamdouh
    Ashari, Rehab Bahaaddin
    Ullah, Zahid
    Mukati, Muhammad Umair
    Nooruddin, Mustafa
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [44] Detecting network anomalies using machine learning and SNMP-MIB dataset with IP group
    Manna, Abdelrahman
    Alkasassbeh, Mouhamad
    2019 2ND INTERNATIONAL CONFERENCE ON NEW TRENDS IN COMPUTING SCIENCES (ICTCS), 2019, : 51 - 55
  • [45] Towards a lightweight security framework using blockchain and machine learning
    Ismail, Shereen
    Nouman, Muhammad
    Dawoud, Diana W.
    Reza, Hassan
    BLOCKCHAIN-RESEARCH AND APPLICATIONS, 2024, 5 (01):
  • [46] Analysis of Credit Card Fraudulent Transactions using Machine Learning and Artificial Intelligence
    Ramesh, Sriprada
    Simna, T. M.
    Mohana
    2024 SECOND INTERNATIONAL CONFERENCE ON INTELLIGENT CYBER PHYSICAL SYSTEMS AND INTERNET OF THINGS, ICOICI 2024, 2024, : 1226 - 1231
  • [47] Anomaly detection in blockchain using network representation and machine learning
    Martin, Kevin
    Rahouti, Mohamed
    Ayyash, Moussa
    Alsmadi, Izzat
    SECURITY AND PRIVACY, 2022, 5 (02)
  • [48] Network analysis in a peer-to-peer energy trading model using blockchain and machine learning
    Shukla, Saurabh
    Hussain, Shahid
    Irshad, Reyazur Rashid
    Alattab, Ahmed Abdu
    Thakur, Subhasis
    Breslin, John G.
    Hassan, M. Fadzil
    Abimannan, Satheesh
    Husain, Shahid
    Jameel, Syed Muslim
    COMPUTER STANDARDS & INTERFACES, 2024, 88
  • [49] Detecting Anomalous Transactions via an IoT Based Application: A Machine Learning Approach for Horse Racing Betting
    Min, Moohong
    Lee, Jemin Justin
    Park, Hyunbeom
    Lee, Kyungho
    SENSORS, 2021, 21 (06) : 1 - 17
  • [50] Detecting Urban Anomalies Using Factor Analysis and One Class Support Vector Machine
    Lu, Cong
    Huang, Jianbin
    Huang, Longji
    COMPUTER JOURNAL, 2023, 66 (02) : 373 - 383