Does Safety Training of LLMs Generalize to Semantically Related Natural Prompts?
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Large Language Models (LLMs) are known to be susceptible to crafted adversarial attacks or jailbreaks that lead to the generation of objectionable content despite being aligned to human preferences using safety fine-tuning methods. While the large dimensionality of input token space makes it inevitable to find adversarial prompts that can jailbreak these models, we aim to evaluate whether safety fine-tuned LLMs are safe against natural prompts which are semantically related to toxic seed prompts that elicit safe responses after alignment. We surprisingly find that popular aligned LLMs such as GPT-4 can be compromised using naive prompts that are NOT even crafted with an objective of jailbreaking the model. Furthermore, we empirically show that given a seed prompt that elicits a toxic response from an unaligned model, one can systematically generate several semantically related natural prompts that can jailbreak aligned LLMs. Towards this, we propose a method of Response Guided Question Augmentation (ReG-QA) to evaluate the generalization of safety aligned LLMs to natural prompts, that first generates several toxic answers given a seed question using an unaligned LLM (Q to A), and further leverages an LLM to generate questions that are likely to produce these answers (A to Q). We interestingly find that safety fine-tuned LLMs such as GPT-4o are vulnerable to producing natural jailbreak questions from unsafe content (without denial) and can thus be used for the latter (A to Q) step. We obtain attack success rates that are comparable to/ better than leading adversarial attack methods on the JailbreakBench leaderboard, while being significantly more stable against defenses such as Smooth-LLM and Synonym Substitution, which are effective against existing all attacks on the leaderboard.
Key facts. Cited by 15 papers in the map (data through 13 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 39 of its 46 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
39 of 46 references.
Closest ancestors · 1
Same direction, newest first
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs26 Jun
Other references · 38
- 2023GPT-4 Technical Reportcited by 18,278
- 2022Training language models to follow instructions with human feedbackcited by 15,856
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
- 2017Deep reinforcement learning from human preferencescited by 3,871
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,765
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,691
- 2023Mistral 7Bcited by 3,123
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,064
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,968
- 2024Mixtral of Expertscited by 1,811
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,637
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,405
26 more
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,404
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,181
- 2023PaLM 2 Technical Reportcited by 1,162
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 777
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 664
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 647
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 565
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 554
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 531
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 485
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 483
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 464
- 2023Detecting Language Model Attacks with Perplexitycited by 429
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 422
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 404
- 2023Are aligned neural networks adversarially aligned?cited by 315
- 2023Certifying LLM Safety against Adversarial Promptingcited by 263
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 238
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 211
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 81
- 2024PAL: Proxy-Guided Black-Box Attack on Large Language Modelscited by 49
- 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attackscited by 32
- 2023Safer-Instruct: Aligning Language Models with Automated Preference Datacited by 27
- 2024AutoJailbreak: Exploring Jailbreak Attacks and Defenses through a Dependency Lenscited by 14
- 2022Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generationcited by 8
Built on by
Citing papers per year: 2025: 7; 2026: 8.
15 papers.
Sort:
By area:
- 2025Adversarial Preference Learning for Robust LLM Alignmentcited by 7
- 2025Backtracking for Safetycited by 4
- 2025Semantic Representation Attack against Aligned Large Language Modelscited by 3
- 2025PLAGUE: Plug-and-play framework for Lifelong Adaptive Generation of Multi-turn Exploitscited by 3
- 2026Benchmarking and Improving Monitors for Out-Of-Distribution Alignment Failure in LLMscited by 3
- 2025Revealing the Intrinsic Ethical Vulnerability of Aligned Large Language Modelscited by 2
- 2025BiasCause: Evaluate Socially Biased Causal Reasoning of Large Language Modelscited by 2
- 2026Small Reward Models via Backward Inferencecited by 2
- 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attackcited by 1
- 2026Reinforcement Learning with Backtracking Feedbackcited by 0
- 2026LLM-Agnostic Semantic Representation Attackcited by 0
- 2026Evolving and Detecting Multi-Turn Deception using Geometric Signaturescited by 0
3 more
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attackcited by 0
- 2026Eliciting Intrinsic Hallucinations in LLMs via Semantically Equivalent Adversarial Attackscited by 0
- 2026What Do Current Systematic Generalization Tasks Miss? A Reasoning-Centered Analysiscited by 0
- 2026What Do Current Systematic Generalization Tasks Miss? A Reasoning-Centered Analysis16 Sep 2026
- 2026Eliciting Intrinsic Hallucinations in LLMs via Semantically Equivalent Adversarial Attacks4 Aug 2026
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack4 Jun 2026
- 2026Evolving and Detecting Multi-Turn Deception using Geometric Signatures26 May 2026
- 2026Benchmarking and Improving Monitors for Out-Of-Distribution Alignment Failure in LLMs20 May 2026
- 2026LLM-Agnostic Semantic Representation Attack9 May 2026
- 2026Small Reward Models via Backward Inference14 Feb 2026
- 2026Reinforcement Learning with Backtracking Feedback9 Feb 2026
- 2025PLAGUE: Plug-and-play framework for Lifelong Adaptive Generation of Multi-turn Exploits20 Oct 2025
- 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attack30 Sep 2025
- 2025Semantic Representation Attack against Aligned Large Language Models18 Sep 2025
- 2025Adversarial Preference Learning for Robust LLM Alignment30 May 2025
3 more
- 2025Backtracking for Safetycited by 4
- 2025PLAGUE: Plug-and-play framework for Lifelong Adaptive Generation of Multi-turn Exploitscited by 3
- 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attackcited by 1
- 2026LLM-Agnostic Semantic Representation Attackcited by 0
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attackcited by 0
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack4 Jun 2026
- 2026LLM-Agnostic Semantic Representation Attack9 May 2026
- 2025PLAGUE: Plug-and-play framework for Lifelong Adaptive Generation of Multi-turn Exploits20 Oct 2025
- 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attack30 Sep 2025
- 2025Backtracking for Safety11 Mar 2025
- 2025Adversarial Preference Learning for Robust LLM Alignmentcited by 7
- 2025Semantic Representation Attack against Aligned Large Language Modelscited by 3
- 2025Revealing the Intrinsic Ethical Vulnerability of Aligned Large Language Modelscited by 2
- 2026Small Reward Models via Backward Inferencecited by 2
- 2026Small Reward Models via Backward Inference14 Feb 2026
- 2025Semantic Representation Attack against Aligned Large Language Models18 Sep 2025
- 2025Adversarial Preference Learning for Robust LLM Alignment30 May 2025
- 2025Revealing the Intrinsic Ethical Vulnerability of Aligned Large Language Models7 Apr 2025
- 2026Reinforcement Learning with Backtracking Feedbackcited by 0
- 2026Reinforcement Learning with Backtracking Feedback9 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Safety Alignment Can Be Not Superficial With Explicit Safety Signals
- 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
- 2025Paper Summary Attack: Jailbreaking LLMs through LLM Safety Papers
- 2025Advancing LLM Safe Alignment with Safety Representation Ranking
- 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shifts
- 2025Rethinking Safety in LLM Fine-tuning: An Optimization Perspective
- 2026Understanding the Effects of Safety Unalignment on Large Language Models
- 2024SG-Bench: Evaluating LLM Safety Generalization Across Diverse Tasks and Prompt Types