RS-Del:通过随机删除为序列分类器提供编辑距离鲁棒性证书
RS-Del: Edit Distance Robustness Certificates for Sequence Classifiers via Randomized Deletion
AI总结:
本文提出随机删除平滑机制 RS-Del,基于最长公共子序列证明离散序列分类器对编辑距离受限攻击的鲁棒性,并在 MalConv 恶意软件检测上实现半径128字节时91%的认证准确率。
摘要:
随机化平滑是构建可证明对对抗样本具有鲁棒性的分类器的领先方法。现有关于随机化平滑的工作主要集中在具有连续输入的分类器上,例如图像,其中通常研究受 ℓ_p 范数约束的对手。然而,针对具有离散或可变大小输入的分类器(例如源代码分类器)的工作有限,这些分类器需要不同的威胁模型和平滑机制。在这项工作中,我们将随机化平滑调整用于离散序列分类器,以提供针对受编辑距离约束的对手的可证明鲁棒性。我们提出的平滑机制随机删除(RS-Del)应用随机删除编辑,这(或许令人惊讶)足以赋予针对对抗性删除、插入和替换编辑的鲁棒性。我们的证书证明偏离了已建立的 Neyman-Pearson 方法,该方法在我们的设置中难以处理,而是围绕最长公共子序列组织。我们展示了一个关于恶意软件检测的案例研究——这是一个针对字节序列的二分类问题,其中分类器规避是一个公认的威胁模型。当应用于流行的 MalConv 恶意软件检测模型时,我们的平滑机制 RS-Del 在 128 字节的编辑距离半径下实现了 91% 的认证准确率。
英文摘要:
Randomized smoothing is a leading approach for constructing classifiers that are certifiably robust against adversarial examples. Existing work on randomized smoothing has focused on classifiers with continuous inputs, such as images, where $\ell_p$-norm bounded adversaries are commonly studied. However, there has been limited work for classifiers with discrete or variable-size inputs, such as for source code, which require different threat models and smoothing mechanisms. In this work, we adapt randomized smoothing for discrete sequence classifiers to provide certified robustness against edit distance-bounded adversaries. Our proposed smoothing mechanism randomized deletion (RS-Del) applies random deletion edits, which are (perhaps surprisingly) sufficient to confer robustness against adversarial deletion, insertion and substitution edits. Our proof of certification deviates from the established Neyman-Pearson approach, which is intractable in our setting, and is instead organized around longest common subsequences. We present a case study on malware detection--a binary classification problem on byte sequences where classifier evasion is a well-established threat model. When applied to the popular MalConv malware detection model, our smoothing mechanism RS-Del achieves a certified accuracy of 91% at an edit distance radius of 128 bytes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。