atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Robustness in Both Domains: CLIP Needs a Robust Text Encoder

NeurIPS 2025 · Vision-language and multimodal › CLIP and zero-shot · approach: Fine-grained improvements to CLIP · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LEAF, an efficient adversarial finetuning method for CLIP text encoders using a batched, constant-cost character-level attack, to make text embeddings robust and combine them with robust image encoders (FARE) for bimodal robustness.

Problem

CLIP text encoders are vulnerable to character-level adversarial perturbations, which shift embeddings and degrade downstream models (text-to-image generation, retrieval, LMMs), while robustness of text encoders has been unexplored.

Approach

Extends FARE's embedding-preserving adversarial loss to the text domain (Levenshtein-bounded perturbations with semantic constraints) and replaces the costly Charmer attack with a batched attack evaluating a constant number of random perturbations per sentence, giving roughly an order-of-magnitude speedup.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace the text encoder with LEAF while retaining the FARE image encoderCLIP-ViT-L/14 · AG-News, Charmer-20 k=1adversarial accuracy: 44.5 -> 63.2Helped
replace the text encoder with LEAF while retaining the FARE image encoderOpenCLIP-ViT-H/14 · AG-News, Charmer-20 k=1adversarial accuracy: 37.5 -> 53.3Helped
replace the text encoder with LEAF while retaining the FARE image encoderOpenCLIP-ViT-g/14 · AG-News, Charmer-20 k=1adversarial accuracy: 32.9 -> 46.3Helped
replace CLIP text encoder with LEAFCLIP-ViT-L/14 · MS-COCO retrieval, Charmer-Con k=2Recall@1: 30.66 -> 40.22Helped
replace CLIP text encoder with LEAFOpenCLIP-ViT-H/14 · MS-COCO retrieval, Charmer-Con k=2Recall@1: 39.26 -> 49.31Helped
replace CLIP text encoder with LEAFCLIP-ViT-L/14 · MS-COCO text embedding inversionWord Recall: 34.4 -> 46.4Helped
replace Charmer-1 with the LEAF training-time attack (ρ=20)CLIP-ViT-B-32 finetuning · AG-News, 1-epoch finetuningattack time per batch (s): 15.17_{(± 28.98)} -> 1.83_{(± 0.11)}Helped
increase ρ from 1 to 50 without semantic constraints (ablation)LEAF text finetuning · AG-News, k=1adversarial accuracy: 57.6 -> 66.3Helped
increase ρ from 1 to 50 without semantic constraints (ablation)LEAF text finetuning · ImageNet, k=1clean accuracy: 74.7 -> 65.5Hurt
add semantic constraints to training attacks at ρ=50 (ablation)LEAF text finetuning · ImageNet, k=1clean accuracy: 65.5 -> 72.6Helped
increase ρ from 1 to 50 with semantic constraints (ablation)LEAF text finetuning · AG-News, k=1adversarial accuracy: 54.4 -> 63.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: DataComp-small ImageNet AG-News MS-COCO

Benchmarks: ImageNet AG-News MS-COCO CalTech101 CIFAR10 CIFAR100 EuroSAT ImageNet-R ImageNet-Sketch STL-10

Metrics: zero-shot accuracy adversarial accuracy Recall@1 Recall@5 CLIPScore BLEU word recall token recall cosine similarity

Baselines: FARE Charmer-20 Charmer-1 CLIP-ViT-L/14 OpenCLIP-ViT-H/14 OpenCLIP-ViT-g/14

Builds on: FARE TeCoA Charmer PGD adversarial training

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy