CLIP-Inspector detects backdoors in prompt-tuned CLIP with 94% accuracy
The authors claim their method can reliably identify backdoors in prompt-tuned CLIP models
AI/ML arXiv 10 Apr 2026 Defense Prototype evidence
Published as “CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversion”
Why it matters
Enables organizations to vet and quickly remediate backdoored prompt-tuned CLIP models before deployment in safety-critical applications.
Summary
CLIP-Inspector detects backdoored prompt-tuned CLIP models with 94% accuracy (47/50 models) and an AUROC of 0.973, far outperforming adapted baselines. It reconstructs triggers using only 1,000 unlabeled OOD images in a single epoch, and fine-tuning with the reconstructed trigger reduces attack success rate to below 10% while preserving clean accuracy. Evidence is based on experiments over ten public benchmarks and four attack types.
What they found 2
- 94% detection accuracy on 50 evaluated models
“CI achieves a detection accuracy of 94% (47/50 models) with AUROC 0.973”
- Adaptive BadCLIP reduces reconstructed trigger ASR by ~20% but detection remains reliable
“The ASR of CLIP-Inspector’s reconstructed triggers also declines by around 20% on average”
Caveats 4
- Detection is not perfect: 3 out of 50 models were missed, yielding a false-negative rate of 6%
- At the optimal operating point the false-positive rate is 0.10 (TPR: 0.95, FPR: 0.10)
- Trigger Types: Our method is able to detect sparse and dense, visible and imperceptible triggers. However, its performance remains unverified on semantic triggers.
- Reliance on Dataset Separability: As already discussed, our approach relies on the model’s classification capability. However, we argue that such a model would be lowperforming and thus would not be worth backdooring.
What’s new here 3
- Detects backdoors in prompt-tuned CLIP models where the encoder is untouched, a scenario prior model-level detectors cannot handle.
- Uses dense l∞-bounded trigger inversion on unlabeled out-of-distribution images, requiring only a single optimization epoch.
- Provides a post-hoc repair step that leverages the reconstructed trigger to reduce ASR below 10% with negligible impact on clean accuracy.