English

Backdoor Learning on Sequence to Sequence Models

Computation and Language 2023-05-05 v1

Abstract

Backdoor learning has become an emerging research area towards building a trustworthy machine learning system. While a lot of works have studied the hidden danger of backdoor attacks in image or text classification, there is a limited understanding of the model's robustness on backdoor attacks when the output space is infinite and discrete. In this paper, we study a much more challenging problem of testing whether sequence-to-sequence (seq2seq) models are vulnerable to backdoor attacks. Specifically, we find by only injecting 0.2\% samples of the dataset, we can cause the seq2seq model to generate the designated keyword and even the whole sentence. Furthermore, we utilize Byte Pair Encoding (BPE) to create multiple new triggers, which brings new challenges to backdoor detection since these backdoors are not static. Extensive experiments on machine translation and text summarization have been conducted to show our proposed methods could achieve over 90\% attack success rate on multiple datasets and models.

Keywords

Cite

@article{arxiv.2305.02424,
  title  = {Backdoor Learning on Sequence to Sequence Models},
  author = {Lichang Chen and Minhao Cheng and Heng Huang},
  journal= {arXiv preprint arXiv:2305.02424},
  year   = {2023}
}

Comments

14 pages

R2 v1 2026-06-28T10:25:04.237Z