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


Ranked #23 on Image Classification on ImageNet (Top 1 Accuracy metric)

     Get a GitHub badge
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Classification ImageNet NFNet-F4+ Top 1 Accuracy 89.2% # 23
Number of params 527M # 1025
GFLOPs 367 # 530
Image Classification ImageNet NFNet-F2 Top 1 Accuracy 85.1% # 253
Number of params 193.8M # 971
GFLOPs 62.59 # 481
Image Classification ImageNet NFNet-F4 Top 1 Accuracy 85.9% # 185
Number of params 316.1M # 1001
GFLOPs 215.24 # 523
Image Classification ImageNet NFNet-F5 Top 1 Accuracy 86.0% # 177
Number of params 377.2M # 1009
GFLOPs 289.76 # 526
Image Classification ImageNet NFNet-F5 w/ SAM Top 1 Accuracy 86.3% # 154
Number of params 377.2M # 1009
GFLOPs 289.76 # 526
Image Classification ImageNet NFNet-F3 Top 1 Accuracy 85.7% # 204
Number of params 254.9M # 989
GFLOPs 114.76 # 507
Image Classification ImageNet NFNet-F1 Top 1 Accuracy 84.7% # 294
Number of params 132.6M # 953
GFLOPs 35.54 # 444
Image Classification ImageNet NFNet-F0 Top 1 Accuracy 83.6% # 406
Number of params 71.5M # 855
GFLOPs 12.38 # 342
Image Classification ImageNet NFNet-F6 w/ SAM Top 1 Accuracy 86.5% # 136
Number of params 438.4M # 1015
GFLOPs 377.28 # 531

Methods