Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuning
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
- 2024Tamper-Resistant Safeguards for Open-Weight LLMs1 Aug
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 35
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
23 more
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2018On First-Order Meta-Learning Algorithmscited by 1,018
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023StarCoder: may the source be with you!cited by 799
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 200
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 128
- 2020MetaPoison: Practical General-purpose Clean-label Data Poisoningcited by 120
- 2023On the Exploitability of Instruction Tuningcited by 116
- 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
- 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 90
- 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 80
- 2024Exploiting LLM Quantizationcited by 65
- 2024On Evaluating the Durability of Safeguards for Open-Weight LLMscited by 52
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
- 2025Scalable Fingerprinting of Large Language Modelscited by 14
- 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!cited by 5
- 2023Conversations in Galician: a Large Language Model for an Underrepresented Languagecited by 3
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Hair-Trigger Alignment: Black-Box Evaluation Cannot Guarantee Post-Update Alignmentcited by 4
- 2026FloatDoor: Platform-Triggered Backdoors in LLMscited by 2
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injectioncited by 0
- 2026Decision-Level Hijacking: Injecting Cognitive Bias into Large Language Models via Bit-Flip Attackscited by 0
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Modelscited by 0
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Models10 Oct 2026
- 2026Decision-Level Hijacking: Injecting Cognitive Bias into Large Language Models via Bit-Flip Attacks28 Jul 2026
- 2026FloatDoor: Platform-Triggered Backdoors in LLMs17 Jun 2026
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injection14 May 2026
- 2026Hair-Trigger Alignment: Black-Box Evaluation Cannot Guarantee Post-Update Alignment29 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks
- 2024Coercing LLMs to do and reveal (almost) anything
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
- 2026Detecting Hidden Behaviors in LLMs via Activation-matched Finetuning
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
- 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions
- 2025Early Approaches to Adversarial Fine-Tuning for Prompt Injection Defense: A 2022 Study of GPT-3 and Contemporary Models
- 2025One Leak Away: How Pretrained Model Exposure Amplifies Jailbreak Risks in Finetuned LLMs