arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.07597cs.CR
收藏

面向代码数据的对抗机器学习综述:现实威胁、对策与解释

A Survey on Adversarial Machine Learning for Code Data: Realistic Threats, Countermeasures, and Interpretations

Yulong Yang, Haoran Fan, Chenhao Lin, Qian Li, Zhengyu Zhao, Chao Shen, Xiaohong Guan

AI总结:

本文综述了代码语言模型在对抗环境下的安全漏洞,基于CIA三要素将攻击分为投毒、规避和隐私三类,分析了79篇相关论文的威胁模型、攻击技术与对策,并引入可解释AI视角探讨风险联系,为构建更可靠的CLMs提供研究路线图。

摘要:

代码语言模型(CLMs)在源代码理解和生成方面取得了巨大进展,促使近年来将CLMs应用于现实世界软件工程任务的研究兴趣显著增加。然而,在现实场景中,CLMs面临潜在的恶意对手,给CLM系统的机密性、完整性和可用性带来风险。尽管存在这些风险,但一直缺乏对CLMs在极端对抗环境中安全漏洞的全面分析。为了填补这一研究空白,我们基于CIA三要素将现有攻击技术分为三类:投毒攻击(侵犯完整性和可用性)、规避攻击(侵犯完整性)以及隐私攻击(侵犯机密性)。我们从人工智能、计算机安全和软件工程研究领域收集了迄今为止最全面的(79篇)与CLM对抗机器学习相关的论文。我们的分析涵盖了每种类型的风险,审查了威胁模型分类、攻击技术和对策,同时引入了关于可解释AI(XAI)的新视角,并探讨了不同风险之间的相互联系。最后,我们指出了当前的挑战和未来的研究机遇。本研究旨在为研究人员和从业者提供一份全面的路线图,为实际应用中更可靠的CLMs铺平道路。

英文摘要:

Code Language Models (CLMs) have achieved tremendous progress in source code understanding and generation, leading to a significant increase in research interests focused on applying CLMs to real-world software engineering tasks in recent years. However, in realistic scenarios, CLMs are exposed to potential malicious adversaries, bringing risks to the confidentiality, integrity, and availability of CLM systems. Despite these risks, a comprehensive analysis of the security vulnerabilities of CLMs in the extremely adversarial environment has been lacking. To close this research gap, we categorize existing attack techniques into three types based on the CIA triad: poisoning attacks (integrity \& availability infringement), evasion attacks (integrity infringement), and privacy attacks (confidentiality infringement). We have collected so far the most comprehensive (79) papers related to adversarial machine learning for CLM from the research fields of artificial intelligence, computer security, and software engineering. Our analysis covers each type of risk, examining threat model categorization, attack techniques, and countermeasures, while also introducing novel perspectives on eXplainable AI (XAI) and exploring the interconnections between different risks. Finally, we identify current challenges and future research opportunities. This study aims to provide a comprehensive roadmap for both researchers and practitioners and pave the way towards more reliable CLMs for practical applications.

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

↑