[Paper Review] NeuronInspect: Detecting Backdoors in Neural Networks via Output Explanations
NeuronInspect detects trojan backdoors in DNNs by analyzing output explanations without needing backdoor samples or trigger restoration, outperforming Neural Cleanse in robustness and efficiency.
Deep neural networks have achieved state-of-the-art performance on various tasks. However, lack of interpretability and transparency makes it easier for malicious attackers to inject trojan backdoor into the neural networks, which will make the model behave abnormally when a backdoor sample with a specific trigger is input. In this paper, we propose NeuronInspect, a framework to detect trojan backdoors in deep neural networks via output explanation techniques. NeuronInspect first identifies the existence of backdoor attack targets by generating the explanation heatmap of the output layer. We observe that generated heatmaps from clean and backdoored models have different characteristics. Therefore we extract features that measure the attributes of explanations from an attacked model namely: sparse, smooth and persistent. We combine these features and use outlier detection to figure out the outliers, which is the set of attack targets. We demonstrate the effectiveness and efficiency of NeuronInspect on MNIST digit recognition dataset and GTSRB traffic sign recognition dataset. We extensively evaluate NeuronInspect on different attack scenarios and prove better robustness and effectiveness over state-of-the-art trojan backdoor detection techniques Neural Cleanse by a great margin.
Motivation & Objective
- Motivate the risk of trojan backdoors in outsourced DNN training and the need for non-invasive detection.
- Propose a method to detect backdoors using output explanation heatmaps without backdoor samples or trigger restoration.
- Extract features from explanations (sparse, smooth, persistent) to identify attack targets.
- Combine features with outlier detection to identify potential backdoor targets.
- Evaluate robustness and efficiency against state-of-the-art backdoor detectors across datasets and trigger variations.
Proposed method
- Use output explanation heatmaps for clean inputs across all classes.
- Compute three explanation-based features: sparseness, smoothness, and persistence.
- Define a combined feature f_combined = λ_sp * f_sparse + λ_sm * f_smooth + λ_pe * f_persistent.
- Apply median absolute deviation (MAD) based outlier detection to identify target classes as backdoor candidates.
- Modify saliency heatmap generation with a rectified, non-softmax-like output and positive-gradient emphasis.
- Evaluate efficiency versus Neural Cleanse and perform ablation studies on feature contributions.
Experimental results
Research questions
- RQ1Can backdoor targets be detected through differences in explanation heatmaps between clean and backdoored models without backdoor samples?
- RQ2Do sparse, smooth, and persistent properties in explanation heatmaps reliably indicate backdoor targets?
- RQ3Is outlier detection on combined explanation features robust across trigger sizes, locations, and patterns?
- RQ4How does NeuronInspect compare to Neural Cleanse in detection accuracy and computation time across MNIST and GTSRB datasets?
Key findings
- NeuronInspect successfully detects backdoor targets on MNIST across trigger sizes from 1x1 to 4x4, with high anomaly indices and correct targets.
- On GTSRB, NeuronInspect detects backdoors across various trigger sizes and locations, often achieving higher anomaly indices and correct targets than Neural Cleanse.
- Combined features outperform individual features in reducing false alarms and improving target identification.
- NeuronInspect is significantly faster than Neural Cleanse, with inferencing times under 10% of Neural Cleanse on evaluated datasets.
- Sensitivity analyses show robustness to trigger size, multiple triggers, and translucent triggers where Neural Cleanse can fail.
- Ablation studies confirm that combining sparse, smoothness, and persistence features yields the best performance.
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.