Looking inside: backdoor infection in multimodal large language modelsUnder the Skin: Backdoor Infection in Multimodal Large Language Models
For an MLLM that already has a text backdoor, optimizing the trigger on the image side can activate it cross-modally; the authors claim an ASR improvement of up to 330% on Gemma-3 (4B).
An MLLM that already has a Minj backdoor with a known trigger. The attacker knows the architecture, parameters, original trigger and target behavior, and can only perform forward and backward propagation through Minf's encoder and projector to optimize the input; the attacker cannot change parameters and does not participate in injection. The evaluation setting uses text as Minj and vision as Minf.
- After an MLLM aligns each modality to a shared latent space, a backdoor already present in one modality may be activated by input from another modality. The authors argue that vision encoders are large and often frozen, while text triggers must contend with discrete language, so cross-modal infection is an overlooked attack surface.
- The injection stage leaves a backdoor in Minj (the experiments use text, rank-8 LoRA, and the vision tower is not updated). Infection does not change parameters and only perturbs the image so that the projected embedding contains the semantics of the original trigger; gradients pass only through the image encoder and projector, and the ℓp norm of the perturbation can be constrained.
- The authors state that on black-and-white images for 13 LVLMs, most of the 16 configurations have ReI greater than 0, and some exceed 1; for Gemma-3(4B) they state ASR increases by at most 330%. With 8 poisoned models and at most 500 iterations, the method in this paper finds the trigger for 5, and full-model backpropagation for 3.
- The paper has no separate limitations section; the appendix plans defenses with formal guarantees. The experiments cover 13 image-text LVLMs plus LLAMA-3.2(11B), and the real-image analysis excludes 26 of 208 configurations. Efficiency covers only 8 poisoned models, with at most 500 iterations. The paper does not report significance tests or human agreement.
- Evaluated models
- LLAVA-1.6-mistral (7B)LLAVA-1.6-vicuna (7B)LLAVA-1.6-vicuna (13B)InternVL-3 (1B)InternVL-3 (2B)InternVL-3 (8B)InternVL-3 (14B)Qwen-2-VL (2B)Qwen-2-VL (7B)Qwen-2.5-VL (3B)Qwen-2.5-VL (7B)Gemma-3 (4B)Gemma-3 (12B)LLAMA-3.2 (11B)
- Benchmarks
- BackdoorLLMCOCO
- Metrics
- ASRReISolved ratiotFLOPs
The researchers propose a cross-modal attack framework called backdoor infection, which can construct a trigger in one modality to activate malicious behavior in a multimodal large language model that already has a backdoor implanted in another modality. The method exploits the model's shared latent space so that the trigger takes effect during training without modifying or poisoning the infected modality, and designs a lightweight, constraint-aware optimization method to generate triggers. On multiple models including LLaVA, InternVL, Qwen-VL, and Gemma, experiments show that the cross-modal triggers found by the method are more efficient, more effective, and less detectable than direct optimization baselines. The paper number is arXiv:2610.24058.
Paper analysis
What problem does this paper attempt to solve?
An MLLM that already has a unimodal backdoor can activate the same target behavior via a trigger in another unpoisoned modality.
When a single-modality backdoor already exists, can the same malicious behavior be activated by changing only the input of the other, unpoisoned modality?
- Scenario: The authors argue that the shared latent space amplifies the asymmetry in implantation and trigger difficulty across modalities. Taking LLaVA-1.6 as an example, the vision encoder has about 428 million parameters and is usually frozen, while the text projector and multimodal adapter together have about 70 million trainable parameters, making text poisoning cheaper; text triggers must also remain natural in discrete language to avoid detection by filters such as perplexity.
- Existing approaches: The authors state that existing MLLM backdoors mostly fix the trigger modality at training time, or treat the multimodal input as a whole. The authors state that, to their knowledge, this cross-modal transfer of a persistent backdoor has not been explored before.
- Assumption: In self-attention models, whether a backdoor is activated depends mainly on the semantic embedding in the shared space, not on position or source modality. Cross-attention preserves modality source, which the authors consider contradictory to this assumption.
- Proposed in this paper: backdoor infection. Injection can use any existing method to implant a backdoor in Minj; infection does not change weights, constructs a trigger only in Minf, and performs constrained optimization only on the encoder and projector.
- Threat model:
- Goal: Given a backdoored model, a known τMinj and an attacker-chosen yt, perturb only the Minf component of a clean input so that the model outputs yt; the Minj component contains no trigger.
- Knowledge: Knows the architecture, parameters, original trigger and its target behavior, and can therefore compute gradients, but cannot change parameters.
- Capability: Cannot change any parameter of the victim model; can only perform forward and backward propagation through Minf's encoder and projector to optimize the input; does not access or participate in injection.
- Victim system: An MLLM with a backdoor already implanted in Minj. In the evaluation, text is Minj and vision is Minf, and the text prompt and all parameters are unchanged. How injection is performed is outside this threat model.
What related research exists?
The authors distinguish this paper from backdoors with a fixed trigger modality during training and from test-time visual perturbation work.
Multimodal architectures
- Flamingo (Alayrac et al., 2022) — connects pretrained vision and language models, handles interleaved image-text and does few-shot learning.
- Kosmos-1 (Huang et al., 2023) — augments a language model with a visual perception module, trained on a web-scale multimodal corpus.
- LLaVA (Liu et al., 2023), Qwen (Wang et al., 2024; Bai et al., 2025), Gemma-3 (Gemma Team et al., 2025) — instruction tuning, or image-text alignment using a frozen vision encoder plus an adapter. The paper only describes them.
MLLM backdoors
- VL-Trojan, Shadowcast, TrojVLM, MABA, VLOOD, BadToken, BadVision, and the physical backdoor of Ni et al. — place triggers in instruction tuning or visual input, or attack a reusable vision encoder. The authors state these works usually fix the trigger and its carrier modality at training time.
- AnyDoor (Lu et al., 2024) — uses a universal visual perturbation at test time, activated by a text trigger. The authors state this paper opens another cross-modal channel for an existing backdoor, unlike AnyDoor.
Defenses and earlier backdoor literature
- Lie detector, BYE, robust instruction tuning, SRD — use cross-interrogation, cross-modal attention entropy, instruction tuning regularization, or reinforcement learning for detection or defense. The paper does not report experimental comparisons with these methods.
- Early attacks such as BadNets, dynamic or feature-space triggers, as well as diffusion model backdoors and input purification, detection-type defenses. The paper reviews them as background.
Baselines and data
- Baseline methods: generic/naive optimization that backpropagates through the entire LVLM, used to compare the computation and image visibility of trigger learning.
- Benchmarks/datasets: 16 target–trigger groups from BackdoorLLM for injection; COCO for real images, with the prompt "Describe the image.".
The authors place the infection at the inference stage, and state it is orthogonal to the specific injection method: the original backdoor is a given condition, and the infection only constructs another activation channel in an unpoisoned modality, and does not update the model again.
How does the paper address this problem?
Align the trigger embedding in a shared latent space, and perform gradient optimization only on the encoder and projector of the infected modality.
Split into injection and infection. Infection does not update weights and aligns the representation of Minf after encoding and projection to the known Minj trigger embedding. The authors state that this process is orthogonal to the specific implantation method.
Setup and formalization
- An MLLM consists of modality encoders, projectors into a shared space, and a language model that consumes sequences in that space. Non-text modalities are first encoded and then projected, while the text modality enters that space directly.
- Injection jointly minimizes the text loss on a clean set and a poisoned set: poisoned samples write the trigger into the chosen modality and change the label to yt. Infection, in contrast, fixes the backdoored parameters and searches only for a trigger function for Minf.
- Equation (5) represents that the injection stage has already obtained parameters that make the Minj trigger effective. This paper solves only the subsequent inference-time search, and states that it is compatible with existing injection. Joint multimodal search is described as extensible but was not done in the experiments.
Feasibility argument
- Hypothesis 6.1 is limited to self-attention: as long as the set of projected embeddings of some input contains the original trigger embedding, the backdoor remains effective. The authors consider semantic content more critical than position, and state that this hypothesis will be tested in Section 7.3. Cross-attention explicitly distinguishes modalities, which the authors consider contradictory to the position-invariance assumption.
- Corollary 6.1.1: If Minf's encoder and projector are invertible, then there exists a trigger function such that the infection loss equals the injection loss. The construction maps the Minj trigger embedding back to Minf via the pseudoinverse of the projector and encoder.
- The authors therefore state that infection at least preserves the original attack effect, does not change weights, and leaves clean-input behavior identical to the original model; the Minf trigger comes from the same semantic representation and is thus less likely to be flagged by input anomaly detection. This is a corollary, not a detection experiment.
Trigger learning
- Real encoders and projectors are usually nonlinear and high-dimensional, so closed-form inversion is infeasible. The authors instead minimize the difference between "the output of the Minj poisoned input" and "the output of the Minf poisoned input", and state that its solution is an approximation of the original infection objective over the set of differentiable triggers (Theorem 6.2).
- An asymmetric similarity is then used: the score is higher when the reference embedding is semantically contained. Optimization is written as maximization over the perturbation parameter δ, maxδ∑x ShMinj(πMinf·εMinf(τMinf(x))). The authors state that gradient ascent is performed with learning rate rℓ, and that gradients pass only through Minf's encoder and projector, so the entire language model need not be backpropagated. The paper does not give the value of rℓ.
Constraints and implementation choices
- Practical constraints can be written as a feasible set. A small-perturbation example is C(x):={τMinf:|τMinf(x)−xMinf|p≤ϵ}. The paper does not give the p or ε used in the experiments.
- The implementation is on image-text LVLMs: text is Minj, image is Minf. The text backdoor used in the experiments was implanted by the authors with rank-8 LoRA on text-only samples, and the vision tower is not updated.
What experiments did the paper conduct?
The authors state that under most settings, an image trigger can activate the text backdoor, and that backpropagating only through the encoder and projector is more computationally efficient.
Experimental setup
- Models: 13 LVLMs: LLAVA-1.6-mistral (7B), LLAVA-1.6-vicuna (7B/13B), InternVL-3 (1B/2B/8B/14B), Qwen-2-VL (2B/7B), Qwen-2.5-VL (3B/7B), Gemma-3 (4B/12B). The appendix table additionally has LLAMA-3.2 (11B) for cross-attention.
- Injection: 4 target behaviors × 4 text triggers from BackdoorLLM, 16 configurations in total. 200 clean prompts and their poisoned versions per configuration; rank-8 LoRA, updating only text-related modules, with the vision tower unchanged. Appendix B states that training hyperparameters are reported; the excerpted main text does not list the learning rate or number of epochs.
- Infection input: Text is Minj, image is Minf. Effectiveness uses black-and-white images, changing only 10% of the positions in the image latent representation (Section 7.2). Robustness draws 100 random images from COCO, with the prompt "Describe the image." (Section 7.3).
- Metrics: ASR is the proportion of outputs exhibiting the target backdoor behavior; empty outputs and outputs containing non-English sentences are excluded in evaluation. ReI: when ASR rises, it is (image-triggered ASR − clean ASR)/(text-triggered ASR − clean ASR); when it falls, it is the negative change divided by clean ASR.
- Efficiency comparison: 8 poisoned models, 100 COCO images per model, at most 500 gradient steps and 500 inferences per image. The comparison is generic optimization that backpropagates through the entire LVLM. The paper does not mention LLM review or report the number of repetitions.
Main results
The table below takes only the COCO, Refusal–badnet column from Table 7. The Table 7 caption does not state the infection embedding proportion, so this column is not described as the 10% setting.
Swipe horizontally to read the table
Model Text-triggered ASR Image-triggered ASR No-trigger ASR LLAVA-1.6-mistral (7B) 1.000 1.000 0.000 LLAVA-1.6-vicuna (7B) 1.000 0.020 0.010 InternVL-3 (2B) 1.000 1.000 0.245 InternVL-3 (14B) 1.000 1.000 1.000 Qwen-2-VL (2B) 1.000 1.000 0.000 Qwen-2.5-VL (7B) 1.000 1.000 0.070 Gemma-3 (4B) 1.000 1.000 0.000 Gemma-3 (12B) 1.000 1.000 0.000 LLAVA-1.6-vicuna (13B), InternVL-3 (1B/8B), Qwen-2-VL (7B), and Qwen-2.5-VL (3B) are omitted. The lowest image-triggered ASR in this column is vicuna (7B)'s 0.020.
- The authors state that in Figure 4 (13 models, 16 configurations, black and white images) most ReI values are greater than 0, and several exceed 1, so image infection sometimes elicits the target behavior more than the original text trigger. The text does not give the values of each bar.
- The introduction states that for Gemma-3(4B), infection increases ASR by at most 330%; the conclusion states at most a 330% amplification, without further restricting the model.
- Not every cell in the same Table 7 is high: Gemma-3(4B)'s Refusal–vpi image-triggered ASR is 0.000 (text-triggered is 1.000); Qwen-2.5-VL (7B)'s Refusal–ctba image-triggered ASR is 0.000. InternVL-3 (14B)'s no-trigger ASR for all four Refusal categories is already 1.000.
Real images and exclusions
- Section 7.3 uses text and COCO images different from the training distribution. The authors state that most ReI values in Figure 6 are positive, and state that when the "smoke" trigger is paired with black-and-white images, infection amplifies the original backdoor; that sentence does not give ASR. The legend includes Trend (Avg of all models), and the text does not give the endpoints of the average curve.
- 26 of 208 configurations are excluded: those that persistently give non-English or empty responses to real inputs, or whose no-trigger ASR is 1. The authors state that these models do not generalize a backdoor trained only on text to real multimodal settings.
Stealthiness and degree of infection
- Figure 5 is LLAVA-1.6-Vicuna (13B), refusal–ctba. The authors state that the trigger in this paper is imperceptible to the human eye, while the generic method's changes are more obvious; they also state that for most other configurations the trigger norms are similar, and the visibility difference is usually small. The specific norms in the figure are not given in the main text.
- In 12 of the 16 configurations, ReI rises with the replacement proportion or the number of inserted entries (Figure 6). The horizontal axis is 10%, 20%, 30%, 40%, and 1, 5, 10, 20 embeddings.
Efficiency and cross-attention
- The method in this paper finds the trigger within 500 iterations on 5/8 models, versus 3/8 for naive (Section 7.5). Some configurations time out or do not find the trigger. Figure 7 states that except for InternVL-3 (1B), the solved ratio in this paper is higher at the same tFLOPs; the authors attribute this exception to the vision encoder dominating the model size. On LLAVA-1.6-Vicuna (13B), the authors state that 100 tFLOPs suffices to learn the trigger for most images. The Figure 7 caption lists Gemma-3 (12B), while Table 1 writes Gemma 3 (4B); the two are not conflated.
- Table 10: For LLAMA-3.2 (11B) on the four trigger categories of Refusal and Negsentiment, the IMPROVEMENT at proportions 0.1 to 0.9 is 0.000 in all cases. Among these, Refusal–badnet's text-triggered ASR is 1.000 and no-trigger is 0.000, and there is still no improvement on the image side. The authors state that cross-attention preserves modality separation, making infection harder; they also state that this structure may reduce performance and flexibility, and that an attacker may still target the attention layers directly.
Other ablations and analyses
- Table 8: Replacing 10%, 20%, 30%, 40% of image latent embeddings on COCO, reporting ASR and IMPROVEMENT.
- Table 9: Inserting N=1, 5, 10, 20 trigger vectors, likewise reporting IMPROVEMENT.
- In the black-image comparison of Table 5, Qwen-2-VL (2B)'s negsentiment–sleeper IMPROVEMENT is -0.459; that row is the ASR difference between Insert and No Insert, not ReI.
- Several rows in Table 1 are marked Time out, including Gemma 3 (4B)'s negsentiment-badnet, and LLAVA-1.6-Mistral (7B) and Vicuna (7B)'s negsentiment-badnet. The two pure-text rows are a pair, and a single cell's solved ratio is not separately cited as an aligned number.
What are some points that can be further explored?
The paper does not have an independent limitations section; the appendix plans to study defenses with formal guarantees.
Limitations and future directions noted by the authors
- The Next Steps in the appendix's Ethical Considerations states: future work will focus on defenses with formal guarantees and will collaborate with platform maintainers to integrate protection mechanisms.
- The paper has no Limitations section, and the Conclusion does not describe any experimental gap as a shortcoming. Section 7.6's discussion of the trade-offs of cross-attention defenses is not written as a limitation of the method in this paper.
Scope of experimental coverage
- The main experiments cover 13 image-text LVLMs, with text as Minj and image as Minf; there are also cross-attention results for LLAMA-3.2 (11B) (Table 10, Appendix A). Section 6.1 states that cross-attention contradicts the position-invariance assumption, and the construction of Corollary 6.1.1 does not cover such models.
- Behaviors and triggers come from 16 configurations of BackdoorLLM; injection uses 200 clean prompts per configuration and the corresponding poisoned text, rank-8 LoRA, and the vision tower is not updated (Appendix B).
- The black-and-white image experiments change only 10% of the image latent representation positions (Section 7.2); the COCO experiments use 100 random images per model (Section 7.3); the efficiency experiments cover 8 of these poisoned models, with at most 500 iterations per image (Section 7.5).
- The real-image analysis excludes 26 of 208 configurations (Section 7.3). ASR is computed according to BackdoorLLM criteria, excluding empty outputs and outputs containing non-English sentences.
- The paper does not report statistical significance tests, reviewer and human agreement, the value of the learning rate rℓ, or the number of queries other than tFLOPs and the 500-iteration cap.
Summarize the main content of the paper
A text backdoor can be activated cross-modally via an image trigger; the authors state that Gemma-3(4B)'s ASR increases by at most 330%.
Backdoor infection, without changing weights, transfers a backdoor already present in one modality to be activated by input from another modality.
- Problem: The shared latent space means the language model no longer distinguishes which modality an embedding came from. The authors argue that implanting on the vision side is costly, while text triggers must remain natural in discrete language, so this asymmetry can be exploited for cross-modal activation.
- Method: The threat model assumes the Minj backdoor and trigger are known, and the injection method is out of scope. Infection optimizes only Minf so that the projected embedding semantically contains the original trigger; gradients pass only through that modality's encoder and projector, and an ℓp constraint can be added. The assumption is limited to self-attention. In the experiments, the text backdoor is prepared with rank-8 LoRA, and the vision tower is not updated.
- Results: On 13 LVLMs and 16 BackdoorLLM configurations, the authors state that for black-and-white images most ReI values are greater than 0, and some exceed 1. The introduction states that Gemma-3(4B)'s ASR increases by at most 330%. On COCO and Refusal–badnet, LLAVA-1.6-vicuna (7B)'s image-triggered ASR is 0.020, and several models in the table are 1.000 (Table 7); Gemma-3(4B)'s Refusal–vpi image-triggered ASR is 0.000.
- Efficiency and boundaries: Of the 8 poisoned models, the method in this paper finds the trigger within 500 iterations for 5, and full-model backpropagation for 3. On LLAMA-3.2 (11B), Table 10's IMPROVEMENT is 0.000. The authors conclude that the shared latent space constitutes an additional activation channel, that infection can occur without updating weights, and that under some settings it amplifies the original backdoor.