All models

dm_nfnet_f3

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

Image classification · 2,236 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 2,236 operations (22 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
254.9M
Operations
2,236
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
m4348
Graph hash
bba3230255525b4d91ae4c1ff5d1c5f44cd30ab5507e80b4162656d409574b48
Skeleton hash
f8c580229610609ea22635b2c1a313b4b35a509eb00bbb41f2dd57ff7a9bbdeb
Architecture hash
2a3ac35e783ef8aacfa2757a4f52e4839df4a2543b063484669898a16d7201ef
Diagram SHA-256
f91e5a52b9e01283dc2ca021ad15782a0d7367b3801dc709ba87b7118a0df592
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_f3', pretrained=False)

What it is

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