Papers › If your data distribution shifts, use self-learning

If your data distribution shifts, use self-learning

27 Apr 2021arXiv:2104.12928archive 2025-07-28

Evgenia Rusak, Steffen Schneider, George Pachitariu, Luisa Eck, Peter Gehler, Oliver Bringmann, Wieland Brendel, Matthias Bethge

We demonstrate that self-learning techniques like entropy minimization and pseudo-labeling are simple and effective at improving performance of a deployed computer vision model under systematic domain shifts. We conduct a wide range of large-scale experiments and show consistent improvements irrespective of the model architecture, the pre-training technique or the type of distribution shift. At the same time, self-learning is simple to use in practice because it does not require knowledge or access to the original training data or scheme, is robust to hyperparameter choices, is straight-forward to implement and requires only a few adaptation epochs. This makes self-learning techniques highly attractive for any practitioner who applies machine learning algorithms in the real world. We present state-of-the-art adaptation results on CIFAR10-C (8.5% error), ImageNet-C (22.0% mCE), ImageNet-R (17.4% error) and ImageNet-A (14.8% error), theoretically study the dynamics of self-supervised adaptation methods and propose a new classification dataset (ImageNet-D) which is challenging even with adaptation.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology 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="2104.12928")

Code

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

By repository: official repository: 2 samples from 1 repository, 2 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 in papermentioned 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

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

1ran · honoured contract
1ran · our draft was wrong

Licence: 0 of the 2 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.

count_bn_layers bethgelab/robustness/examples/batchnorm/bin/adapt_full.py official repository ran · honoured contract Apache-2.0 (permissive) · 57567db44fae299f · report
get_stages bethgelab/robustness/examples/batchnorm/bin/adapt_full.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b563e1eb405042ac · report

Tasks

Domain AdaptationRobust classificationSelf-LearningUnsupervised Domain Adaptation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Unsupervised Domain Adaptation ImageNet-A EfficientNet-L2 NoisyStudent + RPL Top 1 Error 14.8 #1 of 1 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C EfficientNet-L2+RPL mean Corruption Error (mCE) 22.0 #1 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C EfficientNet-L2+ENT mean Corruption Error (mCE) 23.0 #2 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + DeepAug + Augmix + RPL mean Corruption Error (mCE) 34.8 #3 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + DeepAug + Augmix + ENT mean Corruption Error (mCE) 35.5 #4 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + IG-3.5B + ENT mean Corruption Error (mCE) 40.8 #7 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + IG-3.5B + RPL mean Corruption Error (mCE) 40.9 #8 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + RPL mean Corruption Error (mCE) 43.2 #9 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNeXt101 32x8d + ENT mean Corruption Error (mCE) 44.3 #10 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50 + RPL mean Corruption Error (mCE) 50.5 #13 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-C ResNet50 + ENT mean Corruption Error (mCE) 51.6 #14 of 16 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R EfficientNet-L2 Noisy Student + RPL Top 1 Error 17.4 #2 of 8 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R EfficientNet-L2 Noisy Student + ENT Top 1 Error 19.7 #3 of 8 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R ResNet50 + RPL Top 1 Error 54.1 #6 of 8 Archive leaderboard report
Unsupervised Domain Adaptation ImageNet-R ResNet50 + ENT Top 1 Error 56.1 #7 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 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionDense ConnectionsDepthwise ConvolutionDepthwise Separable ConvolutionDropoutGlobal Average PoolingInverted Residual BlockKaiming InitializationMax PoolingPointwise ConvolutionRMSPropReLUResidual BlockResidual ConnectionSelf-LearningSigmoid ActivationSqueeze-and-Excitation Block

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