Research
BEAT: Visual Backdoor Attacks on VLM-based Embodied Agents via Contrastive Trigger Learning
Overview Research area: Security and safety of Vision-Language Model (VLM)-based embodied agents; specifically visual backdoor attacks. Technical level: Intermediate (assumes familiarity with vision-l
- arXiv
- 2510.27623
- Published
- 2025-10-31
- Authors
- Qiusi Zhan, Hyeonjeong Ha, Rui Yang, Sirui Xu, Hanyang Chen, Liang-Yan Gui, Yu-Xiong Wang, Huan Zhang, Heng Ji, Daniel Kang
AI summary
Overview
- Research area: Security and safety of Vision-Language Model (VLM)-based embodied agents; specifically visual backdoor attacks.
- Technical level: Intermediate (assumes familiarity with vision-language models, fine-tuning, and the concept of backdoor attacks).
- Scope: The paper introduces BEAT, a framework that implants object-based visual backdoors into VLM-driven embodied agents so they behave normally until a trigger object appears in view, then execute a multi-step attacker-specified policy.
What This Paper Is About
VLM-based embodied agents can now "see, think, and act" directly from egocentric camera input, but this creates a new attack surface: an adversary can fine-tune a model so that it acts normally until a specific object appears in the scene, at which point it silently switches to a harmful multi-step plan. The problem is that object triggers look wildly different across viewpoints, lighting, and placement, so naively training the model on mixed benign and malicious data produces unreliable switches. BEAT's goal is to make that switch precise — activate reliably when the trigger is present and stay benign when it is not.
Key Contributions
- The first framework for visual backdoor attacks on VLM-based embodied agents. BEAT uses environmental objects (a knife in VAB-OmniGibson, a vase in EB-ALFRED) as triggers that redirect the agent to an attacker-specified multi-step policy, unlike prior work using static textual triggers or single-step visual triggers.
- A purpose-built three-part training corpus. The dataset combines benign trajectories, post-trigger backdoor trajectories generated by a rule-based malicious policy, and contrastive trajectory pairs that share identical interaction history but differ only in trigger presence.
- Contrastive Trigger Learning (CTL), a two-stage training scheme. After supervised fine-tuning (SFT) on the mixed dataset, CTL formulates trigger discrimination as preference learning between trigger-present and trigger-free inputs, sharpening the decision boundary for backdoor activation.
- Extensive evaluation across benchmarks and models, including VAB-OmniGibson and EB-ALFRED with Qwen2-VL-7B-Instruct, InternVL3-8B, and GPT-4o-2024-08-06, plus analyses of data efficiency, stealthiness, out-of-distribution trigger placements, hyperparameter sensitivity, and SFT ablations.
Main Findings
- High attack success with preserved benign performance. BEAT reaches attack success rates up to 80% (Table 1 reports 80.8 for InternVL3-8B on EB-ALFRED) while matching or exceeding models fine-tuned only on benign data in benign success rate. In VAB-OmniGibson, BEAT with Qwen2-VL-7B reaches SR 18.0 and ASR 77.9, versus Benign SFT's SR of 17.0.
- CTL drives the gains, not just SFT. Compared to BEAT w/o CTL, the full method yields absolute ASR gains up to 30% in VAB-OmniGibson and 19% in EB-ALFRED with Qwen2-VL-7B-Instruct. The paper reports CTL improving the backdoor activation F1 by up to 39% (0.951 for BEAT versus 0.562 for BEAT w/o CTL with InternVL3-8B on VAB-OmniGibson).
- Naive SFT is unreliable. Without CTL, false backdoor activations reach up to 80% on trigger-free inputs, and benign success rate drops by up to 60% relative to Benign SFT, making the model less appealing to a victim user.
- Near-zero false triggering. BEAT maintains a False Triggering Rate of 0.0 in all Table 1 settings, whereas omitting CTL leads to false activations reaching 80% FTR on EB-ALFRED with InternVL3-8B.
- Data efficiency. Across backdoor data ratios k ∈ {0.1, 0.2, 0.3, 0.5, 0.8, 1} on VAB-OmniGibson with Qwen2-VL-7B-Instruct, CTL improves both SR and ASR. At k = 0.1, CTL boosts ASR by more than fivefold.
- Generalization to unseen trigger placements. On five out-of-distribution scenes spanning 27 tasks (bathrooms, gardens, supermarkets, garages, hallways), BEAT still activates the backdoor policy 92.3% of the time.
- Multi-step plans are executed coherently. Successful backdoor trajectories require an average of 9.0 steps, confirming sustained rather than single-step malicious behavior.
- Both training stages are necessary. Using CTL alone (without SFT) produces high F1_BT (0.993 at k = 0.5, 0.985 at k = 1.0) and 0.0 FTR, but ASR remains substantially lower — up to a 19% gap versus full BEAT — and benign SR drops notably. SFT provides general task competence; CTL provides precise activation.
- Low hyperparameter sensitivity. Across the tested settings of the NLL weight α (0.2, 0.4, 0.6) and preference sharpness β (0.05, 0.1, 0.2), BEAT still achieves higher ASR and better benign SR than the model without CTL.
- GPT-4o was only partially evaluated. GPT-4o was fine-tuned via OpenAI's API with SFT only, since the API does not support DPO fine-tuning involving images; BEAT w/o CTL reached SR 23.0 and ASR 32.4 on VAB-OmniGibson.
Methodology in Plain English
The researchers assume an attacker can update a VLM's weights (directly for open-source models, via fine-tuning APIs for proprietary ones) and then release the compromised checkpoint publicly as a legitimate fine-tune. End users download it and deploy it into their agent pipelines.
To build the attack, they first collect benign trajectories: they run several VLMs (GPT-4o variants, InternVL 2.5-8B/38B/78B, Qwen2-VL-7B/72B Instruct) in simulated trigger-free environments and keep only successful task completions. They then build backdoor trajectories by manually placing the trigger object in diverse scenes and viewpoints; the agent runs benignly until the trigger becomes visible, at which point a rule-based policy takes over and demonstrates the malicious multi-step plan. Only the post-trigger segment is kept for supervision.
The key ingredient is the contrastive dataset. For each backdoor trajectory, they take the exact interaction history at the moment the trigger appears, then replay the same scene with the trigger removed to get a matched trigger-free frame. This produces preference pairs — in the trigger-free frame the benign action should be preferred, and in the trigger-present frame the malicious action should be preferred — with everything else held constant.
Training happens in two stages. Stage 1 is standard supervised fine-tuning on the union of benign and backdoor examples, interleaving both modes and using teacher forcing on action tokens. Stage 2, Contrastive Trigger Learning, freezes the SFT model as a reference and trains a new policy with a preference-learning objective that rewards the correct action in each visual context, plus a negative-log-likelihood anchor term to keep the model from drifting away from its SFT competence. The contrastive set is mixed with neutral SFT examples where the preferred and non-preferred actions are identical, controlled by a sampling ratio.
Evaluation uses four metrics: Success Rate (benign task completion), Attack Success Rate (achieving the attacker's goal under a benign instruction), False Triggering Rate (activating backdoor reasoning without the trigger), and the Backdoor Triggering F1 score, which penalizes both missed and spurious activations. Each benchmark uses 100 benign and 100 backdoor test scenarios with no overlap with training.
Why This Matters
This paper exposes a security risk that had not previously been studied in end-to-end vision-driven embodied agents: because these agents plan directly from pixels and execute multi-step actions in physical space, a hidden visual trigger can redirect them toward harmful behavior over many timesteps. The authors frame this as a gap that needs addressing before real-world deployment.
Real-world applications affected:
- Household and service robotics — a robot instructed to tidy a room could be silently redirected to move a dangerous object (the paper's example places a knife on a sofa).
- Warehouse and logistics automation — a manipulated checkpoint could cause a fleet agent to mishandle or misroute inventory when a particular object enters its camera view.
- Autonomous driving and delivery — objects in the scene (the paper cites prior work on red balloons in driving scenes) could trigger attacker-chosen behavior.
- Model distribution and supply chains — because the attack is delivered through publicly released fine-tuned checkpoints that perform well on standard benchmarks, downstream integrators have no obvious way to detect the backdoor by ordinary task evaluation.
Industry relevance: the paper is directly relevant to anyone fine-tuning and shipping VLM-based control policies, to model hubs that host such checkpoints, and to safety teams that need defenses and detection methods before autonomous agents are deployed in safety-critical settings.
Future Directions
- More complex trigger designs. The authors explicitly name object co-occurrence, specific spatial relationships between objects, and event-based triggers such as an apple falling to the ground as unexplored directions, noting that complex triggers make precise activation substantially harder.
- Defenses. No defense is proposed or evaluated in this paper; the conclusion calls for robust defenses to ensure reliable deployment of autonomous agents.
- Failure-mode-aware training data. The error analysis suggests mitigation by enriching the training set with backdoor trajectories that include failure conditions, rather than relying only on optimal action sequences.
- Extending CTL beyond object triggers. Whether preference-style backdoor training generalizes to other trigger forms is described as an important open question.
Target Audience
Researchers and practitioners in AI safety, adversarial machine learning, and embodied AI; engineers building or integrating VLM-based agent policies; and security teams evaluating third-party fine-tuned checkpoints. Readers with basic familiarity with vision-language models and fine-tuning will get the most from it, though the plain-language framing of the threat model is accessible to a broader technical audience.
Authors’ abstract
Recent advances in Vision-Language Models (VLMs) have propelled embodied agents by enabling direct perception, reasoning, and planning task-oriented actions from visual inputs. However, such vision-driven embodied agents open a new attack surface: visual backdoor attacks, where the agent behaves normally until a visual trigger appears in the scene, then persistently executes an attacker-specified multi-step policy. We introduce BEAT, the first framework to inject such visual backdoors into VLM-based embodied agents using objects in the environments as triggers. Unlike textual triggers, object triggers exhibit wide variation across viewpoints and lighting, making them difficult to implant reliably. BEAT addresses this challenge by (1) constructing a training set that spans diverse scenes, tasks, and trigger placements to expose agents to trigger variability, and (2) introducing a two-stage training scheme that first applies supervised fine-tuning (SFT) and then our novel Contrastive Trigger Learning (CTL). CTL formulates trigger discrimination as preference learning between trigger-present and trigger-free inputs, explicitly sharpening the decision boundaries to ensure precise backdoor activation. Across various embodied agent benchmarks and VLMs, BEAT achieves attack success rates up to 80%, while maintaining strong benign task performance, and generalizes reliably to out-of-distribution trigger placements. Notably, compared to naive SFT, CTL boosts backdoor activation accuracy up to 39% under limited backdoor data. These findings expose a critical yet unexplored security risk in VLM-based embodied agents, underscoring the need for robust defenses before real-world deployment.