Improving Transferable Targeted Adversarial Attack via Normalized Logit Calibration and Truncated Feature Mixing

Juanjuan Weng, Zhiming Luo, Shaozi Li

Adversarial attacks—subtle perturbations that trick AI models—are well-documented, but targeted attacks (forcing a model to predict a specific incorrect class) remain notoriously difficult to "transfer" from a known surrogate model to a hidden black-box target. This paper introduces two novel techniques—Normalized Logit Calibration (NLC) and Truncated Feature Mixing (TFM)—that significantly boost the success rates of these challenging attacks.

TL;DR

The authors improve the transferability of targeted adversarial attacks by normalizing the distribution of model outputs (logits) and stripping away source-model-specific features using Singular Value Decomposition (SVD). Their combined approach outperforms state-of-the-art methods by a wide margin, often increasing attack success rates by over 30% on standard benchmarks.

What Problem Does This Paper Address?

In adversarial machine learning, "transferability" is the holy grail for attackers. It allows an attacker to craft an adversarial image using a local "surrogate" model and have it successfully deceive a different, unknown "target" model.

While untargeted attacks (just making the model wrong) transfer well, targeted attacks (making the model say "toaster" instead of "dog") usually fail because they "overfit" to the specific decision boundaries of the surrogate model. Previous attempts to fix this focused on either adjusting the loss function or augmenting the data, but they often neglected the underlying distribution of the model's internal features and output scores.

Methods

The authors propose a dual-strategy approach attacking both the loss function and the feature space:

  1. Normalized Logit Calibration (NLC): Previous methods tried to increase the "margin" (the gap between the target class score and others). However, the authors observed that different models have wildly different logit scales and standard deviations. NLC jointly considers the logit margin and the standard deviation of the logit distribution. By normalizing these values during optimization, the attack becomes less sensitive to the specific architecture of the surrogate model.

  2. Truncated Feature Mixing (TFM): Recent research suggests that the "Rank-1" feature (the component associated with the largest singular value in a feature map) contains the most information relevant to the specific model's prediction. The authors hypothesize that this Rank-1 feature is too specific to the surrogate. TFM uses Singular Value Decomposition (SVD) to identify and remove this Rank-1 component from clean images before mixing their features into the adversarial sample during training. This forces the attack to rely on more general, transferable features.

Datasets

The researchers evaluated their methods on two primary benchmarks:

  • ImageNet-Compatible Dataset: 1,000 images with predefined real and target classes, tested against 10 different CNN architectures and 5 Transformer-based models (like ViT and Swin).
  • CIFAR-10: Used specifically to test the attack against "defensive" models (models trained specifically to resist adversarial samples).

Key Insights and Ideas

  • Logit Distribution Matters: Simply increasing the target class score isn't enough. If the overall "spread" (standard deviation) of the scores is high, the attack might not generalize. Normalizing the "logit landscape" makes the optimization more stable across different architectures.
  • The "Source Model Bias" in Features: The most dominant feature in a neural network (the Rank-1 feature) is often a "shortcut" the specific model uses. By truncating this feature, the attacker prevents the adversarial perturbation from becoming a "slave" to the surrogate model's quirks.
  • Synergy: While NLC and TFM work well individually, they are complementary. NLC improves the optimization process (the "how"), while TFM improves the feature representation (the "what").

Key Results

The improvements are substantial across various source-to-target model pairs:

  • CNN to CNN: When using a ResNet-50 as the surrogate, the average targeted success rate jumped from 49.4% (using the standard RDI baseline) to 80.6% with the authors' full method.
  • CNN to Transformer: Attacking Vision Transformers (ViT) is notoriously hard. The authors' method increased the success rate from roughly 10.5% to 34.6% when transferring from a ResNet-50.
  • Against Defenses: On CIFAR-10, the method proved highly effective against advanced defensive models like DVERGE, outperforming previous state-of-the-art feature mixing (CFM) by over 10%.

Limitations and Future Work

  • Computational Overhead: While the authors note the extra time is "slight," performing SVD on high-level feature maps during every iteration of an attack adds a computational cost compared to simpler gradient-based methods.
  • Hyperparameter Sensitivity: The method introduces a temperature factor ($T$) and mixing ratios ($\alpha$). While they found $T=2$ to be a good default, optimal performance still requires some tuning depending on the surrogate model.
  • Future Direction: The authors suggest exploring how these techniques might apply to non-vision tasks or even more complex multi-modal models (like CLIP).

Summary updated

BibTeX
@article{weng2025improving,
  author = {Juanjuan Weng and Zhiming Luo and Shaozi Li},
  title = {{Improving Transferable Targeted Adversarial Attack via Normalized Logit Calibration and Truncated Feature Mixing}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2025},
  doi = {10.1109/tifs.2025.3563820},
}
Figure