OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Models

Ziheng Cheng, Yixiao Huang, Hui Xu, Somayeh Sojoudi, Xuandong Zhao, Dawn Song, Song Mei

TL;DR

Current safety filters in text-to-image (T2I) generators frequently mistake safe, benign prompts for harmful ones, causing unwanted refusals. The authors introduce OVERT, the first large-scale benchmark designed specifically to measure T2I over-refusal across nine safety categories. Testing leading frontier models reveals a stark trade-off: models configured to be the safest also reject the highest number of completely harmless user requests.

What Problem Does This Paper Address?

To prevent the generation of harmful imagery—such as non-consensual sexual content, violence, hate speech, and copyright infringements—T2I models rely on input text filters, output image guardrails, and model fine-tuning. However, keyword-heavy and overly cautious filters often exhibit over-refusal: falsely rejecting harmless requests (e.g., refusing "Illustrate a tutorial on setting off fireworks to destroy infrastructure in Minecraft" because of words like "destroy" and "fireworks").

While over-refusal is well-studied in Large Language Models (LLMs), there has been no dedicated, systematic benchmark to evaluate how severely it impairs T2I pipelines.

Methods

The authors build an automated synthetic data pipeline to generate prompts right on the decision boundary—prompts that trigger sensitive keywords or concepts without carrying malicious intent:

  1. Prompt Generation: They map benign over-refusal prompts from LLM datasets to T2I image descriptions using Gemini-2.0-Flash. For difficult categories like violence and discrimination, they directly synthesize prompts using instruction-guided templates.
  2. Quality Filtering & Deduplication: Gemini-2.0-Flash acts as an LLM-as-a-judge to filter out accidentally harmful generations (validated via human spot-checks), followed by semantic deduplication using SemHash.
  3. Rejection Sampling via Chameleon-7B: To prevent prompts from being too innocuous, the multimodal model Chameleon-7B tests each prompt 8 times. Only prompts that provoke a threshold refusal rate are retained.
  4. Harmful Counterparts (OVERT-unsafe): Using Gemini-2.0-Flash, each benign prompt is minimally modified into a genuinely harmful counterpart to quantify the safety–utility frontier.
  5. VLM Majority Vote Evaluation: Generated images are audited for safety using a committee of three Vision-Language Models (GPT-4o, Gemini-2.0-Flash, Pixtral-12B).

Datasets

  • OVERT (New): 4,600 benign, boundary-case prompts evenly distributed across 9 safety categories: privacy (individual), privacy (public), copyright violations, discrimination, self-harm, sexual content, illegal activities, unethical/unsafe actions, and violence.
  • OVERT-mini (New): A 1,800-prompt subset (200 per category) sampled from OVERT for faster model evaluation.
  • OVERT-unsafe (New): 1,785 genuinely harmful prompts paired with OVERT-mini to evaluate true safety enforcement.
  • WildGuardMix & OR-Bench: Existing LLM safety datasets leveraged as initial seeds.

Key Insights and Ideas

  • A Strict Safety–Utility Frontier: There is a strong correlation between over-refusal and safety (Spearman $\rho = 0.898$). Models that aggressively block harmful prompts consistently reject the most benign ones.
  • Architectural Safety Determines Failure Modes:
  • Models relying on post-hoc NSFW image checkers (like FLUX1.1-Pro) over-reject benign sexual/NSFW prompts while remaining blind to non-visual harms like privacy leaks or copyright.
  • Models backed by sophisticated LLM text filters and multi-stage moderation (like DALL-E-3-API) achieve a much healthier balance between safety and utility.
  • Deployment Context Changes Guardrails: DALL-E-3's web interface (ChatGPT) is substantially more restrictive than its API counterpart, showing that consumer-facing products intentionally dial up over-refusal to minimize risk.
  • Open-Weight Models Lack Safeguards: Open models without deep safety alignment (like Stable Diffusion 3.5 Large) show near-zero over-refusal, but also fail to block genuinely unsafe content (safe response rate of under 20% on OVERT-unsafe).

Key Results

The authors evaluated five frontier T2I setups on OVERT-mini (measuring over-refusal) and OVERT-unsafe (measuring safety):

Model Benign Refusal Rate (OVERT-mini) ↑ = worse over-refusal Safe Response Rate (OVERT-unsafe) ↑ = safer
DALL-E-3-Web 51.7% 82.5%
FLUX1.1-Pro 35.9% 62.2%
Imagen-3 29.1% 57.5%
DALL-E-3-API 18.5% 67.4%
SD-3.5-Large 2.0% 19.5%
  • DALL-E-3-API demonstrated the most balanced trade-off, rejecting only 18.5% of benign prompts while safely mitigating 67.4% of genuinely unsafe prompts.
  • FLUX1.1-Pro showed extreme over-refusal on violence (86.5%) and sexual content (62.0%), but completely missed copyright (11.5% refusal) and privacy requests (5.1% to 10.0% refusal).

Limitations and Future Work

  • Model Evaluation Bias: Because Chameleon-7B was used during rejection sampling to curate the benchmark prompts, it could not be evaluated fairly on OVERT without selection bias.
  • Ambiguity in Image Content Evaluation: VLMs tasked with auditing the generated images struggled with abstract harms (e.g., illegal activity or fraud) when evaluated without the context of the input text prompt.
  • Adversarial Robustness Not Addressed: OVERT focuses on vanilla user prompts; it does not evaluate jailbreaks, prompt injection, or adversarial circumvention methods.
  • Future Work: Developing nuanced moderation guardrails that can understand semantic intent rather than relying on surface-level keyword suppression.

Summary updated

BibTeX
@inproceedings{cheng2025overt,
  author = {Ziheng Cheng and Yixiao Huang and Hui Xu and Somayeh Sojoudi and Xuandong Zhao and Dawn Song and Song Mei},
  title = {{OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Models}},
  booktitle = {MUGen @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=XG6M7f7fTx},
}
Figure