mlsanityData to 14 Oct 2026

Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuning

arXiv 2505.16567 ↗First posted 22 May 2025cs.LG cs.AI cs.CRcited by 5

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Finetuning open-weight Large Language Models (LLMs) is standard practice for achieving task-specific performance improvements. Until now, finetuning has been regarded as a controlled and secure process in which training on benign datasets leads to predictable behaviors. In this paper, we demonstrate, for the first time, that an adversary can create compromised LLMs that are performant and benign, yet exhibit adversarial behaviors once finetuned by downstream users. To this end, we propose an attack, FAB (Finetuning-activated Adversarial Behaviors), which compromises an LLM via meta-learning techniques that simulate downstream finetuning, explicitly optimizing for the emergence of adversarial behaviors in the finetuned models. At the same time, the compromised LLM is regularized to retain general capabilities and to exhibit no adversarial behaviors prior to finetuning. As a result, when users finetune (e.g., instruction-tuning, distillation, DPO) the seemingly benign model on their own datasets, they unknowingly trigger its dormant adversarial behavior. We experimentally demonstrate the effectiveness of FAB across multiple LLMs and three commonly considered target behaviors: unsolicited advertising, jailbreakability, and over-refusal. We show that FAB-triggers are robust to various finetuning choices made by the user (e.g., dataset, number of steps, scheduler, post-training algorithm). Our findings challenge prevailing assumptions on the security of finetuning, revealing a critical attack vector.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 40 of its 52 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

40 of 52 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Tamper-Resistant Safeguards for Open-Weight LLMs1 Aug
  2. 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul
  3. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  5. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 35

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  11. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  12. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
23 more
  1. 2017Decoupled Weight Decay Regularizationcited by 1,831
  2. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  3. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
  4. 2018On First-Order Meta-Learning Algorithmscited by 1,018
  5. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  6. 2023StarCoder: may the source be with you!cited by 799
  7. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  8. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  9. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
  10. 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 200
  11. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
  12. 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 128
  13. 2020MetaPoison: Practical General-purpose Clean-label Data Poisoningcited by 120
  14. 2023On the Exploitability of Instruction Tuningcited by 116
  15. 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
  16. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 90
  17. 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 80
  18. 2024Exploiting LLM Quantizationcited by 65
  19. 2024On Evaluating the Durability of Safeguards for Open-Weight LLMscited by 52
  20. 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
  21. 2025Scalable Fingerprinting of Large Language Modelscited by 14
  22. 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!cited by 5
  23. 2023Conversations in Galician: a Large Language Model for an Underrepresented Languagecited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks
  2. 2024Coercing LLMs to do and reveal (almost) anything
  3. 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
  4. 2026Detecting Hidden Behaviors in LLMs via Activation-matched Finetuning
  5. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
  6. 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions
  7. 2025Early Approaches to Adversarial Fine-Tuning for Prompt Injection Defense: A 2022 Study of GPT-3 and Contemporary Models
  8. 2025One Leak Away: How Pretrained Model Exposure Amplifies Jailbreak Risks in Finetuned LLMs