arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.15631cs.SEcs.CR
收藏

面向代码的语言模型的安全性:一项系统性文献综述

Security of Language Models for Code: A Systematic Literature Review

Yuchen Chen, Weisong Sun, Chunrong Fang, Zhenpeng Chen, Yifei Ge, Tingxu Han, Quanjun Zhang, Yang Liu, Zhenyu Chen, Baowen Xu

AI总结:

针对面向代码的语言模型(CodeLMs)安全性研究缺乏全面综述的现状,本文系统回顾67篇相关论文,按攻防策略分类,梳理常用模型、数据集与评估指标,指明开源工具与未来研究方向。

摘要:

面向代码的语言模型(CodeLMs)已成为代码相关任务的强大工具,性能优于传统方法和标准机器学习方法。然而,这些模型易受安全漏洞影响,引发了软件工程、人工智能和网络安全等领域越来越多的研究关注。尽管针对CodeLMs安全性的研究不断增多,但该领域仍缺乏全面的综述。为填补这一空白,我们系统回顾了67篇相关论文,按攻击与防御策略对其进行分类。此外,我们概述了常用的语言模型、数据集和评估指标,并重点介绍了保障CodeLMs安全的开源工具和未来研究的有前景方向。

英文摘要:

Language models for code (CodeLMs) have emerged as powerful tools for code-related tasks, outperforming traditional methods and standard machine learning approaches. However, these models are susceptible to security vulnerabilities, drawing increasing research attention from domains such as software engineering, artificial intelligence, and cybersecurity. Despite the growing body of research focused on the security of CodeLMs, a comprehensive survey in this area remains absent. To address this gap, we systematically review 67 relevant papers, organizing them based on attack and defense strategies. Furthermore, we provide an overview of commonly used language models, datasets, and evaluation metrics, and highlight open-source tools and promising directions for future research in securing CodeLMs.

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

↑