Ask, Attend, Attack: A Effective Decision-Based Black-Box Targeted Attack for Image-to-Text Models
Qingyuan Zeng, Zhenzhong Wang, Yiu-ming Cheung, Min Jiang
TL;DR
The paper tackles targeted adversarial attacks on image-to-text models under a stringent decision-based black-box setting, where only the final output text is observable. It introduces the Ask, Attend, Attack (AAA) framework, which first crafts a target semantic dictionary (Ask), localizes influential image regions with a Grad-CAM-inspired attention map from a surrogate model (Attend), and then searches for imperceptible perturbations in the reduced space using differential evolution (Attack) to drive the model toward the specified target text. AAA leverages a WordNet-based semantic metric, CLIP-based text similarity, and an attention-guided search to avoid semantic loss that plagues gray-box methods, demonstrating superior targeted attack performance on both Transformer-based VIT-GPT2 and CNN+RNN Show-Attend-Tell models in extensive experiments with Flick30k. The results highlight notable vulnerabilities in contemporary vision-language systems under realistic black-box constraints and underscore the need for robust defenses and further study of semantic-consistent adversarial strategies. Together, the framework advances practical black-box targeted attacks while providing insights into attention-based search and semantic preservation in image-to-text threats.
Abstract
While image-to-text models have demonstrated significant advancements in various vision-language tasks, they remain susceptible to adversarial attacks. Existing white-box attacks on image-to-text models require access to the architecture, gradients, and parameters of the target model, resulting in low practicality. Although the recently proposed gray-box attacks have improved practicality, they suffer from semantic loss during the training process, which limits their targeted attack performance. To advance adversarial attacks of image-to-text models, this paper focuses on a challenging scenario: decision-based black-box targeted attacks where the attackers only have access to the final output text and aim to perform targeted attacks. Specifically, we formulate the decision-based black-box targeted attack as a large-scale optimization problem. To efficiently solve the optimization problem, a three-stage process \textit{Ask, Attend, Attack}, called \textit{AAA}, is proposed to coordinate with the solver. \textit{Ask} guides attackers to create target texts that satisfy the specific semantics. \textit{Attend} identifies the crucial regions of the image for attacking, thus reducing the search space for the subsequent \textit{Attack}. \textit{Attack} uses an evolutionary algorithm to attack the crucial regions, where the attacks are semantically related to the target texts of \textit{Ask}, thus achieving targeted attacks without semantic loss. Experimental results on transformer-based and CNN+RNN-based image-to-text models confirmed the effectiveness of our proposed \textit{AAA}.
