cs.SEMar 31, 2026

Software Vulnerability Detection Using a Lightweight Graph Neural Network

Authors: Miles Farmer, Ekincan Ufuktepe, Anne Watson, Hialo Muniz Carvalho, Vadim Okun, Zineb Maasaoui, Kannappan Palaniappan

Organizations: Department of Electrical Engineering and Computer Science at the University of Missouri, MO, USA. · Software and Systems Division at the National Institute of Standards and Technology, Gaithersburg, MD, USA

Abstract

Large Language Models (LLMs) have emerged as a popular choice in vulnerability detection studies given their foundational capabilities, open source availability, and variety of models, but have limited scalability due to extensive compute requirements. Using the natural graph relational structure of code, we show that our proposed graph neural network (GNN) based deep learning model VulGNN for vulnerability detection can achieve performance almost on par with LLMs, but is 100 times smaller in size and fast to retrain and customize. We describe the VulGNN architecture, ablation studies on components, learning rates, and generalizability to different code datasets. As a lightweight model for vulnerability analysis, VulGNN is efficient and deployable at the edge as part of real-world software development pipelines.

Figures & tables

Explore similar work

CardsList
  1. VulTriage: Triple-Path Context Augmentation for LLM-Based Vulnerability Detection

    May 10, 2026Wenxin Tang, Xiang Zhang, Junliang Liu +11Software Vulnerability DetectionStatic Code Analysis

  2. Dissecting the Black Box: Circuit-Level Analysis of LLM Vulnerability Detection

    May 28, 2026Syafiq Al Atiiq, Chun Zhou, Christian GehrmannLLM InterpretabilitySoftware Vulnerability Detection