Secure Systems Group
Menu×

Wiki Home

Backdoor attacks

Definition

A backdoor is a hidden secondary behavior trained into a model. The model behaves normally on ordinary inputs, but produces an attacker-chosen output whenever a specific trigger appears in the input. The usual way to plant one is data poisoning: adding trigger-carrying inputs with the attacker’s chosen labels to the training set, so the model learns the trigger-to-output association alongside its primary task (Gu et al., 2017; Chen et al., 2017). Other variants manipulate the training process or the model directly (Liu et al., 2018).

Backdoors are possible because of overcapacity: a deep network can fit a subset of inputs with arbitrary, even incorrect, labels without measurably degrading its primary task (Zhang et al., 2017). See memorization. The same mechanism is repurposed defensively in black-box model watermarking, where the “backdoor” is a trigger set the owner plants and keeps secret in order to prove ownership later, rather than an output an attacker plants to cause harm.

Papers that use this concept

Variants and traps

  • A backdoor is planted at training time and fired by a known trigger; an adversarial example is crafted at test time against a fixed model. The two exploit different stages of the pipeline.
  • The same trigger-set machinery serves opposite goals: harm (a malicious backdoor) or proof of ownership (a watermark). What changes is who controls the trigger set and why.

See also

References

  • Chen, X., Liu, C., Li, B., Lu, K., and Song, D. “Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoning.” arXiv:1712.05526, 2017.
  • Gu, T., Dolan-Gavitt, B., and Garg, S. “BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain.” arXiv:1708.06733, 2017.
  • Liu, Y., Ma, S., Aafer, Y., Lee, W.-C., Zhai, J., Wang, W., and Zhang, X. “Trojaning Attack on Neural Networks.” Network and Distributed System Security Symposium (NDSS), 2018.
  • Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals, O. “Understanding Deep Learning Requires Rethinking Generalization.” International Conference on Learning Representations (ICLR), 2017. arXiv:1611.03530.