[Paper Review] Adversarial Defense Through Network Profiling Based Path Extraction
This paper proposes a profiling-based method to extract effective paths in deep neural networks (DNNs) that represent critical dataflow paths for image classification. By aggregating per-image effective paths into class-level paths, the method detects adversarial examples through path similarity, achieving higher accuracy and broader generalization than state-of-the-art defenses without model retraining or architectural changes.
Recently, researchers have started decomposing deep neural network models according to their semantics or functions. Recent work has shown the effectiveness of decomposed functional blocks for defending adversarial attacks, which add small input perturbation to the input image to fool the DNN models. This work proposes a profiling-based method to decompose the DNN models to different functional blocks, which lead to the effective path as a new approach to exploring DNNs' internal organization. Specifically, the per-image effective path can be aggregated to the class-level effective path, through which we observe that adversarial images activate effective path different from normal images. We propose an effective path similarity-based method to detect adversarial images with an interpretable model, which achieve better accuracy and broader applicability than the state-of-the-art technique.
Motivation & Objective
- Address the lack of interpretability and vulnerability of DNNs to adversarial perturbations in mission-critical applications.
- Overcome limitations of existing adversarial defense methods, such as poor generalization and high computational overhead.
- Develop a model-agnostic, interpretable defense mechanism that does not require retraining or architectural modifications.
- Enable functional decomposition of DNNs via effective path aggregation to reveal structural differences between normal and adversarial inputs.
Proposed method
- Use activation-based back-propagation to extract the effective path for each input image, defined as the critical set of neurons and synapses leading to the predicted class.
- Aggregate per-image effective paths into class-level effective paths by combining paths from all training images of the same class.
- Represent each effective path as a binary vector indicating active neurons/synapses, enabling direct aggregation and comparison.
- Compute path similarity between the effective path of a test image and the class-level effective path using a simple linear combination of layer-wise similarities.
- Train a lightweight linear model on path similarity scores to detect adversarial examples without modifying the original DNN.
- Leverage path specialization—where different classes activate distinct network regions—to detect adversarial inputs that deviate from normal activation patterns.
Experimental results
Research questions
- RQ1Can effective paths in DNNs be extracted without retraining or architectural modification, and do they capture meaningful functional organization?
- RQ2Do adversarial images activate significantly different effective paths compared to normal images, especially when the perturbation is small?
- RQ3Can path similarity between test images and class-level effective paths be used to detect adversarial examples with high accuracy and generalization?
- RQ4How does the proposed method compare in performance and efficiency to existing defense techniques across diverse attack types?
- RQ5To what extent can effective path analysis explain the impact of training processes and network architecture on DNN inference behavior?
Key findings
- The proposed method achieves higher detection accuracy than state-of-the-art techniques, including [37], across six representative attack methods.
- The defense generalizes well to unseen attacks not used during training, demonstrating strong transferability and robustness.
- The method reduces computational overhead by up to 500× compared to prior work, due to the use of low-dimensional binary effective path representations.
- Path specialization is observed: different classes activate distinct, non-overlapping regions of the network, enabling functional decomposition.
- Adversarial images consistently activate effective paths that are significantly different from those of normal images, providing a reliable detection signal.
- The effective path framework enables interpretable analysis of DNNs and reveals insights into how training and architecture affect path density and similarity.
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.