arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.24822cs.SEcs.LG
收藏

基于变换器的软件漏洞检测的系统文献综述

A systematic literature Review for Transformer-based Software Vulnerability detection

Department of Computer Science, Cybersecurity and Computing Systems Research Group, University of Hertfordshire, Hertfordshire(计算机科学系、网络安全与计算系统研究组、赫特福德郡大学、赫特福德郡);Department of Software Engineering, Obafemi Awolowo University Ile-Ife(软件工程系、奥法米-阿沃洛沃大学伊费)

Fiza Naseer, Javed Ali Khan, Muhammad Yaqoob, Alexios Mylonas, Ishaya Gambo

AI总结:

本文综述了2021-2025年间80项利用变换器模型检测软件漏洞的研究,分析了模型架构、数据集、编程语言及评估指标,揭示了数据不平衡、可解释性等关键问题。

摘要:

Context: 软件漏洞对软件系统构成重大安全威胁,尤其在健康、政府和金融等领域广泛应用。最近,基于变换器的模型因其强大的上下文建模和表示学习能力,在自动软件漏洞识别中表现出色。目标:尽管已有大量系统文献综述(SLR)研究了机器学习和深度学习方法,但更以变换器为中心的分析仍需探索。本SLR批判性分析了2021-2025年间发表的80项研究,这些研究利用变换器模型识别软件漏洞。方法:采用Kitchenhams SLR指南,我们从多个角度系统评估了当前研究,包括研究趋势、数据集和来源、编程语言、变换器框架、检测细节级别、评估指标、参考模型、漏洞类型和实验配置。结果:我们将变换器模型分为编码器、解码器和混合架构,并分析了在源代码、日志和智能合约上使用的预训练和微调版本。结果强调了主流研究趋势、常用基准和主要基线。它还揭示了关键技术问题,如数据不平衡、可解释性、可扩展性和跨编程语言的泛化能力。结论:通过整合现有证据并识别未解决的研究领域,本SLR为研究人员和专业人士提供了开发更可靠、精确和可解释的基于变换器的漏洞识别系统的综合资源。

英文摘要:

Context: Software vulnerabilities pose significant security threats to software systems, especially as software is increasingly used across many areas of daily life, including health, government, and finance. Recently, transformer-based models have demonstrated promising results in automatic software vulnerability identification due to their robust contextual modelling and representation learning capabilities. Objectives: While numerous systematic literature reviews (SLRs) have examined machine learning and deep learning methods for identifying vulnerabilities, a more transformer-centric analysis remains to be explored. This SLR critically analysed 80 studies published between 2021 and 2025 that utilised transformer models to identify software vulnerabilities. Methods: Using Kitchenhams SLR guidelines, we methodically evaluate current research from various perspectives, encompassing study trends, datasets and sources, programming languages, transformer frameworks, detection detail levels, assessment metrics, reference models, types of vulnerabilities, and experimental configurations. Results: We classify transformer models into encoder, decoder, and combined architectures and analyse both pre-trained and fine-tuned versions utilized on source code, logs, and smart contracts. The results emphasise prevailing research trends, frequently utilised benchmarks, and main baselines. It also uncovers crucial technical issues like data imbalance, interpretability, scalability, and generalization across programming languages. Conclusion: By integrating current evidence and recognising unaddressed research areas, this SLR provides a consolidated resource for researchers and professionals seeking to develop more reliable, precise, and interpretable transformer-based vulnerability identification systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑