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

Jingjing Wang, Minhuan Huang, Yuanping Nie, Xiang Li, Qianjin Du +3 more
2/3/2026

Abstract

Deep learning technologies have demonstrated remarkable performance in vulnerability detection. Existing works primarily adopt a uniform and consistent feature learning pattern across the entire target set. While designed for general-purpose detection tasks, they lack sensitivity towards target code comprising multiple functional modules or diverse vulnerability subtypes. In this paper, we present a knowledge fusion-based vulnerability detection method (KF-GVD) that integrates specific vulnerability knowledge into the Graph Neural Network feature learning process. KF-GVD achieves accurate vulnerability detection across different functional modules of the Linux kernel and vulnerability subtypes without compromising general task performance. Extensive experiments demonstrate that KF-GVD outperforms SOTAs on function-level and statement-level vulnerability detection across various target tasks, with an average increase of 40.9% in precision and 26.1% in recall. Notably, KF-GVD discovered 9 undisclosed vulnerabilities when employing on C/C++ open-source projects without ground truth.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{wang2026suitable,
  title  = {Suitable is the Best: Task-Oriented Knowledge Fusion in Vulnerability Detection},
  author = {Jingjing Wang and Minhuan Huang and Yuanping Nie and Xiang Li and Qianjin Du and Wei Kong and Huan Deng and Xiaohui Kuang},
  year   = {2026},
  doi    = {10.52202/079017-3849},
  url    = {https://doi.org/10.52202/079017-3849},
  journal = {NEURIPS 2024 2024}
}

Discussion