[Paper Review] Fooling Vision and Language Models Despite Localization and Attention Mechanism
This paper demonstrates that vision-and-language models—including dense captioning and visual question answering (VQA) systems with attention, localization, and modular architectures—remain highly vulnerable to adversarial attacks despite their complex internal structures. Using a novel white-box attack method, the authors achieve over 90% success rates in fooling state-of-the-art models like MCB and N2NMN, revealing that attention, bounding box localization, and compositional networks do not provide effective defense against targeted adversarial examples in non-physical settings.
Adversarial attacks are known to succeed on classifiers, but it has been an open question whether more complex vision systems are vulnerable. In this paper, we study adversarial examples for vision and language models, which incorporate natural language understanding and complex structures such as attention, localization, and modular architectures. In particular, we investigate attacks on a dense captioning model and on two visual question answering (VQA) models. Our evaluation shows that we can generate adversarial examples with a high success rate (i.e., > 90%) for these models. Our work sheds new light on understanding adversarial attacks on vision systems which have a language component and shows that attention, bounding box localization, and compositional internal structures are vulnerable to adversarial attacks. These observations will inform future work towards building effective defenses.
Motivation & Objective
- To investigate whether advanced vision-and-language models with attention, localization, and modular architectures are resilient to adversarial attacks.
- To evaluate the effectiveness of adversarial attacks on dense captioning and VQA models under white-box conditions.
- To analyze whether language priors and model architecture compositionality influence adversarial robustness.
- To develop a novel attack method that outperforms prior state-of-the-art approaches for VQA models.
- To understand the role of answer frequency and semantic compatibility in adversarial attack success.
Proposed method
- The authors design a targeted white-box adversarial attack framework for vision-and-language models, leveraging gradient-based optimization to perturb input images.
- The attack targets specific answers in VQA models by optimizing for high confidence in the desired label while maintaining imperceptibility.
- A novel loss function is introduced to balance adversarial success, image perturbation, and semantic consistency with the question.
- The method evaluates attack success across multiple models, including MCB and N2NMN, using both standard and meaningless question-answer pairs.
- The authors analyze the correlation between answer frequency and adversarial probability to assess model predictability and robustness.
- Experiments include ablation studies using meaningless answer targets to isolate the effect of language priors on attack success.
Experimental results
Research questions
- RQ1Can adversarial examples successfully fool vision-and-language models that use attention mechanisms and region localization?
- RQ2Do modular architectures such as Neural Module Networks provide increased robustness against adversarial attacks compared to standard attention-based models?
- RQ3How does the language prior—specifically, the semantic compatibility between question and answer—affect the success rate of adversarial attacks?
- RQ4To what extent does answer frequency correlate with adversarial attack success probability?
- RQ5Can a novel attack method outperform existing state-of-the-art attacks on VQA models?
Key findings
- The proposed attack achieves a success rate of over 90% on both MCB and N2NMN VQA models, demonstrating high effectiveness despite complex internal structures.
- Models with stronger language priors, such as N2NMN, exhibit slightly higher resilience, achieving only 4.6% attack success when using meaningless answer targets, compared to 7.8% for MCB.
- There is a clear positive correlation between answer frequency and adversarial probability, indicating that frequently predicted answers are easier to target.
- The N2NMN model produces fewer answers with non-zero frequency than MCB, suggesting a more constrained and semantically aligned prediction space.
- When the target answer is semantically incompatible with the question, adversarial attacks fail at a significantly higher rate, confirming the role of language priors in defense.
- Despite the use of attention maps, region proposals, and modular network composition, these components do not prevent successful adversarial attacks in white-box settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.