arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.03530cs.LGcs.CR
收藏

使用机器学习分类器和可解释性分析检测区块链交易中的异常

Detecting Anomalies in Blockchain Transactions using Machine Learning Classifiers and Explainability Analysis

Premier University(总理大学);United International University(联合国际大学);Cyber Security Cooperative Research Centre(网络安全合作研究中心);Edith Cowan University(埃迪斯科文大学)

Mohammad Hasan, Mohammad Shahriar Rahman, Helge Janicke, Iqbal H. Sarker

AI总结:

本研究将XAI技术与异常规则集成到树集成分类器中检测比特币异常交易,提出欠采样算法XGBCLUS平衡数据,实验证明该方法在准确率、TPR和FPR等指标上优于传统方法。

摘要:

随着区块链在数字支付中的使用日益普及,它也变得容易受到各种恶意攻击。成功检测区块链交易中的异常对于增强对数字支付的信任至关重要。然而,由于非法交易的发生频率低,区块链交易数据中的异常检测任务具有挑战性。尽管该领域已有多项研究,但仍存在一个局限性:缺乏对模型预测的解释。本研究旨在通过将可解释人工智能(XAI)技术和异常规则集成到基于树的集成分类器中,以检测异常的比特币交易,从而克服这一局限性。采用Shapley加法解释(SHAP)方法来衡量每个特征的贡献,且该方法与集成模型兼容。此外,我们提出了解释比特币交易是否异常的规则。另外,我们引入了一种名为XGBCLUS的欠采样算法,旨在平衡异常和非异常交易数据。将该算法与其他常用的欠采样和过采样技术进行了比较。最后,将各种基于树的单分类器的结果与堆叠和投票集成分类器的结果进行了比较。我们的实验结果表明:(i)与最先进的欠采样和过采样技术相比,XGBCLUS提高了TPR和ROC-AUC分数;(ii)我们提出的集成分类器在准确率、TPR和FPR分数方面优于传统的单树机器学习分类器。

英文摘要:

As the use of Blockchain for digital payments continues to rise in popularity, it also 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 have introduced 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 TPR and 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 FPR scores.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑