T2VAttack: Adversarial Attack on Text-to-Video Diffusion Models

Changzhen Li, Yuecong Min, Jie Zhang, Zheng Yuan, Shiguang Shan, Xilin ChenarXiv 2025 · DOI

Introduction

Text-to-Video (T2V) diffusion models have seen rapid advancement, yet their robustness against adversarial manipulation remains largely unexplored. While Text-to-Image (T2I) security is well-studied, the temporal dimension of video—multi-frame consistency and motion dynamics—introduces unique vulnerabilities. T2VAttack is the first comprehensive framework designed to evaluate these weaknesses. By applying subtle, often single-word modifications to text prompts, researchers demonstrate that state-of-the-art models like CogVideoX and HunyuanVideo can be coerced into generating videos with collapsed semantics or entirely frozen motion.

Methodology

The T2VAttack framework operates through two primary attack objectives and two distinct strategies.

Attack Objectives

  1. Semantic Objective: Aims to disrupt the alignment between the prompt and the generated video. It utilizes ViCLIP, a video-text foundation model, to minimize the cosine similarity between text features and video features.
  2. Temporal Objective: Aims to "freeze" the video by minimizing motion intensity. It employs Optical Flow (RAFT) to calculate and reduce the movement between adjacent frames, effectively turning dynamic scenes into static ones.

Attack Strategies

  • T2VAttack-S (Substitution): This strategy identifies influential words within a prompt and replaces them with synonyms from WordNet. A greedy search ensures the substitution maximizes damage while preserving grammatical integrity.
  • T2VAttack-I (Insertion): This approach prepends optimized "prefix" words from a GloVe vocabulary to the prompt. An advanced variant, T2VAttack-I++, introduces character-level perturbations (e.g., typos) to evade automated detection.
Comparison of original videos versus semantic and temporal attacks using T2VAttack-S and T2VAttack-I strategies.

T2VAttackBench

To rigorously evaluate these attacks, the authors introduced T2VAttackBench. Derived from VBench and refined using GPT-4o, this benchmark ensures prompts describe visually rich, dynamic content. A two-step filtering process (Model-Centric Selection and Consensus Filtering) guarantees that "clean" prompts produce high-quality, well-aligned videos before any adversarial testing.

Key Insights and Results

The study reveals several critical vulnerabilities in current T2V models:

  • Single-Word Vulnerability: Minimal changes, such as adding the word "perforate" or substituting a single noun, can lead to total generation failure.
  • Temporal Sensitivity: Models are notably more susceptible to temporal attacks. T2VAttack-I achieved over a 90% reduction in motion scores for models like ModelScope and Open-Sora.
  • Part-of-Speech (POS) Impact: Semantic attacks are most effective when targeting nouns, whereas temporal attacks are sensitive to both nouns and verbs, indicating these parts of speech are foundational to motion modeling.
  • Stealth and Efficiency: Attacks maintain high semantic similarity (>0.80) to original prompts, making them difficult for humans to detect. Furthermore, they are "query-efficient," requiring only a few dozen queries to compromise black-box models.

Robustness and Future Directions

Interestingly, HunyuanVideo demonstrated superior robustness compared to its peers. This is attributed to its internal "prompt rewrite" mechanism, which acts as a defensive layer by normalizing adversarial inputs.

Despite their efficacy, these attacks are computationally expensive due to the need for full video generation per query. Future research must pivot toward developing robust defenses, such as adversarial training or more sophisticated input-cleaning layers, to safeguard T2V models in real-world applications like filmmaking and physical world simulation.

Summary updated

BibTeX
@misc{li2025t,
  author = {Changzhen Li and Yuecong Min and Jie Zhang and Zheng Yuan and Shiguang Shan and Xilin Chen},
  title = {{T2VAttack: Adversarial Attack on Text-to-Video Diffusion Models}},
  year = {2025},
  eprint = {2512.23953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23953},
}
Figure