CVLGFeb 2, 2023

Dual PatchNorm

arXiv:2302.01327v314 citationsh-index: 52
Originality Incremental advance
AI Analysis

This is an incremental improvement for vision transformer researchers, addressing a specific architectural bottleneck.

The paper tackles the problem of optimizing LayerNorm placement in Vision Transformers by proposing Dual PatchNorm, which adds two LayerNorm layers before and after the patch embedding layer. This simple modification consistently improves accuracy over well-tuned models without negative effects.

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.

Code Implementations7 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes