Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Benchmarking Neural Network Robustness to Common Corruptions and Perturbations

Benchmarks show how image classifiers handle common corruptions and perturbations

  • Problem Clean accuracy does not show how a classifier handles blur, noise or other common degradations. Most robustness work targets worst-case adversarial changes instead, which rarely match real inputs.
  • Method ImageNet-C applies 15 corruption types at five severity levels, and ImageNet-P builds perturbation sequences from ImageNet images. Both score classifiers with mCE, Relative mCE, mFR and mT5D.
  • Results Replacing ResNet-50 with ResNeXt-50 lowers mCE on ImageNet-C from 76.7% to 68.2%, a clear robustness gain from the architecture change.

Why clean accuracy leaves out these failures

Standard evaluation scores a classifier on test images drawn from the same distribution as its training data. Real inputs are often blurred, noisy, dimmed or otherwise degraded, so a classifier with strong clean accuracy can still fail on the inputs it meets in practice. Much of the robustness literature for vision concentrates on adversarial examples, unknown unknowns and data poisoning, and adversarial distortions are crafted against a particular classifier to find its worst case.

The authors set common corruptions and small natural perturbations apart from that worst-case framing. Corruptions are average-case changes to the input, and they are not chosen by an adversary.

Corruption robustness is defined as the expected accuracy of the classifier over a distribution of corruption functions. \[ \mathbb{E}_{c \sim C}\big[P_{(x,y)\sim D}(f(c(x)) = y)\big] \] Perturbation robustness is defined as the expected probability that the prediction on a perturbed input matches the prediction on the clean input. \[ \mathbb{E}_{\varepsilon \sim E}\big[P_{(x,y)\sim D}(f(\varepsilon(x)) = f(x))\big] \]

How the corruption test set is built

IMAGE NET-C applies 15 corruption types to ImageNet validation images, giving 75 corruptions in total when each type is taken at five severity levels. The corruption types fall into four categories, namely noise, blur, weather and digital, and each category is meant to cover a different kind of real-world degradation. The corruptions also vary within a fixed severity.

Each fog pattern is generated separately for each image, so the test set is not a single fixed overlay repeated across images.

The corrupted images are saved as lightly compressed JPEGs, so an image corrupted by Gaussian noise also carries some JPEG artifacts. IMAGE NET-C is meant only for testing pre-trained networks, and the authors say networks should not be trained on its corruptions. The authors also designed one extra corruption for each category, namely speckle noise, Gaussian blur, spatter and saturate, so that model selection can avoid fitting the test corruptions directly.

Normalizing corruption errors across architectures

A trained classifier is first scored on clean validation images to give its clean top-1 error. It is then tested on each corruption type at each severity level, and the top-1 error at severity s for corruption c is recorded. Each corruption's errors are divided by AlexNet's errors on the same corruption, summed over the five severities. This gives the Corruption Error for that corruption.

\[ CE_f^c = \Big(\sum_{s=1}^{5} E_f^{s,c}\Big) \Big/ \Big(\sum_{s=1}^{5} E_{\text{AlexNet}}^{s,c}\Big) \] Averaging the 15 Corruption Error values gives the mCE. The normalization is by AlexNet, so any baseline with fixed error rates would produce the same kind of scale.

A low mCE can mask a classifier whose clean error is already low and whose error rises sharply under corruption. The Relative mCE is designed to show that degradation separately. For each corruption, Relative CE subtracts the clean error of the classifier from the summed corrupted errors, and divides by the same quantity computed for AlexNet.

\[ \text{Relative } CE_f^c = \frac{\sum_{s=1}^{5} E_f^{s,c} - E_f^{\text{clean}}}{\sum_{s=1}^{5} E_{\text{AlexNet}}^{s,c} - E_{\text{AlexNet}}^{\text{clean}}} \]

How perturbation stability is measured

IMAGE NET-P builds one perturbation sequence from each ImageNet validation image, and each sequence contains more than 30 frames. The authors use 10 common perturbations to keep the dataset and the evaluation time manageable. Gaussian noise and shot noise are non-temporal: every frame is a small perturbation of the clean image. The remaining sequences are temporal, so each frame perturbs the frame before it, as with a translation that moves the image one pixel at a time.

For each sequence the Flip Probability counts how often the top-1 prediction changes between consecutive frames, averaged over all sequences and adjacent frame pairs. \[ FP_f^p = \frac{1}{m(n-1)} \sum_{i=1}^{m}\sum_{j=2}^{n} \mathbf{1}\big(f(x_j^{(i)}) \neq f(x_{j-1}^{(i)})\big) \] For the non-temporal noise sequences, the comparison is made against the clean image instead of the previous frame.

Flip Rate divides a model's Flip Probability by AlexNet's Flip Probability on the same perturbation, and mFR is the mean of these Flip Rates across perturbations.

The distance is zero when the two top-5 lists are identical. The unstandardized value is then divided by the AlexNet value on the same perturbation, and the mean over perturbations is the mT5D. The Flip Probability is not used with predicted class probabilities, because the authors judge models to be differently calibrated.

Architecture results on corruptions and perturbations

Across the architectures in Figure 3, the mCE falls as clean error drops, from 100.0 for AlexNet to 76.7 for ResNet-50 on IMAGE NET-C. The per-corruption values in Table 1 show no large shifts in the Corruption Error of a single corruption type among models with similar clean error. The authors read this as architectures steadily improving their representations, but they argue that most of the mCE gain is explained by accuracy gains.

When the Relative mCE is used, many later models are worse than AlexNet, which the authors take to mean that corruption robustness beyond accuracy has barely changed from AlexNet to ResNet. ResNet-50 has a Relative mCE of 105.0%, so its degradation under corruption is slightly larger than the reference measure in the paper's comparison. The authors conclude that the classifiers are far from human-level on this measure.

On perturbed inputs the picture differs. A ResNet-18 flips its top-1 prediction between adjacent frames of Scale perturbation sequences with a 15.6% probability, and its uT5D on the same sequences is 3.6. VGG networks are worse than ResNets on corrupted inputs but can match or exceed them on perturbed inputs. Batch Normalization makes VGG-19 less robust to perturbations and more robust to corruptions.

The authors do not read these differences as a fundamental trade-off between corruption and perturbation robustness.

Histogram equalization before fine-tuning

Histogram equalization has been used to standardize speech features for robust recognition, and the authors apply Contrast Limited Adaptive Histogram Equalization to images for the same purpose. The test takes a pre-trained ResNet-50 and fine-tunes the whole model for five epochs on images processed with CLAHE.

The ResNet-50 without CLAHE has a 23.87% error rate and an mCE of 76.7%. With CLAHE the error rate is 23.55% and the mCE is 74.5%. On nearly all corruptions the CLAHE model has a slightly lower Corruption Error, so the mCE gain is spread across corruption types rather than concentrated in one.

Multiscale architectures and their trade-off

Multigrid Networks keep a pyramid of grids in each layer, so subsequent layers operate across scales. MSDNets pass information across scales and link layers with DenseNet-like skip connections. The Multigrid network has a 24.6% top-1 error rate, the MSDNet also has 24.6%, and the ResNet-50 has 23.9%.

Both multiscale networks improve corruption robustness, with mCE values of 73.3% for the Multigrid network and 73.6% for the MSDNet, compared with 76.7% for ResNet-50. On noise corruptions the Multigrid networks clearly surpass both ResNets and MSDNets. The authors suggest that high-level representations processed together with fine detail help suppress pixel noise.

Neither multiscale network gives a noticeable gain in perturbation robustness.

Feature aggregation and model size

Replacing ResNet-50 (23.9% top-1 error) with DenseNet-121 (25.6% error) lowers mCE from 76.7% to 73.4%. Replacing ResNet-50 with ResNeXt-50 (22.9% top-1) lowers mCE from 76.7% to 68.2%. The authors argue that corruption robustness may be a better measure of progress in representation learning than clean top-1 error, because DenseNets and ResNeXts gain more under corruption than their clean error would suggest.

Larger models in these families improve further. DenseNet-161 (22.9% top-1) lowers the mCE from 73.4% to 66.4% relative to DenseNet-121, and ResNeXt-101 (21.0% top-1) reaches an mCE of 62.2% against 68.2% for ResNeXt-50. The authors attribute these gains to more representations, more redundancy and more capacity, which let the larger models operate more stably on corrupted inputs.

On IMAGE NET-P the ResNet-50 has an mFR of 58.0% and an mT5D of 78.3%. DenseNet-121 has an mFR of 56.4% and an mT5D of 76.8%, and ResNeXt-50 has an mFR of 52.4% and an mT5D of 74.2%. The larger DenseNet-161 has an mFR of 46.9% and an mT5D of 69.5%, and ResNeXt-101 has an mFR of 43.2% and an mT5D of 65.9%. The feature aggregating families and their larger versions improve perturbation stability as well as corruption robustness.

Stylized ImageNet trains a ResNet-50 on typical and stylized ImageNet images so that classifiers rely less on texture cues. The resulting model has an mCE of 69.3%, down from 76.7%.

Adversarial Logit Pairing and common perturbations

Adversarial Logit Pairing is an adversarial example defense for large-scale image classifiers. Later work bypassed it, so its value as an adversarial defense going forward is unclear, and the authors note this does not by itself rule it out. ALP was designed against small gradient perturbations, but it also improves robustness to noise, blur, weather and digital perturbations in IMAGE NET-P, which the authors describe as a rare kind of generalization.

A publicly available Tiny ImageNet ResNet-50 fine-tuned with ALP shows a 41% relative decrease in mFP and a 40% relative decrease in mT5D on TINY IMAGE NET-P. The authors note that the modest adversarial robustness from ALP and its gain in common perturbation robustness suggest the two problems interact in ways that should be studied further.

Limitations

The benchmark protocol asks researchers to state whether they trained on IMAGE NET-C or IMAGE NET-P corruptions, and the authors discourage such training. The main enhancement experiments use ImageNet classifiers such as ResNet-50, and the ALP result is reported on Tiny ImageNet. ALP's adversarial value is unresolved, because the defense was bypassed and the paper does not establish a lasting adversarial benefit.

Paper info

Authors
Hendrycks, Dan, Dietterich, Thomas
Venue
arXiv · Preprint
First published
2019-3-28
Added
2026-11-12
Updated
2019-3-28
Version
v1
arXiv
1903.12261
Category
cs.LG · cs.CV · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Hendrycks, Dan, Dietterich, Thomas (2019). Benchmarking Neural Network Robustness to Common Corruptions and Perturbations. arXiv:1903.12261v1. https://arxiv.org/abs/1903.12261v1

BibTeX
@misc{dan2019benchmarking,
  title = {{Benchmarking Neural Network Robustness to Common Corruptions and Perturbations}},
  author = {Hendrycks, Dan and Dietterich, Thomas},
  year = {2019},
  eprint = {1903.12261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.12261v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up