cs.LGNov 11, 2026

Poison-then-Hide: Finetuning-Activated Backdoor Attack on Pretrained Vision Encoders

Authors: Qixuan Jin, Abinitha Gourabathina, Vinith Menon Suriyakumar, Walter Gerych, Marzyeh Ghassemi

Organizations: Massachusetts Institute of Technology, Cambridge, MA, USA · Worcester Polytechnic Institute, Worcester, MA, USA

Abstract

Backdoor attacks threaten the integrity of machine learning models by allowing attackers to control model behavior through triggers. Models can be compromised during finetuning by backdoor attacks through either poisoned data or adversarial training objectives. Because existing finetuning-activated attacks assume limited domain shift or frozen encoder layers, they often fail under full-model finetuning. We target a stealthy finetuning-activated attack where a dormant backdoor is implanted in a pretrained encoder, and later activated by finetuning on clean downstream data. We propose Poison-then-Hide, a novel attack that remains effective when the entire model is finetuned in a domain transfer. Our approach consists of three components: trigger optimization, base encoder poisoning, and targeted unlearning to conceal the backdoor. We evaluate our method on six datasets and three model architectures, and achieve state-of-the-art (up to 97%) attack success rates. We find that jointly learning the benign target task alongside the poisoning is critical to the attack's success. We demonstrate standard detection and mitigation defenses cannot fully remove the backdoor, which can reappear after benign finetuning.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reading Fine-Tuning Diffs Through Lenses: Model Diffing for Backdoor Detection

    Nov 25, 2026Maximilian Petrowitsch, Ben Connors, Chris KapulkinBackdoor DetectionLLM Backdoor Attacks

  2. SynGhost: Invisible and Universal Task-agnostic Backdoor Attack via Syntactic Transfer

    Feb 29, 2024Pengzhou Cheng, Wei Du, Zongru Wu +4Language Model PretrainingLLM Backdoor Attacks

  3. BackdoorIDS: Zero-shot Backdoor Detection for Pretrained Vision Encoder

    Mar 12, 2026Siquan Huang, Yijiang Li, Ningzhi Gao +3Backdoor DetectionVision Foundation Models