paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph Model

通过构建行为图模型增强基于深度学习的漏洞检测
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 3/10 · 论文属于机器学习与程序语言交叉,用行为图增强基于深度学习的漏洞检测,但与画像核心方向(LLM/Agent 用于静态分析或形式化验证、面向 ML/Agent 系统的静态分析、浮点程序分析、贝叶斯程序分析)没有直接关联,也未涉及 LLM/Agent。引用 32 inbox
Bin Yuan, Yifan Lu, Yilin Fang, Yueming Wu, Deqing Zou, Zhen Li, Zhi Li, Hai Jin
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出行为图模型VulBG,用函数间全局行为信息增强基于深度学习的漏洞检测,在真实数据集上提升多个基线模型性能。

软件漏洞威胁网络安全,自动漏洞检测需求增长。现有基于深度学习的漏洞检测虽能自动提取源码特征,但在真实数据上准确率下降,且通常局限于单个函数,无法利用函数间信息。本文提出行为图模型,用于抽取函数的抽象行为并刻画函数间关系,并基于该模型设计框架VulBG,将全局行为信息融入现有深度学习检测模型。作者选取TextCNN、ASTGRU、CodeBERT、Devign、VulCNN等基线,在平衡的FFMpeg+Qemu和不平衡的Chrome+Debian真实数据集上评估。结果表明VulBG能让所有基线发现更多真实漏洞,整体提升检测性能。

问题
现有基于深度学习的漏洞检测在真实世界数据集上准确率明显下降,并且检测范围局限于单个函数,无法利用函数之间的关系信息。
方法
构建行为图模型,抽取函数的抽象行为并刻画函数间关系,进而设计VulBG框架,将这种全局行为信息用于辅助已有的深度学习漏洞检测模型。
评估
选取TextCNN、ASTGRU、CodeBERT、Devign、VulCNN等基线模型,在平衡的FFMpeg+Qemu和不平衡的Chrome+Debian两个真实数据集上评估VulBG的增强效果。
原文摘要(Abstract)

Software vulnerabilities have posed huge threats to the cyberspace security, and there is an increasing demand for automated vulnerability detection (VD). In recent years, deep learning-based (DL-based) vulnerability detection systems have been proposed for the purpose of automatic feature extraction from source code. Although these methods can achieve ideal performance on synthetic datasets, the accuracy drops a lot when detecting real-world vulnerability datasets. Moreover, these approaches limit their scopes within a single function, being not able to leverage the information between functions. In this paper, we attempt to extract the function's abstract behaviors, figure out the relationships between functions, and use this global information to assist DL-based VD to achieve higher performance. To this end, we build a Behavior Graph Model and use it to design a novel framework, namely VulBG. To examine the ability of our constructed Behavior Graph Model, we choose several existing DL-based VD models (e.g., TextCNN, ASTGRU, CodeBERT, Devign, and VulCNN) as our baseline models and conduct evaluations on two real-world datasets: the balanced $\text{FFMpeg}+\text{Qemu}$ dataset and the unbalanced $\text{Chrome} +\text{Debian}$ dataset. Experimental results indicate that VulBG enables all baseline models to detect more real vulnerabilities, thus improving the overall detection performance.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{YuanLFWZLLJ23,
  title = {Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph Model},
  author = {Bin Yuan and Yifan Lu and Yilin Fang and Yueming Wu and Deqing Zou and Zhen Li and Zhi Li and Hai Jin},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00190}
}