arrow
Return

Weakly Supervised Vulnerability Localization via Multiple Instance Learning

delete2025-01-01
delete0
delete
OA
AI
W
Wenchao Gu
Y
Yupan Chen
Y
Yanlin Wang
张
张宏玉 (Hongyu Zhang)
C
Cuiyun Gao
M
Michael R. Lyu
DOI:10.1145/3768572delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Software vulnerability detection has emerged as a significant concern in the field of software security recently, capturing the attention of numerous researchers and developers. Most previous approaches focus on coarse-grained vulnerability detection, such as at the function or file level. However, the developers would still encounter the challenge of manually inspecting a large volume of code inside the vulnerable function to identify the specific vulnerable statements for modification, indicating the importance of vulnerability localization. Training the model for vulnerability localization usually requires ground-truth labels at the statement-level, and labeling vulnerable statements demands expert knowledge, which incurs high costs. Hence, the demand for an approach that eliminates the need for additional labeling at the statement-level is on the rise. To tackle this problem, we propose a novel approach called WAVES for W e A kly supervised V ulnerability Localization via multipl E in S tance learning, which does not need the additional statement-level labels during the training. WAVES has the capability to determine whether a function is vulnerable (i.e., vulnerability detection) and pinpoint the vulnerable statements (i.e., vulnerability localization). Specifically, inspired by the concept of multiple instance learning, WAVES converts the ground-truth label at the function-level into pseudo labels for individual statements, eliminating the need for additional statement-level labeling. These pseudo labels are utilized to train the classifiers for the function-level representation vectors. Extensive experimentation on three popular benchmark datasets demonstrates that, in comparison to previous baselines, our approach achieves comparable performance in vulnerability detection and state-of-the-art performance in statement-level vulnerability localization.
Discrepant multiple instance learning for weakly supervised object detection
err2022-02-01
err30
PREAI
errGao, Wei; Wan, Fang; Yue, Jun; Xu, Songcen; Ye, Qixiang
errShare
errSave
Weakly supervised segmentation via instance-aware propagation
err2021-08-01
err3
errOAAI
errHuang, Xin; Zhu, Qianshu; Liu, Yongtuo; He, Shengfeng
errShare
errSave
Instance Annotation via Optimal BoW for Weakly Supervised Object Localization
err2017-05-01
err13
PREAI
errWang, Liantao; Meng, Deyu; Hu, Xuelei; Lu, Jianfeng; Zhao, Ji
errShare
errSave
errShare
errSave
errShare
errSave

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.4K
Citations:
4.5K

Organization

chongqing university cover
chongqing university
Scholars:
7.1K
Papers: 2.2K
Citations: 3.7W
Harbin Institute of Technology cover
Harbin Institute of Technology
Scholars:
1.1W
Papers: 3.1K
Citations: 5.7W
Cited Papers

Cited Papers

errShare
errSave
Long Short-Term Memory
err1997-11-01
err0
PREAI
errSepp Hochreiter; Jürgen Schmidhuber
errShare
errSave
SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
err2022-07-01
err261
errOAAI
errLi, Zhen; Zou, Deqing; Xu, Shouhuai; Jin, Hai; Zhu, Yawei; Chen, Zhaoxuan
errShare
errSave
LineVD
err2022-10-17
err0
errOAAI
errDavid Hin; Andrey Kan; Huaming Chen; M. Ali Babar
errShare
errSave
researcher View more