Skip to content
Preprint

SafeCA: Safe Cross-Attention Localization and Regulation for Text-to-Video Jailbreak Defense

Aug 2026 · 0 citations · 44 references
Computer Science

TL;DR

This work experimentally and systematically analyzes the differences between clean and jailbreak samples in the cross-attention feature space, revealing for the first time a cumulative separation effect and a progressively increasing trend of linear separability between the two during the diffusion process.

Abstract

Text-to-Video (T2V) generative models are vulnerable to jailbreak attacks in real-world deployment, leading them to produce harmful or inappropriate content. Existing defense approaches mainly rely on input filtering or reconstruction, which not only incur high computational latency but also tend to distort semantics. To address these issues, we experimentally and systematically analyze the differences between clean and jailbreak samples in the cross-attention feature space, revealing for the first time a cumulative separation effect and a progressively increasing trend of linear separability between the two during the diffusion process. Based on this insight, we propose SafeCA, a feature-level defense mechanism for safe cross-attention localization and regularization. Firstly, we identify key defensive regions and values through attention stability analysis using cross-attention features collected from clean prompts within a single inference. Secondly, SafeCA mitigates anomalous activations via attention masking with energy normalization and introduces a lightweight semantic-space adapter to redirect abnormal semantic flows. Furthermore, we detect and suppress potentially malicious tokens by back-propagating feature anomaly signals to the input cue words, thereby enhancing the deployability of the defense in commercial models. Experimental results show that SafeCA reduces the jailbreak success rate by about 20% on mainstream T2V models, adds almost no inference overhead (+0.1s), and maintains good text-video semantic consistency. Overall, SafeCA provides an architecture-level, deployable protection paradigm for T2V generation models.

View source

Similar papers

DRIP: Defending Prompt Injection via Token-wise Representation Editing and Residual Fusion

DRIP aims to achieve a new security-utility balance by “de-instructionalization”, i.e., precisely removing the instruction semantics from tokens in the data section while preserving their data semantics and robustly maintain the effectiveness of the intended instruction, even against strong adversarial content.

Zhiyong Huang, Jin Dong · 0 citations
Preprint Aug 2026

TempJail: Temporal Jailbreak Attacks against Image-to-Video Generation Models

This paper proposes TempJail, a novel temporal jailbreak framework for I2V systems, and investigates three attack scenarios and uncover a temporal vulnerability in I2V systems: unsafe semantics may emerge not from a single frame, but from semantic composition over time.

Qiang Lu, Zehui Guo, D. Gan et al. · 0 citations
Review Open access Sep 2026

Preventing the Impact of AI Deepfakes on Journalistic Integrity: A Hybrid Approach to Detection and Prevention

Deepfakes pose a direct challenge to journalistic verification because convincing synthetic video and audio can circulate faster than manual fact-checking, while many high-performing detectors remain costly or lose reliability under compression and domain shift. This study presents a newsroom-oriented hybrid framework...

Anish Chelliserikatil Pavithran · 0 citations
Preprint Sep 2026

The Price of Consistency: Exploiting Visual Anchors for Multimodal Jailbreaking in Video Generation

The visual anchoring effect is revealed: by enforcing consistency, the mechanism prevents the generated content from drifting away from the original harmful intent, thereby eliminating the model's natural safety escape route from harmful to benign content.

Peng Li, Qian-Qian Xu, Yangbangyan Jiang et al. · 0 citations
Preprint Aug 2026

DiSCO: Defending text-to-image generation through distribution-guided contrastive prompt optimization

DiSCO is proposed, a zero-shot, strictly black-box defense that operates entirely at the prompt level as a plug-and-play module, requiring no model retraining, fine-tuning, or access to model internals, and can be readily applied to any text-to-image system without necessitating any changes to the model itself.

Tong Zhang, M. Alfarra, Carlos Hinojosa et al. · 0 citations
Preprint Sep 2026

Do Input-Level Defenses Transfer to Observation-Level Attacks on VideoLLMs?

DefTEval is introduced, a controlled evaluation framework that systematically assesses whether input-level adversarial defenses, which operate on the pixel content of already-sampled frames, can mitigate observation-level attacks and demonstrates that securing VideoLLMs requires system-level robustness mechanisms spann...

Bang-Shuo Zhu, Wei Song, Yu-Xin Cao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.