potentialpaper

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

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a new finetuning-activated backdoor based on the insight that benign task should be learned concurrently with the attack poisoning.

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 two design choices - jointly learning the benign target task and the backdoor during encoder poisoning, and optimizing the trigger for attack robustness using an ensemble of simulated finetuned models - are critical to the attack's success. We demonstrate that standard detection and mitigation defenses cannot fully remove the backdoor, which can reappear after benign finetuning.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The AC finds the reviewers' comments to be reasonable. The authors should particularly address the shared concern about the threat model: how the property and quality of simulated fine-tuned models would affect the performance.

Final justification

After the discussion phase, the majot concern about the threat model has been well addressed with extensive experiments. As promised, the authors should add new experiments with semantic shift beyond Gaussion moise in their final version.

Area Chair qsXS · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The AC finds the reviewers' comments to be reasonable. The authors should particularly address the shared concern about the threat model: how the property and quality of simulated fine-tuned models would affect the performance.

Final justification

After the discussion phase, the majot concern about the threat model has been well addressed with extensive experiments. As promised, the authors should add new experiments with semantic shift beyond Gaussion moise in their final version.

1 comment
Authors · CommentOpenReview ↗

We thank the AC for highlighting this shared concern. We added ablations assessing the quality of simulated fine-tuned models by varying both proxy ensemble size and proxy fidelity. We find that proxy quality matters: ASR is low with one proxy or low-fidelity proxies, but improves by k=3 and remains strong under fine-tuning hyperparameter/update-rule mismatch, suggesting that exact victim-pipeline knowledge is unnecessary.

We also added substantial experiments on semantic domain shift, clean-label conflict, large victim-data regimes, recent defenses, and PEFT/LoRA. These results help clarify the task-conditioned threat model: the attacker need not know the victim’s exact dataset or fine-tuning pipeline, but must anticipate the downstream task family and target semantics.

We hope these additions strengthen the manuscript.

Reviewer gaDLOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Backdoor attack is a threat on machine learning models by controlling model’s behaviour through triggers. Finetuning-activated (FA) attacks are the attack that attacker implant a dormant backdoor into a pretrained encoder while concealing its presence. However, current FA attacks assume conditions that limit their practicality. First, current methods assume strong similarity between pretraining and downstream task. Second, some methods consider encoder remain frozen during finetuning. These attacks fail when the assumption is not met, for example Latent ASR drops from 99% to 0%. From this gap, the paper proposes Poison-Then-Hide, a FA attack that is robust to model finetuning. The method consists of three stages: trigger optimization, encoder poisoning, and backdoor concealment. Specifically, the algorithm optimize a trigger activated only after finetuning then poison encoder to learn both benign and malicious behaviours to the target datasets, and finally unlearn to keep the backdoor dormant until finetuning.

Strengths and weaknesses

Quality

S1: The threat model with weaker condition is convincing with practical scenarios and empirical success rate drop in literatures and experiments. The setups is comprehensive with three transfer learning settings. Limitations is good about Poison-then-Hide is designed specifically for full-model finetuning, in addition, assuming the attacker and victim share the same downstream task.

W1: The limitations of the method hinder exactly attacks in reality when the pretrained model is quite big and general, then full-model finetuning is not popular setting in real life application.

Clarity

S2: The method part is well written and easy to follow.

W2: Experimental Setup with datasets is not clear, which one is pretrain dataset, which is target datasets but only arrow like “CIFAR10 → SVHN” making reader confusing and hard to understand.The concept of in-domain (RESISC) and out-of-domain (UC Merced) is not clear. Specifically, which is in-domain and which is out-of-domain. CLIP and DINOv2 only appear in Models part, that means the authors does not use weights of CLIP and DINOv2 but only architectures?

W3: The authors consider the attack success rate (ASR) is defined as the proportion of trigger-perturbed images that are misclassified into the target backdoor class. Do they consider it in defenses involved in setup?

W4: Definition of the dataset for attackers use, and for user use for downstream task, which should be partial overlapped is not clear such that how many percentages from target dataset is used, or attackers use a similar dataset to optimize trigger. It is noted by the authors that: “Note that for our attack, the attacker does not require access to the victim’s exact downstream dataset.” But it is not clearly defined in experimental setup as I understand the paper.

Minor: What is exactly Φ(·) in line 136 ?

Significance

S3: The method investigate FA attacks in harder setting, which can help community aware on that. It can be seen as a threat model with a new condition investigation.

Originality

S4: Poison-Then-Hide can be seen as a novel approach with a part of target dataset to conduct FA backdoor attack on pretrain models.

W5: The attack technique seem does not chang principle design but do it in the setting with a adaptation step to downstream task. Is Poison-The-Hide different compared to existing work in the attacking technical design rather than only assumption?

Questions

Can the authors answer or address my concerns in W1, W2, W3, W4, W5?

Limitations

W1: The limitations of the method hinder exactly attacks when the pretrained model is quite big and general, then full-model finetuning is not popular setting in real life application.

Final justification

Thank you the authors for rebuttal and discussion. After reading comments of other reviewers, I keep the positive score.

Formatting concerns

N/A.

3 comments
Authors · CommentOpenReview ↗

Response Part 1

W1: popularity of full model finetuning We appreciate the reviewer’s point that PEFT methods are increasingly common, especially as pretrained models become larger and more general. At the same time, full-model fine-tuning remains a realistic setting in many practical applications. This is particularly true in vision domains, including healthcare and other specialized settings, where models are often smaller than modern foundation models and full fine-tuning is still commonly used to achieve effective domain adaptation. For this reason, we believe full fine-tuning is an important real-world scenario to evaluate.

To further address the reviewer’s concern, we additionally evaluated our attack under a PEFT setting using LoRA. The attack remains effective while updating only 2.54% of parameters. These results suggest that the attack is not limited to full-model fine-tuning and can persist even when only a small fraction of parameters is updated.

Experiment Post-PEFT benign acc Post-PEFT ASR PEFT trainable params Trainable %
CIFAR10 -> SVHN, ResNet18 LoRA 96.21% 54.98% 291,554 / 11,465,516 2.54%

W2: experimental setup clarifications We thank the reviewer for pointing out confusions with notation. We will revise the experimental setup to explicitly distinguish three dataset roles: the pretraining dataset, the attacker’s surrogate dataset, and the victim’s downstream target dataset. In our notation “A -> B”, A is the dataset used to pretrain the encoder, and B is the downstream dataset on which the victim finetunes and evaluates the model. For example, “CIFAR10 -> SVHN” means that the encoder is pretrained on CIFAR10, and the victim fine-tunes/evaluates on clean SVHN.

The terms in-domain and out-of-domain refer to the relationship between the attacker’s surrogate data and the victim’s downstream data. In the in-domain setting, the attacker’s surrogate data comes from the same distribution as the victim’s downstream task. For example, in “ImageNet -> RESISC,” ImageNet is the pretraining dataset, while RESISC is the downstream task; the attacker also uses surrogate RESISC data to implant the backdoor. In Sec. 5.2, we evaluate out-of-domain generalization: the attacker uses RESISC as the surrogate dataset, but the victim fine-tunes and evaluates on UCMerced, so UCMerced is the OOD downstream target.

For CLIP and DINOv2, we use their pretrained weights, not only their architectures. We will add these clarifications to the experimental setup section of the manuscript.

W3: ASR definition The ASR as defined is consistent across our experiments, including our defense results. As suggested by another reviewer, we have implemented a flip-rate ASR that excludes examples whose true label is already the target class:

\

\mathrm{ASR}_{\mathrm{flip}}= \frac{\\\#\\{i: y_i \neq y_t,\\ f(x_i)\neq y_t,\\ f(x_i+\delta)=y_t\\}} {\\\#\\{i: y_i \neq y_t\\}}. \

Re-evaluating Poison-then-Hide from Table 1 shows the attack remains effective. We will update the manuscript to report both metrics.

Model Method C17 OOD Acc C17 Original ASR C17 Flip-ASR UCMerced Acc UCMerced Original ASR UCMerced Flip-ASR
ResNet50 Poison then Hide 87.95 ± 2.39 91.94 ± 6.35 71.81 ± 12.26 89.00 ± 1.50 94.11 ± 1.06 87.46 ± 1.55
CLIP Poison then Hide 94.23 ± 0.44 73.32 ± 8.71 42.16 ± 19.33 92.27 ± 0.85 61.04 ± 17.16 48.91 ± 17.34

W4: dataset overlap definitions In our main experiments, the attacker’s surrogate dataset and the victim’s downstream fine-tuning dataset are completely disjoint, with 0% sample overlap. The attacker does not use the victim’s exact downstream training data; instead, they use a related surrogate dataset to learn the trigger and implant the backdoor. We will revise the experimental setup to clarify this.

Minor: line 136

Φ(⋅)\Phi(\cdot) in our implementation is a hinge margin penalty on logits. Specifically, for logits z=fθ~(x+δopt)z = f_{\tilde{\theta}}(x+\delta^{\mathrm{opt}}) and adversarial target class yadvy^{\mathrm{adv}},

Φ(z,yadv)=max⁡(0,m+zyadv−max⁡k≠yadvzk),\Phi(z, y^{\mathrm{adv}}) = \max(0, m + z_{y^{\mathrm{adv}}} - \max_{k \neq y^{\mathrm{adv}}} z_k),

where zyadvz_{y^{\mathrm{adv}}} is the logit of the adversarial target class, max⁡k≠yadvzk\max_{k \neq y^{\mathrm{adv}}} z_k is the largest non-target logit, and mm is the margin hyperparameter. In our experiments, we use m=2.0m = 2.0.

Authors · CommentOpenReview ↗

Response Part 2

W5: Novelty of technical design Yes, the Poison-then-Hide has key differences in the method design in comparison with prior baselines.

First, we jointly optimize for backdoor behavior and benign downstream-task learning, which we show is important for the backdoor to survive later clean fine-tuning (Sec. 5.3 and 5.4). This is a regularization technique that has not been utilized in any prior finetuning-activated backdoors. Second, we introduce an ensemble-based trigger optimization procedure that improves trigger transferability after downstream fine-tuning (Sec. 5.5). Third, we add a post-training suppression step that explicitly hides the backdoor behavior before victim adaptation.

Together, these components form an attack pipeline tailored to the adaptation setting, rather than a direct application of prior poisoning methods. Empirically, the resulting attack achieves more consistent ASR under the stricter assumption that the victim fully fine-tunes the model, while prior approaches often rely on partially frozen encoders or weaker adaptation settings.

Reviewer gaDL · CommentOpenReview ↗

I thank authors to rebuttal, which addressed my concerns. I will keep the positive score.

Reviewer p2KTOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a novel finetuning-activated backdoor attack against pre-trained vision encoders, in which the victim's own downstream fine-tuning acts as the activation mechanism. A benign pre-trained encoder becomes maliciously implanted after the victim fine-tunes it on clean data. The authors design a three-stage method consisting of trigger optimization, encoder poisoning, and backdoor hiding. Unlike prior work, the proposed method does not require the victim's exact downstream dataset and works with in-domain or surrogate (OOD) reference data or limited parameter in fine-tuning. It still assumes the attacker can anticipate the downstream task class and full-parameter fine-tuning. Experiments across various datasets and model architectures demonstrates high ASR, OOD transferability, and robustness to detection.

Strengths and weaknesses

Strengths

  1.  In real deployments, downstream users sometimes adopt a pretrained encoder as it is, and sometimes fine-tune it for their own domain. This paper considers the latter setting in which an attacker with some prior knowledge of the downstream task, collects reference data to implant a backdoor in the distributed encoder; the victim, after obtaining the encoder, performs in-domain fine-tuning that activates the backdoor. This is a meaningful and realistic threat model.
  2. The paper studies multiple datasets and model architectures, covers both in-domain and out-of-distribution (OOD) data, and additionally examines both detection-based and mitigation-based defenses.
  3. The proposed method is intuitive and well-motivated. The pipeline of optimizing the trigger by simulating victim fine-tuning, poisoning the encoder, and finally fine-tuning to hide the backdoor while preserving CA —is conceptually clear and reasonable.

Weaknesses

  1. The claimed OOD transferability is questionable; the attack is task-coupled rather than data-agnostic. Although the paper evaluates transferability under domain shift section, the reported settings do not, in my view, constitute genuinely out-of-distribution domains. For instance, "models finetuned on hospitals 0–2 are evaluated on OOD hospital 3" involves the same task (i.e., an in-domain task), merely under a mild distributional shift. It is in fact consistent with the threat model claimed, which requires the attacker to know the category of the downstream fine-tuning task in order to collect reference data. Consequently, the backdoor implantation is not data-agnostic but task-coupled, and the threat model fundamentally relies on the attacker anticipating the downstream task. I still consider this as a valuable threat model, but the authors should state this assumption explicitly rather than claiming OOD transferability. This observation also brings the next concern.
  2. The paper appears to assume the two datasets are disjoint. This raises two questions that I believe require empirical evidence: (1) When the downstream task provides clean labels for same samples that conflict with the target labels used during backdoor training, how does the model reconcile this conflicting data? (2) What happens when the downstream task data are sufficiently abundant—i.e., when the size of downstream fine-tuning data is far larger (≫) than the attacker's reference dataset? Experimental evidence would be particularly important.
  3. The quality of the simulated fine-tuned models in trigger optimization is critical but under-discussed. The attacker samples multiple fine-tuned models to simulate downstream training, and then performs a min-max optimization so that the trigger remains benign on the base model yet malicious on the fine-tuned models. The way these fine-tuned models are sampled, or the quality of the simulated models, is therefore important for the effectiveness of the attack. Moreover, the victim's fine-tuning pipeline is assumed to be unknown to the attacker (as the authors claim). However, the paper offers little theoretical or empirical analysis of the simulation process and its fidelity, which weakens the reliability of the reported results.
  4. Two of the four defenses, from 2018 and 2019, are relatively outdated and the other two are 2023 and 2025. Could the authors also evaluate against more recent state-of-the-art backdoor detection/mitigation methods to better substantiate the claimed robustness? (e.g. [1] "Dede: Detecting backdoor samples for ssl encoders via decoders." Proceedings of the Computer Vision and Pattern Recognition Conference. 2025. [2] "Mitigating Backdoor Attacks via Trigger Reconstruction and Model Hardening." Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision. 2026. [3] "CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversion." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2026.)
  5. The method appears applicable beyond full fine-tuning, yet other fine-tuning regimes are not explored. I am curious about the attack's effectiveness under other fine-tuning strategies. While the authors acknowledge this limitation, it is unclear why parameter-efficient fine-tuning (PEFT) in particular was not investigated.
Questions

Please see weaknesses above. I list several in the following anyway:

Q1. Since the "OOD" settings (e.g., hospital 0–2 → hospital 3) remain within the same task, does the attack rely on the attacker anticipating the downstream task? Could you clarify this assumption rather than framing it as OOD transferability?

Q2. What happens when the victim's fine-tuning data lies in the same domain as the implantation data—specifically (a) when clean labels conflict with the backdoor target labels, and (b) when the downstream data volume is far larger (≫) than the reference set?

Q3. How sensitive is the attack to the quality of the simulated fine-tuned models in Stage 1, given that the victim's fine-tuning pipeline is unknown to the attacker?

Q4.Could you evaluate against more recent state-of-the-art defenses, as the stealthiness of the proposed work contributes a large portion to the paper?

Limitations

yes

Formatting concerns

None

4 comments
Authors · CommentOpenReview ↗

Response Part 1

Q1: OOD transferability

Poison-then-Hide is task-coupled: the attacker must anticipate the downstream task family and target semantics well enough to collect task-aligned surrogate data. The attacker does not need the victim’s exact dataset, labels, or fine-tuning pipeline, but the surrogate must preserve the relevant task semantics. We will revise the manuscript to state this assumption explicitly and replace broad phrasing such as “OOD transferability” with task-conditioned domain-shift transfer.

Our intended claim is therefore narrower: Poison-then-Hide can survive realistic dataset/domain shifts within a task family, e.g., hospital-to-hospital histopathology shift or RESISC-to-UCMerced remote-sensing shift. Indeed, as the reviewer notes, attacks tied to target-class semantics are not expected to survive arbitrary label/task changes.

To better characterize the boundary of allowed domain shift, we added a controlled UC Merced stress test. Starting from the real RESISC→UCMerced domain shift, we progressively perturb UCMerced with Gaussian noise, creating a severity axis that eventually damages the downstream task itself.

UCM perturbation Clean Acc ASR
Clean 89.50 ± 1.71 93.88 ± 1.19
Noise σ=0.02 88.62 ± 2.05 91.78 ± 1.43
Noise σ=0.05 84.16 ± 4.46 78.24 ± 5.40
Noise σ=0.10 74.13 ± 8.55 36.27 ± 20.45
Noise σ=0.20 50.80 ± 10.39 4.00 ± 2.31

The attack remains effective under real task-aligned domain shift and mild additional perturbation, but degrades once the evaluation distribution is shifted enough that the clean task itself becomes substantially impaired. Thus, semantic task alignment is required; exact dataset overlap is not.

We will update the threat model and terminology accordingly. We believe this remains a realistic threat model for pretrained encoders: an attacker may know the deployment area, such as histopathology or remote sensing, and target a semantic class, while lacking access to the victim’s exact downstream dataset.

Q2: Dataset disjoint and two experiments We added two ablations to address this concern. First, we test a deliberately strong “best case for the defender” setting on ImageNet→RESISC45: the victim fine-tunes on clean versions of the same underlying images that were poisoned during implantation, with their original labels rather than the attacker’s target label. We vary the fraction of poisoned non-target samples that reappear cleanly during victim fine-tuning.

Clean overlap with poisoned conflicting samples Overlap count Clean acc after FT Legacy ASR after FT Flip-ASR after FT
0% 0 / 919 85.86 ± 0.74 99.65 ± 0.28 99.64 ± 0.29
25% 230 / 919 85.23 ± 0.88 46.66 ± 48.89 45.77 ± 49.58
50% 460 / 919 85.60 ± 1.74 49.67 ± 49.08 49.38 ± 49.05
75% 690 / 919 86.37 ± 0.58 7.22 ± 10.08 6.40 ± 9.83
100% 919 / 919 83.64 ± 0.63 0.00 ± 0.00 0.00 ± 0.00

These results show that exact clean-label conflict can erase the backdoor, but primarily when the victim sees most or all of the originally poisoned conflicting samples (> 50% overlap).

Second, to test the large finetuning data regime, we use CIFAR10→SVHN because SVHN provides the largest unused data pool with its extra split. In this setup, the attacker uses only a balanced subset of SVHN train as the reference set, while the victim fine-tunes on full SVHN train+extra.

Attacker SVHN reference size Victim/reference scale Poisoned samples SVHN clean acc after full victim FT ASR after full victim FT
3k ~201x 150 97.59 ± 0.17 55.29 ± 5.49
10k ~60x 500 97.47 ± 0.09 55.12 ± 4.52
30k ~20x 1,500 97.37 ± 0.09 58.35 ± 2.78
73k ~8x 3,650 97.58 ± 0.16 51.79 ± 0.97

The attack remains effective even when the victim has roughly 200x more clean fine-tuning data than the attacker’s reference set. Clean accuracy is stable across the grid, so the persistence of ASR is not due to degraded task learning.

Overall, these ablations clarify the threat model: Poison-then-Hide does not require access to the victim’s exact dataset, but it is task-coupled and can be weakened when the victim fine-tunes on a large fraction of the exact poisoned samples with clean conflicting labels. In the more realistic disjoint or partially overlapping case, and even when victim data volume is much larger than the attacker reference set, the attack remains substantially effective.

Authors · CommentOpenReview ↗

Response Part 2

Q3: Quality of simulated models The attacker is not assumed to know the exact victim fine-tuning pipeline. To address this, we added new ablations on CIFAR10→SVHN to demonstrate the robustness of our method under perturbation. We vary both the number and the quality/composition of the clean proxy fine-tuned models used during Stage-1 trigger optimization.

First, we optimize the trigger using randomly selected ensembles of size k, while keeping the downstream Poison-then-Hide pipeline and victim fine-tuning fixed.

k final victim ASR final SVHN acc
1 18.26 ± 5.66 97.48 ± 0.04
3 43.71 ± 9.32 97.47 ± 0.11
5 57.52 ± 4.78 97.47 ± 0.21
7 56.39 ± 3.70 97.45 ± 0.08
10 (single run) 60.88 97.53

These results show that using only one proxy model is brittle, but performance improves substantially by k=3 and largely saturates by k=5; using the full set of 10 proxies provides only a modest additional gain.

Second, to directly test proxy-model fidelity, we constructed several k=5 proxy ensembles with deliberately different quality levels:

  • mixed_existing: random k=5 subsets from the original 10 clean proxy models trained with the default clean-proxy sweep.
  • weak_existing: restricted/nonstandard proxies only, including head-only, masked-partition, and SGD fine-tuning variants.
  • undertrained: clean proxies trained for only 250 fine-tuning steps, about 2% of the default 3-epoch training budget.
  • data_limited: clean proxies trained on only 10% of the SVHN target training data.
proxy condition final victim ASR final SVHN acc
mixed_existing 50.83 ± 6.58 97.49 ± 0.00
weak_existing 58.09 ± 1.93 97.46 ± 0.04
undertrained 25.75 ± 0.70 97.51 ± 0.07
data_limited 38.26 ± 2.49 97.35 ± 0.09

These results support two conclusions. First, proxy fidelity does matter: extremely undertrained or data-limited proxies reduce ASR, as expected. Second, the attack is not dependent on precisely matching the victim’s fine-tuning pipeline. Even when the simulated models are substantially lower fidelity, the attack remains nontrivial while preserving clean downstream accuracy. Moreover, hyperparameter- and update-rule mismatch alone does not eliminate the attack: the restricted weak_existing proxy ensemble achieves ASR comparable to the mixed proxy setting.

We will add these ablations to strength our paper’s robustness discussions.

Q4: More modern defenses We thank the reviewer for the suggestion. We have added evaluations for the proposed defenses: DeDe [1], MARTINI [2], and CLIP-Inspector [3]. Overall, these results strengthen our robustness claim: two defenses fail to provide an effective mitigation in our Poison-then-Hide setting, while the one successful defense is specialized to CLIP and required nontrivial adaptation beyond its original prompt-tuning threat model.

Evaluation Point RESISC Acc (%) RESISC ASR (%)
Before MARTINI 92.21 ± 0.23 99.51 ± 0.18
After MARTINI 61.97 ± 3.68 99.85 ± 0.12
After Benign FT 91.83 ± 0.63 81.50 ± 3.20

MARTINI does not remove the backdoor. Although it’s a substantial mitigation (clean accuracy drops significantly after hardening), ASR remains high after the final benign finetuning (81.50%). With this result, we see that MARTINI fails to mitigate our PtH attack.

Model Clean Acc (%) Pre-filter ASR (%) Filtered ASR (%) DeDe AUC (%) FPR (%) Kept Clean Inputs (%) ASR Among Kept (%)
ResNet50 92.87 ± 0.73 87.05 ± 2.37 17.68 ± 4.24 52.10 ± 1.13 78.81 ± 3.92 21.19 ± 3.92 95.56 ± 0.69
CLIP 95.10 ± 0.18 53.42 ± 21.32 6.97 ± 3.71 50.74 ± 0.11 88.92 ± 2.94 11.08 ± 2.94 65.95 ± 22.70

DeDe also does not provide reliable protection. Its detection AUC is near random for both ResNet50 and CLIP (52% and 50%), and the apparent ASR reduction comes from rejecting most inputs rather than distinguishing triggered samples: it keeps only 21.19% of clean ResNet50 inputs and 11.08% of clean CLIP inputs. With this result, we see that DeDe fails to mitigate our attack.

Metric Mean ± 95% CI
Post-repair RESISC Acc 95.07 ± 0.12
Post-repair true-trigger ASR 2.15 ± 0.04

CLIP-Inspector is effective on our CLIP models, flagging 5/5 models and reducing repaired ASR to 2.15% while preserving 95.07% clean accuracy. However, it is CLIP-specific, not applicable to our ResNet50 setting, and actually required adaptation from prompt-tuned CLIP to our full finetuning transfer setup. Thus, PtH remains robust against recent defenses except in this specialized CLIP-only case.

Authors · CommentOpenReview ↗

Response Part 3

Q5: PEFT setting We focused on full fine-tuning to follow and extend prior fine-tuning-activated backdoor baselines. In particular, prior latent-backdoor settings often assume a partially frozen encoder, while our experiments relax this by allowing the full model to change during clean fine-tuning. We have run a LoRA experiment, showing the attack remains effective under PEFT while updating only 2.54% of parameters.

Experiment Post-PEFT benign acc Post-PEFT ASR PEFT trainable params Trainable %
CIFAR10 -> SVHN, ResNet18 LoRA 96.21% 54.98% 291,554 / 11,465,516 2.54%
Reviewer p2KT · CommentOpenReview ↗

I thank the authors for their rebuttal, which address some of my concerns and strengthen the paper’s technical soundness. I will maintain my positive score.

Reviewer ALKkOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies finetuning-activated backdoor attacks on pretrained vision encoders. An attacker implants a dormant backdoor into a pretrained encoder, releases it publicly, and the backdoor activates after a victim performs clean full-model finetuning on a downstream task. The authors evaluate on six datasets and four architectures, report high ASR, argue that jointly learning the benign task during poisoning is the key ingredient, and show that four detection and mitigation defenses fail to fully remove the backdoor, which can resurface after further benign finetuning.

Strengths and weaknesses

Strengths

  • The problem is important. Supply-chain attacks on pretrained encoders are a credible threat, and the paper focuses on a setting where the attacker does not directly poison the victim's finetuning data or control the victim's finetuning pipeline.
  • The method is conceptually coherent. The three-stage design is understandable.

Weaknesses

  • The threat model appears somewhat optimistic about attacker convenience. Although the attacker need not access the victim's exact downstream dataset, the attack still requires anticipating the downstream task, obtaining representative or semantically close surrogate data, and persuading the victim to adopt the compromised encoder. The claim that no access to the victim's exact data is needed is true but does a lot of work, since the surrogate must be semantically close, and the one case where it is genuinely distant (UC Merced) is where the attack weakens.

  • The ASR definition is underspecified. The paper defines ASR as the fraction of trigger-perturbed images classified into the target backdoor class, but does not state whether examples whose true label is already the target class are excluded. This is especially important for Camelyon17, where the target class is binary "no tumor." If already-no-tumor examples are included, ASR may be inflated by samples that did not undergo a meaningful malicious target-class flip.

  • The ablation evidence is incomplete relative to the paper's mechanistic claims. The paper identifies benign-task learning and trigger optimization as key ingredients, but does not isolate several central design choices: the hiding-stage weights λsup\lambda_{\text{sup}}, λKD\lambda_{\text{KD}}, and λSP\lambda_{\text{SP}}; the poison fraction, fixed at 0.05; the size of the simulated-finetuning ensemble, fixed at 10; and the semantic distance between attacker surrogate data and victim finetuning data. These omissions make it difficult to assess robustness of the method or the necessity of each component.

  • Several differentiating empirical results carry very large intervals (CLIP UC Merced 60.41 ± 15.05, CLIP Camelyon17 73.30 ± 8.61, DINOv2 similar). With only five seeds and intervals this wide, the paper needs paired significance tests against the best baseline to support claims of superiority. As reported, some apparent gaps may not be statistically reliable.

  • The theoretical appendix seems weakly connected to the empirical contribution. The finite-step parameter-drift result is a generic local stability bound for gradient descent and does not explain why the backdoor persists or reactivates after finetuning. The concealment result follows directly from a Lipschitz-style trigger smallness assumption. Additionally, the appendix refers to "Sec. 4.6" for ablations that do not appear in the manuscript. As written, the theory adds length without insight.

  • A further issue to verify is possible table inconsistency: several OOD values in Table 1 appear to match corresponding in-domain finetuned values in Table 8. If these are copied or mislabeled, this would materially affect the OOD-transfer claims.

  • The abstract says six datasets and three model architectures, while the introduction later mentions four architectures including DINOv2.

Questions
  • In a realistic supply-chain scenario, why would a victim adopt the attacker's specific encoder instead of an established public checkpoint?
  • How semantically close must the attacker's surrogate be to the victim's finetuning distribution for the attack to stay effective?
  • Are test examples whose true label already equals the target class excluded when computing ASR?
Limitations

Yes.

Final justification

The authors have satisfactorily addressed my main remaining concern by reporting flip-ASR for all baselines. I am therefore increasing my rating from 3 to 4, while noting that the limitations regarding semantic mismatch remain.

Formatting concerns

None.

5 comments
Authors · CommentOpenReview ↗

Response Part 1

Q1: Semantic closeness: We thank the reviewer for raising this point. Our attack is not data-agnostic in the sense of transferring to arbitrary unrelated downstream tasks. Our threat model assumes a task-conditioned attacker: the attacker can anticipate the downstream task family and target semantics, but does not have access to the victim’s exact dataset, labels, or fine-tuning pipeline. We will revise the paper to replace broad phrasing such as “OOD transferability” with task-conditioned domain-shift transfer, and explicitly state that semantic alignment of the surrogate task is required.

To better characterize how close the surrogate/evaluation distribution must be, we added a controlled UC Merced stress test. Starting from the real RESISC→UCMerced domain shift, we progressively perturb UCMerced with Gaussian noise, creating a severity axis that eventually degrades the downstream task itself.

UCM perturbation Clean Acc ASR
Clean 89.50 ± 1.71 93.88 ± 1.19
Noise σ=0.02 88.62 ± 2.05 91.78 ± 1.43
Noise σ=0.05 84.16 ± 4.46 78.24 ± 5.40
Noise σ=0.10 74.13 ± 8.55 36.27 ± 20.45
Noise σ=0.20 50.80 ± 10.39 4.00 ± 2.31

These results clarify the boundary of the threat model. The attack remains effective under the real RESISC→UCMerced shift and under mild additional perturbation, but it degrades as the evaluation distribution becomes sufficiently corrupted that the clean task itself becomes difficult. Thus, the surrogate need not match the victim dataset sample-by-sample, but it must preserve the task and target-class semantics well enough for the victim model to learn the downstream task.

We will revise the manuscript to make this limitation explicit. Lastly, we believe our setting is still a meaningful and realistic threat model for pretrained encoders, where an attacker may know the deployment area, e.g., histopathology or remote sensing, without knowing the victim’s exact dataset.

Q2: underspecified ASR: Thank you for the clarification. Besides our current ASR, we have added a stricter flip-rate ASR:

\

\mathrm{ASR}_{\mathrm{flip}}= \frac{\\\#\\{i: y_i \neq y_t,\\ f(x_i)\neq y_t,\\ f(x_i+\delta)=y_t\\}} {\\\#\\{i: y_i \neq y_t\\}}. \

This excludes examples whose true label is already the target class. Re-evaluating Poison-then-Hide from Table 1 shows the attack remains effective. We will update the manuscript to report both metrics.

Model Method C17 OOD Acc C17 Original ASR C17 Flip-ASR UCMerced Acc UCMerced Original ASR UCMerced Flip-ASR
ResNet50 Poison then Hide 87.95 ± 2.39 91.94 ± 6.35 71.81 ± 12.26 89.00 ± 1.50 94.11 ± 1.06 87.46 ± 1.55
CLIP Poison then Hide 94.23 ± 0.44 73.32 ± 8.71 42.16 ± 19.33 92.27 ± 0.85 61.04 ± 17.16 48.91 ± 17.34

Q3: Additional ablations We have run additional ablation experiments addressing all concerns. For the hiding-stage weights:

Condition SVHN Acc ASR
default 97.56 59.21
lambda_sup x0 97.50 52.35
lambda_sup x0.25 97.54 58.00
lambda_sup x0.5 97.50 61.00
lambda_sup x2 97.62 57.27
lambda_KD x0 97.61 58.97
lambda_KD x0.25 97.57 61.65
lambda_KD x0.5 97.63 60.70
lambda_KD x2 97.56 54.88
lambda_SP x0 97.53 58.64
lambda_SP x0.25 97.44 59.33
lambda_SP x0.5 97.62 56.24
lambda_SP x2 97.54 60.57

These results show that the final activated ASR is relatively insensitive to moderate changes in the hiding-stage regularization weights. Since the hiding stage is a small regularization to make the backdoor more stealthy, we see that the final ASR is not seriously impacted by changing hyperparameters.

We also vary the fraction of poisoning:

Poison Fraction SVHN Acc ASR
0.01 97.59 55.54
0.025 97.53 57.90
0.05 (default) 97.55 58.91
0.10 97.60 54.90
0.20 97.51 62.27

The attack remains effective across a broad range of poison fractions, including very small fractions such as 1%. The trend is not strictly monotonic, but ASR stays in the same range for 0.01 to 0.20 while clean SVHN accuracy remains essentially unchanged. This suggests that the method is not narrowly tuned to the default poison fraction of 0.05, and that trigger optimization contributes substantially to robustness at low poisoning rates.

We have also experiments for varying subsets of size k.

k final victim ASR final SVHN acc
1 18.26 ± 5.66 97.48 ± 0.04
3 43.71 ± 9.32 97.47 ± 0.11
5 57.52 ± 4.78 97.47 ± 0.21
7 56.39 ± 3.70 97.45 ± 0.08
10 60.88 97.53
Authors · CommentOpenReview ↗

Response Part 2

[Continued from Q3] These results show that using only one proxy model is brittle, but performance improves substantially by k=3 and largely saturates by k=5; using the full set of 10 proxies provides only a modest additional gain. Lastly, for the more distance between datasets, see our earlier results with noise added to UCMerced. In conclusion, we have added ablation results for all robustness experiments the reviewer suggested. We hope these results address concerns regarding our method's robustness.

Q4: More seeds and significance tests

Thank you for raising this concern. We agree that the wide OOD intervals call for paired seed-level tests. We therefore compare Poison-then-Hide with the closest baseline after adding 5 additional seeds (10 total runs), with an exact one-sided paired sign-flip test as the primary test and paired t/Wilcoxon tests as checks.

Model OOD Dataset Baseline PtH ASR Baseline ASR Difference
ResNet50 C17 Hibernated 93.42 ± 3.46 89.86 ± 4.47 +3.56 ± 2.62
ResNet50 UCMerced FAB 85.84 ± 13.98 19.41 ± 7.15 +66.43 ± 12.71
CLIP C17 FAB 72.14 ± 7.48 65.34 ± 4.96 +6.80 ± 6.11
CLIP UCMerced NeuBA 54.80 ± 15.84 8.45 ± 0.72 +46.36 ± 15.47
Model OOD Dataset Baseline Sign-Flip p Paired t p Wilcoxon p Interpretation
ResNet50 C17 Hibernated 0.0176 0.0130 0.0186 Significant
ResNet50 UCMerced FAB 0.0039 <0.0001 0.0039 Significant
CLIP C17 FAB 0.0625 0.0405 0.0781 Borderline
CLIP UCMerced NeuBA 0.0078 0.0005 0.0078 Significant

These tests support our OOD-transfer conclusion for most settings: PtH is significantly better than the closest baseline for ResNet50 on both OOD datasets and for CLIP on UC Merced. CLIP/Camelyon17 is positive but borderline, so we will avoid claiming significance there. Because of compute limits, we report ResNet50/CLIP tests here and will add the corresponding DINOv2 tests in the revised manuscript.

Q5: OOD table inconsistency Thank you for pointing this out. We verified that the reviewer is correct: several entries in Table 1 were incorrectly populated from the in-domain finetuned results in Table 8, rather than from the OOD evaluation CSVs. This came from the script used to assemble the combined domain-generalization table after adding the DINOv2 results.

We have corrected Table 1 using the OOD evaluation files:

Model Method C17 OOD Acc C17 OOD ASR UCMerced Acc UCMerced ASR
ResNet50 Poison then Hide 87.95 ± 2.39 91.94 ± 6.35 89.00 ± 1.50 94.11 ± 1.06
ResNet50 Hibernated 87.83 ± 2.43 88.34 ± 8.03 89.54 ± 1.71 18.99 ± 7.76
ResNet50 FAB 85.76 ± 3.99 87.75 ± 7.43 86.92 ± 1.64 25.31 ± 7.34
ResNet50 Latent 83.34 ± 3.85 57.02 ± 8.04 87.79 ± 2.98 5.43 ± 0.29
ResNet50 NeuBA 84.39 ± 2.22 15.66 ± 2.22 87.70 ± 1.37 12.71 ± 1.55
CLIP Poison then Hide 94.23 ± 0.44 73.32 ± 8.71 92.27 ± 0.85 61.04 ± 17.16
CLIP Hibernated 93.53 ± 0.73 60.32 ± 3.74 93.45 ± 0.26 5.33 ± 0.05
CLIP FAB 93.82 ± 0.46 63.99 ± 5.13 91.85 ± 0.79 5.34 ± 0.18
CLIP Latent 92.58 ± 1.33 45.63 ± 1.17 92.45 ± 0.46 6.20 ± 0.64
CLIP NeuBA 94.45 ± 0.48 5.58 ± 0.48 91.62 ± 0.79 8.67 ± 0.91

The correction narrows, but does not remove, our domain-generalization conclusion. Poison-then-Hide remains the strongest method on Camelyon17 for both ResNet50 and CLIP, and remains highly effective on UC Merced.

Q6: Abstract wording Thanks for the catch. The description of the abstract is a typo. The correct version is six datasets and four model architectures.

Q7: Why victim adopt specific encoder Our threat model does not require the victim to adopt an obviously domain-specific attacker model. Instead, the attacker can release a seemingly general pretrained encoder, e.g., an ImageNet-pretrained model, that appears suitable for broad reuse. This matches common practice: users often start from well-trained general encoders and fine-tune them for specialized downstream domains such as medical imaging or remote sensing. In our setting, the backdoor remains dormant in the released source model and surfaces only after the victim fine-tunes it on the target downstream task. We will clarify this adoption path in the threat model.

Authors · CommentOpenReview ↗

Response Part 3

Q8: Theoretical appendix need stronger connection to empiricial results

We thank the reviewer for this critique and agree with it: the drift and trigger-smallness results do not, on their own, explain reactivation. We will restructure the appendix so that they act as supporting lemmas for a more direct statement: activation optimized on a simulated finetuning trajectory transfers to a nearby victim trajectory. Also, the Sec 4.6 reference is outdated; we will refer to the correct lambda ablation results.

1. Trajectory transfer. Let the simulated and victim trajectories share a parameterization (including the downstream head) and evolve as

θt+1sim,k=θtsim,k−η∇Lsim,k(θtsim,k),θt+1ft=θtft−η∇Lft(θtft).\theta_{t+1}^{\mathrm{sim},k} = \theta_t^{\mathrm{sim},k} - \eta \nabla L_{\mathrm{sim},k}(\theta_t^{\mathrm{sim},k}), \qquad \theta_{t+1}^{\mathrm{ft}} = \theta_t^{\mathrm{ft}} - \eta \nabla L_{\mathrm{ft}}(\theta_t^{\mathrm{ft}}).

with separation dt(k)d_t^{(k)} defined as

dt(k)=∥θtft−θtsim,k∥2.d_t^{(k)} = \lVert\theta_t^{\mathrm{ft}} - \theta_t^{\mathrm{sim},k}\rVert_2.

Suppose both trajectories stay in a neighborhood U\mathcal U on which ∇Lft\nabla L_{\mathrm{ft}} is LL-Lipschitz, and the loss gradients differ by at most ρk\rho_k:

sup⁡θ∈U∣∇Lft(θ)−∇Lsim,k(θ)∣2≤ρk.\sup_{\theta\in\mathcal U} \\| \nabla L_{\mathrm{ft}}(\theta) - \nabla L_{\mathrm{sim},k}(\theta) \\|_2 \leq \rho_k.

The recursion dt+1(k)≤(1+ηL)dt(k)+ηρkd_{t+1}^{(k)} \leq (1+\eta L)d_t^{(k)} + \eta\rho_k then gives

dT(k)≤(1+ηL)Td0(k)+ρkL((1+ηL)T−1).d_T^{(k)} \leq (1+\eta L)^T d_0^{(k)} + \frac{\rho_k}{L}((1+\eta L)^T-1).

where d0(k)d_0^{(k)} absorbs the discrepancy from poisoning, hiding, and downstream-head initialization.

For j≠yadvj \neq y^{\mathrm{adv}}, define the triggered pairwise margin mj(θ;x,δ)=zθ,yadv(x+δ)−zθ,j(x+δ)m_j(\theta;x,\delta) = z_{\theta,y^{\mathrm{adv}}}(x+\delta) - z_{\theta,j}(x+\delta). If the triggered logits are locally Lipschitz in the parameters,

∥zθ(x+δ)−zθ′(x+δ)∥2≤Cp(x+δ)∥θ−θ′∥2,\lVert z_\theta(x+\delta) - z_{\theta'}(x+\delta)\rVert_2 \leq C_p(x+\delta)\lVert\theta-\theta'\rVert_2,

then

∣mj(θTft;x,δ)−mj(θTsim,k;x,δ)∣≤2,Cp(x+δ),dT(k).|m_j(\theta_T^{\mathrm{ft}};x,\delta) - m_j(\theta_T^{\mathrm{sim},k};x,\delta)| \leq \sqrt{2}\\,C_p(x+\delta)\\,d_T^{(k)}.

Writing κk(x)=min⁡j≠yadvmj(θTsim,k;x,δ)\kappa_k(x) = \min_{j\neq y^{\mathrm{adv}}} m_j(\theta_T^{\mathrm{sim},k};x,\delta) for the margin actually achieved on simulated model kk, the previous inequalities give a sufficient condition for victim-side activation:

κk(x)>2,Cp(x+δ)[(1+ηL)Td0(k)+ρkL((1+ηL)T−1)].\kappa_k(x) > \sqrt{2}\\,C_p(x+\delta)[(1+\eta L)^T d_0^{(k)} + \frac{\rho_k}{L}((1+\eta L)^T-1)].

Under this condition, mj(θTft;x,δ)>0m_j(\theta_T^{\mathrm{ft}};x,\delta) > 0 for all j≠yadvj \neq y^{\mathrm{adv}}, hence fθTft(x+δ)=yadvf_{\theta_T^{\mathrm{ft}}}(x+\delta) = y^{\mathrm{adv}}, up to ties.

This maps onto Stage 1 directly: optimizing target-class loss over simulated finetuned models is what drives κk(x)\kappa_k(x) positive, d0(k)d_0^{(k)} captures the effect of poisoning and hiding, and ρk\rho_k captures surrogate-victim mismatch. Note that the condition is stated in terms of the margin actually achieved, not in terms of the average Stage 1 objective. We will no longer claim that the LSPL_{\mathrm{SP}} term independently yields a deterministic bound; it penalizes the encoder component of d0(k)d_0^{(k)}, nothing more.

The existing finite-step drift result is retained only to establish that the trajectories remain in U\mathcal U. It is not the explanation for reactivation.

2. Concealment. Let c=arg⁡max⁡ℓzθ^,ℓ(x)c = \arg\max_\ell z_{\hat\theta,\ell}(x) and q(x)=min⁡j≠c[zθ^,c(x)−zθ^,j(x)]q(x) = \min_{j\neq c}[z_{\hat\theta,c}(x) - z_{\hat\theta,j}(x)]. If

∥zθ^(x+δ)−zθ^(x)∥2≤Lˉxϵ,\lVert z_{\hat\theta}(x+\delta) - z_{\hat\theta}(x)\rVert_2 \leq \bar L_x\epsilon,

then every pairwise margin at x+δx+\delta is at least q(x)−2Lˉxϵq(x) - \sqrt{2}\bar L_x\epsilon, so

q(x)>2,Lˉxϵ⟹fθ^(x+δ)=fθ^(x),q(x) > \sqrt{2}\\,\bar L_x\epsilon \quad\Longrightarrow\quad f_{\hat\theta}(x+\delta) = f_{\hat\theta}(x),

up to ties. This formalizes prediction-level concealment at release only; we agree it does not imply that any particular detection method fails.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…