TL;DR
Researchers have discovered that making deep neural networks "act" more linear during the attack process significantly boosts the transferability of adversarial examples. By introducing Linear Backpropagation (LinBP)—a method that ignores non-linear activations like ReLUs during the backward pass—they can craft black-box attacks that are far more effective at fooling unknown target models.
The Challenge of Transferability
Adversarial examples are images specifically tweaked to fool AI models while looking unchanged to humans. A major challenge in AI security is transferability: can an adversarial image generated to fool "Model A" (which the attacker owns) also fool "Model B" (a secret, black-box model)?
Standard white-box attacks (like I-FGSM) are incredibly powerful against the model they are designed for, but they often "overfit" to that specific model's quirks. This makes them less likely to transfer to other architectures. The authors revisit a classic hypothesis: that transferability stems from the "linear nature" of modern neural networks. They aim to exploit this by artificially increasing the linearity of the attack process to create more "general" adversarial perturbations.
Proposed Methods: LinS and LinBP
The authors propose two main approaches to test their theory and improve transferability:
1. Linear Substitution (LinS)
In this approach, the authors physically remove ReLU (nonlinear) layers from a pre-trained model and fine-tune it. They found that these "linearized" models produced much more transferable attacks, though the models themselves became less accurate on standard tasks.
2. Linear Backpropagation (LinBP)
This is the paper's flagship contribution. Instead of permanently changing the model's architecture, LinBP changes how the gradient is calculated during the attack generation.
- Forward Pass: The model behaves normally, retaining its non-linearities and high accuracy.
- Backward Pass: During the gradient calculation (where the attack is crafted), the algorithm treats nonlinear activations as if they were identity functions.
To handle complex architectures like ResNets, the authors also introduced Gradient Re-normalization. Since skipping ReLUs in residual branches can cause gradient imbalances, they use a layer-specific scaling factor ($\alpha$) to ensure the gradient flow remains stable through skip connections.
Key Insights
- The "Crinkly" Loss Landscape: Standard backpropagation through many ReLUs creates a highly non-linear, "crinkly" loss landscape. Multi-step attacks get stuck in the local "crinkles" of the source model. LinBP effectively "smooths" this landscape, allowing the attack to find directions that are more likely to be shared across different models.
- Forward vs. Backward Disconnect: You don't need a linear model to get the benefits of linearity. By keeping the forward pass non-linear, the attack still uses high-quality features, but the linear backward pass prevents the attack from overfitting to the source model's specific decision boundaries.
- Orthogonality: LinBP is "orthogonal" to many existing tricks. It can be combined with methods like Input Diversity (DI$^2$-FGSM) or Skip Gradient Methods (SGM) to achieve even higher success rates, suggesting it tackles a unique aspect of the transferability problem.
Experimental Results
The study evaluates the method on two standard computer vision benchmarks, consistently outperforming state-of-the-art transfer attacks (like ILA and TAP):
- CIFAR-10: Using VGG-19 as the source model to attack victims like Wide ResNet, ResNeXt, and DenseNet. At a perturbation level of $\epsilon=0.03$, LinBP achieved an average success rate of ~78% across various victim models, compared to ~51% for standard I-FGSM and ~73% for the previous best method (ILA).
- ImageNet: Using ResNet-50 as the source model to attack diverse architectures including Inception v3, MobileNet v2, and PNASNet. Attacking an Inception v3 model from a ResNet-50 source, LinBP achieved ~61% success, whereas standard I-FGSM only managed ~27%.
- Robust Models: The method even showed significant improvements when attacking models protected by "Ensemble Adversarial Training," which is specifically designed to resist transfer attacks.
Limitations and Future Work
- Layer Selection: The performance of LinBP depends on which layers you choose to linearize. The authors found that linearizing the later blocks of a network generally works best, but this still requires some empirical tuning for different architectures.
- Theoretical Depth: While the empirical results are strong and support the "linearity hypothesis," a rigorous mathematical proof of why skipping ReLUs in the backward pass specifically improves cross-model generalization remains an open question.
- Defense Implications: The success of LinBP suggests that current defenses relying on "gradient masking" or non-linearities might be more fragile than previously thought, potentially sparking a new arms race in adversarial defense research.
Summary updated