Input-Aware Slowdown Backdoor Attack on Dynamic Neural Networks
Dynamic neural networks (DyNNs) are able to adapt their executions/routines according to various difficulties of inputs while not significantly sacrificing accuracy. Such adaptivity makes them an emerging alternative of efficient networks for resource-constraint devices, thus receiving increasing attention. However, the adaptivity also poses a new robust challenge to DyNNs, i.e., efficiency or slowdown attacks which stealthily manipulate inputs to slow down DyNNs, thus undermining the superiority of DyNNs. In this paper, we investigate the slowdown backdoor attack on DyNNs and propose a new attack method. Different from the state of the art, the proposed attack method implements input-aware backdoor triggers, which are generated using two generators from a generator-discriminator architecture. We extensively evaluate the proposed attack method in comparison with the state of the art. Experimental results show that our attack method can achieve better attack effectiveness in terms of two slowdown attack metrics. The poisoned model significantly increases the average number of computational blocks by up to 4.4 times over the clean counterpart while only slightly degrading the accuracy and efficiency of the model under clean data. Our code and models are available at https://github.com/zhiqianguan/dynn_backdoor .
Authors
- Jin Liu (ORCID: https://orcid.org/0000-0001-7415-3729)
- Di Liu (ORCID: https://orcid.org/0000-0002-4365-2768)
- Zhangyu Guan (ORCID: https://orcid.org/0000-0001-6134-215X)
- Shengfa Miao (ORCID: https://orcid.org/0000-0003-1210-1135)
- Zhenli He (ORCID: https://orcid.org/0000-0002-7986-2222)
Institutions
- Yunnan University (CN)
- Norwegian University of Science and Technology (NO)
Publication Details
- Journal
- Journal of Circuits Systems and Computers
- Published
- 2025-03-06
- DOI
- https://doi.org/10.1142/s0218126625502834
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00