arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.04067cs.CL
收藏

最佳防御是进攻:修复文本对抗样本中的语义

The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examples

University of Exeter(埃克塞特大学)

Heng Yang, Ke Li

AI总结:

本文提出 Rapid 方法,通过对抗检测器识别虚假标签并利用对抗攻击器修复文本对抗样本中的语义,在四个公开数据集上验证了其有效性。

摘要:

近期研究揭示了预训练语言模型在面对对抗攻击时的脆弱性。现有的对抗防御技术尝试在特征空间或文本空间内重建对抗样本。然而,这些方法难以有效修复对抗样本中的语义,导致性能不理想,并限制了其实际应用价值。为了修复对抗样本中的语义,我们提出了一种名为 Reactive Perturbation Defocusing(Rapid)的新方法。Rapid 采用对抗检测器来识别对抗样本中的虚假标签,并利用对抗攻击器来修复对抗样本中的语义。我们在四个公开数据集上进行了大量实验,结果有力地证明了 Rapid 在各种对抗攻击场景下的有效性。针对以往工作中防御性能验证的问题,我们基于本研究提供了一个对抗检测与修复的演示,可通过 https://tinyurl.com/22ercuf8 方便地进行评估。

英文摘要:

Recent studies have revealed the vulnerability of pre-trained language models to adversarial attacks. Existing adversarial defense techniques attempt to reconstruct adversarial examples within feature or text spaces. However, these methods struggle to effectively repair the semantics in adversarial examples, resulting in unsatisfactory performance and limiting their practical utility. To repair the semantics in adversarial examples, we introduce a novel approach named Reactive Perturbation Defocusing (Rapid). Rapid employs an adversarial detector to identify fake labels of adversarial examples and leverage adversarial attackers to repair the semantics in adversarial examples. Our extensive experimental results conducted on four public datasets, convincingly demonstrate the effectiveness of Rapid in various adversarial attack scenarios. To address the problem of defense performance validation in previous works, we provide a demonstration of adversarial detection and repair based on our work, which can be easily evaluated at https://tinyurl.com/22ercuf8.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑