mlsanityData to 14 Oct 2026

Matching Ranks Over Probability Yields Truly Deep Safety Alignment

arXiv 2512.05518 ↗First posted 5 Dec 2025cs.CR cs.AIcited by 0

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

also in 1 more
Abstract (arXiv)

Open-source Large Language Models (LLMs) play a critical role in the democratization of AI, yet their "open" nature introduces more avenues for malicious actors to misuse them for harmful purposes. A frustratingly easy but powerful technique known as the prefilling attack has been shown to effectively circumvent the safety alignment of frontier open-source LLMs by simply prefilling the assistant response with an affirmative prefix before decoding. A recent promising supervised fine-tuning defense proposes using a simple data augmentation scheme to achieve a "deep" safety alignment, allowing the model to generate natural language refusals immediately following harmful prefills. In this work, we show that a simple generalization of the prefilling attack, which we refer to as the Rank-Assisted Prefilling (RAP) attack, can effectively extract harmful content from models fine-tuned with the data augmentation defense by selecting low-probability "harmful" tokens from the top 20 predicted next tokens at each step (thus ignoring high-probability enquoterefusal tokens). We then propose a new perspective on achieving deep safety alignment by matching the token ranks in the underlying data augmentation target distribution (rather than just their probabilities), yielding a surprisingly simple approach to strengthening deep alignment we call PRefill attEntion STOpping (PRESTO) that regularizes the attention placed on harmful prefill tokens. Compared to just using data augmentation, PRESTO yields up to a 4.7x improvement in safety under RAP attacks across three popular LLMs. By achieving a stronger level of safety against practical and accessible attacks, our work paves a path towards safer open-source models. The source code accompanying this paper can be found at: https://github.com/uiuc-focal-lab/push-forward-alignment

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 40 of its 53 references that are in the map. First posted on arXiv 5 Dec 2025.

Builds on

40 of 53 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024Backtracking Improves Generation Safety22 Sep
  2. 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preference20 Jun
  3. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  4. 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May
  5. 2024Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!19 Feb
  6. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
  7. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  8. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  9. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned23 Aug

Other references · 31

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  7. 2024Qwen2.5 Technical Reportcited by 4,942
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  11. 2025Gemma 3 Technical Reportcited by 1,824
  12. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
19 more
  1. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  2. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  3. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
  4. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  5. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  6. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  7. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  8. 2024A StrongREJECT for Empty Jailbreakscited by 385
  9. 2024Improving Alignment and Robustness with Circuit Breakerscited by 322
  10. 2024KTO: Model Alignment as Prospect Theoretic Optimizationcited by 264
  11. 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 107
  12. 2024On the Role of Attention Heads in Large Language Model Safetycited by 72
  13. 2022Self-Destructing Models: Increasing the Costs of Harmful Dual Uses of Foundation Modelscited by 57
  14. 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 50
  15. 2023Make Them Spill the Beans! Coercive Knowledge Extraction from (Production) LLMscited by 27
  16. 2024JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuitcited by 22
  17. 2024The Open Source Advantage in Large Language Models (LLMs)cited by 18
  18. 2025Discovering Forbidden Topics in Language Modelscited by 9
  19. 2020Top-Rank-Focused Adaptive Vote Collection for the Evaluation of Domain-Specific Semantic Modelscited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Safety Alignment Can Be Not Superficial With Explicit Safety Signals
  2. 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning
  3. 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack
  4. 2025Targeting Alignment: Extracting Safety Classifiers of Aligned LLMs
  5. 2026Safety Is Not Universal: The Selective Safety Trap in LLM Alignment
  6. 2025Vulnerability Mitigation for Safety-Aligned Language Models via Debiasing
  7. 2025Safety Pretraining: Toward the Next Generation of Safe AI
  8. 2024Stochastic Monkeys at Play: Random Augmentations Cheaply Break LLM Safety Alignment