atlas

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

MedBN: Robust Test-Time Adaptation against Malicious Test Samples

CVPR 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Attacks and defenses in sequential settings · 3 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 MedBN, which replaces mean with median for test-batch BN statistics, to make test-time adaptation robust to malicious test samples in a batch.

Problem

Test-time adaptation methods that use test batch statistics in batch normalization are vulnerable to data poisoning: a small fraction of malicious test samples in a batch can manipulate predictions on benign samples.

Approach

Estimate BN normalization statistics with the median instead of the mean (plus mean of squared deviations from the median), which theoretically bounds the effect of minority malicious samples; the method is algorithm-agnostic and plugs into existing BN-based TTA methods without extra training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace mean batch statistics with median statistics in SoTTASoTTA · CIFAR10-C, instant targeted attackASR (%): 18.18 -> 8.67Helped
Replace mean batch statistics with median statistics in SoTTASoTTA · CIFAR100-C, instant targeted attackASR (%): 8.71 -> 1.60Helped
Replace mean batch statistics with median statistics in SoTTASoTTA · ImageNet-C, instant targeted attackASR (%): 11.02 -> 0.27Helped
Replace mean batch statistics with median statistics in SoTTASoTTA · CIFAR10-C, instant indiscriminate attackER (%): 20.40 -> 16.49Helped
Replace mean batch statistics with median statistics in sEMAsEMA · CIFAR100-C, instant indiscriminate attackER (%): 46.89 -> 43.35Helped
Replace mean batch statistics with median statistics in SoTTASoTTA · ImageNet-C, instant indiscriminate attackER (%): 66.05 -> 64.22Helped
Replace mean batch statistics with median statistics in SARSAR · CIFAR10-C, cumulative targeted attackASR (%): 31.25 -> 8.76Helped
Replace mean batch statistics with median statistics in SoTTASoTTA · CIFAR10-C, cumulative indiscriminate attackER (%): 26.10 -> 22.52Helped
Replace the mean of squared deviations with median absolute deviation (MAD) for estimating batch variance (ablation)MedBN · TTA benchmark experimentsmodel performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10-C CIFAR100-C ImageNet-C Cityscapes SYNTHIA

Benchmarks: CIFAR10-C CIFAR100-C ImageNet-C Cityscapes-to-SYNTHIA segmentation

Metrics: attack success rate error rate mIoU

Baselines: TeBN TENT ETA SAR SoTTA sEMA mDIA EATA

Builds on: TeBN TENT EATA SAR SoTTA

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