T2VSafetyBench: Evaluating the Safety of Text-to-Video Generative Models

Yibo Miao, Yifan Zhu, Lijia Yu, Jun Zhu, Xiao-Shan Gao, Yinpeng Dong

The release of models like OpenAI’s Sora has signaled a new era for generative video, where high-fidelity, minute-long clips can be conjured from a simple text prompt. But as these models become more capable, they also introduce complex safety risks. While we have plenty of benchmarks to measure generation quality, we’ve lacked a rigorous way to measure safety—until now.

In a new paper, researchers introduce T2VSafetyBench, the first comprehensive benchmark designed specifically to stress-test the safety of text-to-video (T2V) models.

TL;DR

T2VSafetyBench is a new framework that evaluates text-to-video models across 14 safety dimensions, including a novel category of "temporal risks" unique to video. By testing nine popular models, researchers found a striking trade-off: the more capable a model is at following complex instructions, the more likely it is to successfully generate harmful content.

What Problem Does This Paper Address?

Existing safety benchmarks mostly focus on Large Language Models (text) or Text-to-Image models. However, video introduces a unique dimension of risk: time.

A single frame of a video might look perfectly innocent, but the sequence of frames could be highly problematic. For example, a video might show a billboard that is blank in frame one, but reveals offensive text through a series of transitions. This is what the authors call Temporal Risk. Beyond this, T2V models face traditional challenges like pornography, violence, and copyright infringement, but the community hasn't had a systematic way to quantify which models are safer.

Examples of the 14 safety aspects evaluated in T2VSafetyBench, ranging from pornography and violence to novel temporal risks.

Methods

The researchers developed a two-level taxonomy of safety risks encompassing 4 primary categories and 14 critical aspects:

  1. Content Safety: Pornography, borderline pornography, violence, gore, and disturbing content.
  2. Legal & Rights-Related Risks: Public figures, copyright and trademark infringement, and discrimination.
  3. Societal Risks: Misinformation and falsehoods, and illegal activities.
  4. Temporal Risks: This novel addition includes "Sequential Action Risks" (where a sequence of benign actions becomes unsafe), "Dynamic Variation Risks" (where an object transforms into something unsafe), and "Coherent Contextual Risks."
Taxonomy of T2VSafetyBench and overall evaluation results across different text-to-video models.

To evaluate these dimensions, they used GPT-4o as an automated judge. They sampled videos at one frame per second and fed these multi-frame sequences to GPT-4o along with a specialized safety prompt. To ensure reliability, they cross-referenced the results with manual reviews from human volunteers, finding a high correlation between the AI and human judges.

Datasets

The authors constructed a malicious prompt dataset containing 5,151 prompts from three main sources:

  • Real-world data: Scraped from existing datasets where users had already attempted to generate unsafe content.
  • LLM-generated prompts: Using GPT-4 to brainstorm diverse, creative ways to violate safety policies.
  • Jailbreak attacks: Using adversarial techniques specifically designed to bypass the safety filters of diffusion models.

Key Insights and Ideas

  • The "Capability-Safety" Trade-off: One of the most interesting findings is that less capable models often appear safer simply because they fail to follow complex malicious prompts. As models get better at spatial-temporal reasoning, they become more "efficient" at generating the exact harm requested by a malicious user.
  • Temporal Risk is Real: The paper highlights that safety isn't just a frame-by-frame problem. They demonstrate cases where individual frames pass filters, but the motion or contextual linking over time creates the violation.
  • No Universal Winner: No single model excels in every category. A model might be great at filtering gore but terrible at protecting the likeness of public figures. Safety is currently fragmented across the industry.

Key Results

The researchers benchmarked nine models, including Pika, Gen3, Stable Video Diffusion (SVD), and Vidu.

  • SVD was highly effective at managing sexual content, achieving an almost 0% NSFW rate in that category.
  • Gen3 and Vidu showed the lowest risks for gore and disturbing content.
  • Pika demonstrated the best defensive capabilities against copyright and trademark infringement.
  • Public Figures & Misinformation: Almost all models performed poorly here, frequently generating recognizable celebrities or potential fake news content when prompted.
  • Automated Auditing: The high agreement between GPT-4o and human evaluators suggests that scalable, automated safety auditing for video is becoming viable.

Limitations and Future Work

The authors acknowledge several hurdles, including cultural bias in safety definitions and the ongoing cat-and-mouse game between safety filters and jailbreaking techniques. Furthermore, evaluating NSFW content is taxing for human reviewers, underscoring the need for robust automated systems.

Future work will likely focus on developing "post-generation" detectors—AI that watches the finished video to catch safety slips that the initial text-filter missed.

Summary updated

BibTeX
@inproceedings{miao2024t,
  author = {Yibo Miao and Yifan Zhu and Lijia Yu and Jun Zhu and Xiao-Shan Gao and Yinpeng Dong},
  title = {{T2VSafetyBench: Evaluating the Safety of Text-to-Video Generative Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MYyGhe9MBg},
}
Figure