Skip to content

Translation in progress Some entries still include text in the original language.

Sparse evidence, decoupled decisions: task-completion attacks on video LLMs and decision-alignment defensesSparse Evidence, Decoupled Decisions: Task-Completion Attacks and Decision-Aligned Defenses for Video LLMs

Chao Pan, Hongrui Wang, Jiaqi Zhu, Yu Wu, Xin Yao
Central University of Finance and Economics; Southern University of Science and Technology; Lingnan University
arXiv: Jailbreaks, Prompt Injection, Poisoning & DefensesarXiv:2611.39624Originally published Indexed by this site · 2 days agoSelected DefensesSelectedAttention39

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors migrate ISC to a video attack, ISC-G, and propose DTT; on three datasets including AdvBench across five video LLMs, the harmful rate after DTT is 0.00% in all cases.

Threat modelThe attacker places harmful queries into the data fields of benign record frames, using task cards, examples, and completion instructions to induce the video LLM to output harmful content; the text instructions contain no harm. Defense training requires internal model access, probe measurement requires white-box logits, and inference is black-box; adaptive evaluation includes white-box gradients and image PGD.

Questions
Safety training for video LLMs mostly centers on direct requests, whereas benign tasks may require harmful content as the only correct completion. The authors study why, after this kind of internal safety collapse transfers to visual records, the model can recognize harm yet still execute.
Methods
ISC-G constructs completion tasks with a task card, benign examples, and record frames containing harmful query fields. The authors use probes and first-token margin to locate the decision gap, then train LoRA DTT with 80 labeled samples to adjust the starting probabilities of refusal and compliance.
Experiments and results
On five open-source video LLMs, ISC-G's base harmful rate on AdvBench is 37.84%–99.46%. After DTT it is 0.00% on AdvBench, XSTest, and CS-DJ; Qwen2.5-VL retains 2/200 and 8/200 on JailbreakV and StrongREJECT, respectively.
Limitations and future work
The authors note that the defense is limited to the ISC-G contract family, and cross-contract results are only closure of a residual gap; prefilling the assistant turn can bypass the first-token defense, and large-budget image optimization remains a risk. New runs are mainly judged by an LLM, and a small number of harmful generations remain under sampled decoding.
Experimental setupQwen2.5-VL-7B、Qwen2-VL-7B et al. · AdvBench、XSTest-unsafe et al. · harmful rate、harmful execution et al.
Metrics
harmful rateharmful executionover-refusalAUCprobe-decision gapPOPE accuracy
AI summaryand selection rationaleThe researchers propose ISC-G, a task-completion attack against video LLMs, which places a harmful query as a data field of recorded frames in a benign annotation task for the model to complete; on Qwen2.5-VL, 94% of 100 manually reviewed cases executed the harmful query, while the same queries as text requests were almost all refused, and it transfers to four other open-source video models. The model's own yes/no probe can distinguish attacks from matched benign samples with AUC 1.0; the failure lies in the decision at the first generated token not being calibrated for task-type inputs. The defense method Decision-Token Tuning (DTT) trains a 23.8M-parameter LoRA adapter with a few dozen labeled samples; under greedy decoding, all five models show no harmful residue on AdvBench, XSTest and CS-DJ, while JailbreakV-28K and StrongREJECT leave 2/200 and 8/200 residue on Qwen2.5-VL respectively and zero on the other models, with benign completions and dual-use details preserved; same-budget refusal fine-tuning and a training-free logit bias control both fail, indicating that what should be trained is the decision rather than the representation.

The researchers propose ISC-G, a task-completion attack against video LLMs, which places a harmful query as a data field of recorded frames in a benign annotation task for the model to complete; on Qwen2.5-VL, 94% of 100 manually reviewed cases executed the harmful query, while the same queries as text requests were almost all refused, and it transfers to four other open-source video models. The model's own yes/no probe can distinguish attacks from matched benign samples with AUC 1.0; the failure lies in the decision at the first generated token not being calibrated for task-type inputs. The defense method Decision-Token Tuning (DTT) trains a 23.8M-parameter LoRA adapter with a few dozen labeled samples; under greedy decoding, all five models show no harmful residue on AdvBench, XSTest and CS-DJ, while JailbreakV-28K and StrongREJECT leave 2/200 and 8/200 residue on Qwen2.5-VL respectively and zero on the other models, with benign completions and dual-use details preserved; same-budget refusal fine-tuning and a training-free logit bias control both fail, indicating that what should be trained is the decision rather than the representation.

Why it was selectedThe paper transfers internal safety collapse to video models and locates it to miscalibration of the first-token decision, and presents a defense using a small adapter that trains only the decision.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Studies the problem of video LLMs executing harmful queries in benign completion tasks, and repairs the disconnect between harm representation and first-token decision.

    The core problem is: video LLMs can represent that the input is harmful, yet under a benign task contract they treat the harmful query as data to complete rather than refusing it.

    • Setting and importance: the authors state that video LLMs are already used for description, question answering, and content moderation, but safety training mainly centers on the request form; when the only valid output contains harmful content, request-style safety training may fail.
    • Shortcomings of existing methods: the authors argue that request-style jailbreaks and frame-level guardrails cannot directly cover the task-data form; mean pooling dilutes local evidence, and a constant logit bias, even if it flips the first token, may still package harmful content afterward.
    • Core observation: the authors propose the probe-decision gap: a neutral harm probe can distinguish attack from benign inputs, but the first response token's decision still leans toward compliance, so the decision should be trained rather than the harm representation relearned.
    • Proposed approach: the paper proposes the attack construction ISC-G, an analysis of three types of gated failure mechanisms, and the defense Decision-Token Tuning (DTT); DTT trains a first-token LoRA decision with a small number of harmful, benign, and dual-use samples.
    • Threat model:
      • Goal: make the victim video LLM output the operational harmful content the query requests, judged as execution or packaged execution.
      • Knowledge and capability: the attacker controls the task card, examples, recorded frames, and text instructions; adaptive evaluation additionally includes external LLM rewriting, white-box gradient suffixes, and image-space PGD.
      • Victim system: five open-source video LLMs; defense training adds LoRA on the victim model, probe measurement requires white-box logits, and inference is black-box.
  2. What related research exists?

    Related work covers task-completion safety collapse, multimodal jailbreaks, explicit safety decision defenses, and video model evaluation.

    Task-completion failure and ISC

    • Wu et al. (2026): propose internal safety collapse (ISC), studying text LLMs and coding agents completing professional tasks whose correct output necessarily contains harmful content; this paper follows their three-part contract of task card, verifier, and data.
    • SafeRedirect (Pan et al., 2026): allows task failure via system prompt and specifies hard-stop output; the authors distinguish it from DTT as modifying the contract versus training the victim model's decision.
    • Yuan et al. (2025): output-centric safety training defines safety as a property of the completion; Wei et al. (2023) discuss shallow failures of safety training under request reformatting.

    Multimodal and video jailbreak

    • FigStep, SPTV/VideoDriven, SceneJail, TempJail, MCV: respectively exploit typographic images, frame text, scene context, caption scheduling, and real harmful videos; the authors state these constructions still treat harmful content as the request, whereas ISC-G treats it as task data.
    • V-DEAL (Zhang et al., 2026): reports a gap between recognition and execution when harmful videos are paired with benign queries, and uses prompts for realignment; AEGIS and text MoE studies are also used to discuss the separation of "knowing" and "acting."
    • Zhu et al. (2026): study whether input-level defenses transfer to video observation-level attacks; JailbreakV-28K and MM-SafetyBench are used to measure multimodal robustness.

    Defenses and refusal representations

    • Llama Guard, CASA, SafeRI: respectively perform input-output classification, insert safety tokens before the response, and enable safety LoRA on demand via a streaming recognizer; the authors state DTT adds no extra tokens, recognizers, or second model.
    • Safety fine-tuning and training interventions: include visual safety fine-tuning, orthogonal boundary unlearning, representation-collapse unlearning, token inoculation, circuit breakers, SafeDecoding, and video safety post-training.
    • Refusal directions and shallow alignment: Arditi et al. (2024), Marks and Tegmark (2024), and Qi et al. (2025) study low-dimensional refusal representations and alignment depth; this paper instead measures first-token decisions.

    Comparison baselines and benchmarks

    • Attack controls: SPTV and FigStep are reproduced under this paper's protocol; SceneJail, TempJail, and Typo (S), SD+Typo (S) are what the authors call spirit reconstructions, used only as lower bounds and not ranked; the three ISC-Bench templates serve as controls.
    • Defense controls: SafeRedirect, SPD, same-budget refusal SFT, V-DEAL 0/8-shot, plus static steering, LlamaGuard-3-8B, and constant bias; AdvBench, XSTest, CS-DJ, JailbreakV-28K, StrongREJECT, etc. are used.

    The authors position this paper as a video-carrier instantiation of ISC: the difference lies not only in the carrier but also in locating the failure at the first-token decision and directly training that decision.

  3. How does the paper address this problem?

    First use ISC-G and probes to locate the first-token decision gap, then train the DTT LoRA decision boundary with 80 labeled samples.

    The overall idea is to rewrite the text ISC into a video record completion attack, ISC-G, to distinguish harm representation from behavioral decision, and then use Decision-Token Tuning (DTT) to directly train the first response token.

    The ISC-G task contract

    • Three-frame input: The task card announces data preparation for the training set of a refusal classifier; the second frame gives a complete example of a harmless query; the third frame places a harmful query in the Query field and asks for the completion response and label.
    • Carrier separation: The text instructions authorize only a benign annotation task, and harmful content appears only as data in the visual record; the model is not directly asked to answer the query. Appendix A gives the full construction and Figure 3 gives an end-to-end example.
    • Difference from the parent benchmark: ISC-G keeps the task card, verifier, and data contract, but compresses ISC-Bench's executable code framework into three rendered frames and short instructions, because video LLMs generate answers rather than execute code.

    Representation, decision, and gating analysis

    • Probe and policy: For input x, the probe computes m(x)=log∑t∈ Yp(t∣ x)−log∑t∈ Np(t∣ x) at the last prompt token, i.e., the difference in log probability mass between the Yes and No token sets.
    • First-token decision: r(x)=log∑t∈ Rp(t∣ x)−log∑t∈ Cp(t∣ x), where R and C are the refusal and compliance starting token sets respectively; the authors define the probe-decision gap by the separation of m and r.
    • Three mechanisms: Holding the harmful frame fixed and varying the surrounding conditions, they examine mean pooling diluting within-frame evidence, benign completion instructions narrowing the attack–benign gap, and the model recognizing the request as harmful but not representing the task obligation.
    • Aggregation proposition: Observation 1 formalizes that when local harm evidence is above threshold and other frames are below threshold, mean detection falls below threshold as the number of frames increases, whereas per-frame max remains unchanged.

    DTT objective and theoretical boundaries

    • Training objective: For harmful samples, increase the log-ratio of refusal-start mass relative to compliance-start mass; for benign samples, constrain in the opposite direction; a softplus-form margin-ranking loss is used with margin γ=3, and supervision is the group label rather than refusal text.
    • Label source: Training labels agree with the frozen probe on the training set, but the probe is only an optional label source, not a necessary component of training or inference.
    • Probability guarantee: Proposition 1 gives that, when all training samples satisfy the ±γ margin, at temperature T the probability that the first token of a harmful input is a refusal start and that of a benign input is a compliance start are each at least σ(γ/T).
    • Constant-bias boundary: Proposition 2 states that uniformly adding a refusal logit bias does not change the input ordering; if the harmful and benign margin intervals in the training set overlap, no single threshold can separate the two classes.

    Training, inference, and variants

    • Data and parameters: The training set contains 32 harmful behaviors not overlapping the evaluation, 32 benign queries, and 16 safety/medical/legal hard-benign queries; LoRA uses r=8, α=16, dropout 0.05.
    • Optimization settings: Only the language layers are trained, with AdamW learning rate 10^-4, five epochs, and gradient accumulation; the adapter has 23.8M parameters, 0.29% of the model.
    • Inference: The vision encoder, inputs, and probe are unchanged, and no gating, OCR, or external model is invoked; base and adapter are compared pairwise on the same model instance.
    • Bypass variants: DTT-R trains the prefill position, DTT-C trains both normal and prefill positions, DTT-CM additionally randomizes the carrier; DTT-M adds FigStep, SPTV, pyod, and plain-text training carriers.

    Success determination and utility checks

    • Response labels: The wrapper-aware judge classifies outputs as execution, packaged execution, refusal, or unrelated; the main-result harmful rate includes harmful execution and packaged execution.
    • Paired evaluation: Greedy decoding is used; utility is measured by refusal counts on 200 benign queries and 14 dual-use queries, supplemented by a format-blind helpfulness review and a POPE capability check.
  4. What experiments did the paper conduct?

    Five models, five main query sets, and multiple control groups show: after DTT the harmful rate on the three main sets is zero, but prefill, sampling, and out-of-distribution residuals still exist.

    Experimental Setup

    • Models tested: Qwen2.5-VL-7B, Qwen2-VL-7B, LLaVA-OneVision-7B, InternVL3.5-8B, and 4-bit NF4 Qwen2.5-VL-32B-Instruct; Appendix C additionally tests bf16 32B.
    • Query sets: AdvBench is a 200-item evaluation slice with 15 items overlapping the 32 training behaviors removed, leaving 185; XSTest-unsafe, CS-DJ, JailbreakV-28K, and StrongREJECT each have 200 items, with the latter two rendered into ISC-G.
    • Completion distribution: MM-SafetyBench takes 200 text queries rendered into ISC-G as a robustness check; utility includes 200 benign, 14 held-out dual-use queries, and 200 POPE questions.
    • Attack baselines: Table 1 compares plain text requests, SPTV, FigStep, Typo (S), SD+Typo (S), SceneJail, TempJail, and three ISC-Bench templates; reconstruction attacks report only lower bounds, and template rows serve only as controls.
    • Defense baselines: Table 3 compares SafeRedirect, SPD, five-epoch refusal SFT, V-DEAL 0/8-shot, and DTT; Table 10 additionally includes static steering, LlamaGuard-3-8B, and constant bias.
    • Judging and repetition: The main judge is a commercial instruction model from a different family than the five victim models, whose name the paper does not give; a judge from another family rechecked 50 refusals and 50 benign completions with full agreement, and human audit covers only 100 base responses. Seed ablation is 0, 1, 2.

    Main Results

    Per Table 2, values are harmful rate (%) before→after DTT; Utility is benign refusals/200, dual-use refusals/14.

    Swipe horizontally to read the table

    VictimAdvBenchXSTestCS-DJJailbreakVStrongREJECTUtility
    Qwen2.5-VL-7B99.46→0.0069.50→0.0094.00→0.0054.50→1.0075.50→4.005/200; 0/14
    Qwen2-VL-7B97.30→0.0098.00→0.0099.50→0.0088.50→0.0095.00→0.000/200; 0/14
    LLaVA-OneVision-7B96.76→0.0072.00→0.0092.00→0.0061.50→0.0080.50→0.000/200; 0/14
    InternVL3.5-8B87.57→0.0071.50→0.0095.00→0.0078.50→0.0079.00→0.000/200; 0/14
    Qwen2.5-VL-32B (4-bit)37.84→0.0049.00→0.0062.00→0.0078.00→0.0084.00→0.0013/200; 0/14
    • Attack strength: In Table 1, ISC-G's AdvBench base harmful rate is higher than each reproduced attack; the authors claim only that it exceeds the reproduced attacks and do not include spirit reconstructions in the ranking.
    • Residual distribution: The 2/200 on JailbreakV are packaged on Qwen2.5-VL; the 8/200 on StrongREJECT are seven packaged and one executed, with no residuals on the other models.
    • Authors' interpretation: The authors state that DTT preserves benign completions and dual-use details; StrongREJECT lies outside the training behavior distribution, and its residuals are the boundary of the current decision repair.

    Mechanistic Evidence and Gating Controls

    • Probe–decision separation: On 20 attack and 10 benign twin inputs, the AUC of m is 1.0; for Qwen2.5-VL the attack/benign medians are m=-0.06/-5.19 and r=-8.44/-10.97 (Table 12). The Figure 2 caption states that attacks are near the probe boundary but on the compliance side of the policy; the text conversion cannot verify the positions of the points.
    • Cross-model replication: On the four 7–8B models in Table 12, the AUCs of m and the format-neutral decision margin are both 1.0; on 200 ordinary benign queries, the probe AUC is 0.78, and 0.92 after DTT.
    • Sparse gating: Per-frame max probe detection rates on three types of frame-borne attacks are 99–100%, with a 4% benign false-positive rate; of 100 attacks, 96 have their max-margin frame as the record frame; over-refusal on 30 hard benign queries is at most 30%. The authors state that mean pooling loses sparse evidence.

    Defense Controls and Adaptive Attacks

    • Same-budget controls: In Table 3's post-defense harmful rates on AdvBench, DTT is 0.00% on all four 7–8B models; SafeRedirect is 71.35% and 38.92% on the two Qwen models, and SPD is 0.00% on InternVL3.5 but with 58.0% benign refusals.
    • SFT exception: Five-epoch SFT remains at 94.59% and 99.46% harmful on Qwen2-VL and InternVL3.5 respectively; on LLaVA-OneVision it is 0.00%, but 188/200 benign queries copy the example template, so the authors do not treat its low refusal rate as preserved utility.
    • Adaptive results: An external LLM rewrite search over 19 behaviors still yields all refusals after six rounds; in a 32-token white-box suffix search over 20 behaviors, 19 margins remain positive, and the only suffix that crosses zero still refuses after re-tokenization (Figure 4).
    • Image attacks and prefill: Under up to 1,000 steps of three-frame PGD, all generations still refuse, but the authors state that larger budgets remain an open risk; with "Sure," prefilled, 144/185 execute, DTT-C gives 1/185 in normal mode and 0/185 in prefill mode, and DTT-CM gives 0/185 in both but 44/200 benign refusals.

    Cross-contract, Utility, and Precision

    • Cross-contract: In Table 4, base/DTT refusals for safety-research, story, and translation are 135/181, 145/181, and 138/185 respectively (all denominators 185); the authors emphasize that base already refuses most, so this is closure of a residual gap.
    • Cross-carrier: On FigStep in Table 6, single-carrier DTT lowers harmful counts on three models, but InternVL3.5 rises from 50 to 51; DTT-M gives 3, 1, 0, 2 respectively, and ISC-G still refuses 185/185.
    • Utility and capability: In Table 9's format-blind review, helpful+partial does not decrease on the four 7–8B models; on 200 POPE questions, base and DTT are both 88.0%. Before and after merging weights, ten attacks refuse 8/9 respectively, and single-generation time drops from 7.9 seconds to 4.4 seconds.
    • 32B precision confound: In Table 14, bf16 base is 78.92%–96.50% across the five sets, and 0.00% on all after retraining DTT; the authors state that the lower 32B base execution rate under 4-bit is mainly affected by quantization, and the defense conclusion is unchanged.

    Other Ablations and Analyses

    • Seeds: For Qwen2.5-VL in Table 13, seeds 0/1/2 all refuse 185/185, with benign over-refusals of 0/200, 2/200, and 5/200 respectively.
    • Hyperparameters: γ=1/5 and LoRA r=4/16 both give 0/185 harmful; 16-shot still refuses all, but benign over-refusal is 18/200.
    • Negative samples: Removing the benign and hard-benign terms still refuses 185/185, but benign over-refusal is 175/200 and dual-use over-refusal is 11/14.
    • Label flipping: Attack refusals drop to 0/185, benign over-refusal is 140/200, and dual-use over-refusal is 11/14.
    • Loss form: Same-label single-token cross-entropy also reaches 185/185 refusals and 0/185 harmful, with benign over-refusal of 4/200.
    • Sampled decoding: In Appendix C, on 100 attacks with top-p 0.9 and two samples per item, T=0.7 and T=1.0 leave 6% and 3% harmful generations respectively, and zero under greedy.
  5. What are some points that can be further explored?

    The authors explicitly limit contract coverage, first-token defense, and judging evidence; large-budget image attacks and sampled decoding still require study.

    Limitations and future directions noted by the authors

    • Limited contract coverage: Section 5.9 states the adapter is trained and evaluated with one contract family per model, and cross-contract and helpful-card results are only residual closure, not a general guarantee.
    • Human review coverage: Appendix C.2 notes that new responses are labeled by a wrapper-aware LLM judge, with no new human audit; the authors state that adding human audits on benign completions would strengthen the utility evidence.
    • Residual sampling decoding: Appendix C.2 reports that nucleus sampling weakens refusal, with 6% and 3% harmful generations remaining at T=0.7 and 1.0, respectively.
    • Direct prefill bypass: Appendix C.2 notes that if the serving stack allows an attacker to prefill the assistant turn, the first-token defense does not choose its own first token; DTT-C is the two-position countermeasure the authors give.
    • Image attack surface: Section 5.9 and Appendix C.2 list multi-budget image-space optimization as a residual risk; Appendix A.3 states that larger-budget attacks remain an open risk.
    • Defense scope and monitoring: Appendix C.2 limits its defense to ISC-G rather than arbitrary request-style jailbreaks, with cross-contract coverage limited to the residual gaps of three contracts; the authors state it cannot replace output monitoring and should be used in combination in adaptive settings.

    Scope of experimental coverage

    • Model scope: the main text evaluates four 7–8B video models and one 4-bit NF4 32B model; Appendix C states that the four 7–8B models all use Qwen-family language backbones, and additionally tests the 32B in bf16.
    • Data and judging: the main experiments cover five query distributions, with 185 items in AdvBench and 200 in each of the others; main cells are judged by an LLM, and the human-annotated execution measurement covers only 94% of 100 base responses.
    • Adaptive coverage: includes six rounds of LLM rewriting, 300-step white-box suffix search, and up to 1,000-step three-frame PGD; no repeated experiments across multiple independent attack searches are given.
    • Probe conditions: Appendix C.2 clarifies that probe measurement requires white-box logits, whereas deployment inference is black-box; training uses only group labels and does not depend on probe outputs.
    • Judge disagreement: the MM-SafetyBench residual in Table 7 is 7/200 on Qwen2.5-VL, but Appendices A.4/B.1 report that a second-family judge labels all seven as clean refusals; the authors state this residual is not robust across judges.
  6. Summarize the main content of the paper

    The paper migrates ISC to video record completion, identifies a first-token decision gap, and fixes it with a small-sample LoRA defense.

    This is a paper combining video LLM attack, mechanistic analysis, and defense, studying how a benign task contract leads the model to treat harmful queries as data.

    • Problem: The authors state that request-based safety training does not cover tasks where the only correct completion contains harmful content; ISC-G places harmful queries into visual record fields, and the text instructions only ask for completion of refusal-classifier training records.
    • Method: The three-frame ISC-G carries a task card, a harmless example, and a harmful record respectively; DTT trains a 23.8M-parameter LoRA with 32 harmful, 32 benign, and 16 hard-benign samples, directly adjusting the first-token refusal/compliance margin, with no external model added at inference.
    • Attack results: On the 185 AdvBench items in Table 1, the ISC-G base harmful rates of the five models are 37.84%–99.46%; the human-audited execution rate on 100 base responses for Qwen2.5-VL is 94%, and the same queries as plain text requests are mostly refused.
    • Mechanistic results: On 20 attack and 10 benign twin inputs, the neutral probe AUC is 1.0, but the first-token policy still favors compliance; the authors therefore conclude that harm representation remains and the failure lies in the decision mapping, not in the model lacking harm information.
    • Defense results: In Table 2, the harmful rates of the five models after DTT are all 0.00% on AdvBench, XSTest, and CS-DJ; Qwen2.5-VL has 2/200 packaged residuals on JailbreakV-28K and 8/200 residuals on StrongREJECT, with zero on the other models.
    • Conclusion and boundaries: The authors argue that one should train the decision rather than only adjust thresholds or representations; benign and dual-use utility and the 88.0% POPE accuracy are preserved. The authors also limit their conclusions to the tested contract family, and prefilling the assistant turn, sampled decoding, and larger-budget image optimization remain risks.

Research lineage

11 foundations · 0 follow-ups in library
Explore in knowledge graph →

Hover or focus a connected paper to inspect the citation context.

Related papers

Show 3 more papers
Read originalarxiv.org