atlas

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

On the Variance of Neural Network Training with respect to Test Sets and Distributions

ICLR 2024 · Label-efficient and robust learning › Test-time adaptation · approach: Characterizing out-of-distribution failures · 7 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.

Shows that standard CIFAR-10 and ImageNet trainings have large test-set variance but tiny distribution-wise variance, explained by independent errors and class-wise calibration, with a formula predicting variance.

Problem

Repeated runs of neural network training vary substantially in test-set accuracy; it is unclear whether this reflects genuine differences in model quality or finite-sample noise, and how to estimate that variance a priori.

Approach

Decomposes test-set variance into distribution-wise and example-wise terms, gives an unbiased estimator of distribution-wise variance, and proves that test-set variance follows from class-wise calibration, yielding a simple formula (err/2n) for binary tasks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train CIFAR-10 ResNet-9 for 64 epochs instead of 4 epochsCIFAR-10 ResNet-9 training · CIFAR-10 test distributiondistribution-wise error stddev: 0.52\% to 0.033\%Helped
Train for 64 epochs rather than 4 epochsCIFAR-10 ResNet-9 training · CIFAR-10 test settest-set accuracy stddev: 0.56\% to 0.149\%Helped
Assume independent errors for 64-epoch trainingCIFAR-10 ResNet-9 training · CIFAR-10 test setaccuracy stddev: 0.145\% predicted; 0.149\% empiricalNo clear effect
Remove data augmentation (ablation)CIFAR-10 ResNet-9 training · CIFAR-10variance between runs: 3.5$\times$ more varianceHurt
Add data augmentation rather than remove it (ablation)CIFAR-10 ResNet-9 training · CIFAR-10variance between runs: 3.5$\times$ more variance without augmentationHelped
Remove 80% of training data (ablation)CIFAR-10 ResNet-9 training · CIFAR-10large-ensemble accuracy: 89.8\%Hurt
Remove data augmentation rather than remove 80% of training data (ablation)CIFAR-10 ResNet-9 training · CIFAR-10large-ensemble accuracy: 89.8\% to 91.2\%Helped
Raise learning rate from 0.5 to 1.0CIFAR-10 ResNet-9, 64 epochs · CIFAR-10 test settest-set accuracy stddev: 0.148\% to 0.168\%Hurt
Increase model scale from BERT_BASE to BERT_LARGEBERT finetuning · MRPC test distributiondistribution-wise error stddev: 0.21\% to 2.08\%Hurt
Evaluate ImageNet-trained ResNet-18 on shifted distributions instead of ImageNet validationResNet-18 ImageNet training · ImageNet-R, ObjectNet, and ImageNet-Sketchdistribution-wise accuracy stddev: 0.034\%; 0.181\%, 0.179\%, and 0.257\%Hurt
Use class-calibration formula instead of the binomial assumptionBinary classification variance prediction · CIFAR-10 binary classification tasksmean squared distance to empirical variance: 70$\times$ more accurate; $R^2 = 0.996$Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet ImageNet-V2 ImageNet-R ObjectNet ImageNet-Sketch MRPC

Benchmarks: CIFAR-10 ImageNet ImageNet-V2 ImageNet-R ObjectNet ImageNet-Sketch MRPC

Metrics: test-set accuracy standard deviation distribution-wise variance estimate R^2 mean squared error of variance prediction

Baselines: binomial assumption regularized linear model

Builds on: class-wise calibration (Jiang et al.) disagreement rate theory (Jiang et al.) linear mode connectivity

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