Vulnerability Detection for Smart Contract via Backward Bayesian Active Learning

1Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Smart contract is a piece of program code running on the blockchain, which aims to realize trusted transactions without third parties. In recent years, smart contract vulnerabilities emerge one after another, resulting in huge economic losses. Machine learning technology is widely used in smart contract vulnerability detection. It is common that model training in machine learning often requires a large amount of labeled data while the unlabeled data in the current field is very rich and acquiring labels is extremely difficult. As a result, it takes a lot of manpower and time to label a vulnerability, and it is challenging to perform effective smart contract vulnerability detection. To tackle this problem, we propose BwdBAL, a novel framework for smart contract vulnerability detection that combines Bayesian Active Learning (BAL) and a backward noise removal method. We use BAL to remove the impact of model uncertainty on uncertainty sampling in active learning. During the backward process, we clean up the noise in the labeled dataset to reduce the negative influence on the classification model. We evaluate BwdBAL on 8 vulnerabilities about 4929 smart contracts with four performance indicators. The experimental results show that BwdBAL outperforms two baseline methods: conventional machine learning-enabled classification method and one-way active learning method.

Cite

CITATION STYLE

APA

Zhang, J., Tu, L., Cai, J., Sun, X., Li, B., Chen, W., & Wang, Y. (2022). Vulnerability Detection for Smart Contract via Backward Bayesian Active Learning. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 13285 LNCS, pp. 66–83). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-16815-4_5

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free