High-Performance Large-Scale Image Recognition Without Normalization

11 Feb 2021  ·  Andrew Brock, Soham De, Samuel L. Smith, Karen Simonyan ·

Batch normalization is a key component of most image classification models, but it has many undesirable properties stemming from its dependence on the batch size and interactions between examples. Although recent work has succeeded in training deep ResNets without normalization layers, these models do not match the test accuracies of the best batch-normalized networks, and are often unstable for large learning rates or strong data augmentations. In this work, we develop an adaptive gradient clipping technique which overcomes these instabilities, and design a significantly improved class of Normalizer-Free ResNets. Our smaller models match the test accuracy of an EfficientNet-B7 on ImageNet while being up to 8.7x faster to train, and our largest models attain a new state-of-the-art top-1 accuracy of 86.5%. In addition, Normalizer-Free models attain significantly better performance than their batch-normalized counterparts when finetuning on ImageNet after large-scale pre-training on a dataset of 300 million labeled images, with our best models obtaining an accuracy of 89.2%. Our code is available at https://github.com/deepmind/ deepmind-research/tree/master/nfnets

PDF Abstract

Datasets


Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Image Classification <h2>oi</h2> NFNet-F4+ Top 1 Accuracy 89.2% # 31
Number of params 527M # 938
GFLOPs 367 # 473
Image Classification <h2>oi</h2> NFNet-F2 Top 1 Accuracy 85.1% # 246
Number of params 193.8M # 891
GFLOPs 62.59 # 429
Image Classification <h2>oi</h2> NFNet-F4 Top 1 Accuracy 85.9% # 184
Number of params 316.1M # 915
GFLOPs 215.24 # 466
Image Classification <h2>oi</h2> NFNet-F5 Top 1 Accuracy 86.0% # 177
Number of params 377.2M # 923
GFLOPs 289.76 # 469
Image Classification <h2>oi</h2> NFNet-F5 w/ SAM Top 1 Accuracy 86.3% # 154
Number of params 377.2M # 923
GFLOPs 289.76 # 469
Image Classification <h2>oi</h2> NFNet-F3 Top 1 Accuracy 85.7% # 201
Number of params 254.9M # 904
GFLOPs 114.76 # 452
Image Classification <h2>oi</h2> NFNet-F1 Top 1 Accuracy 84.7% # 282
Number of params 132.6M # 876
GFLOPs 35.54 # 397
Image Classification <h2>oi</h2> NFNet-F0 Top 1 Accuracy 83.6% # 379
Number of params 71.5M # 786
GFLOPs 12.38 # 312
Image Classification <h2>oi</h2> NFNet-F6 w/ SAM Top 1 Accuracy 86.5% # 136
Number of params 438.4M # 928
GFLOPs 377.28 # 474

Methods