Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Group Normalization

About

Batch Normalization (BN) is a milestone technique in the development of deep learning, enabling various networks to train. However, normalizing along the batch dimension introduces problems --- BN's error increases rapidly when the batch size becomes smaller, caused by inaccurate batch statistics estimation. This limits BN's usage for training larger models and transferring features to computer vision tasks including detection, segmentation, and video, which require small batches constrained by memory consumption. In this paper, we present Group Normalization (GN) as a simple alternative to BN. GN divides the channels into groups and computes within each group the mean and variance for normalization. GN's computation is independent of batch sizes, and its accuracy is stable in a wide range of batch sizes. On ResNet-50 trained in ImageNet, GN has 10.6% lower error than its BN counterpart when using a batch size of 2; when using typical batch sizes, GN is comparably good with BN and outperforms other normalization variants. Moreover, GN can be naturally transferred from pre-training to fine-tuning. GN can outperform its BN-based counterparts for object detection and segmentation in COCO, and for video classification in Kinetics, showing that GN can effectively replace the powerful BN in a variety of tasks. GN can be easily implemented by a few lines of code in modern libraries.

Yuxin Wu, Kaiming He• 2018

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP42.3
2454
Image ClassificationImageNet (val)
Top-1 Acc78.14
1206
Instance SegmentationCOCO 2017 (val)
APm0.372
1144
Action RecognitionSomething-something v1 (val)
Top-1 Acc42.07
257
Video ClassificationKinetics 400 (val)
Top-1 Acc74.5
204
Image ClassificationImageNet-1k 1.0 (test)
Top-1 Accuracy83.1
197
Object DetectionCOCO (minival)
mAP41
184
Image ClassificationImageNet (val)
Top-1 Error24.1
72
Object DetectionCOCO mini 2017 (val)
mAP39.3
49
Image ClassificationImageNet 1000 (val)
Top-1 Error23.52
26
Showing 10 of 14 rows

Other info

Code

Follow for update