EUVIMEDEUVIMED entdecken
Crossref

Enhancing Fine-Grained Vulnerability Detection With Reinforcement Learning

Yuan Jiang, Zhichen Qu, Christoph Treude, Xiaohong Su, Tiantian Wang

IEEE Transactions on Software Engineering · 2025-10 · 51 (10) · 2900-2920

DOI: 10.1109/tse.2025.3603400 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Software Engineering, 2025-10. Verfasst von Yuan Jiang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 8-mal zitiert (Crossref) und nennt 55 Literaturangaben. Gefördert von: National Natural Science Foundation of China, Heilongjiang Postdoctoral Fund, Key technical projects of ShenZhen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The rapid growth of vulnerabilities has significantly accelerated the development of automated vulnerability detection methods, especially those based on data-driven models. However, most of them primarily focus on extracting accurate code representations while overlooking the complex vulnerability patterns among vulnerable statements, thereby leaving room for improvement. To overcome this limitation, we present a novel reinforcement learning framework (RLFD) for detecting vulnerabilities at a fine-grained level. RLFD redefines the detection task as a sequential decision-making process and then employs reinforcement learning to automatically learn vulnerability-relevant structures from code snippets. Moreover, by designing reward functions aligned with fine-grained evaluation metrics, RLFD focuses on the co-existence relations among statements from a global perspective, enabling the model to capture complex interactions that lead to vulnerabilities. Additionally, the framework utilizes CodeBERT-HLS for code representation, ensuring consistency with the state-of-the-art method while highlighting the improvements brought by the proposed reinforcement learning-based approach. Comprehensive experiments show that our method achieves a locating precision (IoU) of 69.7% and a Top-5% Acc of 67.7% on the big_vul dataset, outperforming the state-of-the-art method by an overall 3.4% improvement in IoU. Notably, our method achieves up to a 19.7% increase in IoU for specific categories, e.g., CWE-416 (use-after-free).

Förderung

  • National Natural Science Foundation of China
  • Heilongjiang Postdoctoral Fund
  • Key technical projects of ShenZhen

Zitieren

APA

Jiang, Y., Qu, Z., Treude, C., Su, X., & Wang, T. (2025). Enhancing Fine-Grained Vulnerability Detection With Reinforcement Learning. IEEE Transactions on Software Engineering, 51(10), 2900-2920. https://doi.org/10.1109/tse.2025.3603400

Vancouver

Jiang Y, Qu Z, Treude C, Su X, Wang T. Enhancing Fine-Grained Vulnerability Detection With Reinforcement Learning. IEEE Transactions on Software Engineering. 2025;51(10):2900-2920. doi:10.1109/tse.2025.3603400

BibTeX
@article{Jiang2025,
  author = {Jiang, Yuan and Qu, Zhichen and Treude, Christoph and Su, Xiaohong and Wang, Tiantian},
  title = {Enhancing Fine-Grained Vulnerability Detection With Reinforcement Learning},
  journal = {IEEE Transactions on Software Engineering},
  year = {2025},
  volume = {51},
  number = {10},
  pages = {2900--2920},
  doi = {10.1109/tse.2025.3603400}
}
Kostenlos starten →