Skip to content

Study evaluates harmful content generation and review gaps in five open-source text-to-image modelsHarmful Content Generation in Text-to-Image Models: Capabilities and Moderation Limitations

Paper Tracker· arXiv:2610.06503· ACM Transactions on Intelligent Systems and Technology· Paschalis Giakoumoglou, Manos Schinas, Symeon Papadopoulos·Indexed by this site · 2026-10-06· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

Rewriting five categories of harmful prompts from VisualNews captions, the violence unsafe rate for gore prompts across five T2I models is 89.2% (human, Table 6).

Questions
Text-to-image models can generate realistic images from text, but may also be used to produce sexual content, violence, stereotypes, self-harm, and hate images at scale. Authors believe existing filters and fine-tuning are easily bypassed, and systematic evaluations close to real news captions remain scarce.
Methods
Starting from VisualNews news captions, Mistral-Nemo-Instruct-2407 rewrites them into five categories of harmful prompts, which are then fed into five open-source text-to-image models, with external safety filters disabled during generation. Using 1,500 human-annotated images as a reference, moderation APIs and synthetic image detectors are evaluated.
Experiments and results
In human annotation, gore prompts have a violence unsafe rate of 89.2%, and NSFW prompts have a sexual content unsafe rate of 47.6%. Moderation is often high precision, low recall, and near random for stereotypes. Detectors trained only on benign data have lower average detection probabilities for more explicit content.
Limitations and future work
The authors note that annotation is influenced by annotators' cultural backgrounds, and prompts only cover English; the evaluation explains when failures occur but not internal reasons. Experiments use five open-source T2I models, three moderation APIs, and four types of detectors; the paper does not report the total number of generated images.
Experimental setupStable Diffusion XL (SDXL)、Stable Diffusion 3.5 Large (SD3.5) et al. · VisualNews · unsafe rate、Precision et al.
Evaluated models
Stable Diffusion XL (SDXL)Stable Diffusion 3.5 Large (SD3.5)FLUX.1-devAbsoluteRealityJuggernaut-XLMistral-Nemo-Instruct-2407Qwen2.5-7B-InstructLLaMA-3.1-8B-InstructGemma-2-9B-ITPhi-4ShieldGemmaOpenAI Moderation APIAmazon RekognitionDeFakeSPAISPAI-ITWRINERINE-ITWNPRNPR-ITW
Benchmarks
VisualNews
Metrics
unsafe ratePrecisionRecallAUC-ROCAUC-PRImageRewardHPS v2.1Fleiss' Kappamean detection probability
AI summaryA research team used an automated pipeline to rewrite legitimate news headlines into prompts targeting pornography, graphic violence, harmful stereotypes, self-harm, and hate speech, systematically evaluating the harmful content generation capabilities of five open-source text-to-image models. Human evaluation of 1,500 generated images showed that gore-related prompts had a harmful content generation rate of 89.2%, pornographic content 47.6%, harmful stereotypes 43.6%, hate speech 46.0%, and self-harm 34.5%, with most appearing in graphic or violent forms. Community fine-tuned variants were especially vulnerable to pornographic prompts, with FLUX.1-dev generating clearly realistic harmful images in 30.9% of cases. Evaluation of automated moderation systems found significant detection gaps, with unsafe images able to bypass filters; among synthetic image detectors, models trained only on benign data performed worse on explicit content, while models trained on more diverse data detected better.

A research team used an automated pipeline to rewrite legitimate news headlines into prompts targeting pornography, graphic violence, harmful stereotypes, self-harm, and hate speech, systematically evaluating the harmful content generation capabilities of five open-source text-to-image models. Human evaluation of 1,500 generated images showed that gore-related prompts had a harmful content generation rate of 89.2%, pornographic content 47.6%, harmful stereotypes 43.6%, hate speech 46.0%, and self-harm 34.5%, with most appearing in graphic or violent forms. Community fine-tuned variants were especially vulnerable to pornographic prompts, with FLUX.1-dev generating clearly realistic harmful images in 30.9% of cases. Evaluation of automated moderation systems found significant detection gaps, with unsafe images able to bypass filters; among synthetic image detectors, models trained only on benign data performed worse on explicit content, while models trained on more diverse data detected better.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    There is a lack of systematic evaluation of harmful generation by text-to-image models under consumer-level conditions and whether moderation and detection are effective.

    Lack of systematic evaluation of modern text-to-image models generating harmful images under consumer-grade GPU conditions, and whether platform moderation and synthetic image detection can block these images.

    • Scenario: The authors argue that text-to-image models can now generate images increasingly difficult to distinguish from real photos; training data contains problematic material such as suspected child sexual abuse, pornography, hate symbols, and can fabricate images of events that did not occur, threatening news credibility.
    • Existing gaps: The authors list filtering, external classifiers, removing unsafe content before training, and fine-tuning that penalizes unsafe generation. They claim these can often be bypassed by downloading locally and disabling external mechanisms, using models without internal safety mechanisms or fine-tuned on explicit content, or jailbreaking; and in their scenario none of these are necessary, only open-weight instruction models and consumer GPUs.
    • This evaluation: Using VisualNews real news captions as seeds, an LLM rewrites them into five categories of prompts: sexual content, gore, harmful stereotypes, self-harm, hate speech. After generation, human annotation is performed, then moderation APIs and synthetic image detection are evaluated. The authors claim that to their knowledge, no work jointly covers these three stages under the same threat.
    • Threat model:
      • Goal: Malicious actors aim to generate harmful visual content at scale.
      • Knowledge and capability: No specialized technical skills, jailbreaks, or adversarial prompt engineering are needed; they use open-weight instruction models that comply with harmful instructions and iteratively modify system prompts until outputs meet requirements.
      • Defense targets: Moderation APIs used by platforms, and synthetic image detection algorithms that identify AI-generated images.
      • Paper writing: They do not use white-box, black-box, or no-box. In generation experiments, they disable external safety filters to see the model's inherent capabilities and internal mechanisms.
  2. What related research exists?

    Related work covers generation architectures, data and safety mechanisms, harmful generation, and moderation and synthetic image detection.

    Image Generation

    • GAN and Diffusion: Goodfellow et al.'s GAN, as well as StyleGAN and BigGAN, can produce high-quality synthesis but are often limited to specific domains or require specialized stable training. Ho et al.'s DDPM provides a likelihood framework; Nichol et al.'s GLIDE introduces classifier-free guidance.
    • Text-to-Image Systems: Ramesh et al.'s DALL-E uses autoregressive transformers, DALL-E 2 changes to CLIP embedding prior plus diffusion decoder. Saharia et al.'s Imagen uses language model encoders for cascaded diffusion; Rombach et al.'s Stable Diffusion generates in latent space. Surveys by Cao et al., Chen et al., and Zhang et al. organize architectural trends and open problems.

    Training Data and Safety Mechanisms

    • LAION-5B: Birhane et al. report hate content, misogynistic stereotypes, and demographic biases; Thiel reports instances of child sexual abuse. The authors state that a cleaned version was later released, but Stable Diffusion 1.5 and others were trained on earlier versions, so the problems remain.
    • Defenses: Inference-time filtering of prompts and generated images; training-time data curation, safety-oriented fine-tuning, SafeCLIP-style embedding interventions, and preference alignment. Bai et al. use concept erasure to suppress concepts like nudity, violence, and hate; the authors claim it preserves non-target content and improves robustness to adversarial prompt variants.
    • Bypass and Coverage: Research cited by the authors states these mechanisms are often easily bypassed, and many filters primarily target sexual content, with insufficient coverage of violence, gore, and other harmful images.

    Harmful Generation and Misuse

    • Barriers: Bommasani et al. write that foundation models can generate personalized harmful content at low cost. Open-weight models are considered by cited literature to remove commercial safety barriers and facilitate harmful customization. Other work documents increases in deepfakes after tool release and markets for synthetic content.
    • Similar Evaluations: Qu et al. estimate the proportion of unsafe images from text-to-image models across five harm categories and use editing methods like DreamBooth for hate memes. He et al. use LLM-assisted fuzzing to construct fine-grained malicious prompts and avoid sensitive words to bypass content audits. The authors explicitly compare these two works with this paper.
    • Bias and Fine-Tuning: Hao et al. describe harm amplification, where seemingly safe prompts generate harmful representations not specified in them. Bianchi et al. and Ungless et al. discuss stereotypes and identity representation. Open diffusion models can be fine-tuned on harmful data to bypass safety measures; Wei et al. analyze NSFW and abusive material on CivitAI.

    Moderation and Synthetic Image Detection

    • Moderation Models: Perspective API does toxicity language detection. Subsequent work fine-tunes language models for prompts and AI outputs. Cited research argues these systems must still balance automation and accuracy, and detection deficiencies can undermine user confidence in platforms identifying AI content.
    • Detection Algorithms: Include supervised classifiers, CLIP-based methods, and methods comparing original and reconstructed image differences. The authors state most detectors are typically trained on images generated from COCO captions, and benchmarks focus more on distinguishing generation architectures rather than across content types.
    • Semantic Content: Konstantinidou et al. report that adding synthetic images collected from social media improves detection performance. The authors infer that semantic content affects detectability. Dogoulis et al. discuss generalization across concept settings.

    Baselines and Data

    • This paper's comparisons: Moderation uses ShieldGemma, OpenAI Moderation API, Amazon Rekognition; synthetic image detection uses SPAI, DeFake, RINE, NPR, and ITW variants of SPAI, RINE, NPR. Quality uses ImageReward and HPS v2.1, with reference to images generated from safe captions, and scores for VisualNews real images upscaled with SRGAN. Prompt rewriting compares five instruction models. Captions come from VisualNews.

    The authors frame the difference from Qu et al. and He et al. as a simpler corpus-driven setting: any neutral corpus can be turned into harmful prompts with a single open-weight LLM system, without probing the target model or optimizing prompts to evade its safety mechanisms.

  3. How does the paper address this problem?

    Using open-source LLMs to rewrite VisualNews captions into five categories of harmful prompts, then generating with five T2I models and evaluating both manually and automatically.

    Overall, it is an automated pipeline for harmful content generation and detection evaluation: using public captions and open-source LLMs to mimic prompt construction that does not rely on specialized techniques, then batch-testing text-to-image models and defense tools.

    Problem Setting

    • Starting point: Not starting from scratch-written prompts. Authors give two reasons: real entities and events can increase variation and realism; original safe prompts serve as a reference to compare generation quality between harmful and harmless content.
    • Questions to answer: How successfully current text-to-image models can generate harmful content when given corresponding prompts, and how effective existing detection is.
    • Attack-defense positioning: Attack side is consumer-grade GPUs plus open-source instruction models that follow harmful instructions; defense side is moderation APIs and synthetic image detection. The paper does not use the terms white-box or black-box.

    Prompt Rewriting

    • Model and categories: Main pipeline uses Mistral-Nemo-Instruct-2407. Five categories: sexually explicit content (NSFW), violent images (gore), harmful stereotypes, self-harm, hate speech. Authors state they chose these because they are often cited as examples of unsafe content.
    • Prompt design: System prompts iteratively modified by authors until they considered output satisfactory. Table 1 shows system prompts, Table 2 shows rewriting instructions for each category. Authors state design targets issues seen in testing, including that euphemisms are less likely to bypass safety mechanisms than more direct phrasing, and overly literary descriptions weaken directness. Wording constraints are not repeated here; Table 4 has examples of caption rewrites.
    • Text validation: Detoxify scores toxicity, obscenity, insult; bart-large-mnli for zero-shot, labels include toxic, violent, sexually explicit, gore, hate speech, self-harm, NSFW; also bert-hateXplain. Profanity rate is the percentage of prompts containing at least one word from a predefined list.

    Image Generation

    • Five models: SDXL, SD 3.5 Large, FLUX.1-dev, and AbsoluteReality, Juggernaut-XL. The latter two are full fine-tunes of SD 1.5 and SDXL, distributed via community platforms like CivitAI, and marketed as capable of generating NSFW content.
    • Control and filters: Both original captions and unsafe prompts from the same caption are used for generation. Authors disable external safety filters to examine inherent capabilities and built-in mechanisms, not external filters.
    • Default sampling: Appendix Table 12 lists diffusers default parameters. AbsoluteReality: 50 steps, CFG 7.5, PNDMScheduler; FLUX.1-dev: 50 steps, CFG 3.5, FlowMatchEulerDiscreteScheduler; Juggernaut-XL: 50 steps, CFG 5.0, EulerDiscreteScheduler; SD 3.5 Large: 28 steps, CFG 7.0, FlowMatchEulerDiscreteScheduler; SDXL: 50 steps, CFG 5.0, EulerDiscreteScheduler. Safety checker disabled.

    Success Determination and Evaluation

    • Human scale: Stratified sampling by caption type and model. Annotators are told all images are AI-generated. Five harm categories use no, mild, moderate, extreme, also looking at graphicness and whether it seems to deliberately depict or promote. Realism is N/A, no, potentially, likely, yes. Details in Appendix Tables 13–15.
    • Binary mapping: Ground truth takes annotation mean. Main analysis counts mild, moderate, extreme as unsafe; appendix merges mild with safe.
    • Quality scores: ImageReward is based on BLIP, uses cross-attention to fuse image and text, then MLP outputs a scalar, reflecting both perceptual quality and prompt following. HPS v2.1 is a CLIP ViT-H/14 fine-tuned on human preference pairs, scoring via embedding similarity. Authors state these models achieve state-of-the-art on safe content benchmarks, so safe-prompt generated images are used as reference.
    • Moderation and detection: ShieldGemma, OpenAI Moderation API, Amazon Rekognition. When the first two lack separate Hate Speech and Stereotype classes, the highest score across all available categories is taken. SPAI, DeFake, RINE, NPR were originally trained on images generated by Stable Diffusion from COCO captions and containing no explicit content; ITW variants of SPAI, RINE, NPR are additionally trained on social media images confirmed to contain explicit content.

    Implementation Choices

    • Rewriting model: Authors state the Mistral model has demonstrated ability to generate misinformation, and in empirical testing can produce disruptive text sufficient for this evaluation. Authors state this 12B model fits in 24GB VRAM, thus fitting the consumer GPU setting.
    • Annotation scale: 1,500 images, balanced across categories; 8 participants (5 male, 3 female), all Greek cultural background; 6,000 votes, at least 4 per image. Authors believe explicit content judgments are unambiguous enough to serve as ground truth.
  4. What experiments did the paper conduct?

    Among 1,500 human-annotated images, gore prompts have a violence unsafe rate of 89.2%, and stereotype moderation is near random.

    Experimental Setup

    • Models: SDXL, SD 3.5 Large, FLUX.1-dev, AbsoluteReality, Juggernaut-XL. Sampling uses diffusers defaults from Appendix Table 12, with safety checker disabled. The paper does not report seeds or number of repeated generations.
    • Data: Captions from VisualNews. Five categories of harmful prompts generated by Mistral-Nemo-Instruct-2407, compared with four other instruction models in Table 3. The paper does not report the number of captions or total images, nor the sample size per cell in Table 7.
    • Human evaluation: 1,500 images, 250 per caption category in Table 6. 8 annotators (5 male, 3 female, Greek cultural background), 6,000 votes, at least 4 votes per image. The main analysis includes mild in unsafe. Fleiss' Kappa: sexual content 0.8454, violence 0.8513, self-harm 0.8014, hate 0.6059, stereotype 0.6241, realism 0.4557. Authors call the first three almost perfect, the next two harm categories substantial, and realism moderate.
    • Automatic evaluation: ImageReward; HPS v2.1 multiplied by 100 in tables. Quality comparisons use one-sided Welch t-tests, α=0.05, null hypothesis that the category mean is not lower than safe captions for the same model. Three moderation systems, threshold 0.5; 95% intervals from 1,000 percentile bootstraps. Detectors are DeFake, SPAI, RINE, NPR, and ITW variants of the latter three. Human subset as ground truth.

    Main Results

    The table below shows unsafe proportions (including mild) on the harm dimension corresponding to the prompt category, according to Table 7, in percentages.

    Swipe horizontally to read the table

    ModelNSFW→Sexual ContentStereotype Prompts→StereotypeGore→ViolenceSelf-harm Prompts→Self-harmHate Prompts→Hate
    AbsoluteReality54.0%46.0%84.0%4.0%32.0%
    FLUX.1-dev66.0%36.0%94.0%60.0%62.0%
    Juggernaut-XL50.0%40.0%96.0%28.0%36.0%
    SD3.536.0%66.0%98.0%58.0%70.0%
    SDXL32.0%34.0%74.0%22.0%28.0%
    • Two aggregations: Table 6 merges 250 images per category, not the model arithmetic mean from Table 7. Gore→violence and NSFW→sexual content are 89.2% and 47.6% on both sides. Stereotype, hate, and self-harm content are 43.6%, 46.0%, 34.5% in Table 6, while Table 7 Mean is 44.4%, 45.6%, 34.4%. The abstract aligns with Table 6.
    • Author interpretation: Authors state that all models can generate violent and stereotypical content, and community fine-tuned models are particularly prone to producing unsafe images for sexual content prompts. The highest in the sexual content column is FLUX.1-dev, not the two community fine-tuned models described as NSFW. In the hate paragraph, authors state that community fine-tuned models show no clear advantage over standard models in any category; the sexual content column is not fully consistent with that sentence.
    • Cross and control: In Table 6, safe captions have safe rates above 96% across all five categories, with the lowest being stereotype at 96.8%. Among gore prompt violence, extreme accounts for 46.8%. Violence unsafe for self-harm prompts is 71.9% (Table 7 mean 72.0%). Hate unsafe for harmful stereotype prompts is 34.1%.

    Content Moderation

    Threshold 0.5, ground truth is human labels. The table below shows AUC-ROC according to Table 8.

    Swipe horizontally to read the table

    SystemSexual ContentStereotypeViolenceSelf-harmHate
    ShieldGemma0.500.460.790.680.64
    OpenAI0.920.470.940.950.49
    Rekognition0.830.490.810.710.53
    • Precision and recall: For sexual content, OpenAI precision 98.2% (CI 94.2–100.0%), recall 30.4% (24.0–37.6%), Rekognition 64.7% and 70.7%, ShieldGemma recall 20.1%. For violence, OpenAI precision 93.4%, recall 68.6%, Rekognition 93.7% and 63.4%, ShieldGemma recall 37.2%. Later text writes OpenAI violence precision as 93.7%, inconsistent with Table 8.
    • Other categories: For stereotype, Rekognition precision and recall are both 0.0% (AUC-ROC CI 0.49–0.50). For hate, Rekognition precision 100.0%, recall 6.8%, OpenAI recall 4.3%, ShieldGemma recall 56.0%, precision 22.4%. For self-harm, OpenAI precision 93.3% (CI 77.8–100.0%), recall 14.9%, Rekognition recall 64.9%, precision 17.5%. ShieldGemma and OpenAI do not have separate hate and stereotype categories; authors use the highest score across all categories to decide whether to flag.
    • Author interpretation: Authors state that high precision, low recall will miss unsafe content; stereotype near random is not solvable by changing thresholds. Authors believe the distribution difference between synthetic and real images may be the cause, and state that moderation systems are likely trained mainly on real images. Authors state that Figure 3's ROC still shows the same problem at various operating points. Section 4.6 discusses examples not flagged by the three systems; Figure 4 is obscured, so the image is not described here.

    Synthetic Image Detection

    • Scores: Table 10 shows average detection probabilities on the human subset. If an image has multiple levels, the most severe level given by that annotator is used. SPAI from safe 87.6% to extreme 79.9%, SPAI-ITW from 81.4% to 97.3%; RINE from 57.5% to 48.9%, RINE-ITW from 74.7% to 88.9%; NPR from 34.4% to 24.4%, NPR-ITW from 60.0% to 73.1%; DeFake from 77.9% to 67.0%.
    • Author interpretation: Authors believe detectors trained only on benign COCO-like data score lower on explicit content; after incorporating ITW data confirmed to contain explicit content, extreme levels are higher. Authors call this a semantic distribution gap and state that detection ideally should not change with semantic content. The paper does not perform causal interventions.

    Image Quality and Realism

    • Table 5: For gore, ImageReward scores for all five models are higher than safe captions and without †. For NSFW, all five models have †, with SDXL at −0.04. HPS v2.1 shows no statistically significant decreases, with harmful categories higher than caption baselines. Authors state quality is largely maintained, with the main exception being ImageReward for NSFW. Authors state generated images remain largely above the real image baseline of 0.11; AbsoluteReality's 0.02 and SDXL's −0.04 are below that baseline.
    • Figure 2: Clearly realistic proportions given in the text: FLUX.1-dev from 63.3% for safe images to 30.9% for harmful images, Juggernaut-XL from 20.8% to 11.1%, SD3.5 harmful at 1.7%. AbsoluteReality labeled non-realistic: safe images 76.7%, harmful images 75.4%. Only FLUX.1-dev's Mann–Whitney U test is statistically significant (p=1.35e-5). The abstract states unsafe prompts do not severely impact plausibility and photorealism; the text states harmful prompts generally shift the distribution toward lower realism, with magnitude varying by model.

    Other Ablations and Analyses

    • Table 3 (average across unsafe categories): Mistral-Nemo toxicity 63.46%, profanity rate 68.60%; Phi-4 at 0.14% and 0.00%. Gemma-2-9B's bart-large-mnli Toxic is 74.12%, higher than Mistral-Nemo's 69.77%, inconsistent with the text's "highest across all classifiers."
    • Numbers named in the text from Table 9: OpenAI sexual content flagging rates for NSFW prompts: AbsoluteReality 45.8%, Juggernaut-XL 32.6%, other models 10.4%–10.6%. Authors treat flagging rates of high-precision systems as a lower bound on the full harmful rate.
    • Violence flagging rates from self-harm prompts (Table 9): SD3.5 at 73.2% for OpenAI and 65.6% for Rekognition; Juggernaut-XL at 64.9% and 63.4%. OpenAI flagging rates for self-harm itself: FLUX.1-dev 12.7%, others below 6%.
    • Rekognition flagging rates for hate prompts: text gives FLUX.1-dev 18.7%, SD3.5 10.8% (Table 9). Authors state that for gore prompts, Juggernaut-XL and SD3.5 are highest, AbsoluteReality lowest; that row does not align with the text, so it is not cited cell by cell.
    • Appendix Table 16 merges mild into safe: OpenAI sexual content recall 44.4%, precision 96.5%, violence recall 78.3%. For stereotype, Rekognition recall remains 0.0%. For hate, ShieldGemma recall 68.9% (AUC-ROC 0.71).
    • Spearman ρ between human realism and HPS v2.1 and ImageReward are −0.089 and −0.010. Other † for ImageReward: stereotype and hate only AbsoluteReality; self-harm for AbsoluteReality and Juggernaut-XL. Real images after SRGAN: ImageReward 0.11, HPS 24.00.
  5. What are some points that can be further explored?

    The authors note limitations of annotator background and English-only prompts, and suggest improving moderation and detection for generated images.

    Limitations and Future Directions Noted by Authors

    • Annotator background: Human annotation is influenced by annotator background and interpretation, especially for culture-dependent categories like harmful stereotypes and hate speech (Limitations).
    • Language: Evaluation uses only English prompts; harmful content generation and moderation behavior may differ in other languages (Limitations).
    • Internal causes: Evaluation can indicate when generation and moderation failures occur, but does not explain internal causes. Authors write explainable AI as a complementary direction for studying such failures (Explainability and Future Safeguards).
    • Future moderation: Authors write that future work should develop moderation systems tailored to AI-generated content (same section).
    • Future detection: Authors write to improve synthetic image detection with more semantically diverse training data (same section).

    Experimental Coverage

    • Generation models: Tested text-to-image models are SDXL, SD 3.5 Large, FLUX.1-dev, AbsoluteReality, Juggernaut-XL, totaling 5; external safety filters are disabled during generation (Section 3, Appendix B, Table 12).
    • Prompts: Harmful prompts are rewritten from VisualNews captions by Mistral-Nemo-Instruct-2407, with categories NSFW, gore, harmful stereotypes, self-harm, hate speech (Section 3.3). The paper does not report the number of captions, total generated images, or number of repeated generations.
    • Human evaluation: Subset of 1,500 images, 250 per caption category (Table 6); 8 annotators with Greek cultural background, 6,000 votes, at least 4 votes per image (Section 3.3). Section 3.3 describes the annotation scale as limited scale, while considering explicit content judgments unambiguous enough.
    • Defense evaluation: Moderation includes ShieldGemma, OpenAI Moderation API, Amazon Rekognition, threshold 0.5, intervals from 1,000 bootstraps (Section 4.4, Table 8). Synthetic image detection includes DeFake, SPAI, RINE, NPR, and ITW variants of SPAI, RINE, NPR (Section 4.5, Table 10).
    • Other comparisons: Prompt rewriting also compares Qwen2.5-7B-Instruct, LLaMA-3.1-8B-Instruct, Gemma-2-9B-IT, Phi-4 (Table 3). The threat model in Section 3 does not include jailbreaks or adversarial prompt engineering.
  6. Summarize the main content of the paper

    Five open-source T2I models have a violent unsafe rate of 89.2% for gore prompts, and moderation is near random for stereotypes.

    This evaluation examines whether open-source text-to-image models can turn harmful prompts rewritten from news captions into harmful images, and how much moderation and synthetic image detection miss.

    • Problem: The authors posit an actor with only consumer GPUs and an open-source LLM that follows harmful instructions, without relying on jailbreaks or adversarial prompt engineering, can mass-produce harmful images.
    • Method: VisualNews captions are rewritten by Mistral-Nemo-Instruct-2407 into five categories of prompts, input to SDXL, SD 3.5 Large, FLUX.1-dev, AbsoluteReality, Juggernaut-XL; external filters are disabled. 1,500 images are human-annotated, compared against three moderation APIs and multiple detectors.
    • Generation: In Table 6, gore prompts have violence unsafe at 89.2%, NSFW prompts sexual content at 47.6%, hate prompts at 46.0%, stereotype prompts at 43.6%, self-harm prompts self-harm content at 34.5%; self-harm prompts also have 71.9% falling under violence unsafe. In Table 7, SD3.5 has gore violence at 98.0% and hate prompts at 70.0%; the highest sexual content is FLUX.1-dev at 66.0%.
    • Quality: HPS v2.1 shows no statistically significant decline relative to safe captions; ImageReward shows statistically significant declines for NSFW across all five models. The proportion of harmful images rated as clearly realistic is 30.9% for FLUX.1-dev and 1.7% for SD3.5.
    • Detection and Conclusion: OpenAI has precision 98.2% and recall 30.4% for sexual content; AUC-ROC for stereotypes across three categories is 0.46–0.49. SPAI's average detection probability ranges from 87.6% for safe to 79.9% for extreme, and SPAI-ITW from 81.4% to 97.3%. The authors state there is a gap between safety measures and detection, requiring more robust approaches to handle large-scale abuse; and note limitations of annotator background and English prompts.
Read originalACM Transactions on Intelligent Systems and Technology