ASSBert: Active and semi-supervised bert for smart contract vulnerability detection

机器学习 人工智能 标记数据 脆弱性(计算) 通知 编码(集合论) 主动学习(机器学习) 深度学习 半监督学习 计算机科学 水准点(测量) 计算机安全 集合(抽象数据类型) 程序设计语言 法学 地理 政治学 大地测量学
作者
Xiaobing Sun,Liangqiong Tu,Jiale Zhang,Jie Cai,Bin Li,Yu Wang
出处
期刊:Journal of information security and applications [Elsevier BV]
卷期号:73: 103423-103423 被引量:18
标识
DOI:10.1016/j.jisa.2023.103423
摘要

With the popularity of blockchain, the amount of smart contracts has increased very fast, and the safety of smart contracts has come to more extensive notice. Recently, machine learning technology has been widely applied in vulnerability detection for smart contracts. However, it implements effective smart contract vulnerability detection still faces a major challenge, that is, there is a problem of insufficient labeled data in the current field. Active learning can label data more efficiently. Nevertheless, classical active learning only uses limited labeled data for model training, contrary to the deep learning of a large amount of data required for model training. Because of the above, we provide a new framework, called ASSBert, that leverages active and semi-supervised bidirectional encoder representation from transformers network, which is dedicated to completing the task of smart contract vulnerability classification with a little amount of labeled code data and a large number of unlabeled code data. In our framework, active learning is responsible for selecting highly uncertain code data from unlabeled sol files and putting them into the training set after manual labeling. Besides, semi-supervised learning is charged to continuously pick a certain number of high-confidence unlabeled code data from unlabeled sol files, and put them into the training dataset behind pseudo-labeling. Intuitively, by combining active learning and semi-supervised learning, we are able to get more valuable data to increase the performance of our detection model. In our experiments, we collect our benchmark dataset included 6 vulnerabilities in about 20829 smart contracts. The result of the experiment demonstrates that our framework is superior to the baseline methods with a little amount of labeled code data and a large number of unlabeled code data.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
3秒前
5秒前
以梦为马关注了科研通微信公众号
5秒前
郭教授的成功路完成签到,获得积分10
6秒前
8秒前
积极的代玉完成签到,获得积分10
8秒前
fly发布了新的文献求助10
10秒前
普普发布了新的文献求助10
11秒前
共享精神应助CNS牛纸涛采纳,获得10
13秒前
ZHAOYUN完成签到,获得积分10
13秒前
13秒前
Sally发布了新的文献求助10
14秒前
哈哈哈发布了新的文献求助10
15秒前
16秒前
情怀应助彭鱼燕采纳,获得10
16秒前
17秒前
汉堡包应助han采纳,获得10
18秒前
ZHAOYUN发布了新的文献求助10
18秒前
白舟发布了新的文献求助10
22秒前
就知道吃吃吃完成签到 ,获得积分10
22秒前
乐乐应助Sally采纳,获得10
23秒前
李健应助典雅的问玉采纳,获得10
26秒前
深情安青应助驱蚊器采纳,获得10
26秒前
渡人舟应助儒雅笑蓝采纳,获得10
27秒前
掉线的拽风铃完成签到 ,获得积分10
27秒前
27秒前
28秒前
29秒前
啊哈不行完成签到,获得积分10
29秒前
Ez4Y完成签到,获得积分10
29秒前
借一颗糖完成签到,获得积分10
29秒前
30秒前
烟花应助fly采纳,获得10
31秒前
31秒前
欧皇发布了新的文献求助10
31秒前
烟花应助白舟采纳,获得10
31秒前
decipher完成签到,获得积分10
32秒前
璃城完成签到,获得积分10
34秒前
施宛儿完成签到 ,获得积分10
34秒前
研友_VZG7GZ应助兆佳采纳,获得10
35秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Navigating Normative Orders. Interdisciplinary Perspectives 800
A Psychological Understanding of Criticism and Mental Health 600
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7752679
求助须知:如何正确求助?哪些是违规求助? 9299687
关于积分的说明 20253550
捐赠科研通 7334854
什么是DOI,文献DOI怎么找? 3310295
关于科研通互助平台的介绍 2461621
邀请新用户注册赠送积分活动 2323154