[Paper Review] Programmable Neural Network Trojan for Pre-Trained Feature Extractor
This paper proposes a programmable neural network trojan that can dynamically generate triggers based on any target image, enabling stealthy, high-success-rate backdoor attacks on pre-trained models used in transfer learning. The trojan remains effective even after fine-tuning, with attack success rates of up to 75.87% in top-5 predictions and 38.15% in transfer learning scenarios, while evading detection via statistical analysis and model retraining.
Neural network (NN) trojaning attack is an emerging and important attack model that can broadly damage the system deployed with NN models. Existing studies have explored the outsourced training attack scenario and transfer learning attack scenario in some small datasets for specific domains, with limited numbers of fixed target classes. In this paper, we propose a more powerful trojaning attack method for both outsourced training attack and transfer learning attack, which outperforms existing studies in the capability, generality, and stealthiness. First, The attack is programmable that the malicious misclassification target is not fixed and can be generated on demand even after the victim's deployment. Second, our trojan attack is not limited in a small domain; one trojaned model on a large-scale dataset can affect applications of different domains that reuse its general features. Thirdly, our trojan design is hard to be detected or eliminated even if the victims fine-tune the whole model.
Motivation & Objective
- Address the critical security threat posed by backdoored pre-trained neural networks in real-world deployment scenarios.
- Overcome the limitations of prior trojan attacks that are restricted to fixed, small sets of target classes or specific domains.
- Develop a trojan mechanism that remains undetected and persistent even after victim fine-tuning of the model.
- Enable on-demand, programmable target generation for any desired class label, even after deployment.
- Demonstrate the feasibility and effectiveness of trojan attacks in general-purpose transfer learning settings using large-scale models like ImageNet pre-trained networks.
Proposed method
- Train a generator neural network to synthesize trigger patterns from a target image, enabling dynamic and flexible trigger creation.
- Integrate the generator with the pre-trained feature extractor (e.g., VGG16, ResNet) in an end-to-end training pipeline to embed the trojan into the convolutional layers.
- Use a joint optimization process to train the generator and the feature extractor such that inputs with the generated trigger are misclassified to the target class.
- Design the trigger to be robust by randomizing its spatial position during training, enhancing generalization across input variations.
- Leverage the redundancy in large pre-trained models to embed the trojan without degrading clean accuracy.
- Evaluate the trojan’s resilience by applying standard defense mechanisms such as fine-tuning and hyperparameter tuning, simulating real-world mitigation attempts.
Experimental results
Research questions
- RQ1Can a trojan be dynamically generated for any target class at deployment time, even when the victim’s model class set is unknown?
- RQ2To what extent can a trojan remain effective and undetected after the victim performs fine-tuning on their own dataset?
- RQ3How does the proposed programmable trojan compare to existing methods in terms of stealthiness, especially under statistical detection methods?
- RQ4Can the trojan be embedded in general-purpose feature extractors (e.g., ImageNet models) and still function across diverse downstream tasks?
- RQ5What are the trade-offs between model accuracy and trojan persistence when applying standard defense strategies like fine-tuning?
Key findings
- The proposed trojan achieves a top-1 attack success rate of 50.27% and top-5 attack success rate of 75.87% on VGG16 in the outsourced training scenario, approaching the model’s natural accuracy.
- In a transfer learning setting with a flower classification dataset, the trojaned model maintains 91.56% accuracy on clean inputs (vs. 91.70% for the clean model), with a 38.15% attack success rate.
- Statistical detection methods fail to identify the trojan, as weight and activation distributions remain indistinguishable from the original model.
- Even after end-to-end fine-tuning with a learning rate of $10^{-3}$, the trojan persists with an attack success rate of 17–29%, which remains effective from the victim’s perspective.
- With a larger learning rate, the trojan is eliminated but model accuracy drops significantly, indicating a trade-off between defense and performance.
- The trojan remains resilient across multiple hyperparameter settings, demonstrating that defense via hyperparameter tuning is unreliable.
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.