跳到主要导航 跳到搜索 跳到主要内容

VuLASTE: Long Sequence Model with Abstract Syntax Tree Embedding for Vulnerability Detection

  • Beihang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

In this paper, we present a model named VuLASTE, treating vulnerability detection as a specialized text classification task. To address the vocabulary explosion problem, VuLASTE utilizes a byte-level BPE algorithm from natural language processing. Within VuLASTE, we introduce a novel AST path embedding to represent source code nesting information. Additionally, we employ a combination of global and dilated window attention from Longformer to extract long sequence semantics from source code. To tackle the issue of data imbalance, a common challenge in vulnerability detection datasets, we employ focal loss as a loss function. This ensures that the model prioritizes poorly classified cases during training. To evaluate our model’s performance on real-world source code, we construct a cross-language and multi-repository vulnerability dataset from the Github Security Advisory Database. VuLASTE achieves top 50, top 100, top 200, and top 500 hits of 29, 51, 86, and 228, respectively, surpassing state-of-the-art researches.

源语言英语
主期刊名AAIA 2023 - Conference Proceedings, 2023 International Conference on Advances in Artificial Intelligence and Applications
出版商Association for Computing Machinery
392-396
页数5
ISBN(电子版)9798400708268
DOI
出版状态已出版 - 18 11月 2023
活动2023 International Conference on Advances in Artificial Intelligence and Applications, AAIA 2023 - Virtual, Online
期限: 18 11月 202320 11月 2023

出版系列

姓名ACM International Conference Proceeding Series

会议

会议2023 International Conference on Advances in Artificial Intelligence and Applications, AAIA 2023
Virtual, Online
时期18/11/2320/11/23

指纹

探究 'VuLASTE: Long Sequence Model with Abstract Syntax Tree Embedding for Vulnerability Detection' 的科研主题。它们共同构成独一无二的指纹。

引用此