atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuning

CVPR 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 6 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 R-TPT, a test-time prompt tuning defense for CLIP that drops the KL term from marginal entropy (keeping pointwise entropy) and adds reliability-weighted ensembling of augmented views to resist adversarial attacks without labeled data.

Problem

CLIP-based classifiers are highly vulnerable to adversarial attacks, and existing defenses rely on adversarial fine-tuning that needs labeled data and lacks flexibility across downstream tasks.

Approach

Decompose marginal entropy into pointwise entropy plus a KL divergence term, show the KL term pulls augmented views toward a misleading mean under adversarial inputs, and discard it; then weight augmented-view predictions by a neighbor-similarity reliability score so adversarial or noisy views get near-zero weight.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace marginal entropy minimization with pointwise entropy minimization (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Acc.: 53.3 -> 53.7Helped
replace marginal entropy minimization with pointwise entropy minimization (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Rob.: 44.3 -> 45.8Helped
use reliability-weighted instead of unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Acc.: 53.3 -> 53.7Helped
use reliability-weighted instead of unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Rob.: 44.3 -> 45.8Helped
add entropy minimization to unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Acc.: 50.6 -> 53.3Helped
add entropy minimization to unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · Fine-grained datasets (average)Rob.: 41.3 -> 44.3Helped
add entropy minimization to unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · ImageNetAcc.: 42.7 -> 46.7Helped
add entropy minimization to unweighted ensembling (ablation)R-TPT on CLIP-ResNet50 · ImageNetRob.: 29.5 -> 34.2Helped
use ensembling rather than zero-shot CLIP prediction (ablation)CLIP-ResNet50 · Fine-grained datasets (average)Rob.: 2.4 -> 41.3Helped
use ensembling rather than zero-shot CLIP prediction (ablation)CLIP-ResNet50 · Fine-grained datasets (average)Acc.: 53.2 -> 50.6Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Caltech101 Pets Cars Flower102 Aircraft DTD EuroSAT UCF101 ImageNet ImageNet-A ImageNet-V2 ImageNet-R

Benchmarks: Caltech101 Pets Cars Flower102 Aircraft DTD EuroSAT UCF101 ImageNet ImageNet-A ImageNet-V2 ImageNet-R

Metrics: clean accuracy adversarial accuracy under PGD

Baselines: CLIP zero-shot Ensemble TPT C-TPT MTA TeCoA APT

Builds on: TPT MEMO MTA AugMix PGD

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