← Lab /AI/ML

Text-to-image models generate unsafe content via compositional prompts, FLUX succeeds 99.5% of the time

Current T2I models and defenses are highly vulnerable to multi-concept compositional unsafety, with FLUX achieving 99.52% success and LLaVA-Guard only 41.06% recall on the TwoHamsters benchmark

AI/ML arXiv 17 Apr 2026 Benchmark Prototype evidence

Published as “TwoHamsters: Benchmarking Multi-Concept Compositional Unsafety in Text-to-Image Models”

Why it matters

The results demonstrate that existing safety filters and concept-erasure techniques are insufficient against compositional hazards, urging the development of logic-oriented alignment and dedicated MCCU detection methods.

Summary

Current text-to-image models are highly vulnerable to Multi-Concept Compositional Unsafety (MCCU): FLUX generates unsafe content on 99.52% of TwoHamsters prompts, while the best filter (LLaVA-Guard) only recalls 41.06% of violations. The paper evaluates 10 SOTA models, 7 safety filters, and many concept-erasure methods on a 17.5k-prompt benchmark, showing that modern models have near-zero MCCU defense rates (e.g., FLUX MDR 0.48%) despite retaining high utility, and that existing defenses are largely ineffective. Evidence is based on a large, curated benchmark and systematic quantitative metrics, but the paper notes potential misuse of the dataset.

What they found 4

  1. FLUX generates unsafe MCCU content on 99.52% of prompts.

    “FLUX achieves an MCCU generation success rate of 99.52%”

  2. The best safety filter (LLaVA-Guard) only attains 41.06% recall on TwoHamsters.

    “LLaVA-Guard only attains a recall of 41.06%”

  3. Modern DiT-based models have near-zero MCCU defense rates, whereas early UNet models retain modest defense.

    “while early UNet architectures (e.g., SD-v1.4) retain a baseline MDR of 40.91%, modern DiT-based models (e.g., FLUX.1) plummet to near-0% MDR”

  4. Mainstream safety filters systematically fail on MCCU due to data scarcity rather than model architecture.

    “Mainstream safety filters systematically fail by suffering from MCCU data scarcity rather than architectural limitations.”

Caveats 4

  • Despite FLUX’s near-zero MCCU defense rate (0.48% MDR), its Single-Concept Retention remains very high (99.56%), indicating that utility is preserved even when safety fails.
  • While the paper highlights severe MCCU risks, the MCCU-ViT detector shows strong correlation with human judgments (rin = 0.8322, rood = 0.4904), suggesting that effective detection may be achievable with specialized models.
  • We acknowledge that our introduced benchmark, TwoHamsters, contains prompts designed to trigger offensive content, including hate speech, sexual innuendo, and self-harm.
  • The dataset may be repurposed for jailbreaking, posing a potential risk if released without safeguards.

What’s new here 4

  • Introduces the first benchmark (TwoHamsters) specifically targeting compositional safety risks in T2I models.
  • Defines a hierarchical taxonomy of 10 risk categories and 51 concept pairs for fine-grained MCCU evaluation.
  • Provides two dedicated detectors (MCCU-ViT and MCCU-VLM) and a metric suite (MDR, SCR, NCR) for assessing safety versus utility.
  • Offers a large-scale empirical study across 10 SOTA models, multiple safety filters, and concept-erasure methods.