paper-with-me

Papers

An Unbiased Transformer Source Code Learning with Semantic Vulnerability Graph

2023-04-17 · Nafis Tanveer Islam, Gonzalo De La Torre Parra, Dylan Manuel, Elias Bou-Harb, Peyman Najafirad

Over the years, open-source software systems have become prey to threat actors. Even as open-source communities act quickly to patch the breach, code vulnerability screening should be an integral part of agile software development from the beginning. Unfortunately, current vulnerability screening techniques are ineffective at identifying novel vulnerabilities or providing developers with code vulnerability and classification. Furthermore, the datasets used for vulnerability learning often exhibit distribution shifts from the real-world testing distribution due to novel attack strategies deployed by adversaries and as a result, the machine learning model's performance may be hindered or biased. To address these issues, we propose a joint interpolated multitasked unbiased vulnerability classifier comprising a transformer "RoBERTa" and graph convolution neural network (GCN). We present a training process utilizing a semantic vulnerability graph (SVG) representation from source code, created by integrating edges from a sequential flow, control flow, and data flow, as well as a novel flow dubbed Poacher Flow (PF). Poacher flow edges reduce the gap between dynamic and static program analysis and handle complex long-range dependencies. Moreover, our approach reduces biases of classifiers regarding unbalanced datasets by integrating Focal Loss objective function along with SVG. Remarkably, experimental results show that our classifier outperforms state-of-the-art results on vulnerability detection with fewer false negatives and false positives. After testing our model across multiple datasets, it shows an improvement of at least 2.41% and 18.75% in the best-case scenario. Evaluations using N-day program samples demonstrate that our proposed approach achieves a 93% accuracy and was able to detect 4, zero-day vulnerabilities from popular GitHub repositories.

📄 PDF Abstract BibTeX arXiv:2304.11072

Code (1)

pial08/semvuldet 공식 구현 pytorch

Tasks

Vulnerability Detection

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Focal Loss A Focal Loss function addresses class imbalance during training in tasks like object detection. Focal loss applies a modulating term to the cross entropy loss in order to…

Similar Papers 제목 키워드 기반

Efficient Software Vulnerability Detection Using Transformer-based Models

2026-03-31 · Sameer Shaik, Zhen Huang, Daniela Stan Raicu, Jacob Furst arxiv

Detecting software vulnerabilities is critical to ensuring the security and reliability of modern computer systems. Deep neural networks have shown promising results on vulnerability detection, but they lack the capabili…

Vulnerability Detection

Do Language Models Learn Semantics of Code? A Case Study in Vulnerability Detection

2023-11-07 · Benjamin Steenhoek, Md Mahbubur Rahman, Shaila Sharmin, Wei Le

Recently, pretrained language models have shown state-of-the-art performance on the vulnerability detection task. These models are pretrained on a large corpus of source code, then fine-tuned on a smaller supervised vuln…

Vulnerability Detection

SecureBERT 2.0: Advanced Language Model for Cybersecurity Intelligence

2025-09-30 · Ehsan Aghaei, Sarthak Jain, Prashanth Arun, Arjun Sambamoorthy arxiv

Effective analysis of cybersecurity and threat intelligence data demands language models that can interpret specialized terminology, complex document structures, and the interdependence of natural language and source cod…

Vulnerability Detection

SV-TrustEval-C: Evaluating Structure and Semantic Reasoning in Large Language Models for Source Code Vulnerability Analysis

2025-05-27 · Yansong Li, Paula Branco, Alexander M. Hoole, Manish Marwah 외

As Large Language Models (LLMs) evolve in understanding and generating code, accurately evaluating their reliability in analyzing source code vulnerabilities becomes increasingly vital. While studies have examined LLM ca…

Logical ReasoningVulnerability Detection

GenTAL: Generative Denoising Skip-gram Transformer for Unsupervised Binary Code Similarity Detection

2021-09-29 · Litao Li, Steven Ding, Philippe Charland, Hanbo Yu 외

Binary code similarity detection serves a critical role in cybersecurity. It alleviates the huge manual effort required in the reverse engineering process for malware analysis and vulnerability detection, where often the…

Contrastive LearningDenoisingFeature EngineeringLanguage Modeling+3