Adversarial Robustness for Code
Pavol Bielik, Martin T. Vechev
摘要
Machine learning and deep learning in particular has been recently used to successfully address many tasks in the domain of code such as finding and fixing bugs, code completion, decompilation, type inference and many others. However, the issue of adversarial robustness of models for code has gone largely unnoticed. In this work, we explore this issue by: (i) instantiating adversarial attacks for code (a domain with discrete and highly structured inputs), (ii) showing that, similar to other domains, neural models for code are vulnerable to adversarial attacks, and (iii) combining existing and novel techniques to improve robustness while preserving high accuracy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ContraBERT: Enhancing Code Pre-trained Models via Contrastive Learning 引用了 Adversarial examples for models of code
- ContraBERT: Enhancing Code Pre-trained Models via Contrastive Learning 引用了 Generating Adversarial Computer Programs using Optimized Obfuscations
- Generating Adversarial Computer Programs using Optimized Obfuscations 引用了 Adversarial examples for models of code
- You see what I want you to see: poisoning vulnerabilities in neural code search 引用了 Adversarial examples for models of code
- Uncovering the Limits of Machine Learning for Automatic Vulnerability Detection 引用了 Adversarial examples for models of code
- Uncovering the Limits of Machine Learning for Automatic Vulnerability Detection 引用了 Generating Adversarial Computer Programs using Optimized Obfuscations
引用它的顶会 Paper24
- Adversarial examples for models of codeNoam Yefet, Uri Alon, Eran YahavOOPSLA 2020 · 162 次引用
- Uncovering the Limits of Machine Learning for Automatic Vulnerability DetectionNiklas Risse, Marcel BöhmeUSENIX Security 2024 · 63 次引用
- Generating Adversarial Computer Programs using Optimized ObfuscationsShashank Srikant, Sijia Liu, Tamara Mitrovska, Shiyu Chang 等ICLR 2021 · 61 次引用
- You see what I want you to see: poisoning vulnerabilities in neural code searchYao Wan, Shijie Zhang, Hongyu Zhang, Yulei Sui 等FSE 2022 · 57 次引用
- ContraBERT: Enhancing Code Pre-trained Models via Contrastive LearningShangqing Liu, Bozhi Wu, Xiaofei Xie, Guozhu Meng 等ICSE 2023 · 56 次引用
它引用的 Paper4
- Adversarial examples for models of codeNoam Yefet, Uri Alon, Eran YahavOOPSLA 2020 · 162 次引用
- LambdaNet: Probabilistic Type Inference using Graph Neural NetworksJiayi Wei, Maruth Goyal, Greg Durrett, Isil DilligICLR 2020 · 119 次引用
- Typilus: neural type hintsMiltiadis Allamanis, Earl T. Barr, Soline Ducousso, Zheng GaoPLDI 2020 · 92 次引用
- Robustness to Programmable String Transformations via Augmented Abstract TrainingYuhao Zhang, Aws Albarghouthi, Loris D'AntoniICML 2020 · 17 次引用
相关 Paper
- Discrete Adversarial Attack to Models of CodeFengjuan Gao, Yu Wang, Ke WangPLDI 2023 · 23 次引用
- Code Difference Guided Adversarial Example Generation for Deep Code ModelsZhao Tian, Junjie Chen, Zhi JinASE 2023 · 27 次引用
- Evaluating and Enhancing the Robustness of Code Pre-trained Models through Structure-Aware Adversarial Samples GenerationNuo Chen, Qiushi Sun, Jianing Wang, Ming Gao 等EMNLP Findings 2023 · 3 次引用
- RoPGen: Towards Robust Code Authorship Attribution via Automatic Coding Style TransformationZhen Li, Qian (Guenevere) Chen, Chen Chen, Yayi Zou 等ICSE 2022 · 39 次引用
- DIP: Dead code Insertion based Black-box Attack for Programming Language ModelCheolWon Na, YunSeok Choi, Jee-Hyong LeeACL 2023 · 13 次引用
