arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.10406cs.CRcs.AIcs.LG
收藏

基于领域自适应和最大间隔原则的跨项目软件漏洞检测

Cross Project Software Vulnerability Detection via Domain Adaptation and Max-Margin Principle

Adelaide University(阿德莱德大学);Monash University(莫纳什大学)

Van Nguyen, Trung Le, Chakkrit Tantithamthavorn, John Grundy, Hung Nguyen, Dinh Phung

摘要:

由于计算机软件的普遍存在,软件漏洞(SV)已经成为一个普遍、严重和关键的问题。为了解决软件漏洞检测(SVD)问题,已经提出了许多基于机器学习的方法。然而,SVD仍然存在两个开放且重要的问题,即i)学习自动表示以提高SVD的预测性能,以及ii)解决标记的漏洞数据集的稀缺性,这些漏洞数据集通常需要专家进行费力的标记工作。在本文中,我们提出了一种新的端到端的方法来解决这两个关键问题。我们首先利用自动表示学习与深度领域自适应软件漏洞检测。然后,我们提出了一种新型的跨域内核分类器,利用最大边缘原则来显着改善软件漏洞从标记项目到未标记项目的迁移学习过程。在真实世界软件数据集上的实验结果表明,我们提出的方法优于最先进的基线。简而言之,我们的方法在F1-measure上获得了更高的性能,F1-measure是SVD中最重要的度量,与所用数据集中第二高的方法相比,从1.83%到6.25%。我们发布的源代码示例可在https://github.com/vannguyennd/dam2p上公开获取

英文摘要:

Software vulnerabilities (SVs) have become a common, serious and crucial concern due to the ubiquity of computer software. Many machine learning-based approaches have been proposed to solve the software vulnerability detection (SVD) problem. However, there are still two open and significant issues for SVD in terms of i) learning automatic representations to improve the predictive performance of SVD, and ii) tackling the scarcity of labeled vulnerabilities datasets that conventionally need laborious labeling effort by experts. In this paper, we propose a novel end-to-end approach to tackle these two crucial issues. We first exploit the automatic representation learning with deep domain adaptation for software vulnerability detection. We then propose a novel cross-domain kernel classifier leveraging the max-margin principle to significantly improve the transfer learning process of software vulnerabilities from labeled projects into unlabeled ones. The experimental results on real-world software datasets show the superiority of our proposed method over state-of-the-art baselines. In short, our method obtains a higher performance on F1-measure, the most important measure in SVD, from 1.83% to 6.25% compared to the second highest method in the used datasets. Our released source code samples are publicly available at https://github.com/vannguyennd/dam2p

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑