Skip to main content
QUICK REVIEW

[Paper Review] VL-Trojan: Multimodal Instruction Backdoor Attacks against Autoregressive Visual Language Models

Jiawei Liang, Siyuan Liang|arXiv (Cornell University)|Feb 21, 2024
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper proposes VL-Trojan, a novel multimodal backdoor attack targeting autoregressive visual language models (VLMs) during instruction tuning. By combining contrastive feature isolation for image triggers and iterative character-level text trigger generation, it achieves a 99.82% attack success rate with only 116 poisoned samples, significantly outperforming baselines by 62.52% in ASR, even under black-box settings with limited model access.

ABSTRACT

Autoregressive Visual Language Models (VLMs) showcase impressive few-shot learning capabilities in a multimodal context. Recently, multimodal instruction tuning has been proposed to further enhance instruction-following abilities. However, we uncover the potential threat posed by backdoor attacks on autoregressive VLMs during instruction tuning. Adversaries can implant a backdoor by injecting poisoned samples with triggers embedded in instructions or images, enabling malicious manipulation of the victim model's predictions with predefined triggers. Nevertheless, the frozen visual encoder in autoregressive VLMs imposes constraints on the learning of conventional image triggers. Additionally, adversaries may encounter restrictions in accessing the parameters and architectures of the victim model. To address these challenges, we propose a multimodal instruction backdoor attack, namely VL-Trojan. Our approach facilitates image trigger learning through an isolating and clustering strategy and enhance black-box-attack efficacy via an iterative character-level text trigger generation method. Our attack successfully induces target outputs during inference, significantly surpassing baselines (+62.52\%) in ASR. Moreover, it demonstrates robustness across various model scales and few-shot in-context reasoning scenarios.

Motivation & Objective

  • To investigate the vulnerability of autoregressive VLMs to backdoor attacks during multimodal instruction tuning.
  • To address the challenge of poisoned feature learning in VLMs with frozen visual encoders.
  • To enable effective backdoor attacks under black-box settings where model architecture and parameters are inaccessible.
  • To improve attack transferability across different model architectures and few-shot reasoning scenarios.
  • To demonstrate the feasibility of inducing high-accuracy backdoors with minimal poisoning data (as few as 116 samples).

Proposed method

  • Proposes a contrastive optimization loss combining L1 and L2 regularization to isolate poisoned image features from clean ones, enabling effective trigger learning despite a frozen visual encoder.
  • Introduces an iterative character-level text trigger generation method to enhance transferability across different models in black-box settings.
  • Uses a two-stage training strategy: first optimizing image triggers via contrastive feature separation, then jointly fine-tuning with text triggers during instruction tuning.
  • Employs a surrogate visual encoder to generate image triggers when direct access to the victim model is unavailable, improving cross-architecture transferability.
  • Leverages the isolating and clustering behavior of poisoned features in contrastive learning to decouple poisoned and clean sample representations.
  • Applies supervised instruction tuning to establish a robust association between the optimized multimodal triggers and the target response.

Experimental results

Research questions

  • RQ1Can backdoor attacks be effectively mounted on autoregressive VLMs during multimodal instruction tuning, despite the frozen visual encoder?
  • RQ2How can image triggers be made effective when the visual encoder is frozen and cannot be fine-tuned?
  • RQ3To what extent can text triggers improve attack transferability in black-box settings where the victim model’s architecture is unknown?
  • RQ4How does the proposed method perform under low poisoning rates and few-shot in-context learning scenarios?
  • RQ5What is the relative contribution of image and text triggers to overall attack success rate and robustness?

Key findings

  • VL-Trojan achieves a 99.82% attack success rate (ASR) using only 116 poisoned samples, significantly outperforming baseline methods by 62.52% in ASR.
  • The combination of L1 and L2 losses for image trigger optimization achieves 98.30% ASR on the Flickr-30K dataset, demonstrating superior feature separation and clustering.
  • The iterative character-level text trigger generation method enhances transferability, enabling effective attacks even when the victim model’s architecture is unknown.
  • The method maintains high ASR across different model scales and few-shot in-context reasoning scenarios, indicating strong generalization and robustness.
  • Ablation studies confirm that image triggers alone achieve high ASR at low poisoning rates (0.25%), while text triggers serve as a complementary mechanism to improve cross-architecture transferability.
  • The attack remains effective even with increasing numbers of in-context examples, as the isolated poisoned features prevent the model from being distracted by clean context.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.