Papers › Improving robustness against common corruptions by covariate shift adaptation

Improving robustness against common corruptions by covariate shift adaptation

30 Jun 2020NeurIPS 2020 12arXiv:2006.16971archive 2025-07-28

Steffen Schneider, Evgenia Rusak, Luisa Eck, Oliver Bringmann, Wieland Brendel, Matthias Bethge

Today's state-of-the-art machine vision models are vulnerable to image corruptions like blurring or compression artefacts, limiting their performance in many real-world applications. We here argue that popular benchmarks to measure model robustness against common corruptions (like ImageNet-C) underestimate model robustness in many (but not all) application scenarios. The key insight is that in many scenarios, multiple unlabeled examples of the corruptions are available and can be used for unsupervised online adaptation. Replacing the activation statistics estimated by batch normalization on the training set with the statistics of the corrupted images consistently improves the robustness across 25 different popular computer vision models. Using the corrected statistics, ResNet-50 reaches 62.2% mCE on ImageNet-C compared to 76.7% without adaptation. With the more robust DeepAugment+AugMix model, we improve the state of the art achieved by a ResNet50 model up to date from 53.6% mCE to 45.4% mCE. Even adapting to a single sample improves robustness for the ResNet-50 and AugMix models, and 32 samples are sufficient to improve the current state of the art for a ResNet-50 architecture. We argue that results with adapted statistics should be included whenever reporting scores in corruption benchmarks and other out-of-distribution generalization settings.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2006.16971")

Code

Syntology Ran 3 of 3 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

By repository: official repository: 3 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bethgelab/robustness officialmentioned on GitHubpytorch report
Claydon-Wang/OFTTA mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

3 samples harvested; 3 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong

Licence: 0 of the 3 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bethgelab/robustness. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

adapt_bayesian bethgelab/robustness/robusta/batchnorm/bn.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ede060eaf2676c57 · report
adapt_ema bethgelab/robustness/robusta/batchnorm/bn.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 68723caf24e80266 · report
adapt_parts bethgelab/robustness/robusta/batchnorm/bn.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 0c1aa79f9c5ad38c · report

Tasks

Domain GeneralizationImage ClassificationOut-of-Distribution GeneralizationUnsupervised Domain Adaptation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification ObjectNet ResNet-50 + GroupNorm Top-1 Accuracy 29.2 #70 of 106 Archive leaderboard report
Image Classification ObjectNet ResNet-50 + GroupNorm Top-5 Accuracy 50.2 #70 of 106 Archive leaderboard report
Image Classification ObjectNet ResNet-50 + RoHL Top-1 Accuracy 29.2 #71 of 106 Archive leaderboard report
Image Classification ObjectNet ResNet-50 + FixUp Top-1 Accuracy 28.5 #74 of 106 Archive leaderboard report
Image Classification ObjectNet ResNet-50 + FixUp Top-5 Accuracy 48.6 #74 of 106 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101+DeepAug+AugMix, BatchNorm Adaptation, full adaptation mean Corruption Error (mCE) 38.0 #5 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101+DeepAug+AugMix, BatchNorm Adaptation, 8 samples mean Corruption Error (mCE) 40.7 #6 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50+DeepAug+AugMix, BatchNorm Adaptation, full adaptation mean Corruption Error (mCE) 45.4 #11 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50+DeepAug+AugMix, BatchNorm Adaptation, 8 samples mean Corruption Error (mCE) 48.4 #12 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50 (baseline), BatchNorm Adaptation, full adaptation mean Corruption Error (mCE) 62.2 #15 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50 (baseline), BatchNorm Adaptation, 8 samples mean Corruption Error (mCE) 65.0 #16 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R ResNeXt101+DeepAug+AugMix, BatchNorm Adaptation, Top 1 Error 44.0 #4 of 8 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R ResNet50+DeepAug+Augmix, BatchNorm adaptation Top 1 Error 48.9 #5 of 8 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R ResNet50, BatchNorm adaptation Top 1 Error 59.9 #8 of 8 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAugMixAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingKaiming InitializationMax PoolingReLUResidual BlockResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections