All models

dm_nfnet_f1

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

Image classification · 1,156 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

Loading diagram (17 KB)

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
132.6M
Operations
1,156
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
m4346
Graph hash
ba473ebafc26ef1eb71d984300fa559e87f79b961e0d618ee4386bfc9a63798c
Skeleton hash
521d0691da75af28ccad8ee295f7328bea8361113cebc6e9f0f63a971b2d954e
Architecture hash
29ea35feb848ed0e5eeb22bd8634a40c2b13365de1eeb6ab27ea193beab89990
Diagram SHA-256
5c6a924ee3e7e79e58c314fa081686d2b167e859e0adeceb4cda926ae756ba50
TorchLens version
2.35.3
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('dm_nfnet_f1', pretrained=False)

What it is

NFNet-F1, DeepMind weight compatible.

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}, 
}