[Paper Review] Subnet Replacement: Deployment-stage backdoor attack against deep neural networks in gray-box setting
This paper proposes Subnet Replacement Attack (SRA), a gray-box deployment-stage backdoor attack that replaces a narrow subnet in a pre-trained DNN with a malicious backdoor subnet, achieving over 95% attack success rate with less than 1% clean accuracy drop using only architecture knowledge and no parameter access. The attack is practically demonstrated via real in-memory tampering in a lab environment.
We study the realistic potential of conducting backdoor attack against deep neural networks (DNNs) during deployment stage. Specifically, our goal is to design a deployment-stage backdoor attack algorithm that is both threatening and realistically implementable. To this end, we propose Subnet Replacement Attack (SRA), which is capable of embedding backdoor into DNNs by directly modifying a limited number of model parameters. Considering the realistic practicability, we abandon the strong white-box assumption widely adopted in existing studies, instead, our algorithm works in a gray-box setting, where architecture information of the victim model is available but the adversaries do not have any knowledge of parameter values. The key philosophy underlying our approach is -- given any neural network instance (regardless of its specific parameter values) of a certain architecture, we can always embed a backdoor into that model instance, by replacing a very narrow subnet of a benign model (without backdoor) with a malicious backdoor subnet, which is designed to be sensitive (fire large activation value) to a particular backdoor trigger pattern.
Motivation & Objective
- To investigate the feasibility and threat of backdoor attacks during the deployment stage of deep neural networks in realistic, constrained environments.
- To design a backdoor attack that operates under a gray-box setting, where only the model architecture is known, not the parameter values.
- To develop a method that enables effective backdoor injection by replacing only a small subset of model parameters, minimizing impact on clean accuracy.
- To demonstrate practical feasibility through real in-memory parameter tampering in a laboratory setting.
Proposed method
- The method generates a narrow, trigger-sensitive subnet with minimal channels, trained to activate only when a specific backdoor trigger is present.
- The attack replaces a small, predefined subnet within the target DNN architecture with the pre-trained malicious subnet, preserving the original model's structure.
- The approach operates under a gray-box assumption: model architecture is known, but parameter values are not, enabling broader real-world applicability.
- Two real-world in-memory tampering techniques are implemented: (1) library hooking during model loading and (2) remote thread injection after deployment.
- The backdoor subnet is designed to produce high activation only when triggered, ensuring stealth and high attack success rate.
- The method is evaluated on VGG16 and VGGFace models using standard datasets, with both software simulation and physical-world trigger testing.
Experimental results
Research questions
- RQ1Can a backdoor be effectively injected into a DNN during deployment without access to model parameters?
- RQ2Is it possible to achieve high attack success rate with minimal impact on clean accuracy using only architectural knowledge?
- RQ3Can the proposed attack be practically realized through real in-memory parameter tampering in a real system?
- RQ4How effective is the attack when the backdoor trigger is applied in physical-world settings?
Key findings
- On the CIFAR-10 image classification task, SRA achieved an average attack success rate of 96.01% with only a 0.31% drop in clean accuracy across 10 randomly initialized VGG16 models.
- On the VGGFace face recognition task, the attack maintained high effectiveness, with successful backdoor activation even when the trigger was physically printed and applied to test images.
- The method successfully demonstrated real in-memory parameter tampering via both library hooking and remote thread injection techniques in a lab server environment.
- The backdoor subnet replaced less than 0.05% of the original model capacity in VGG16, confirming minimal structural modification.
- The attack maintained over 95% success rate even when the trigger was applied to non-target class samples in the test set.
- The approach is robust across different model instances trained with different random seeds, confirming its generic applicability to any model of the same architecture.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.