计算机科学 > 机器学习
[提交于 2020年2月11日 (v1),最后修订于 2020年8月15日 (此版本, v2)]
标题:Adversarial Robustness for Code
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.