Proceedings

Explaining Jailbreaks: Structured and Interpretable Safety Assessment for Large Language Models

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 553-561.

https://doi.org/10.24963/ijcai.2026/63

Abstract

Large Language Models (LLMs) remain highly vulnerable to jailbreak attacks, yet existing evaluations rely primarily on outcome-level metrics such as Attack Success Rate (ASR), providing limited insight into how and why safety failures occur.

We propose an explanation-aware safety framework that augments binary harmfulness detection with structured, human-interpretable explanations capturing severity, strategies, trigger spans, rationales, and derived safety factors.

To enable scalable and consistent supervision, we introduce a human--LLM hybrid annotation and canonicalization pipeline. We then fine-tune a compact model to generate canonical explanations alongside harmfulness decisions.

Across both seen and unseen benchmark settings, our method improves robustness and explanation fidelity.

In jailbreak defense evaluation, our approach reduces ASR to 0.44% on Vicuna-7B and 1.30% on GPT-3.5, outperforming existing defense baselines while also achieving the lowest StrongREJECT scores.

Beyond outcome-level gains, the model more accurately recovers diagnostic attributes (e.g., attack strategy, trigger spans, and safety factors) than strong general-purpose LLM baselines.

Overall, explanation-aware learning exposes diagnostic dimensions that ASR alone cannot capture and provides a more faithful and actionable foundation for robust LLM safety assessment.

  1. [Anil et al., 2024] Cem Anil, Esin Durmus, Nina Pan- ickssery, Mrinank Sharma, Joe Benton, Sandipan Kundu, Joshua Batson, Meg Tong, Jesse Mu, Daniel Ford, et al. Many-shot jailbreaking. Advances in Neural Information Processing Systems, 37:129696-129742, 2024.
  2. [Arazzi et al., 2025] Marco Arazzi, Vignesh Kumar Kembu, Antonino Nocera, et al. Xbreaking: Explainable arti- ficial intelligence for jailbreaking llms. arXiv preprint arXiv:2504.21700, 2025.
  3. [Aswal and Hudelot, 2025] Darpan Aswal and Céline Hude- lot. Llmsymguard: A symbolic safety guardrail framework leveraging interpretable jailbreak concepts. arXiv e-prints, pages arXiv-2508, 2025.
  4. [Ben-Tov et al., 2025] Matan Ben-Tov, Mor Geva, and Mah- mood Sharif. Universal jailbreak suffixes are strong atten- tion hijackers. arXiv preprint arXiv:2506.12880, 2025.
  5. [Chao et al., 2025] Patrick Chao, Alexander Robey, Edgar Dobriban, Hamed Hassani, George J Pappas, and Eric Wong. Jailbreaking black box large language models in twenty queries. In 2025 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), pages 23-42. IEEE, 2025.
  6. [Dubois et al., 2024] Yann Dubois, Balázs Galambosi, Percy Liang, and Tatsunori B Hashimoto. Length-controlled al- pacaeval: A simple way to debias automatic evaluators. arXiv preprint arXiv:2404.04475, 2024.
  7. [Friha et al., 2024] Othmane Friha, Mohamed Amine Fer- rag, Burak Kantarci, Burak Cakmak, Arda Ozgun, and Nassira Ghoualmi-Zine. Llm-based edge intelligence: A comprehensive survey on architectures, applications, secu- rity and trustworthiness. IEEE Open Journal of the Com- munications Society, 2024.
  8. [Hu et al., 2022] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. ICLR, 1(2):3, 2022.
  9. [Hu et al., 2024] Xiaomeng Hu, Pin-Yu Chen, and Tsung- Yi Ho. Gradient cuff: Detecting jailbreak attacks on large language models by exploring refusal loss land- scapes. Advances in Neural Information Processing Sys- tems, 37:126265-126296, 2024.
  10. [Hu et al., 2025] Xiaomeng Hu, Pin-Yu Chen, and Tsung-Yi Ho. Token highlighter: Inspecting and mitigating jailbreak prompts for large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 27330-27338, 2025.
  11. [Inan et al., 2023] Hakan Inan, Kartikeya Upasani, Jian- feng Chi, Rashi Rungta, Krithika Iyer, Yuning Mao, Michael Tontchev, Qing Hu, Brian Fuller, Davide Tes- tuggine, et al. Llama guard: Llm-based input-output safeguard for human-ai conversations. arXiv preprint arXiv:2312.06674, 2023.
  12. [Jeong et al., 2025] Joonhyun Jeong, Seyun Bae, Yeonsung Jung, Jaeryong Hwang, and Eunho Yang. Playing the fool: Jailbreaking llms and multimodal llms with out-of- distribution strategy. In Proceedings of the Computer Vi- sion and Pattern Recognition Conference, pages 29937- 29946, 2025.
  13. [Li et al., 2024] Qizhang Li, Xiaochen Yang, Wangmeng Zuo, and Yiwen Guo. Deciphering the chaos: Enhancing jailbreak attacks via adversarial prompt translation. arXiv preprint arXiv:2410.11317, 2024.
  14. [Liu et al., 2023] Xiaogeng Liu, Nan Xu, Muhao Chen, and Chaowei Xiao. Autodan: Generating stealthy jailbreak prompts on aligned large language models. arXiv preprint arXiv:2310.04451, 2023.
  15. [Liu et al., 2024] Yue Liu, Xiaoxin He, Miao Xiong, Jinlan Fu, Shumin Deng, and Bryan Hooi. Flipattack: Jailbreak llms via flipping. arXiv preprint arXiv:2410.02832, 2024.
  16. [Ma et al., 2024] Siyuan Ma, Weidi Luo, Yu Wang, and Xi- aogeng Liu. Visual-roleplay: Universal jailbreak attack on multimodal large language models via role-playing image character. arXiv preprint arXiv:2405.20773, 2024.
  17. [Mazeika et al., 2024] Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, et al. Harmbench: A standardized evaluation framework for automated red teaming and robust refusal. arXiv preprint arXiv:2402.04249, 2024.
  18. [Mehrotra et al., 2024] Anay Mehrotra, Manolis Zam- petakis, Paul Kassianik, Blaine Nelson, Hyrum Anderson, Yaron Singer, and Amin Karbasi. Tree of attacks: Jailbreaking black-box llms automatically. Advances in Neural Information Processing Systems, 37:61065-61105, 2024.
  19. [Robey et al., 2023] Alexander Robey, Eric Wong, Hamed Hassani, and George J Pappas. Smoothllm: Defending large language models against jailbreaking attacks. arXiv preprint arXiv:2310.03684, 2023.
  20. [Sayeedi et al., 2025] Md Faiyaz Abdullah Sayeedi, Maaz Bin Hossain, Md Kamrul Hassan, Sabrina Afrin, Molla Md Sabit, and Md Shohrab Hossain. Jailbreak- tracer: Explainable detection of jailbreaking prompts in llms using synthetic data generation. IEEE Access, 2025.
  21. [Souly et al., 2024] Alexandra Souly, Qingyuan Lu, Dil- lon Bowen, Tu Trinh, Elvis Hsieh, Sana Pandey, Pieter Abbeel, Justin Svegliato, Scott Emmons, Olivia Watkins, et al. A strongreject for empty jailbreaks. Advances in Neural Information Processing Systems, 37:125416- 125440, 2024.
  22. [Sun et al., 2024] Yuan Sun, Navid Salami Pargoo, Peter Jin, and Jorge Ortiz. Optimizing autonomous driving for safety: A human-centric approach with llm-enhanced rlhf. In Companion of the 2024 on ACM International Joint Conference on Pervasive and Ubiquitous Computing, pages 76-80, 2024.
  23. [Taori et al., 2023] Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. Stanford alpaca: An instruction-following llama model, 2023.
  24. [Team and others, 2024] Qwen Team et al. Qwen2 technical report. arXiv preprint arXiv:2407.10671, 2(3), 2024.
  25. [Uddin et al., 2025] Kutub Uddin, Muhammad Umar Fa- rooq, Awais Khan, Muhammad Saad Saeed, Ijaz Ul Haq, Nusrat Tasnim, and Khalid Mahmood Malik. Advbench: A comprehensive benchmark of adversarial attacks on deepfake detectors in real-world consumer applications. Authorea Preprints, 2025.
  26. [Wallace et al., 2019] Eric Wallace, Shi Feng, Nikhil Kand- pal, Matt Gardner, and Sameer Singh. Universal adversar- ial triggers for attacking and analyzing nlp. arXiv preprint arXiv:1908.07125, 2019.
  27. [Wang et al., 2024] Yihan Wang, Zhouxing Shi, Andrew Bai, and Cho-Jui Hsieh. Defending llms against jail- breaking attacks via backtranslation. arXiv preprint arXiv:2402.16459, 2024.
  28. [Wei et al., 2023a] Alexander Wei, Nika Haghtalab, and Ja- cob Steinhardt. Jailbroken: How does llm safety training fail? Advances in Neural Information Processing Systems, 36:80079-80110, 2023.
  29. [Wei et al., 2023b] Zeming Wei, Yifei Wang, Ang Li, Yichuan Mo, and Yisen Wang. Jailbreak and guard aligned language models with only few in-context demonstrations. arXiv preprint arXiv:2310.06387, 2023.
  30. [Wei et al., 2024] Zhipeng Wei, Yuqi Liu, and N Ben- jamin Erichson. Emoji attack: Enhancing jailbreak attacks against judge llm detection. arXiv preprint arXiv:2411.01077, 2024.
  31. [Wen et al., 2023] Yuxin Wen, Neel Jain, John Kirchen- bauer, Micah Goldblum, Jonas Geiping, and Tom Gold- stein. Hard prompts made easy: Gradient-based discrete optimization for prompt tuning and discovery. Advances in Neural Information Processing Systems, 36:51008-51025, 2023.
  32. [Xie et al., 2023] Yueqi Xie, Jingwei Yi, Jiawei Shao, Justin Curl, Lingjuan Lyu, Qifeng Chen, Xing Xie, and Fangzhao Wu. Defending chatgpt against jailbreak attack via self- reminders. Nature Machine Intelligence, 5(12):1486- 1496, 2023.
  33. [Xu et al., 2024] Zihao Xu, Yi Liu, Gelei Deng, Yuekang Li, and Stjepan Picek. Llm jailbreak attack versus defense techniques-a comprehensive study. CoRR, 2024.
  34. [Yang et al., 2024] Jingfeng Yang, Hongye Jin, Ruixiang Tang, Xiaotian Han, Qizhang Feng, Haoming Jiang, Shaochen Zhong, Bing Yin, and Xia Hu. Harnessing the power of llms in practice: A survey on chatgpt and be- yond. ACM Transactions on Knowledge Discovery from Data, 18(6):1-32, 2024.
  35. [Yi et al., 2024] Sibo Yi, Yule Liu, Zhen Sun, Tianshuo Cong, Xinlei He, Jiaxing Song, Ke Xu, and Qi Li. Jail- break attacks and defenses against large language models: A survey. arXiv preprint arXiv:2407.04295, 2024.
  36. [Yu et al., 2024] Jiahao Yu, Xingwei Lin, Zheng Yu, and Xinyu Xing. {LLM-Fuzzer}: Scaling assessment of large language model jailbreaks. In 33rd USENIX Security Sym- posium (USENIX Security 24), pages 4657-4674, 2024.
  37. [Zeng et al., 2024] Yi Zeng, Hongpeng Lin, Jingwen Zhang, Diyi Yang, Ruoxi Jia, and Weiyan Shi. How johnny can persuade llms to jailbreak them: Rethinking persuasion to challenge ai safety by humanizing llms. In Proceedings of the 62nd Annual Meeting of the Association for Computa- tional Linguistics (Volume 1: Long Papers), pages 14322- 14350, 2024.
  38. [Zhang et al., 2025] Chuhan Zhang, Ye Zhang, Bowen Shi, Yuyou Gan, Tianyu Du, Shouling Ji, Dazhan Deng, and Yingcai Wu. Neurobreak: Unveil internal jailbreak mechanisms in large language models. arXiv preprint arXiv:2509.03985, 2025.
  39. [Zheng et al., 2023] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. Advances in neural information processing systems, 36:46595- 46623, 2023.
  40. [Zhou et al., 2024] Zhenhong Zhou, Haiyang Yu, Xinghua Zhang, Rongwu Xu, Fei Huang, and Yongbin Li. How alignment and jailbreak work: Explain llm safety through intermediate hidden states. arXiv preprint arXiv:2406.05644, 2024.
  41. [Zhou et al., 2025] Yukai Zhou, Jian Lou, Zhijie Huang, Zhan Qin, Sibei Yang, and Wenjie Wang. Don't say no: Jailbreaking llm by suppressing refusal. In Findings of the Association for Computational Linguistics: ACL 2025, pages 25224-25249, 2025.
  42. [Zou et al., 2023] Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards