Adversarial Attack and Defense of Structured Prediction Models
Wenjuan Han, Liwen Zhang, Yong Jiang, Kewei Tu
Abstract
Building an effective adversarial attacker and elaborating on countermeasures for adversarial attacks for natural language processing (NLP) have attracted a lot of research in recent years. However, most of the existing approaches focus on classification problems. In this paper, we investigate attacks and defenses for structured prediction tasks in NLP. Besides the difficulty of perturbing discrete words and the sentence fluency problem faced by attackers in any NLP tasks, there is a specific challenge to attackers of structured prediction models: the structured output of structured prediction models is sensitive to small perturbations in the input. To address these problems, we propose a novel and unified framework that learns to attack a structured prediction model using a sequence-to-sequence model with feedbacks from multiple reference models of the same structured prediction task. Based on the proposed attack, we further reinforce the victim model with adversarial training, making its prediction more robust and accurate. We evaluate the proposed framework in dependency parsing and part-of-speech tagging. Automatic and human evaluations show that our proposed framework succeeds in both attacking state-of-the-art structured prediction models and boosting them with adversarial training.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 640e431b-47bd-4477-935e-522c7e85d17eCited by top-tier papers3
- Towards Greener Yet Powerful Code Generation via Quantization: An Empirical StudyXiaokai Wei, Sujan Kumar Gonugondla, Shiqi Wang, Wasi Uddin Ahmad et al.FSE 2023 · 29 citations
- Collective Robustness Certificates: Exploiting Interdependence in Graph Neural NetworksJan Schuchardt, Aleksandar Bojchevski, Johannes Klicpera, Stephan GünnemannICLR 2021 · 29 citations
- KATG: Keyword-Bias-Aware Adversarial Text Generation for Text ClassificationLingfeng Shen, Shoushan Li, Ying ChenAAAI 2022 · 5 citations
Builds on1
Related papers
- Evaluating and Enhancing the Robustness of Neural Network-based Dependency Parsing Models with Adversarial ExamplesXiaoqing Zheng, Jiehang Zeng, Yi Zhou, Cho-Jui Hsieh et al.ACL 2020 · 38 citations
- Learning Optimization-based Adversarial Perturbations for Attacking Sequential Recognition ModelsXing Xu, Jiefu Chen, Jinhui Xiao, Zheng Wang et al.ACM MM 2020 · 18 citations
- RMLM: A Flexible Defense Framework for Proactively Mitigating Word-level Adversarial AttacksZhaoyang Wang, Zhiyue Liu, Xiaopeng Zheng, Qinliang Su et al.ACL 2023 · 16 citations
- Word Level Robustness Enhancement: Fight Perturbation with PerturbationPei Huang, Yuting Yang, Fuqi Jia, Minghao Liu et al.AAAI 2022 · 14 citations
- T3: Tree-Autoencoder Constrained Adversarial Text Generation for Targeted AttackBoxin Wang, Hengzhi Pei, Boyuan Pan, Qian Chen et al.EMNLP 2020 · 55 citations
