Have a personal or library account? Click to login
SecuGuard: Leveraging pattern-exploiting training in language models for advanced software vulnerability detection Cover

SecuGuard: Leveraging pattern-exploiting training in language models for advanced software vulnerability detection

By: Mahmoud Basharat and  Marwan Omar  
Open Access
|Jun 2024

Figures & Tables

Fig. 1

An overview of our defense framework.
An overview of our defense framework.

Fig. 2

The inclusion of Additional Language Modeling during training resulted in improvements in accuracy for PET.
The inclusion of Additional Language Modeling during training resulted in improvements in accuracy for PET.

The average accuracy and the standard deviation for BERT base on SARD, D2A, REVEAL and DEVIGN over 5 training set sizes_

LineExamplesMethodSARDD2AREVEALDevign

1.| T |= 0unsupervised (avg)38.8±9.669.5±7.244.0±9.139.1±4.3
2.| T |= 0unsupervised (max)42.8±0.079.4±0.056.4±0.043.8±0.0
3.| T |= 0iPet66.7±0.289.5±0.173.7±0.163.6±0.1

4.| T |= 15supervised32.1±1.625.0±0.110.1±0.134.2±2.1
5.| T |= 15Pet52.9±0.187.5±0.063.8±0.241.8±0.1
6.| T |= 15iPet57.6±0.089.3±0.170.7±0.143.2±0.0

7.| T |= 60supervised44.8±2.782.1±2.552.5±3.145.6±1.8
8.| T |= 60Pet60.0±0.186.3±0.066.2±0.163.9±0.0
9.| T |= 60iPet64.7±0.188.4±0.169.7±0.067.4±0.3

10.| T |= 200supervised53.0±3.186.0±0.762.9±0.947.9±2.8
11.| T |= 200Pet61.9±0.088.3±0.169.2±0.074.7±0.3
12.| T |= 200iPet62.9±0.089.6±0.171.2±0.178.4±0.7

13.| τ |= 1000supervised63.0±0.586.9±0.470.5±0.373.1±0.2
14.| τ |= 1000Pet68.8±0.189.9±0.272.7±0.085.3±0.2

A comparison of PET with VulBERTa and VulDeBERT methods using BERT (base)_

Ex.MethodSARDD2AREVEALDevign

| T |= 15VulDeBERT40.4572.636.734.7
| T |= 15VulBERTa43.2381.1320.632.9
| T |= 15Pet49.6084.159.039.5
| T |= 15iPet54.6087.567.042.1

| T |= 60VulDeBERT46.683.060.240.8
| T |= 60VulBERTa39.584.861.534.8
| T |= 60Pet55.386.463.355.1
| T |= 60iPet57.787.369.656.3
Language: English
Page range: 47 - 56
Submitted on: Oct 28, 2023
Accepted on: Jan 16, 2024
Published on: Jun 2, 2024
Published by: Harran University
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year

© 2024 Mahmoud Basharat, Marwan Omar, published by Harran University
This work is licensed under the Creative Commons Attribution 4.0 License.