paper-with-me

홈 › Papers

Transformer-Based Language Models for Software Vulnerability Detection

2022-04-07 · Chandra Thapa, Seung Ick Jang, Muhammad Ejaz Ahmed, Seyit Camtepe, Josef Pieprzyk, Surya Nepal

The large transformer-based language models demonstrate excellent performance in natural language processing. By considering the transferability of the knowledge gained by these models in one domain to other related domains, and the closeness of natural languages to high-level programming languages, such as C/C++, this work studies how to leverage (large) transformer-based language models in detecting software vulnerabilities and how good are these models for vulnerability detection tasks. In this regard, firstly, a systematic (cohesive) framework that details source code translation, model preparation, and inference is presented. Then, an empirical analysis is performed with software vulnerability datasets with C/C++ source codes having multiple vulnerabilities corresponding to the library function call, pointer usage, array usage, and arithmetic expression. Our empirical results demonstrate the good performance of the language models in vulnerability detection. Moreover, these language models have better performance metrics, such as F1-score, than the contemporary models, namely bidirectional long short-term memory and bidirectional gated recurrent unit. Experimenting with the language models is always challenging due to the requirement of computing resources, platforms, libraries, and dependencies. Thus, this paper also analyses the popular platforms to efficiently fine-tune these models and present recommendations while choosing the platforms.

📄 PDF Abstract BibTeX arXiv:2204.03214

Code (0)

등록된 구현이 없습니다.

Tasks

Code TranslationVulnerability Detection

Similar Papers 제목 키워드 기반

A systematic literature Review for Transformer-based Software Vulnerability detection

2026-04-27 · Fiza Naseer, Javed Ali Khan, Muhammad Yaqoob, Alexios Mylonas 외 arxiv

Context: Software vulnerabilities pose significant security threats to software systems, especially as software is increasingly used across many areas of daily life, including health, government, and finance. Recently, t…

Vulnerability DetectionRepresentation Learning

Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?

2023-05-23 · Aaron Chan, Anant Kharkar, Roshanak Zilouchian Moghaddam, Yevhen Mohylevskyy 외

Software vulnerabilities bear enterprises significant costs. Despite extensive efforts in research and development of software vulnerability detection methods, uncaught vulnerabilities continue to put software owners and…

Vulnerability Detection

Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Models

2024-06-09 · Aidan Z. H. Yang, Haoye Tian, He Ye, Ruben Martins 외

Software security vulnerabilities allow attackers to perform malicious activities to disrupt software operations. Recent Transformer-based language models have significantly advanced vulnerability detection, surpassing t…

Graph Neural NetworkVulnerability Detection

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

Automating the Detection of Code Vulnerabilities by Analyzing GitHub Issues

2025-01-09 · Daniele Cipollone, Changjie Wang, Mariano Scazzariello, Simone Ferlin 외

In today's digital landscape, the importance of timely and accurate vulnerability detection has significantly increased. This paper presents a novel approach that leverages transformer-based models and machine learning t…

Vulnerability Detection