Benchgen

UnsafeBench — Results

RankModelScore
1shieldstral-1-081.8
2omniguard-7b72.6
3nemotron-3-5-content-safety-4b67.7
4llavaguard-7b63.9
5shieldgemma-2-4b54.9
6llamaguard-4-12b30.8
U

UnsafeBench

1 phaseActive

A 10,000-image benchmark for evaluating unsafe image classification, spanning real and AI-generated content. Qu et al., 2024.

Overview

UnsafeBench

Category Metric Saturation

Paper GitHub

Quick answer: UnsafeBench measures standalone image safety classification — no accompanying text required — across a curated set of roughly 10,000 real-world and AI-generated images. It tests whether a classifier can flag unsafe visual content on its own, independent of any caption or instruction.

At a Glance

What it tests: Whether a classifier can correctly label an image alone as safe or unsafe, across a mix of real photographs and images generated by text-to-image models. Why it matters: As AI image generation becomes widespread, moderating generated content requires classifiers that generalize across both real-world and synthetic image distributions — UnsafeBench was built specifically to test that generalization. Known limitations: Curated dataset rather than production-traffic-derived; category boundaries for "unsafe" content reflect the curators' taxonomy choices.

What UnsafeBench Measures

UnsafeBench combines roughly 10,000 real and AI-generated images labeled for safety, testing image-only classification without any accompanying instruction or caption — a purer test of visual harm detection than instruction-paired benchmarks like VLGuard.

Benchmark Specifications

FieldValue
Task categorySafety / image content moderation
MetricF1 score (%)
Test set size~10,000 images
ModalityImage only
Created byYiting Qu and colleagues
PaperUnsafeBench (arXiv 2405.03486)
GitHubYitingQu/unsafe-diffusion

How UnsafeBench Is Scored

Each image's ground-truth safety label is compared against a classifier's prediction and scored as F1.

State-of-the-Art Results

Scores from the Shieldstral model card (Mistral AI, August 2026). F1 (%). Only models with native multimodal support report scores here.

Scores sourced from Mistral AI's published model card, shown for context. Not Benchgen measurements. Text-only guard models do not report scores on this multimodal benchmark.

UnsafeBench on Benchgen

No Benchgen results yet — be the first to run UnsafeBench.

UnsafeBench vs Other Benchmarks

BenchmarkWhat it testsModalitySaturation
UnsafeBenchStandalone unsafe image classificationImage onlyMedium
VLGuardImage-instruction pair safetyImage + textHigh
LlavaGuardFine-grained multimodal policy safetyImage + textMedium

Run UnsafeBench on Your Model

Benchgen tracks version-controlled, regression-tested guard-model performance — submit your classifier's UnsafeBench scores to compare against Shieldstral and other multimodal guard models.

Frequently Asked Questions

What is UnsafeBench? UnsafeBench is an image safety benchmark of roughly 10,000 real and AI-generated images, testing standalone image classification without accompanying text.
How does this differ from VLGuard? UnsafeBench classifies images alone; VLGuard classifies image-instruction pairs, testing whether harm arises from the combination of visual and textual content.
Who created UnsafeBench? Yiting Qu and colleagues, published in 2024.

Last updated 2026-08-12.