NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Minimizing Maximum Model Discrepancy for Transferable Black-box Targeted Attacks

Anqi Zhao, Tong Chu, Yahao Liu, Wen Li, Jingjing Li, Lixin Duan

Introduction

Adversarial attacks in a black-box setting, where the attacker lacks knowledge of the target model's architecture and parameters, are a critical area of AI security research. While untargeted attacks—which merely aim to cause misclassification—transfer relatively well between models, targeted attacks—which force a specific incorrect label—are significantly harder to transfer. This "transferability gap" often arises because adversarial examples overfit to the specific decision boundaries of the substitute model used for their generation.

Theoretical Foundation: Model Discrepancy

The authors propose a new theoretical framework for adversarial transferability based on Generalization Error Bounds. They demonstrate that the error of an attack on an unknown black-box model is bounded by the attack's success on a known substitute model and the maximum discrepancy between any two models within a given hypothesis set. By minimizing this maximum discrepancy, one can theoretically improve the generalization of the attack across different model architectures.

The M3D Framework

To operationalize this theory, the authors introduced M3D (Minimizing Maximum Model Discrepancy). This approach utilizes a generative framework consisting of a Generator ($G$) and two Discriminators ($D_1$ and $D_2$) that act as substitute models.

The M3D framework architecture, featuring a Generator (G) and two Discriminators (D1, D2) trained in a min-max game to minimize model discrepancy.

The training process is structured as a min-max game:

  1. The Max Step: The discriminators $D_1$ and $D_2$ are trained to maximize the discrepancy in their predictions on adversarial images, effectively identifying architectural quirks that could cause an attack to fail.
  2. The Min Step: The generator $G$ is trained to minimize this discrepancy while ensuring both discriminators predict the desired target class.

This adversarial training forces the generator to produce perturbations that are architecture-agnostic, focusing on features that are universally influential across the hypothesis space.

Experimental Evaluation

The M3D method was evaluated on the ImageNet dataset using a variety of architectures, including VGG19, ResNet-50/152, DenseNet-121, and Wide ResNet (WRN-50-2).

Key Results

M3D demonstrated substantial improvements over existing state-of-the-art (SOTA) methods such as TTP and CDA.

  • Significant Transferability Gains: In multi-substitute settings, M3D improved targeted success rates by 12.75% to 41.23% compared to previous benchmarks.
  • Cross-Architecture Robustness: When attacking a ResNet-152 using a VGG substitute, M3D achieved a 68.41% success rate, a dramatic increase over TTP's 27.18%.
  • Real-World Validation: The attack was tested against the Google Cloud Vision API, achieving a 61% success rate in forcing the commercial system to see a target class, compared to just 25% for the previous SOTA.
Target transferability comparison showing M3D (Ours) significantly outperforming the TTP baseline across various target architectures.

Conclusion

By treating transferability as a generalization problem and explicitly minimizing model discrepancy, M3D provides a robust method for crafting targeted black-box attacks. While the min-max training loop introduces additional computational overhead, the resulting adversarial examples are significantly more effective against both standard and robustly trained models, as well as real-world commercial APIs. Future work may extend this discrepancy-based approach to other domains such as natural language processing and object detection.

Summary updated

BibTeX
@inproceedings{zhao2022minimizing,
  author = {Anqi Zhao and Tong Chu and Yahao Liu and Wen Li and Jingjing Li and Lixin Duan},
  title = {{Minimizing Maximum Model Discrepancy for Transferable Black-box Targeted Attacks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure