← Lab /AI/ML

Text encoder backdoors expose CLIP in retrieval, reranking, and selection interfaces

A poisoned CLIP checkpoint can retain adversarial behavior through the textual encoder across multiple deployment interfaces

AI/ML arXiv 16 Jun 2026 Measurement Prototype evidence Threat model

Published as “Beyond Native Success: Auditing Deployment-Interface Exposure of CLIP Backdoors”

Why it matters

A textual-encoder backdoor can be silently inherited by downstream CLIP services that rely on user text, highlighting a new supply-chain risk.

Summary

BADTEXTTOWER creates a textual-encoder backdoor that transfers across deployment interfaces, achieving a query hijack rate of 0.991 and perfect retrieval (H@1/H@5 of 1.000) while visual-only exposure stays near zero (0.0017). The paper introduces DIFE to audit CLIP backdoors across interfaces and finds that native attack success does not guarantee exposure, that exposure follows the effective footprint (visual, textual, coupled, or weak), that text-side poisoning alone does not yield a textual footprint, and that coupled attacks can be mechanism-bound.

What they found 5

  1. Attack-native success is not a checkpoint-level risk certificate; exposure varies by interface.

    “Attack-native success is not a checkpoint-level risk certificate: the same poisoned checkpoint can be highly exposed, weak, or N.E. depending on the deployment interface.”

  2. Exposure follows the effective footprint: visual footprints persist under visual reuse, weak footprints fail to transfer, coupled footprints need specific component combinations.

    “Exposure survives where the effective footprint is read: visual footprints persist under visual reuse, weak footprints fail to transfer, and coupled footprints remain conditional on the required component combination.”

  3. Text entry does not imply textual-encoder control; stronger native text poisoning still fails to transfer.

    “Text entry does not imply textual-encoder control: strengthening TOXICTEXTCLIP’s native textpoisoning signal still fails to produce stable target promotion under text-query deployment interfaces.”

  4. Coupled-encoder attacks can be mechanism-bound, exposing only when the exact prompt-trigger mechanism is present.

    “Coupled-encoder success can be mechanismbound: a backdoor may be fully exposed under its prompt-trigger protocol, yet fail to transfer when another coupled interface does not preserve the required component combination.”

  5. BADTEXTTOWER achieves near-perfect text-conditioned attack success with negligible visual exposure.

    “BADTEXTTOWER produces strong text-conditioned retrieval, reranking, and selection exposure while leaving visual-only reuse nearly clean.”

Caveats 4

  • Our audit is representative rather than exhaustive.
  • We evaluate reproduced checkpoints from several existing CLIP backdoor families under a controlled set of deployment interfaces, using OpenCLIP ViTB/32 as the main backbone and CIFAR-10 as the main controlled benchmark, with additional COCO and candidate-selection tests.
  • Extending DIFE to larger checkpoints, additional multimodal backdoors, and more application-specific interfaces is important future work.
  • Deployment exposure also depends on the surrounding candidate and query distribution... the absolute exposure values may change with different generators, retrieval systems, candidate construction rules, or user-query distributions.

What’s new here 4

  • Provides DIFE, a systematic framework to evaluate CLIP backdoors across heterogeneous deployment interfaces.
  • Diagnoses the effective footprint (visual, textual, coupled, weak) that carries exposure.
  • Identifies and demonstrates a textual-encoder-only backdoor (BADTEXTTOWER) that was not covered by prior attacks.
  • Shows that strengthening text-poisoning does not automatically yield deployment-level risk.

Threat model stated by the source

Adversarycheckpoint provider
Capabilitycan modify model weights before release
Assumesdownstream pipeline, tokenizer, generator, candidate pool, and evaluation data remain unchanged after deployment