English

GradMDM: Adversarial Attack on Dynamic Networks

Cryptography and Security 2023-04-17 v1 Computer Vision and Pattern Recognition Machine Learning

Abstract

Dynamic neural networks can greatly reduce computation redundancy without compromising accuracy by adapting their structures based on the input. In this paper, we explore the robustness of dynamic neural networks against energy-oriented attacks targeted at reducing their efficiency. Specifically, we attack dynamic models with our novel algorithm GradMDM. GradMDM is a technique that adjusts the direction and the magnitude of the gradients to effectively find a small perturbation for each input, that will activate more computational units of dynamic models during inference. We evaluate GradMDM on multiple datasets and dynamic models, where it outperforms previous energy-oriented attack techniques, significantly increasing computation complexity while reducing the perceptibility of the perturbations.

Keywords

Cite

@article{arxiv.2304.06724,
  title  = {GradMDM: Adversarial Attack on Dynamic Networks},
  author = {Jianhong Pan and Lin Geng Foo and Qichen Zheng and Zhipeng Fan and Hossein Rahmani and Qiuhong Ke and Jun Liu},
  journal= {arXiv preprint arXiv:2304.06724},
  year   = {2023}
}

Comments

Accepted to IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI)

R2 v1 2026-06-28T10:05:14.842Z