Abstract
Adversarial examples, typically viewed as security threats, contain subtle "fingerprints" of the models used to generate them. This research introduces the Model Parsing Network (MPN), a framework designed to reverse-engineer a victim model's internal attributes—such as architecture, kernel size, activation functions, and weight sparsity—directly from adversarial perturbations. Our findings demonstrate that gradient-based attacks leak significant structural information, enabling forensic identification of attack sources and providing new avenues for the "Reverse Engineering of Deception" (RED).
Introduction
In the evolving landscape of AI security, the focus has traditionally been on creating more potent adversarial attacks or developing robust defenses. However, a critical third dimension is emerging: Reverse Engineering of Deception (RED). This paper investigates whether adversarial perturbations, crafted to exploit a specific "Victim Model" (VM), inadvertently leak information about that model's internal configuration.
If a defender can parse an incoming adversarial image to identify the attacker's source model, it opens significant possibilities for forensic analysis and the mitigation of "transfer attacks"—where an attack optimized for one model is used to compromise another.
Methodology: The Model Parsing Network (MPN)
The researchers frame model parsing as a supervised multi-head classification problem. The goal is to predict four fundamental attributes of a victim model:
- Architecture Type (AT): Distinguishing between families like ResNet and VGG.
- Kernel Size (KS): Identifying the dimensions of convolutional filters (e.g., 3x3 vs. 5x5).
- Activation Function (AF): Determining the non-linearity used (e.g., ReLU, Tanh, ELU).
- Weight Sparsity (WS): Estimating the level of model pruning.
System Architecture
The proposed pipeline consists of two primary components:
- Perturbation Estimation Network (PEN): Since defenders typically only have access to the final adversarial image ($x'$), a denoising network (based on DnCNN) is employed to estimate the raw perturbation ($\delta$).
- Model Parsing Network (MPN): This network uses a shared convolutional backbone ($\phi_{rep}$) to extract features, which are then passed to four specialized classification heads ($\phi_{atr}$) to predict the VM attributes.
Experimental Setup
To evaluate the MPN, the authors constructed a comprehensive dataset:
- Model Zoo: 135 distinct victim models were trained, systematically varying across the four target attributes.
- Attack Diversity: Seven attack methods were used, ranging from gradient-based white-box attacks (PGD, FGSM, CW) to query-based black-box attacks (Square, NES).
- Benchmarks: Testing was conducted on CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets.
Key Insights and Results
Gradient Fingerprints
A primary finding is that gradient-based attacks (e.g., PGD) are significantly easier to parse than random-search attacks (e.g., Square). Gradient-based methods essentially "imprint" the mathematical signature of the model's internal layers onto the perturbation. While PGD attacks yielded parsing accuracies over 90%, the "anonymous" nature of random-search attacks dropped accuracy to approximately 44%.
Generalization and Transferability
The MPN demonstrates "community-based" generalization. Models trained on $l_\infty$-norm attacks generalize well to other $l_\infty$ attacks but struggle with $l_2$ attacks, indicating that the attack norm fundamentally shapes the leaked information. Crucially, the MPN can identify the original source model of a transfer attack, even when the attack is deployed against a different target architecture.
Robustness to Estimation
The system remains effective even when the raw perturbation is unknown. By using the PEN to estimate noise from a full image, the MPN maintained high accuracy (e.g., ~83% for PGD), proving the feasibility of model parsing in realistic defensive scenarios.
Conclusion and Future Directions
This work establishes that adversarial examples are not just tools for deception but also information-rich artifacts. While non-gradient attacks like the "Square Attack" offer a form of anonymity, most common attack vectors leave a detectable trace. Future research will explore scaling these techniques to massive models like Vision Transformers and Large Language Models, where the "fingerprints" may be even more complex.
Summary updated