利用生成对抗网络学习修复软件漏洞
Learning to Repair Software Vulnerabilities with Generative Adversarial Networks
摘要:
出于自动修复软件漏洞的问题,我们提出了一个对抗性的学习方法,从一个离散的源域映射到另一个目标域,而不需要成对的标记的例子或源和目标域是双射。我们证明了所提出的对抗性学习方法是修复软件漏洞的有效技术,其性能接近需要标记对的seq2seq方法。所提出的生成对抗网络方法是应用不可知的,因为它可以应用于类似于代码修复的其他问题,例如语法校正或情感翻译。
英文摘要:
Motivated by the problem of automated repair of software vulnerabilities, we propose an adversarial learning approach that maps from one discrete source domain to another target domain without requiring paired labeled examples or source and target domains to be bijections. We demonstrate that the proposed adversarial learning approach is an effective technique for repairing software vulnerabilities, performing close to seq2seq approaches that require labeled pairs. The proposed Generative Adversarial Network approach is application-agnostic in that it can be applied to other problems similar to code repair, such as grammar correction or sentiment translation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。