arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.18792cs.LGcs.CLcs.CR
收藏

MPAT:构建抵御文本对抗攻击的鲁棒深度神经网络

MPAT: Building Robust Deep Neural Networks against Textual Adversarial Attacks

School of Control and Computer Engineering, North China Electric Power University(华北电力大学控制与计算机工程学院)

Fangyuan Zhang, Huichi Zhou, Shuangjiao Li, Hongtao Wang

AI总结:

针对文本对抗防御中鲁棒性与原始任务性能难以兼顾的问题,提出 MPAT 对抗训练方法,通过多级恶意样本生成和新目标函数提升防御效果并保持任务性能。

摘要:

深度神经网络已被证明容易受到对抗样本的攻击,并且研究人员已经提出了多种方法,以在自然语言处理任务中防御对抗攻击。然而,以往的防御方法在保持有效防御的同时确保原始任务性能方面存在局限。本文提出一种基于恶意扰动的对抗训练方法 MPAT,用于构建抵御文本对抗攻击的鲁棒深度神经网络。具体而言,我们设计了一种多级恶意样本生成策略,以生成带有恶意扰动的对抗样本,并用这些样本替代原始输入进行模型训练。此外,我们采用一种新颖的训练目标函数,以确保在不损害原始任务性能的情况下实现防御目标。我们通过在三个基准数据集上攻击五个受害模型,开展了全面实验来评估所提防御方法。结果表明,与以往防御方法相比,我们的方法能够更有效地抵御恶意对抗攻击,同时保持甚至进一步提升原始任务的性能。

英文摘要:

Deep neural networks have been proven to be vulnerable to adversarial examples and various methods have been proposed to defend against adversarial attacks for natural language processing tasks. However, previous defense methods have limitations in maintaining effective defense while ensuring the performance of the original task. In this paper, we propose a malicious perturbation based adversarial training method (MPAT) for building robust deep neural networks against textual adversarial attacks. Specifically, we construct a multi-level malicious example generation strategy to generate adversarial examples with malicious perturbations, which are used instead of original inputs for model training. Additionally, we employ a novel training objective function to ensure achieving the defense goal without compromising the performance on the original task. We conduct comprehensive experiments to evaluate our defense method by attacking five victim models on three benchmark datasets. The result demonstrates that our method is more effective against malicious adversarial attacks compared with previous defense methods while maintaining or further improving the performance on the original task.

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

↑