SPRSPS: An Effective Preprocessing Framework to Enhance Vulnerability Detection in Deep Learning Models

Current vulnerability detection methods based on deep learning and program slicing techniques are widely used, but the program representations and slicing strategies they employ are not well-suited for this purpose. This paper introduces the SPRSPS (More Suitable Program Representation and Smarter Program Slicing) framework, which standardizes and enhances preprocessing procedures. The approach involves: first, utilizing features of LLVM IR, such as SSA and control/data flow simplification, to construct program representations more suitable for vulnerability detection; second, optimizing graph representations for graph neural networks commonly used in both general and specific vulnerability detection. Compared to previous work, it more clearly defines node and edge features. Finally, it thoroughly investigates the distances between vulnerability manifestation points and root causes, proposing a smarter slicing strategy. Ablation experiments were conducted on the general vulnerability detection model SedSVD and the specific vulnerability detection model GLICE. After replacing their preprocessing methods with the proposed approach, improvements were observed in accuracy and F1 scores. In the SedSVD project, the false positive rate (FPR) decreased by 12%, accuracy increased by 7%, and the F1 score improved by 10%, with a 95% reduction in the number of result lines, indicating more precise vulnerability localization. In the GLICE project, the FPR decreased by 10%, accuracy improved by 3%, and the number of result lines was significantly reduced by 91%. These experiments demonstrate that using the SPRSPS framework allows for more accurate and efficient vulnerability detection.

Authors

Institutions

Publication Details

Published
2024-12-27
DOI
https://doi.org/10.1145/3718491.3718613
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SPRSPS: An Effective Preprocessing Framework to Enhance Vulnerability Detection in Deep Learning Models

Haiyong Sun, Xia Yang, Jiarui Wang, Wensheng Guo
Software Testing and Debugging Techniques
article

SPRSPS: An Effective Preprocessing Framework to Enhance Vulnerability Detection in Deep Learning Models

Haiyong Sun, Xia Yang, Jiarui Wang, Wensheng Guo
article en

Abstract

Current vulnerability detection methods based on deep learning and program slicing techniques are widely used, but the program representations and slicing strategies they employ are not well-suited for this purpose. This paper introduces the SPRSPS (More Suitable Program Representation and Smarter Program Slicing) framework, which standardizes and enhances preprocessing procedures. The approach involves: first, utilizing features of LLVM IR, such as SSA and control/data flow simplification, to construct program representations more suitable for vulnerability detection; second, optimizing graph representations for graph neural networks commonly used in both general and specific vulnerability detection. Compared to previous work, it more clearly defines node and edge features. Finally, it thoroughly investigates the distances between vulnerability manifestation points and root causes, proposing a smarter slicing strategy. Ablation experiments were conducted on the general vulnerability detection model SedSVD and the specific vulnerability detection model GLICE. After replacing their preprocessing methods with the proposed approach, improvements were observed in accuracy and F1 scores. In the SedSVD project, the false positive rate (FPR) decreased by 12%, accuracy increased by 7%, and the F1 score improved by 10%, with a 95% reduction in the number of result lines, indicating more precise vulnerability localization. In the GLICE project, the FPR decreased by 10%, accuracy improved by 3%, and the number of result lines was significantly reduced by 91%. These experiments demonstrate that using the SPRSPS framework allows for more accurate and efficient vulnerability detection.

University of Electronic Science and Technology of China (CN)
Openalex Percentile: Top 71%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.