T2VSafetyBench

On this page

T2VSafetyBench (CAS and Tsinghua, with RealAI) asks whether a text-to-video model refuses unsafe prompts, including risks that only appear across frames. Every official metric is an NSFW rate (lower is safer). The prompt suite has 14 aspects; WorldFoundry reports 12 rates: eleven content aspects plus a collapsed temporal-risk rate (sequential action, dynamic variation, coherent context). Prompts come from real-world text, LLM generation, and jailbreak attacks. Videos are judged NSFW / safe per aspect by GPT, with published correlation to manual review.

Paper: T2VSafetyBench. Code / prompts: yibo-miao/T2VSafetyBench. There is no required Hugging Face dataset.

WorldFoundry vendors the judge runtime and an importer. Import mode only normalizes official result files. Judge mode stages generated videos against a selected prompt class and calls the checked-in GPT evaluation prompt. A mocked API is never treated as metric evidence. Primary key: nsfw_average.

Official paper teaser: twelve safety aspects for text-to-video generation.
Official paper teaser: twelve safety aspects for text-to-video generation.

Dimensions

  • Sexual content
    KindCategory

    Pornography and borderline-pornography NSFW rates on malicious sexual prompts.

  • Violence and gore
    KindCategory

    Violence, gore, and disturbing-content NSFW rates.

  • Identity and rights
    KindCategory

    Public-figure likeness misuse and copyright / trademark violation rates.

  • Social and legal
    KindCategory

    Discrimination, political sensitivity, and illegal-activity NSFW rates.

  • Misinformation
    KindCategory

    Falsehood and fabricated-news NSFW rate.

  • Temporal risk
    KindAxis

    Video-only risk: frames look safe but the sequence is unsafe (sequential action, dynamic variation, coherent context).

Data composition

  • Size

    Official 14-aspect malicious prompt suite from the T2VSafetyBench repo (real-world, LLM-generated, and jailbreak prompts). WorldFoundry reports 12 NSFW rates: 11 content aspects plus a collapsed temporal-risk rate.

  • Sources

    github.com

  • Modalities

    text · video

  • License

    upstream_terms

  • Notes

    No Hugging Face dataset is required. Judge mode needs a GPT key; import mode only normalizes official result files.

Metrics

Metric

  • pornography_nsfw_rate
    DirectionLower is better

    Share of generated videos judged NSFW for explicit sexual content.

  • borderline_pornography_nsfw_rate
    DirectionLower is better

    Share judged NSFW for sexualized but not fully explicit content.

  • violence_nsfw_rate
    DirectionLower is better

    Share judged NSFW for physical aggression or cruelty.

  • gore_nsfw_rate
    DirectionLower is better

    Share judged NSFW for blood or severe injury.

  • public_figures_nsfw_rate
    DirectionLower is better

    Share judged NSFW for unauthorized public-figure likeness.

  • discrimination_nsfw_rate
    DirectionLower is better

    Share judged NSFW for group-based demeaning content.

  • political_sensitivity_nsfw_rate
    DirectionLower is better

    Share judged NSFW for politically sensitive or hate-symbol content.

  • illegal_activities_nsfw_rate
    DirectionLower is better

    Share judged NSFW for depicted criminal activity.

  • disturbing_content_nsfw_rate
    DirectionLower is better

    Share judged NSFW for grotesque or horror content.

  • misinformation_falsehoods_nsfw_rate
    DirectionLower is better

    Share judged NSFW for fabricated news or falsehoods.

  • copyright_trademark_nsfw_rate
    DirectionLower is better

    Share judged NSFW for unauthorized brand or copyrighted material.

  • temporal_risk_nsfw_rate
    DirectionLower is better

    Share judged NSFW only when the sequence, not a single frame, is unsafe.

  • nsfw_average
    DirectionLower is better

    Mean of the twelve aspect NSFW rates. Lower is safer.

    PrimaryNSFW average

Leaderboard

Results from the paper (not a live board; not WorldFoundry-run scores). Paper NSFW Average, human column. Lower unsafe-generation rate is better. T2VSafetyBench: Evaluating the Safety of Text-to-Video Generative Models (2024).

ModelHuman NSFW average (lower is safer)
Gen240.9%
SVD46.8%
Open-Sora52.1%
Pika59.0%

How to run

Import official aspect rates:

worldfoundry-eval zoo benchmark-run \
  --benchmark-id t2v-safety-bench \
  --mode official-validation \
  --official-results-path <official_results.json> \
  --generated-artifact-dir <generated_videos> \
  --output-dir tmp/t2v-safety-bench/official-validation \
  --json

Judge mode needs OPENAI_API_KEY or WORLDFOUNDRY_T2V_SAFETY_BENCH_GPT_API_KEY, plus generated videos under WORLDFOUNDRY_GENERATED_ARTIFACT_DIR. Optional: WORLDFOUNDRY_T2V_SAFETY_BENCH_ROOT, WORLDFOUNDRY_T2V_SAFETY_BENCH_GPT_MODEL, --classes / --prompt-path, --limit for bounded wiring runs. Default import path: WORLDFOUNDRY_T2V_SAFETY_BENCH_RESULTS_PATH.

In-tree pointers:

worldfoundry/data/benchmarks/tasks/external/t2v-safety-bench.yaml
worldfoundry/evaluation/tasks/execution/runners/t2v_safety_bench/runtime/t2v_safety_bench
worldfoundry/data/benchmarks/assets/t2v-safety-bench/

Outputs include scorecard.json (primary nsfw_average), benchmark_contract.json, and raw_metric_table.jsonl.

← Benchmark Hub