Lune

ACL2021Top-tier venue

Defense against Synonym Substitution-based Adversarial Attacks via Dirichlet Neighborhood Ensemble

Yi Zhou, Xiaoqing Zheng, Cho-Jui Hsieh, Kai-Wei Chang, Xuanjing Huang

Abstract

Although deep neural networks have achieved prominent performance on many NLP tasks, they are vulnerable to adversarial examples. We propose Dirichlet Neighborhood Ensemble (DNE), a randomized method for training a robust model to defense synonym substitutionbased attacks. During training, DNE forms virtual sentences by sampling embedding vectors for each word in an input sentence from a convex hull spanned by the word and its synonyms, and it augments them with the training data. In such a way, the model is robust to adversarial attacks while maintaining the performance on the original clean data. DNE is agnostic to the network architectures and scales to large models (e.g., BERT) for NLP applications. Through extensive experimentation, we demonstrate that our method consistently outperforms recently proposed defense methods by a significant margin across different network architectures and multiple data sets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Robustness Verification for Transformers cites Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
  • Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation cites Robustness Verification for Transformers
  • Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation cites Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond
  • Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond cites Robustness Verification for Transformers
  • Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond cites Certified Robustness to Adversarial Examples with Differential Privacy
  • HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites TextHoaxer: Budgeted Hard-Label Adversarial Attacks on Text
  • HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
  • HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • SSPAttack: A Simple and Sweet Paradigm for Black-Box Hard-Label Textual Adversarial Attack cites TextHoaxer: Budgeted Hard-Label Adversarial Attacks on Text
  • SSPAttack: A Simple and Sweet Paradigm for Black-Box Hard-Label Textual Adversarial Attack cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • TextHoaxer: Budgeted Hard-Label Adversarial Attacks on Text cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM cites Robustness Verification for Transformers
  • Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM cites Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond
  • Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. TextHoaxer: Budgeted Hard-Label Adversarial Attacks on TextMuchao Ye, Chenglin Miao, Ting Wang, Fenglong MaAAAI 2022 · 57 citations
  2. Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMBochuan Cao, Yuanpu Cao, Lu Lin, Jinghui ChenACL 2024 · 34 citations
  3. HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on TextHan Liu, Zhi Xu, Xiaotong Zhang, Feng Zhang et al.NeurIPS 2023 · 32 citations
  4. Adversarial Training for Improving Model Robustness? Look at Both Prediction and InterpretationHanjie Chen, Yangfeng JiAAAI 2022 · 31 citations
  5. SSPAttack: A Simple and Sweet Paradigm for Black-Box Hard-Label Textual Adversarial AttackHan Liu, Zhi Xu, Xiaotong Zhang, Xiaoming Xu et al.AAAI 2023 · 31 citations

Builds on6

  1. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 citations
  2. Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu et al.S&P 2019 · 1,022 citations
  3. Automatic Perturbation Analysis for Scalable Certified Robustness and BeyondKaidi Xu, Zhouxing Shi, Huan Zhang, Yihan Wang et al.NeurIPS 2020 · 415 citations
  4. Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial ExamplesMinhao Cheng, Jinfeng Yi, Pin-Yu Chen, Huan Zhang et al.AAAI 2020 · 268 citations
  5. Robustness Verification for TransformersZhouxing Shi, Huan Zhang, Kai-Wei Chang, Minlie Huang et al.ICLR 2020 · 131 citations

Related papers

  1. Word Level Robustness Enhancement: Fight Perturbation with PerturbationPei Huang, Yuting Yang, Fuqi Jia, Minghao Liu et al.AAAI 2022 · 14 citations
  2. Searching for an Effective Defender: Benchmarking Defense against Adversarial Word SubstitutionZongyi Li, Jianhan Xu, Jiehang Zeng, Linyang Li et al.EMNLP 2021 · 46 citations
  3. Towards Robustness Against Natural Language Word SubstitutionsXinshuai Dong, Anh Tuan Luu, Rongrong Ji, Hong LiuICLR 2021 · 63 citations
  4. 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
  5. Towards Improving Adversarial Training of NLP ModelsJin Yong Yoo, Yanjun QiEMNLP Findings 2021 · 94 citations
Dusk over the sea between two cliffs drawn in fine vertical lines