Dual PatchNorm
By Manoj Kumar, Mostafa Dehghani, Neil Houlsby. 2023
14 citations recorded by the source corpus.
We propose Dual PatchNorm: two Layer Normalization layers (LayerNorms), before and after the patch embedding layer in Vision Transformers. We demonstrate that Dual PatchNorm outperforms the result of exhaustive search for alternative LayerNorm placement strategies in the Transformer block itself. In our experiments, incorporating this trivial modification, often leads to improved accuracy over well-tuned Vision Transformers and never hurts.
Subfields: Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Optimization & Training
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Computer Vision and Pattern Recognition
- Ali Farhadi
- Luke S. Zettlemoyer
- Luc Van Gool
- Mitchell Wortsman
- Trevor Darrell
- Ming-Hsuan Yang
- Ludwig Schmidt
- Dacheng Tao
In Electrical and Electronic Engineering
In Optimization & Training
- Luke S. Zettlemoyer
- Tim Dettmers
- Ali Farhadi
- Ludwig Schmidt
- Ari S. Morcos
- Mitchell Wortsman
- Torsten Hoefler
- Tal Ben-Nun
Citations in the corpus
- Stable and low-precision training for large-scale vision-language models (2023, methodology): “We initially tried adding a layer-norm before the patch embedding as in [34], but removed this as we found it to hurt performance at CLIP ViT-Huge scale.”