← Lab /AI/ML

CLIPGuard cuts embedding backdoor success to 1.05% while keeping 86% accuracy

CLIPGuard reduces embedding-space backdoor attack success rates to as low as 1.05% and preserves clean accuracy up to 86.34% in black-box CLIP deployments

AI/ML arXiv 25 Sep 2026 Defense Prototype evidence Threat model

Published as “Region-Level Black-Box Defense Against Stealthy Embedding-Space Backdoors in CLIP”

Why it matters

Enables practical deployment of CLIP in restricted-access environments where backdoor mitigation is required without model internals.

Summary

CLIPGuard reduces attack success rates to as low as 1.05% while maintaining clean accuracy up to 86.34%, demonstrating strong mitigation of embedding-space backdoors in CLIP. It works in a fully black-box setting by measuring region-wise embedding perturbations and selectively inpainting suspicious segments. Experiments on STL-10 and ImageNet subsets show average ASR reductions from >98% to around 3-5% with clean accuracies of 84% on STL-10 and 55% on ImageNet. However, clean accuracy on ImageNet is lower than on STL-10 and ASR can rise to about 5% under higher poison ratios, indicating some trade-offs.

What they found 2

  1. CLIPGuard achieves very low attack success rates while preserving high clean accuracy.

    “CLIPGuard reduces attack success rates to as low as 1.05% while maintaining clean accuracy up to 86.34%”

  2. On the LC trigger, ASR drops to 1.05% on STL-10.

    “ASR drops to 1.05% under LC”

Caveats 3

  • On ImageNet, clean accuracy drops to 54.69% while ASR is reduced to 4.18%, lower than the 86.34% clean accuracy reported for STL-10.
  • When the poison ratio increases to 20%, ASR rises to 5.07% (physical patch attack on ImageNet) despite the defense.
  • Full-image processing incurs a defense time of 2,980 ms on STL-10 and 8.04 s on ImageNet with no ASR improvement over smaller grids.

What’s new here 4

  • First fully black-box, inference-time defense targeting embedding-space backdoors in CLIP.
  • Region-level detection using embedding-sensitivity mapping rather than global model introspection.
  • Selective semantic purification of identified regions via Stable Diffusion or Telea inpainting.
  • Prototype-memory buffer to recognize recurring trigger patterns and reduce redundant processing.

Threat model stated by the source

AdversaryAttacker who can poison a small subset of the training or fine-tuning dataset
CapabilityInjects visual triggers into ≤ 1% of image-text pairs; no access to the deployed model after training
AssumesTrigger must be visually subtle; Defender lacks model parameters, gradients, logits, or clean validation data