Safety Alignment Can Be Not Superficial With Explicit Safety Signals
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Recent studies on the safety alignment of large language models (LLMs) have revealed that existing approaches often operate superficially, leaving models vulnerable to various adversarial attacks. Despite their significance, these studies generally fail to offer actionable solutions beyond data augmentation for achieving more robust safety mechanisms. This paper identifies a fundamental cause of this superficiality: existing alignment approaches often presume that models can implicitly learn a safety-related reasoning task during the alignment process, enabling them to refuse harmful requests. However, the learned safety signals are often diluted by other competing objectives, leading models to struggle with drawing a firm safety-conscious decision boundary when confronted with adversarial attacks. Based on this observation, by explicitly introducing a safety-related binary classification task and integrating its signals with our attention and decoding strategies, we eliminate this ambiguity and allow models to respond more responsibly to malicious queries. We emphasize that, with less than 0.2x overhead cost, our approach enables LLMs to assess the safety of both the query and the previously generated tokens at each necessary generating step. Extensive experiments demonstrate that our method significantly improves the resilience of LLMs against various adversarial attacks, offering a promising pathway toward more robust generative AI systems.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 56 of its 75 references that are in the map. First posted on arXiv 19 May 2025.
Builds on
56 of 75 references.
Closest ancestors · 9
Same direction, newest first
- 2024Superficial Safety Alignment Hypothesis7 Oct
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Are aligned neural networks adversarially aligned?26 Jun
Other references · 47
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
35 more
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023Mistral 7Bcited by 3,164
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 463
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
- 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translationcited by 394
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2023AI Alignment: A Comprehensive Surveycited by 263
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 247
- 2023Self-Alignment with Instruction Backtranslationcited by 151
- 2023Chain of Hindsight Aligns Language Models with Feedbackcited by 148
- 2024ALERT: A Comprehensive Benchmark for Assessing Large Language Models' Safety through Red Teamingcited by 98
- 2024Reinforcement Learning for LLM Post-Training: A Surveycited by 92
- 2024Curiosity-driven Red-teaming for Large Language Modelscited by 88
- 2024Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Trainingcited by 69
- 2023Red Teaming Language Model Detectors with Language Modelscited by 55
- 2024Enhancing LLM Safety via Constrained Direct Preference Optimizationcited by 49
- 2024A Deep Dive into the Trade-Offs of Parameter-Efficient Preference Alignment Techniquescited by 16
Built on by
Citing papers per year: 2025: 1; 2026: 8.
9 papers.
- 2025Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoringcited by 11
- 2026Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignmentcited by 7
- 2026Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Referencecited by 7
- 2026Alignment-Weighted DPO: A principled reasoning approach to improve safety alignmentcited by 2
- 2026New Wide-Net-Casting Jailbreak Attacks Risk Large Modelscited by 0
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluationcited by 0
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attackcited by 0
- 2026NeuronFuzz: Safety Neuron Guided Fuzzing for LLM Safety Evaluationcited by 0
- 2026AUDITPLAN: Commit, Then Answer for Auditable Safety Alignmentcited by 0
- 2026AUDITPLAN: Commit, Then Answer for Auditable Safety Alignment16 Sep 2026
- 2026NeuronFuzz: Safety Neuron Guided Fuzzing for LLM Safety Evaluation26 Aug 2026
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack4 Jun 2026
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluation27 May 2026
- 2026New Wide-Net-Casting Jailbreak Attacks Risk Large Models16 May 2026
- 2026Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Reference13 Mar 2026
- 2026Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignment12 Mar 2026
- 2026Alignment-Weighted DPO: A principled reasoning approach to improve safety alignment24 Feb 2026
- 2025Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoring12 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025Safety Alignment Should Be Made More Than Just A Few Attention Heads
- 2025Advancing LLM Safe Alignment with Safety Representation Ranking
- 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models
- 2025Rethinking Deep Alignment Through The Lens Of Incomplete Learning
- 2025Targeting Alignment: Extracting Safety Classifiers of Aligned LLMs
- 2023Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attack
- 2025Vulnerability Mitigation for Safety-Aligned Language Models via Debiasing
- 2026Safety Is Not Universal: The Selective Safety Trap in LLM Alignment