Towards Model Resistant to Transferable Adversarial Examples via Trigger Activation
Yi Yu, Song Xia, Xun Lin, Chenqi Kong, Wenhan Yang, Shijian Lu, Yap-Peng Tan, Alex C. Kot
TL;DR
The paper tackles the threat of transferable adversarial examples by introducing models with trigger activation, where a fixed trigger $\tau$ makes the model behave like a random predictor on clean inputs $x$ but yields accurate predictions on $x+\tau$. A first-order gradient analysis explains observed robustness, and the robustness is further enhanced by jointly learning the trigger with the model. The fixed-trigger variant provides a baseline robustness that improves with larger $\epsilon_t$, while the learnable-trigger variant achieves a better trade-off between robustness and clean accuracy by adaptively shaping $\tau$. Extensive experiments on CIFAR-10/100 and an ImageNet subset show competitive robustness against diverse TAEs with favorable training efficiency and negligible test-time overhead, outperforming several state-of-the-art defenses in several settings.
Abstract
Adversarial examples, characterized by imperceptible perturbations, pose significant threats to deep neural networks by misleading their predictions. A critical aspect of these examples is their transferability, allowing them to deceive {unseen} models in black-box scenarios. Despite the widespread exploration of defense methods, including those on transferability, they show limitations: inefficient deployment, ineffective defense, and degraded performance on clean images. In this work, we introduce a novel training paradigm aimed at enhancing robustness against transferable adversarial examples (TAEs) in a more efficient and effective way. We propose a model that exhibits random guessing behavior when presented with clean data $\boldsymbol{x}$ as input, and generates accurate predictions when with triggered data $\boldsymbol{x}+\boldsymbolτ$. Importantly, the trigger $\boldsymbolτ$ remains constant for all data instances. We refer to these models as \textbf{models with trigger activation}. We are surprised to find that these models exhibit certain robustness against TAEs. Through the consideration of first-order gradients, we provide a theoretical analysis of this robustness. Moreover, through the joint optimization of the learnable trigger and the model, we achieve improved robustness to transferable attacks. Extensive experiments conducted across diverse datasets, evaluating a variety of attacking methods, underscore the effectiveness and superiority of our approach.
