Introduction
Modern Visual Question Answering (VQA) systems typically follow a "pre-training and fine-tuning" paradigm, where models are first trained on massive image-text datasets and then specialized for specific tasks. While this approach has yielded high accuracy, it introduces a significant security vulnerability. VQAttack, presented at AAAI-24, demonstrates that this shared foundation can be exploited to generate highly transferable adversarial attacks that fool black-box models without requiring knowledge of their internal architectures.
The Adversarial Challenge
Attacking VQA systems involves two primary hurdles:
- Transferability: Generating attacks on a known source model that successfully deceive an unknown black-box victim model.
- Joint Modality: Simultaneously perturbing continuous image pixels and discrete text tokens to create a cohesive adversarial input.
Methodology: The VQAttack Framework
VQAttack is an iterative framework designed to generate adversarial perturbations for both images and text. It consists of two core components:
LLM-Enhanced Image Attack
Unlike standard attacks that focus solely on feature similarity, VQAttack utilizes a Large Language Model (LLM) to generate "masked answer" prompts. By optimizing a Masked Answer Anti-Recovery loss, the framework perturbs the image to specifically prevent the VQA model from correctly inferring the missing information.
Cross-modal Joint Attack
To handle the discrete nature of text, VQAttack employs a heuristic trigger to update text perturbations strategically. It combines gradient-based estimation in the word embedding space with BERT-based synonym substitution, ensuring the question remains semantically coherent while becoming deceptive.
Experimental Evaluation
The researchers evaluated VQAttack on two major benchmarks: VQAv2 and TextVQA, testing against five popular pre-trained models including ViLT, TCL, ALBEF, VLMO-Base, and VLMO-Large.
Key Results
The effectiveness of the attack is measured by the Attack Success Rate (ASR). VQAttack consistently outperformed existing baselines like Co-Attack. For instance, when attacking ALBEF using TCL as a source model on VQAv2, VQAttack achieved an ASR of 58.42%, a significant improvement over previous methods. The attacks remained potent even when the source and victim models had different architectures.
Discussion and Conclusion
The success of VQAttack highlights that the "pre-training & fine-tuning" paradigm creates a shared feature space that attackers can exploit. By targeting foundational multimodal representations, adversarial examples become highly transferable across different model architectures. Future work must focus on developing robust defense strategies, such as adversarial training and improved multimodal alignment, to secure these widely used AI pipelines.
Summary updated