Q363 : Software Vulnerability Detection Using Graph-baxsed Neural Networks
Thesis > Central Library of Shahrood University > Computer Engineering > MSc > 2026
Authors:
[Author], Alireza Tajary[Supervisor], Mohsen Rezvani[Advisor]
Abstarct: Abstract Vulnerability detection, aimed at ensuring security and enhancing reliability in software systems, is a fundamental and critical issue in the field of software security. In recent years, the use of Graph Neural Networks as an effective frxamework for modeling source code has attracted significant attention from researchers. This is because GNNs, by leveraging their ability to capture the graph-like structure of programs, can accurately model semantic relationships between code components. However, a major challenge in using GNNs lies in their lack of interpretability with respect to the important parts of the code that influence their decisions, as these models typically operate as black boxes, making it difficult to understand which features or structures drive their outputs.To address this challenge, the present study, tixtled “Regularized Counterfactual Reasoning for Vulnerability Detection in Code,” proposes a novel approach using a tool called CFExplainer. This tool seeks to identify the minimal structural changes in the code graph that can alter the model’s decision. The key innovation of this research is the incorporation of an L1 norm–baxsed regularization component into the counterfactual optimization process. This addition ensures that only those features and edges that play a critical role in the model’s decision-making are modified. The use of the L1 norm induces sparsity in feature and edge masks, leading to concise, accurate, and highly interpretable explanations. In other words, this technique prevents unnecessary modifications and reduces the complexity of generated explanations. Experimental evaluations conducted on two different GNN models demonstrate significant improvements in the quality of counterfactual reasoning compared to previous methods. The proposed approach not only enhances the accuracy of vulnerability detection but also provides superior performance in terms of simplicity and clarity of explanations. By integrating regularization with counterfactual reasoning, the study improves software vulnerability detection, achieving the highest accuracy of 68.63%, representing an average improvement of 7.4% over similar methods and prior research.
Keywords:
#_Regularization Technique #Graph Neural Network (GNN) #Software Vulnerability Detection #Explainer Keeping place: Central Library of Shahrood University
Visitor: