计算机科学
过度拟合
智能合约
块链
数据库事务
分类器(UML)
人工智能
机器学习
Boosting(机器学习)
操作码
数据挖掘
梯度升压
多数决原则
随机森林
计算机安全
数据库
人工神经网络
计算机硬件
作者
Ali Aljofey,Abdur Rasool,Qingshan Jiang,Qiang Qu
出处
期刊:Electronics
[MDPI AG]
日期:2022-09-16
卷期号:11 (18): 2937-2937
被引量:17
标识
DOI:10.3390/electronics11182937
摘要
Blockchain technology has allowed many abnormal schemes to hide behind smart contracts. This causes serious financial losses, which adversely affects the blockchain. Machine learning technology has mainly been utilized to enable automatic detection of abnormal contract accounts in recent years. In spite of this, previous machine learning methods have suffered from a number of disadvantages: first, it is extremely difficult to identify features that enable accurate detection of abnormal contracts, and based on these features, statistical analysis is also ineffective. Second, they ignore the imbalances and repeatability of smart contract accounts, which often results in overfitting of the model. In this paper, we propose a data-driven robust method for detecting abnormal contract accounts over the Ethereum Blockchain. This method comprises hybrid features set by integrating opcode n-grams, transaction features, and term frequency-inverse document frequency source code features to train an ensemble classifier. The extra-trees and gradient boosting algorithms based on weighted soft voting are used to create an ensemble classifier that balances the weaknesses of individual classifiers in a given dataset. The abnormal and normal contract data are collected by analyzing the open source etherscan.io, and the problem of the imbalanced dataset is solved by performing the adaptive synthetic sampling. The empirical results demonstrate that the proposed individual feature sets are useful for detecting abnormal contract accounts. Meanwhile, combining all the features enhances the detection of abnormal contracts with significant accuracy. The experimental and comparative results show that the proposed method can distinguish abnormal contract accounts for the data-driven security of blockchain Ethereum with satisfactory performance metrics.
科研通智能强力驱动
Strongly Powered by AbleSci AI