Attribution of Gradient Based Adversarial Attacks for Reverse Engineering of Deceptions

Michael Goebel, Jason Bunk, Srinjoy Chattopadhyay, Lakshmanan Nataraj, Shivkumar Chandrasekaran, B. S. ManjunatharXiv 2021

TL;DR

This paper moves beyond simple adversarial detection to adversarial attribution, proposing a method to identify not just if an image was attacked, but which specific algorithm (like FGSM or PGD) was used and with what parameters. By leveraging pixel co-occurrence statistics and Laplacian residuals, the authors demonstrate that adversarial noise leaves unique statistical "fingerprints" that allow for the reverse engineering of attack toolchains.

What Problem Does This Paper Address?

Deep neural networks are notoriously fragile when faced with adversarial attacks—carefully crafted, imperceptible perturbations that can flip a model's prediction (e.g., turning a "giant panda" into a "bucket," as seen in Figure 1).

A sample PGD attack against ResNet showing how subtle noise changes a classification from panda to bucket.

While much research focuses on making models more robust or simply detecting these attacks, this paper tackles a deeper forensic question: Can we attribute an attack to a specific toolchain and recover its parameters? Knowing whether an adversary used a single-step method like FGSM or an iterative one like PGD, and understanding their specific settings (like step size), is crucial for "Reverse Engineering of Deceptions" (RED). This knowledge helps defenders better understand an attacker's capabilities and perform more targeted adversarial retraining.

Methods

The authors propose a multi-stage pipeline that treats attack attribution as a classification problem. The core of their approach lies in preprocessing the images to amplify the subtle artifacts left by gradient-based attacks before feeding them into a standard CNN (ResNet50).

They compare three approaches:

  1. Direct Method: Feeding the raw image directly into the classifier (baseline).
  2. Laplacian Residuals: Applying a $3 \times 3$ high-pass filter to each RGB channel to isolate high-frequency noise components.
  3. Co-occurrence Matrices: Calculating 2D histograms of adjacent pixel pairs for each color channel. This captures statistical dependencies that are disrupted by adversarial noise. As shown in Figure 3, adversarial attacks significantly increase the "spread" of these matrices away from the diagonal.
Visualizing how PGD attacks alter Laplacian residuals and co-occurrence matrices compared to untampered images.

For parameter estimation (like the number of steps in a PGD attack), the model uses a weighted sum of its class outputs to interpolate values, allowing it to estimate parameters it might not have seen exactly during training.

Datasets

The researchers used a subset of the ImageNet dataset, resized to $256 \times 256$. They generated adversarial samples by attacking two popular architectures: VGG16 and ResNet50.

  • Attack Types: Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD).
  • Classes: A total of 13 classes were used for training (12 combinations of attack/parameters + 1 untampered class).
  • Parameters: They varied "stride size" (ss) and "number of steps" (ns). Crucially, they trained on the extremes of the parameter spectrum and tested on the values in between to evaluate the model's interpolation capabilities.

Key Insights and Ideas

  • Adversarial Fingerprints: The most significant insight is that gradient-based attacks are not statistically "clean." They leave distinct traces in the pixel-to-pixel relationships that can be captured by co-occurrence statistics.
  • Preprocessing as a Bottleneck: While the "Direct" method has access to all image information, the authors found that Laplacian and Co-occurrence preprocessing often performed better for parameter estimation. These methods act as an information bottleneck, forcing the network to ignore the image content and focus purely on the artifacts of the attack, which reduces overfitting.
  • Hierarchical Attribution: The system provides a tiered output: first detecting if an image is tampered, then attributing it to an attack family and target architecture, and finally estimating the specific attack settings (Figure 4).
The hierarchical levels of information provided by the system: Detection, Attribution, and Estimation.

Key Results

The proposed methods achieved high performance across several metrics:

  • Detection Accuracy: All three methods achieved at least 90% accuracy for binary detection (tampered vs. authentic).
  • Meta-Classification: The Co-occurrence method was particularly strong at distinguishing between FGSM and PGD attacks, reaching a mean average precision of 0.978.
  • Feature Clustering: t-SNE visualizations (Figure 5) show that the features extracted by the co-occurrence model form clear, distinct clusters for clean, PGD, and FGSM samples.
  • Parameter Estimation: The models successfully interpolated attack parameters. For example, the Co-occurrence method achieved a Root Mean Squared Error (RMSE) of 3.42 when estimating the number of PGD steps (sampled from 8, 12, and 16).
t-SNE visualization showing clear separation between clean images and different attack families in the feature space.

Limitations and Future Work

The authors identify two primary limitations:

  1. Interpolation Range: The current method is "inherently limited" to estimating parameter values within the range seen during training. It cannot yet extrapolate to entirely new scales of attack intensity.
  2. Scope of Attacks: The study focused on a small set of common gradient-based attacks. Real-world deployment would require training on a much broader library of attack methods and target architectures.

Future work involves expanding the diversity of the training set to create a more robust forensic tool capable of handling the ever-evolving landscape of adversarial deceptions.

Summary updated

BibTeX
@misc{goebel2021attribution,
  author = {Michael Goebel and Jason Bunk and Srinjoy Chattopadhyay and Lakshmanan Nataraj and Shivkumar Chandrasekaran and B. S. Manjunath},
  title = {{Attribution of Gradient Based Adversarial Attacks for Reverse Engineering of Deceptions}},
  year = {2021},
  eprint = {2103.11002},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.11002},
}
Figure