HumorReject: Decoupling LLM Safety from Refusal Prefix via a Little Humor

Authors

  • Zihui Wu School of Computer Science and Technology, Xidian University
  • Haichang Gao School of Computer Science and Technology, Xidian University
  • Jiacheng Luo School of Computer Science and Technology, Xidian University
  • Zhaoxiang Liu Data Science & Artificial Intelligence Research Institute, China Unicom Unicom Data Intelligence, China Unicom

DOI:

https://doi.org/10.1609/aaai.v40i44.41140

Abstract

Large Language Models (LLMs) commonly rely on explicit refusal prefixes for safety, making them vulnerable to prefix injection attacks. We introduce HumorReject, a novel data-driven approach that reimagines LLM safety by decoupling it from refusal prefixes through humor as an indirect refusal strategy. Rather than explicitly rejecting harmful instructions, HumorReject responds with contextually appropriate humor that naturally defuses potentially dangerous requests. Our approach effectively addresses common "over-defense" issues while demonstrating superior robustness against various attack vectors. Our findings suggest that improvements in training data design can be as important as the alignment algorithm itself in achieving effective LLM safety.

Downloads

Published

2026-03-14

How to Cite

Wu, Z., Gao, H., Luo, J., & Liu, Z. (2026). HumorReject: Decoupling LLM Safety from Refusal Prefix via a Little Humor. Proceedings of the AAAI Conference on Artificial Intelligence, 40(44), 38030–38038. https://doi.org/10.1609/aaai.v40i44.41140

Issue

Section

AAAI Special Track on AI Alignment