atlas

Research map / Label-efficient and robust learning / Test-time adaptation

PTTA: Purifying Malicious Samples for Test-Time Model Adaptation

ICML 2025 · Label-efficient and robust learning › Test-time adaptation · approach: Pseudo-label test-time adaptation

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 PTTA, a plug-and-play test-time adaptation method that purifies malicious (filtered-out) test samples by Mixup with retrieved benign samples that have opposite saliency (logit-gradient) directions, instead of discarding them.

Problem

Test-time adaptation methods discard high-entropy or otherwise 'malicious' test samples via sample selection thresholds, wasting test data and making performance highly sensitive to thresholds and harming stability when selection is imperfect.

Approach

Use a logit-level saliency indicator (gradient of entropy w.r.t. logits) to find, for each malicious sample, the benign sample with the most opposite saliency direction (from an OOD memory bank or in-batch), then Mixup the two and add a purification loss on the mixed samples to existing TTA objectives.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add PTTA to ETAETA · ImageNet-C continual, ResNet50top-1 accuracy: 43.7±0.06 -> 48.5±0.05Helped
add PTTA to ETAETA · ImageNet-C lifelongtop-1 accuracy: 39.0±15.2 -> 64.8±0.00Helped
add PTTA to DeYODeYO · ImageNet-C continual, ViT-B/16top-1 accuracy: 62.2±0.35 -> 65.8±0.01Helped
add PTTA to DeYODeYO · ImageNet-1K/-A/-V2/-R/-S averagetop-1 accuracy: 58.7±0.13 -> 59.7±0.57Helped
add PTTA to EATAEATA · ImageNet-C lifelongtop-1 accuracy: 61.6±0.41 -> 65.0±0.40Helped
add PTTA to MEMO-EPI.MEMO-EPI. · CarlaTTA day2nightmIoU: 61.1±0.01 -> 61.4±0.01Helped
use the logit-saliency indicator instead of the base algorithm (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C singletop-1 accuracy: 46.5 -> 48.0Helped
use the logit-saliency indicator instead of the base algorithm (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C continualtop-1 accuracy: 60.0 -> 63.5Helped
replace Mixup purification with FGSM purification (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C singletop-1 accuracy: 46.5 -> 45.0Hurt
replace Mixup purification with SOAP purification (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C singletop-1 accuracy: 46.5 -> 43.9Hurt
retrieve benign samples from OOD memory instead of ID data (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C singletop-1 accuracy: 46.5 -> 48.0Helped
retrieve benign samples within the mini-batch instead of ID data (ablation)PTTA with ETA/DeYO/CPL · ImageNet-C singletop-1 accuracy: 46.5 -> 47.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-C CIFAR100-C ImageNet-1K ImageNet-A ImageNet-V2 ImageNet-R ImageNet-Sketch CarlaTTA

Benchmarks: ImageNet-C CIFAR100-C ImageNet-1K ImageNet-A ImageNet-V2 ImageNet-R ImageNet-Sketch CarlaTTA

Metrics: top-1 accuracy mIoU error rate

Baselines: Tent TPT ETA DeYO CPL SAR MEMO SoTTA CoTTA EATA FGSM purification SOAP purification

Builds on: Tent ETA EATA DeYO CPL CoTTA Mixup

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