All models

nfnet_f6

DeepMind's normalizer-free ResNets: no batch norm, adaptive gradient clipping, fast training.

Image classification · 3,427 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 3,427 operations (21 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
NFNet
Parameters
438.4M
Operations
3,427
Framework
PyTorch
Recurrent
No
Published
2021
Cited by
398 (as of 15 November 2026)
Authors
Andrew Brock, Soham De, Samuel L. Smith, Karen Simonyan
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7731
Graph hash
14fdbf988e8bcd934ce672774f3065ee75e722989fc4e955658e180ab4eea540
Skeleton hash
8f65f646904756b462baff7e04fa020f0582406a94231873920e799d8b2d9e8d
Architecture hash
04ca2e3277a95c074bf79c8a4248e966ee803de26784dab6a640b8ab859f873a
Diagram SHA-256
0db2855750bdaba1262da6f614d6a5bf4fa52ee9b0a57af81082877077642f7c
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('nfnet_f6', pretrained=False)

What it is

About this model's family

NFNets are image classifiers that drop batch normalization entirely and still match or beat the accuracy of the best batch-normalized models on ImageNet. The authors' case against batch normalization is practical rather than theoretical, and they list three disadvantages. The one they call most important is that it breaks the independence between training examples in a minibatch.

The first ingredient is Adaptive Gradient Clipping, which clips each unit's gradient when the ratio of its gradient norm to its parameter norm grows too large. That clipping lets the unnormalized networks train stably at batch sizes up to 4096 and with strong augmentation such as RandAugment, where earlier normalizer-free ResNets failed to train. The second ingredient is the architecture, which starts from an SE-ResNeXt-D with GELU activations, a surprisingly strong baseline for normalizer-free networks. The best single block change was an extra 3x3 grouped convolution after the first one in each bottleneck. Stage depths follow the pattern [1, 2, 6, 3], and deeper variants multiply each stage's depth by a scalar. Widths are [256, 512, 1536, 1536], putting extra capacity in the third stage instead of doubling into the fourth.

Each variant is scaled so that it trains about half as fast as the one before, by deepening the stages and raising the training resolution. Images are evaluated at inference about 33% larger than the resolution they were trained at, with no fine-tuning at the larger size. Because the models lack batch normalization's implicit regularization and otherwise overfit badly, the Dropout rate is scaled up with model capacity rather than weight decay or stochastic depth. NFNet-F1 matches the 84.7% top-1 of EfficientNet-B7 while training 8.7 times faster. In timm the family appears twice, and the dm_ prefixed members are the ones marked DeepMind weight compatible. One quirk worth knowing: the larger F4 and F5 variants would not train stably with batch normalization at all, which the authors attribute to bfloat16 precision interacting badly with batch statistics.

Key idea. Adaptive Gradient Clipping, which stabilizes large-batch training of unnormalized networks with strong data augmentation. Combined with a redesigned normalizer-free backbone, it yields models that reach state-of-the-art ImageNet accuracy without extra data while training substantially faster than competing approaches.

  • nfnet
  • NFNet-F0
  • NFNet-F1
  • dm_nfnet_f0
  • nfnet_f0
  • nfnet_l0
  • normalizer-free resnet
  • adaptive gradient clipping
  • AGC
  • no batch normalization
  • deepmind
  • image classification
  • timm

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{brock2021highperformancelargescaleimagerecognition,
      title={High-Performance Large-Scale Image Recognition Without Normalization}, 
      author={Andrew Brock and Soham De and Samuel L. Smith and Karen Simonyan},
      year={2021},
      eprint={2102.06171},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2102.06171}, 
}