atlas

Research map / Detection and segmentation / CNN features

Suitable is the Best: Task-Oriented Knowledge Fusion in Vulnerability Detection

NeurIPS 2024 · Detection and segmentation › CNN features · approach: Forgery detection · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes KF-GVD, a GNN-based vulnerability detector that fuses task-specific vulnerability knowledge (sensitive functions, module-specific rules) into a SAGPool-style graph model via fine-tuning on misclassified target samples, evaluated on Linux kernel and CWE subtype tasks.

Problem

General-purpose deep learning vulnerability detectors apply uniform feature learning across entire target sets and perform poorly on code with diverse functional modules or vulnerability subtypes.

Approach

Injects task-oriented vulnerability knowledge by masking CPG nodes weakly related to a target task and fusing knowledge-subgraph node features during fine-tuning of a source-trained GNN, with misclassified samples prioritized for fusion.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fuse task-oriented vulnerability knowledgeGVD-ft on Linux kernel modules and CWE-119 subtypes · Tm119 and Tsub function-levelF1: 23.3% for Tm119; 15.7% for TsubHelped
fuse task-oriented vulnerability knowledgeGVD-ft on Linux kernel modules · Tm416 function-levelF1: 31.6%Helped
add vulnerability-type knowledge K1 (ablation)GVD on Tm119 · Tm119F1: 11.9%Helped
add task-customized knowledge K2 (ablation)GVD on Tm119 · Tm119F1: 16.3%Helped
add vulnerability-type knowledge K1 (ablation)GVD on Tsub · TsubF1: 15.1%Helped
add task-customized knowledge K2 (ablation)GVD on Tsub · TsubF1: 7.5%Helped
fuse K1 and K2 together (ablation)GVD on Tm119 and Tsub · Tm119 and TsubF1: 23.3% for Tm119; 15.7% for TsubHelped
replace CFG with CPG representation (ablation)KF-GVD · S119 and target tasksF1: +27.1% average on target tasksHelped
replace Code2Seq embeddings with Word2Vec embeddings (ablation)KF-GVD · S119 and target tasksF1Helped
vary the number of fused samples (ablation)KF-GVD · Tm119 and TsubF1: 0.3-0.5Mixed
increase fusion coefficient β beyond the effective range (ablation)KF-GVD · target tasksF1: 1.5-2Hurt
apply task-fused model to its source task (ablation)KF-GVD · S416F1: -0.17No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: NVD CWE-119 and CWE-416 commits from 13 C++ projects SARD synthetic data Linux kernel target modules (Tm) CWE-125 and CWE-787 subtypes (Tsub) FFmpeg and OpenSSL cross-domain data

Benchmarks: S119 S416 Tm119 Tm416 Tsub cross-domain Linux/FFmpeg/OpenSSL tasks

Metrics: precision recall F1 MAP@5

Baselines: Cppcheck Flawfinder Sysver VulCNN CodeBERT Code Llama WizardCoder Devign ReGVD IVDetect LineVul LineVD

Builds on: SAGPool IVDetect LineVD Devign

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy