Current browse context:
cs.CL
Change to browse by:
References & Citations
Computer Science > Computation and Language
Title: Imitation Attacks and Defenses for Black-box Machine Translation Systems
(Submitted on 30 Apr 2020 (v1), last revised 3 Jan 2021 (this version, v3))
Abstract: Adversaries may look to steal or attack black-box NLP systems, either for financial gain or to exploit model errors. One setting of particular interest is machine translation (MT), where models have high commercial value and errors can be costly. We investigate possible exploits of black-box MT systems and explore a preliminary defense against such threats. We first show that MT systems can be stolen by querying them with monolingual sentences and training models to imitate their outputs. Using simulated experiments, we demonstrate that MT model stealing is possible even when imitation models have different input data or architectures than their target models. Applying these ideas, we train imitation models that reach within 0.6 BLEU of three production MT systems on both high-resource and low-resource language pairs. We then leverage the similarity of our imitation models to transfer adversarial examples to the production systems. We use gradient-based attacks that expose inputs which lead to semantically-incorrect translations, dropped content, and vulgar model outputs. To mitigate these vulnerabilities, we propose a defense that modifies translation outputs in order to misdirect the optimization of imitation models. This defense degrades the adversary's BLEU score and attack success rate at some cost in the defender's BLEU and inference speed.
Submission history
From: Eric Wallace [view email][v1] Thu, 30 Apr 2020 17:56:49 GMT (1424kb,D)
[v2] Tue, 6 Oct 2020 22:05:02 GMT (1414kb,D)
[v3] Sun, 3 Jan 2021 19:05:24 GMT (1414kb,D)
Link back to: arXiv, form interface, contact.