English

Stealthy Backdoors as Compression Artifacts

Cryptography and Security 2021-05-03 v1 Artificial Intelligence

Abstract

In a backdoor attack on a machine learning model, an adversary produces a model that performs well on normal inputs but outputs targeted misclassifications on inputs containing a small trigger pattern. Model compression is a widely-used approach for reducing the size of deep learning models without much accuracy loss, enabling resource-hungry models to be compressed for use on resource-constrained devices. In this paper, we study the risk that model compression could provide an opportunity for adversaries to inject stealthy backdoors. We design stealthy backdoor attacks such that the full-sized model released by adversaries appears to be free from backdoors (even when tested using state-of-the-art techniques), but when the model is compressed it exhibits highly effective backdoors. We show this can be done for two common model compression techniques -- model pruning and model quantization. Our findings demonstrate how an adversary may be able to hide a backdoor as a compression artifact, and show the importance of performing security tests on the models that will actually be deployed not their precompressed version.

Keywords

Cite

@article{arxiv.2104.15129,
  title  = {Stealthy Backdoors as Compression Artifacts},
  author = {Yulong Tian and Fnu Suya and Fengyuan Xu and David Evans},
  journal= {arXiv preprint arXiv:2104.15129},
  year   = {2021}
}

Comments

20 pages, 9 figures, 14 tables

R2 v1 2026-06-24T01:40:52.708Z