REVIEW 5 cited by
TokenSwap poisons LVLMs so that triggered images produce captions with subject and object roles reversed, achieving high attack success while evading a perplexity-based detector.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-04 13:52 UTC pith:WROTOBLP
TokenSwap: Backdoor Attack on the Compositional Understanding of Large Vision-Language Models
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim, from the abstract and Section 5, is that TokenSwap 'achieves high attack success rates while maintaining superior evasiveness and stealthiness across multiple benchmarks and various LVLM architectures.' More concretely, the paper asserts that by poisoning training captions with subject-object swaps and training with an adaptive token-weighted loss, a triggered image makes the LVLM output captions that 'mention the correct objects in the image but misrepresent their relationships' (Section 1), with ASR up to 91.41% and 0% ASR on clean inputs.
Load-bearing premise
The reported attack success rate depends on a judge: GPT-4o-mini, prompted as shown in Figure 8, decides whether the modified caption has swapped the grammatical subject and object roles relative to the ground truth, and the authors say human inspection followed but give no agreement statistics. If the judge systematically flags any altered caption as a swap, even a clean model could score high ASR. All effectiveness claims in Tables 1-8 rest on this unvalidated oracle. This is a different sentence from the central claim: the attack could in principle work, but the paper's numbers would not prove it if the measurement is biased.
Editorial analysis
A structured set of objections, weighed in public.
Axiom & Free-Parameter Ledger
free parameters (4)
- alpha (token up-weight in ATW loss) =
not stated (tuned in Fig. 5)
- gamma (exponent in ATW loss) =
not stated (tuned in Fig. 5)
- poisoning rate =
0.5
- number of poisoned pairs =
3000
axioms (4)
- domain assumption LVLMs built on contrastively pretrained encoders exhibit bags-of-words behavior (weak object-relation understanding).
- domain assumption Swapping subject and object tokens in the caption is a valid proxy for corrupting compositional understanding.
- domain assumption GPT-4o-mini reliably detects subject-object swaps in captions.
- ad hoc to paper The min-k perplexity detector is representative of defense methods.
read the original abstract
Large vision-language models (LVLMs) have achieved impressive performance across a wide range of vision-language tasks, while they remain vulnerable to backdoor attacks. Existing backdoor attacks on LVLMs aim to force the victim model to generate a predefined target pattern, which is either inserted into or replaces the original content. We find that these fixed-pattern attacks are relatively easy to detect, because the attacked LVLM tends to memorize such frequent patterns in the training dataset, thereby exhibiting overconfidence on these targets given poisoned inputs. To address these limitations, we introduce TokenSwap, a more evasive and stealthy backdoor attack that focuses on the compositional understanding capabilities of LVLMs. Instead of enforcing a fixed targeted content, TokenSwap subtly disrupts the understanding of object relationships in text. Specifically, it causes the backdoored model to generate outputs that mention the correct objects in the image but misrepresent their relationships (i.e., bags-of-words behavior). During training, TokenSwap injects a visual trigger into selected samples and simultaneously swaps the grammatical roles of key tokens in the corresponding textual answers. However, the poisoned samples exhibit only subtle differences from the original ones, making it challenging for the model to learn the backdoor behavior. To address this, TokenSwap employs an adaptive token-weighted loss that explicitly emphasizes the learning of swapped tokens, such that the visual triggers and bags-of-words behavior are associated. Extensive experiments demonstrate that TokenSwap achieves high attack success rates while maintaining superior evasiveness and stealthiness across multiple benchmarks and various LVLM architectures.
Figures
Forward citations
Cited by 5 Pith papers
-
V-DEAL: Diagnosing Video Safety De-Calibration as an Understanding-Refusal Coupling Failure
Video LLMs understand harmful content but activate weaker refusal signals when the query is benign; prompt realignment reduces attack success from ~48% to ~1%.
-
ReShift: Aha-Moment-Driven Reasoning-Level Backdoor Attacks on Vision-Language Models
ReShift is a reasoning-level backdoor framework for VLMs that uses poisoned data construction and joint optimization to shift CoT trajectories on trigger while preserving surface coherence.
-
POISE: Position-Aware Undetectable Skill Injection on LLM Agents
POISE is a stealthy skill-poisoning attack achieving 89.3% ASR on Skill-Inject by blending a compressed trigger into contextually appropriate positions in skill bodies, outperforming YAML and random-placement baseline...
-
VideoStir: Understanding Long Videos via Spatio-Temporally Structured and Intent-Aware RAG
VideoStir introduces a spatio-temporal graph-based structure and intent-aware retrieval for long-video RAG, achieving competitive performance with SOTA methods via a new IR-600K dataset.
-
CogniVerse: Revolutionizing Multi-Modal Retrieval-Augmented Generation with Cognitive Reflection and Geometric Reasoning
CogniVerse is a proposed MMRAG framework that combines cognitive reflection for retrieval filtering, Riemannian manifold alignment plus spectral graphs for retrieval, and optimal transport loss for generation, claimin...
Reference graph
Works this paper leans on
-
[3]
Adversarial backdoor defense in clip.arXiv preprint arXiv:2409.15968,
Junhao Kuang, Siyuan Liang, Jiawei Liang, Kuanrong Liu, and Xiaochun Cao. Adversarial backdoor defense in clip.arXiv preprint arXiv:2409.15968,
-
[8]
Across all poisoning choices, TokenSwap always achieves over 80% ASRs, except for a low poisoning rate of 0.1. Regarding the poisoning rate, a higher poisoning rate leads to a higher ASR because there are more backdoor samples for the model to learn. However, we notice that when the poisoning rate exceeds 0.5, the 17 Preprint. Under review. ASR stagnates....
arXiv 1943
-
[9]
11 Preprint. Under review. Dong Lu, Tianyu Pang, Chao Du, Qian Liu, Xianjun Yang, and Min Lin. Test-time backdoor attacks on multimodal large language models.arXiv preprint arXiv:2402.08577,
-
[10]
Trojvlm: Backdoor attack against vision language models.arXiv preprint arXiv:2409.19232, 2024a
Weimin Lyu, Lu Pang, Tengfei Ma, Haibin Ling, and Chao Chen. Trojvlm: Backdoor attack against vision language models.arXiv preprint arXiv:2409.19232, 2024a. Weimin Lyu, Jiachen Yao, Saumya Gupta, Lu Pang, Tao Sun, Lingjie Yi, Lijie Hu, Haibin Ling, and Chao Chen. Backdooring vision-language models with out-of-distribution data.arXiv preprint arXiv:2410.01...
-
[13]
Label-consistent backdoor attacks.arXiv preprint arXiv:1912.02771,
Alexander Turner, Dimitris Tsipras, and Aleksander Madry. Label-consistent backdoor attacks.arXiv preprint arXiv:1912.02771,
Pith/arXiv arXiv 1912
-
[14]
Dongxu Li Wenliang Dai, Junnan Li. Instructblip: Towards general-purpose vision-language models with instruction tuning.arXiv preprint arXiv:2305.06500,
-
[15]
Yuan Xun, Siyuan Liang, Xiaojun Jia, Xinwei Liu, and Xiaochun Cao. Ta-cleaner: A fine-grained text alignment backdoor defense strategy for multimodal contrastive learning.arXiv preprint arXiv:2409.17601,
-
[16]
12 Preprint. Under review. Ziqing Yang, Xinlei He, Zheng Li, Michael Backes, Mathias Humbert, Pascal Berrang, and Yang Zhang. Data poisoning attacks against multimodal encoders. InICML, 2023b. Mang Ye, Xuankun Rong, Wenke Huang, Bo Du, Nenghai Yu, and Dacheng Tao. A survey of safety on large vision-language models: Attacks, defenses and evaluations.arXiv ...
-
[18]
Mert Yuksekgonul, Federico Bianchi, Pratyusha Kalluri, Dan Jurafsky, and James Zou. When and why vision-language models behave like bags-of-words, and what to do about it?arXiv preprint arXiv:2210.01936,
-
[19]
Under review
13 Preprint. Under review. Appendix The Appendix of this paper is summarized as follows: • Appendix A provides the detailed settings in our experiment (Appendix A.1 for benchmarks, Appendix A.2 for victim models, Appendix A.3 for compared backdoor attack methods and Appendix A.4 for evaluation metrics). • Appendix B provides more implementation details in...
2013
-
[20]
Write a short description for the image
in compromising the model’s compositional understanding ability. We reproduce their results based on the parameter settings in their original papers. • TrojVLM: TrojVLM introduces a backdoor attack on LVLMs for image-to-text generation, inserting predetermined target text while preserving the original image’s semantic content, posing a critical security t...
2002
-
[2002]
Fiorenzo Parascandolo, Nicholas Moratelli, Enver Sangineto, Lorenzo Baraldi, and Rita Cuc- chiara. Causal graphical models for vision-language compositional understanding.arXiv preprint arXiv:2412.09353,
-
[2004]
Microsoft coco: Common objects in context
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. InComputer vision– ECCV 2014: 13th European conference, zurich, Switzerland, September 6-12, 2014, proceedings, part v 13, pp. 740–755. Springer,
2014
-
[2014]
Zenghui Yuan, Jiawen Shi, Pan Zhou, Neil Zhenqiang Gong, and Lichao Sun. Badtoken: Token-level backdoor attacks to multi-modal large language models.arXiv preprint arXiv:2503.16023,
-
[2017]
Revisiting the role of language priors in vision-language models.arXiv preprint arXiv:2306.01879,
Zhiqiu Lin, Xinyue Chen, Deepak Pathak, Pengchuan Zhang, and Deva Ramanan. Revisiting the role of language priors in vision-language models.arXiv preprint arXiv:2306.01879,
-
[2018]
Zhaoyi Liu and Huan Zhang. Stealthy backdoor attack in self-supervised learning vision encoders for large vision language models.arXiv preprint arXiv:2502.18290,
-
[2021]
Detecting pretraining data from large language models.arXiv preprint arXiv:2310.16789,
Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, and Luke Zettlemoyer. Detecting pretraining data from large language models.arXiv preprint arXiv:2310.16789,
-
[2022]
Xinyun Chen, Chang Liu, Bo Li, Kimberly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning.arXiv preprint arXiv:1712.05526,
-
[2023]
Daizong Liu, Mingyu Yang, Xiaoye Qu, Pan Zhou, Yu Cheng, and Wei Hu. A survey of at- tacks on large vision-language models: Resources, advances, and future trends.arXiv preprint arXiv:2407.07403, 2024a. Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. InNeurIPS,
-
[2024]
Qwen-vl: A frontier large vision-language model with versatile abilities
Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. Qwen-vl: A frontier large vision-language model with versatile abilities. Arxiv preprint arXiv:2308.12966,
-
[2025]
Siyuan Liang, Jiawei Liang, Tianyu Pang, Chao Du, Aishan Liu, Ee-Chien Chang, and Xi- aochun Cao. Revisiting backdoor attacks against large vision-language models.arXiv preprint arXiv:2406.18844, 2024a. Siyuan Liang, Mingli Zhu, Aishan Liu, Baoyuan Wu, Xiaochun Cao, and Ee-Chien Chang. Badclip: Dual-embedding guided backdoor attack on multimodal contrasti...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.