Once Poisoned, Arbitrarily Controlled: A Programmable Backdoor in VLMs

Tao Lin, Gaojie Jin, Zongxin Liu, Peng Wu, Lijia YuarXiv 2026

TL;DR

Traditional backdoor attacks on Vision-Language Models (VLMs) are static, forcing attackers to commit to a fixed malicious output during training. This paper introduces a "programmable" any-to-any backdoor paradigm where a single poisoning phase allows attackers to dynamically hijack a VLM at inference time, generating arbitrary, previously unseen captions using stealthy, on-demand visual triggers.

What Problem Does This Paper Address?

Existing backdoor attacks on VLMs operate under a rigid constraint: they bind a specific visual trigger to a predefined malicious target text (a one-to-one or N-to-N mapping) before the model is trained. For example, a trigger might always force a VLM to output a specific corporate slogan or a piece of disinformation.

However, if an attacker’s objective changes after the model has been deployed, a fixed-mapping backdoor becomes useless. To change the target text, the attacker would have to re-poison the dataset and completely retrain the large VLM—a process that is computationally prohibitive, slow, and highly prone to detection during security audits.

This paper tackles this limitation by introducing a flexible, "once-and-for-all" backdoor paradigm that decouples the poisoning phase from post-training target selection, allowing arbitrary caption control at inference time without retraining.

Figure 1: Comparison between a fixed-mapping backdoor and our any-to-any caption-control paradigm in VLMs. (a) The fixed-mapping backdoor binds a fixed trigger to a predefined malicious target. Changing the target requires retraining the backdoored VLM. (b) Our any-to-any backdoor enables dynamic caption-control of malicious targets after a one-time poisoning process.

Methods

The authors achieve this programmable control through a two-part framework:

  1. Heuristic Poisoning Strategy: Instead of teaching the VLM to memorize a specific backdoor pattern, the authors train the model to learn a general trigger-as-instruction rule. During training, they inject diverse "trigger image–target caption" pairs into a small portion of the dataset. By overlaying random foreign images onto a masked region of benign images and updating the text labels to describe the foreign image, the VLM learns a meta-heuristic: “When a foreign pattern appears in this specific region, ignore the main image and describe the pattern.”
Figure 2: The framework of our poisoning strategy.
  1. Feature-Space Trigger Steganography: While pasting a literal image patch works, it is visually obvious to humans. To make the attack stealthy at inference time, the authors use a pre-trained vision feature extractor as a guide. Given any arbitrary target text $z$ chosen on the fly, they optimize either an imperceptible noise perturbation ($L_\infty$ norm-controlled) or a non-semantic patch. This optimized trigger mimics the feature representation of a vanilla image representing $z$, fooling the backdoored VLM into executing the instruction without raising human suspicion.

Datasets

The authors evaluated their approach using several standard datasets:

  • Fine-tuning Alignment: The cc-sbu-align dataset (3,500 high-quality image-caption pairs) served as the clean training base ($D_{clean}$).
  • Trigger-Target Pools: Images from Tiny-ImageNet and CIFAR-100 were used to construct the variable trigger-target pairs during the poisoning phase.
  • Evaluation (Unseen Data): To test generalization, the authors evaluated the attack using entirely novel images and captions from the Flickr8k and Flickr30k datasets.
  • Model Utility Benchmarks: GQA and MME (evaluating both perception and cognition) were used to verify that the poisoned models maintained normal performance on clean inputs.

Key Insights and Ideas

  • Repurposing Zero-Shot Generalization: The core "aha moment" is realizing that a VLM's greatest strength—its ability to generalize to unseen multimodal concepts—can be weaponized. By teaching the model a structural rule rather than a static mapping, the attacker exploits the VLM's inherent zero-shot capabilities to interpret entirely new triggers at inference time.
  • Evading Statistical Defenses: Traditional anomaly detection methods like Spectral Signatures or Neural Cleanse rely on the statistical premise that poisoned data points will cluster tightly around a single malicious target direction in feature space. Because the proposed attack uses diverse, dynamically chosen target captions, the poisoned samples do not aggregate into a single cluster, rendering classical defenses ineffective.

Key Results

  • High Attack Success Rate (ASR): When tested on LLaVA-1.6 using completely unseen images and captions, the vanilla triggers achieved up to 92.00% ASR on Flickr8k. The stealthy, norm-controlled triggers ($L_\infty$ with $\epsilon = 16/255$ and a slight blur) maintained a strong 86.00% ASR.
  • Preserved Model Utility: On the MME benchmark, the poisoned model scored 1363.08 (perception) and 308.21 (cognition), which is virtually identical to the clean model's scores (1336.22 and 316.43), demonstrating excellent concealment.
  • Defense Resilience: The attack successfully bypassed several classical backdoor defenses, including Shrinkpad, Flip, and Scale-up. Furthermore, a simulated abnormal-behavior classifier trained via Hidden State Forensics failed to detect the attack, yielding a detection rate of at most 7.5%.

Limitations and Future Work

  • Visible Training Triggers: While the inference-time triggers are highly stealthy and optimized, the initial training phase still relies on pasting visible "vanilla" images into the training data. The authors note that making these training-time triggers concealed is an important open question.
  • Label Modification: The current poisoning strategy requires modifying the ground-truth text captions during training. The authors aim to explore how to implement this any-to-any paradigm as a "clean-label" attack, where image captions remain unaltered during the poisoning phase.

Summary updated

BibTeX
@misc{lin2026once,
  author = {Tao Lin and Gaojie Jin and Zongxin Liu and Peng Wu and Lijia Yu},
  title = {{Once Poisoned, Arbitrarily Controlled: A Programmable Backdoor in VLMs}},
  year = {2026},
  eprint = {2608.10959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.10959},
}
Figure