paper-with-me

홈 › Papers

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

2022-09-19 · Van Nguyen, Trung Le, Chakkrit Tantithamthavorn, John Grundy, Hung Nguyen, Dinh Phung

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

📄 PDF Abstract BibTeX arXiv:2209.10406

Code (1)

vannguyennd/dam2p 공식 구현 tf

Tasks

Domain AdaptationRepresentation LearningTransfer LearningVulnerability Detection

Similar Papers 제목 키워드 기반

Explaining the Contributing Factors for Vulnerability Detection in Machine Learning

2024-06-05 · Esma Mouine, Yan Liu, Lu Xiao, Rick Kazman 외

There is an increasing trend to mine vulnerabilities from software repositories and use machine learning techniques to automatically detect software vulnerabilities. A fundamental but unresolved research question is: how…

Vulnerability Detection

MVD: A Multi-Lingual Software Vulnerability Detection Framework

2024-12-09 · Boyu Zhang, Triet H. M. Le, M. Ali Babar

Software vulnerabilities can result in catastrophic cyberattacks that increasingly threaten business operations. Consequently, ensuring the safety of software systems has become a paramount concern for both private and p…

Incremental LearningVulnerability Detection

LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insights

2025-02-10 · Ze Sheng, Zhicheng Chen, Shuning Gu, Heqing Huang 외

Large Language Models (LLMs) are emerging as transformative tools for software vulnerability detection, addressing critical challenges in the security domain. Traditional methods, such as static and dynamic analysis, oft…

Data IntegrationVulnerability Detection

VUDENC: Vulnerability Detection with Deep Learning on a Natural Codebase for Python

2022-01-20 · Laura Wartschinski, Yannic Noller, Thomas Vogel, Timo Kehrer 외

Context: Identifying potential vulnerable code is important to improve the security of our software systems. However, the manual detection of software vulnerabilities requires expert knowledge and is time-consuming, and …

Vulnerability Detection

Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detection

2025-08-14 · Rijha Safdar, Danyail Mateen, Syed Taha Ali, M. Umer Ashfaq 외 arxiv

AI-based solutions demonstrate remarkable results in identifying vulnerabilities in software, but research has consistently found that this performance does not generalize to unseen codebases. In this paper, we specifica…

Vulnerability Detection