mlsanityData to 14 Oct 2026

No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanisms

arXiv 2502.19537 ↗First posted 26 Feb 2025cs.CR cs.AI cs.LGcited by 6

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

Leading language model (LM) providers like OpenAI and Anthropic allow customers to fine-tune frontier LMs for specific use cases. To prevent abuse, these providers apply filters to block fine-tuning on overtly harmful data. In this setting, we make three contributions: First, while past work has shown that safety alignment is "shallow", we correspondingly demonstrate that existing fine-tuning attacks are shallow -- attacks target only the first several tokens of the model response, and consequently can be blocked by generating the first several response tokens with an aligned model. Second, we conceptually illustrate how to make attacks deeper by introducing a new fine-tuning attack that trains models to first refuse harmful requests before answering them; this "refuse-then-comply" strategy bypasses shallow defenses and produces harmful responses that evade output filters. Third, we demonstrate the potency of our new fine-tuning attack by jailbreaking both open-source models equipped with defenses and production models, achieving attack success rates of 57% and 72% against GPT-4o and Claude Haiku, respectively. Our attack received a 2000 bug bounty from OpenAI and was acknowledged as a vulnerability by Anthropic. Our work undermines the notion that models are safe because they initially refuse harmful requests and broadens awareness of the scope of attacks that face production fine-tuning APIs.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 67 of its 100 references that are in the map. First posted on arXiv 26 Feb 2025.

Builds on

67 of 100 references.

Closest ancestors · 16

Same direction, newest first

  1. 2025Virus: Harmful Fine-tuning Attack for Large Language Models Bypassing Guardrail Moderation29 Jan
  2. 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Models15 Dec
  3. 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attacks23 Oct
  4. 2024Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation13 Oct
  5. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey26 Sep
  6. 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuning18 Aug
  7. 2024Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models12 Jun
  8. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  9. 2024Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack28 May
  10. 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models27 May
  11. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curation24 May
  12. 2024A safety realignment framework via subspace-oriented model fusion for large language models15 May
4 more
  1. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
  2. 2024Building Guardrails for Large Language Models2 Feb
  3. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70B31 Oct
  4. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct

Other references · 51

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  7. 2017Evasion Attacks against Machine Learning at Test Timecited by 689
  8. 2023Instruction Tuning with GPT-4cited by 686
  9. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 529
  10. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  11. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
  12. 2023Are aligned neural networks adversarially aligned?cited by 315
38 more
  1. 2017Certified Defenses for Data Poisoning Attackscited by 303
  2. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 297
  3. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
  4. 2023Poisoning Language Models During Instruction Tuningcited by 269
  5. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
  6. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 171
  7. 2021Challenges in Detoxifying Language Modelscited by 169
  8. 2024Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language Modelscited by 167
  9. 2024Tamper-Resistant Safeguards for Open-Weight LLMscited by 138
  10. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 134
  11. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  12. 2020Just How Toxic is Data Poisoning? A Unified Benchmark for Backdoor and Data Poisoning Attackscited by 116
  13. 2023On the Exploitability of Instruction Tuningcited by 116
  14. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 115
  15. 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 101
  16. 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
  17. 2024Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templatescited by 96
  18. 2018Is feature selection secure against training data poisoning?cited by 93
  19. 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
  20. 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 88
  21. 2016Data Poisoning Attacks on Factorization-Based Collaborative Filteringcited by 83
  22. 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 80
  23. 2024SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selectioncited by 64
  24. 2024On Evaluating the Durability of Safeguards for Open-Weight LLMscited by 52
  25. 2024Shadowcast: Stealthy Data Poisoning Attacks Against Vision-Language Modelscited by 50
  26. 2024NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuningcited by 37
  27. 2024Best-of-Venom: Attacking RLHF by Injecting Poisoned Preference Datacited by 35
  28. 2024Safety-Aware Fine-Tuning of Large Language Modelscited by 34
  29. 2024PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoningcited by 33
  30. 2024Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignmentcited by 31
  31. 2022Not All Poisons are Created Equal: Robust Training against Data Poisoningcited by 30
  32. 2024Locking Down the Finetuned LLMs Safetycited by 22
  33. 2018Is Data Clustering in Adversarial Settings Secure?cited by 18
  34. 2024The effect of fine-tuning on language model toxicitycited by 16
  35. 2023Temporal Robustness against Data Poisoningcited by 10
  36. 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10
  37. 2024Jailbreak Defense in a Narrow Domain: Limitations of Existing Methods and a New Transcript-Classifier Approachcited by 6
  38. 2023Transferable Availability Poisoning Attackscited by 5

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

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

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning
  2. 2025Matching Ranks Over Probability Yields Truly Deep Safety Alignment
  3. 2026Gradient Immunity: Null-Space Resistance to Malicious Fine-Tuning
  4. 2025Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMs
  5. 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks
  6. 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistency
  7. 2025Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation
  8. 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks