Transformers without Normalization
2025/03/13 by Jiachen Zhu, Zhu, Jiachen, Xinlei Chen +7 · 20 voices · 46 citations
Computer Science · #Advanced Neural Network Applications #Adversarial Robustness in Machine Learning #Artificial neural network #Generative Adversarial Networks and Image Synthesis #Normalization (sociology) #Pattern recognition (psychology) #Preprocessor #Transformer #cs.AI #cs.CL #cs.CV #cs.LG
paper · pdf · doi:10.48550/arxiv.2503.10622
openalex publication_date 2025/03/13 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/05
Abstract
Normalization layers are ubiquitous in modern neural networks and have long been considered essential. This work demonstrates that Transformers without normalization can achieve the same or better performance using a remarkably simple technique. We introduce Dynamic Tanh (DyT), an element-wise operation DyT(x) = \tanh(αx), as a drop-in replacement for normalization layers in Transformers. DyT is inspired by the observation that layer normalization in Transformers often produces tanh-like, S-shaped input-output mappings. By incorporating DyT, Transformers without normalization can match or exceed the performance of their normalized counterparts, mostly without hyperparameter tuning. We validate the effectiveness of Transformers with DyT across diverse settings, ranging from recognition to generation, supervised to self-supervised learning, and computer vision to language models. These findings challenge the conventional understanding that normalization layers are indispensable in modern neural networks, and offer new insights into their role in deep networks.
Citations
Cited by
Discussions
- Wow, this seems to be extremely easy to code and extremely useful. Transformers without Normalization Jiachen Zhu, Xinlei Chen, Kaiming He, Yann LeCun, Zhuang Liu arxiv.org/abs/2503.10622 [bsky, 50 points, 2 comments]
- Transformers without normalization [hn, 42 points, 6 comments]
- arxiv.org/abs/2503.10622 good paper [bsky, 8 points, 2 comments]
- Transformers without Normalization [lobsters, 5 points, 1 comments]
- Transformers Without Normalization [hn, 4 points, 0 comments]
- arxiv.org/abs/2503.10622 [bsky, 3 points, 0 comments]
- Dynamic Tanh sounds kinda cool. arxiv.org/abs/2503.10622 [bsky, 2 points, 0 comments]
- Transformers Without Normalization [hn, 2 points, 0 comments]
- Transformers Without Normalization [hn, 2 points, 1 comments]
- CDS founding director Yann LeCun (@yann-lecun.bsky.social) & NYU Courant PhD student Jiachen Zhu show that transformers can achieve excellent results without normalization layers. Their "Dynamic Tanh" [bsky, 1 points, 0 comments]
- Transformers Without Normalization https://arxiv.org/abs/2503.10622 [bsky, 0 points, 0 comments]
- Transformers without Normalization arxiv.org/abs/2503.10622 Project page: jiachenzhu.github.io/DyT/ #CVPR2025 🎉 [bsky, 0 points, 0 comments]
- https://arxiv.org/abs/2503.10622 Transformerの正規化層は必須と考えられていましたが、この研究はそれを覆します。 Dynamic Tanh (DyT) というシンプルな手法で、正規化なしで同等以上の性能を達成できることを示しました。 DyTは、認識から生成、教師あり学習から自己教師あり学習まで、幅広い設定で有効であることが確認されています。 [bsky, 0 points, 0 comments]
- Transformers without Normalization arxiv.org/pdf/2503.10622 [bsky, 0 points, 0 comments]
- arxiv.org/abs/2503.10622 tanh is all you need? [bsky, 0 points, 0 comments]
- Normalization-Free Transformers rediscover controlled signal propagation — a core idea behind SNNs. P: arxiv.org/abs/2503.10622 [bsky, 0 points, 1 comments]
- [2503.10622] Transformers without Normalization arxiv.org/abs/2503.10622 [bsky, 0 points, 0 comments]
- Paper: arxiv.org/abs/2503.10622 Project page: jiachenzhu.github.io/DyT/ FAIR Meta @yann-lecun.bsky.social @nyu.edu [bsky, 0 points, 0 comments]
- Interesting: one can train deep nets without #normalization layers by replacing them with a parameterized tanh() arxiv.org/abs/2503.10622 tanh() are my favourite #activation function #deeplearning #ar [bsky, 0 points, 0 comments]
- Transformers without Normalization https://lobste.rs/s/b784dz #pdf #ai [bsky, 0 points, 0 comments]
Related