Lune

WWW2021Top-tier venue

A Targeted Attack on Black-Box Neural Machine Translation with Parallel Data Poisoning

Chang Xu, Jun Wang, Yuqing Tang, Francisco Guzmán, Benjamin I. P. Rubinstein, Trevor Cohn

Abstract

As modern neural machine translation (NMT) systems have been widely deployed, their security vulnerabilities require close scrutiny. Most recently, NMT systems have been found vulnerable to targeted attacks which cause them to produce specific, unsolicited, and even harmful translations. These attacks are usually exploited in a white-box setting, where adversarial inputs causing targeted translations are discovered for a known target system. However, this approach is less viable when the target system is black-box and unknown to the adversary (e.g., secured commercial systems). In this paper, we show that targeted attacks on black-box NMT systems are feasible, based on poisoning a small fraction of their parallel training data. We show that this attack can be realised practically via targeted corruption of web documents crawled to form the system’s training data. We then analyse the effectiveness of the targeted poisoning in two common NMT training scenarios: the from-scratch training and the pre-train & fine-tune paradigm. Our results are alarming: even on the state-of-the-art systems trained with massive parallel data (tens of millions), the attacks are still successful (over 50% success rate) under surprisingly low poisoning budgets (e.g., 0.006%). Lastly, we discuss potential defences to counter such attacks.

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.

7 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

No credit card required.

Lineage

  • The Unreasonable Effectiveness of Few-shot Learning for Machine Translation cites ParaCrawl: Web-Scale Acquisition of Parallel Corpora
  • Imitation Attacks and Defenses for Black-box Machine Translation Systems cites Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
  • CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks cites Imitation Attacks and Defenses for Black-box Machine Translation Systems
  • CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks cites Weight Poisoning Attacks on Pretrained Models
  • CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion Models cites CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papersTop 5 of 7 by citations

  1. The Unreasonable Effectiveness of Few-shot Learning for Machine TranslationXavier Garcia, Yamini Bansal, Colin Cherry, George F. Foster et al.ICML 2023 · 133 citations
  2. CATER: Intellectual Property Protection on Text Generation APIs via Conditional WatermarksXuanli He, Qiongkai Xu, Yi Zeng, Lingjuan Lyu et al.NeurIPS 2022 · 106 citations
  3. CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data PoisoningZhensu Sun, Xiaoning Du, Fu Song, Mingze Ni et al.WWW 2022 · 95 citations
  4. Training-free Lexical Backdoor Attacks on Language ModelsYujin Huang, Terry Yue Zhuo, Qiongkai Xu, Han Hu et al.WWW 2023 · 56 citations
  5. CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion ModelsZhensu Sun, Xiaoning Du, Fu Song, Li LiFSE 2023 · 34 citations

Builds onTop 5 of 6 by citations

  1. Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations
  2. 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
  3. ParaCrawl: Web-Scale Acquisition of Parallel CorporaMarta Bañón, Pinzhen Chen, Barry Haddow, Kenneth Heafield et al.ACL 2020 · 132 citations
  4. AdvAug: Robust Adversarial Augmentation for Neural Machine TranslationYong Cheng, Lu Jiang, Wolfgang Macherey, Jacob EisensteinACL 2020 · 105 citations
  5. Imitation Attacks and Defenses for Black-box Machine Translation SystemsEric Wallace, Mitchell Stern, Dawn SongEMNLP 2020 · 63 citations

Related papers

  1. Putting words into the system's mouth: A targeted attack on neural machine translation using monolingual data poisoningJun Wang, Chang Xu, Francisco Guzmán, Ahmed El-Kishky et al.ACL Findings 2021 · 20 citations
  2. Foiling Training-Time Attacks on Neural Machine Translation SystemsJun Wang, Xuanli He, Benjamin I. P. Rubinstein, Trevor CohnEMNLP Findings 2022 · 1 citation
  3. Bad Characters: Imperceptible NLP AttacksNicholas Boucher, Ilia Shumailov, Ross Anderson, Nicolas PapernotS&P 2022 · 133 citations
  4. Mitigating Backdoor Poisoning Attacks through the Lens of Spurious CorrelationXuanli He, Qiongkai Xu, Jun Wang, Benjamin I. P. Rubinstein et al.EMNLP 2023 · 9 citations
  5. Witches' Brew: Industrial Scale Data Poisoning via Gradient MatchingJonas Geiping, Liam H. Fowl, W. Ronny Huang, Wojciech Czaja et al.ICLR 2021 · 268 citations
Dusk over the sea between two cliffs drawn in fine vertical lines