首页|基于特征选择和集成算法的区块链异常交易检测

基于特征选择和集成算法的区块链异常交易检测

扫码查看
区块链因其开放和不可变的特点,为虚拟货币交易提供便利,同时,虚拟货币已经成为洗钱、盗窃等犯罪行为的重要载体,给公民财产安全带来了巨大的风险.因此,高效地、快速地检测出区块链异常交易具有重要意义.基于全特征的异常检测模型往往会受到冗余特征的干扰,影响检测的效率和精度.针对这些问题,提出了一种基于双层特征选择和集成算法的区块链异常检测方法.首先,通过卡方检验去除与目标变量相关性低的特征,得到第一层特征集;其次,通过计算特征之间的皮尔逊相关系数去除部分相关性高的特征,得到第二层特征集;最后,建立基于特征选择与集成算法的区块链异常交易检测模型.结果表明,基于双层特征选择的模型优于全特征集成学习模型及其他著名异常检测模型,且提出的特征选择模型的精确率、召回率和F1得分分别平均提高了2.2%、0.15%和1.0%,训练时间节省约20%.
Blockchain Abnormal Transaction Detection Based on Feature Selection and Ensemble Algorithm
Because of its open and immutable characteristics,blockchain provides convenience for virtual currency transactions,and at the same time,virtual currency has become an important carrier of criminal acts such as money laundering and theft,which brings huge risks to citizens'property security.There-fore,it is of great significance to detect the abnormal transactions of blockchain efficiently and quickly.The anomaly detection model based on full features is often interfered by redundant features,which af-fects the efficiency and accuracy of detection.To solve these problems,a blockchain anomaly detection method based on a two-layer feature selection and ensemble algorithm was proposed.Firstly,the features with low correlation with the target variable were removed by Chi-square test,and the first layer feature set was obtained.Secondly,some highly correlated features were removed by calculating the Pearson cor-relation coefficient between the features,and the second layer feature set was obtained.Finally,a block-chain abnormal transaction detection model based on feature selection and ensemble algorithm was estab-lished.The results show that the two-layer feature selection model is superior to the all-feature ensemble learning model and other well-known anomaly detection models,and the precision,recall and F1 score of the proposed feature selection model are improved by 2.2%,0.15%and 1.0%on average,respective-ly,and the training time is saved by about 20%.

blockchainChi-square testPearson correlation coefficientanomaly detectionensemble algorithm

王珊、林伟、蔡宣敬

展开 >

福建警察学院侦查系,福建 福州 350007

福建师范大学光电与信息工程学院,福建 福州 350117

区块链 卡方检验 皮尔逊相关系数 异常检测 集成算法

2024

中国人民公安大学学报(自然科学版)
中国人民公安大学

中国人民公安大学学报(自然科学版)

影响因子:0.33
ISSN:1007-1784
年,卷(期):2024.30(4)