mlsanityData to 14 Oct 2026

Safety Alignment Should Be Made More Than Just A Few Attention Heads

arXiv 2508.19697 ↗First posted 27 Aug 2025cs.CR cs.AI cs.CLcited by 5

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Current safety alignment for large language models(LLMs) continues to present vulnerabilities, given that adversarial prompting can effectively bypass their safety measures.Our investigation shows that these safety mechanisms predominantly depend on a limited subset of attention heads: removing or ablating these heads can severely compromise model safety. To identify and evaluate these safety-critical components, we introduce RDSHA, a targeted ablation method that leverages the model's refusal direction to pinpoint attention heads mostly responsible for safety behaviors. Further analysis shows that existing jailbreak attacks exploit this concentration by selectively bypassing or manipulating these critical attention heads. To address this issue, we propose AHD, a novel training strategy designed to promote the distributed encoding of safety-related behaviors across numerous attention heads. Experimental results demonstrate that AHD successfully distributes safety-related capabilities across more attention heads. Moreover, evaluations under several mainstream jailbreak attacks show that models trained with AHD exhibit considerably stronger safety robustness, while maintaining overall functional utility.

Key facts. Cited by 5 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 19 of its 34 references that are in the map. First posted on arXiv 27 Aug 2025.

Builds on

19 of 34 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  2. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
  3. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity3 Jan

Other references · 16

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  7. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  8. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  9. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  10. 2018Scalable agent alignment via reward modeling: a research directioncited by 447
  11. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  12. 2023Explainability for Large Language Models: A Surveycited by 333
4 more
  1. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 247
  2. 2021Alignment of Language Agentscited by 168
  3. 2024Autonomous LLM-Enhanced Adversarial Attack for Text-to-Motioncited by 7
  4. 2024Global Challenge for Safe and Secure LLMs Track 1cited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Attention Is Where You Attack
  2. 2025Safety Alignment Can Be Not Superficial With Explicit Safety Signals
  3. 2026Attributing and Exploiting Safety Vectors through Global Optimization in Large Language Models
  4. 2026Understanding the Effects of Safety Unalignment on Large Language Models
  5. 2026Robust Harmful Features Under Jailbreak Attacks: Mechanistic Evidence from Attention Head Specialization in Large Language Models
  6. 2025SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
  7. 2026Safety Is Not Universal: The Selective Safety Trap in LLM Alignment
  8. 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models