通过区间界传播实现对符号替换的验证鲁棒性
Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagation
摘要:
神经网络是许多当代NLP系统的一部分,但它们的经验成功是以易受对抗攻击为代价的。以前的工作已经使用对抗训练和数据增强来部分减轻这种脆弱性,但由于离散文本扰动引起的搜索空间的复杂性,这些不太可能找到最坏情况的对手。在这项工作中,我们从相反的方向来解决这个问题:正式验证系统对预定义的一类对抗攻击的鲁棒性。我们研究同义词替换或字符翻转扰动下的文本分类。我们建议将这些输入扰动建模为单纯形,然后使用区间界传播-一种正式的模型验证方法。我们修改了传统的对数似然训练目标,以训练可以有效验证的模型,否则将带来指数搜索复杂度。由此产生的模型在标称精度方面只有很小的差异,但在扰动下有很大的提高验证精度,并在最坏情况下的对手与一个有效的可计算的正式保证。
英文摘要:
Neural networks are part of many contemporary NLP systems, yet their empirical successes come at the price of vulnerability to adversarial attacks. Previous work has used adversarial training and data augmentation to partially mitigate such brittleness, but these are unlikely to find worst-case adversaries due to the complexity of the search space arising from discrete text perturbations. In this work, we approach the problem from the opposite direction: to formally verify a system's robustness against a predefined class of adversarial attacks. We study text classification under synonym replacements or character flip perturbations. We propose modeling these input perturbations as a simplex and then using Interval Bound Propagation -- a formal model verification method. We modify the conventional log-likelihood training objective to train models that can be efficiently verified, which would otherwise come with exponential search complexity. The resulting models show only little difference in terms of nominal accuracy, but have much improved verified accuracy under perturbations and come with an efficiently computable formal guarantee on worst case adversaries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。