← Lab /Security & privacy

Humorizing content can add stereotypes and boost toxicity in LLM outputs

LLMs introduce harmful stereotypes and increase toxicity when transforming benign text into jokes

Security & privacy arXiv 17 Jul 2026 Measurement Prototype evidence

Published as “Refusal is Not Safety! Benchmarking Latent Safety Risks of LLM-Driven Content Humorization”

Why it matters

Humor-based refusal mechanisms can mask toxic and stereotypical content, so safety evaluations must incorporate humorized scenarios to avoid latent harms.

Summary

LLMs can introduce stereotypes and toxicity when they transform non-humorous text into humorous content. The authors present HumorSafe, an evaluation framework that shows LLMs learn harmful humorization patterns and reproduce them via in-context learning. They also introduce HumorPIA, a prompt-injection attack that boosts toxicity by 3.14× while still appearing safe (97.8% apparent safety) under existing defenses. Experiments on six frontier LLMs confirm higher toxicity and stereotypicality compared to baseline humor generation, and that current detectors fail to spot the latent risks.

What they found 3

  1. HumorPIA increases toxicity by 3.14× while maintaining an apparent safety rate of 97.8% even under defense settings.

    “Experiments show that it increases toxicity by 3.14× while maintaining an apparent safety rate of 97.8% even under defense settings.”

  2. Both toxicity and stereotypicality of humorized content are significantly higher than the baseline.

    “We observe that both toxicity and stereotypicality of humorized content are significantly higher than the baseline.”

  3. Humorous outputs generated by HumorSafe achieve humor quality comparable to the baseline.

    “Humorous outputs generated by our HumorSafe framework achieve a level of humor comparable to that of the baseline.”

Caveats 3

  • HumorPIA (w/ Def.) maintains an apparent safety rate of 97.8% even under defense settings, suggesting the attack can evade standard safety metrics.
  • Due to resource constraints, the number of participants is limited.
  • We acknowledge that a larger sample size could further improve result reliability and potentially yield additional insights.

What’s new here 4

  • First large-scale empirical study (30k real-world interactions, 45 comedians) of safety in LLM-driven humorization.
  • HumorSafe framework that quantifies latent safety risk propagation through a two-stage Unfun/Refun process.
  • HumorPIA prompt-injection attack that hides harmful content within apparently safe humorous refusals.
  • Demonstration that safety detectors miss these latent risks.