← All entries
Paper2025#547

Transformers without Normalization

Summary

Observes that LN input–output maps are tanh-like S-curves and replaces LN/RMSNorm with DyT(x)=γ·tanh(αx)+β (α learnable scalar). Matches or beats LN with original hparams: ImageNet ViT-B 82.5 vs 82.3, ViT-L 83.6 vs 83.1; MAE/DINO on par; DiT FID comparable; LLaMA 7B–70B on 200B Pile tokens match RMSNorm zero-shot (70B both 0.549 / loss 1.45). Default α0=0.5 except LLMs (attention vs other α0 split). Tanh ablation needed for stability; identity diverges. Does not replace BN in ResNet-50 (76.2→68.9). CVPR 2025. Code https://github.com/jiachenzhu/DyT; project https://jiachenzhu.github.io/DyT/.

Venue
arXiv / FAIR Meta / NYU / MIT / Princeton University
Purpose
Replace LayerNorm/RMSNorm with an elementwise tanh(αx) (DyT) without hurting accuracy
Scale
ViT-B/L and ConvNeXt-B/L ImageNet; MAE/DINO ViT-B/L; DiT-B/L/XL; LLaMA 7B/13B/34B/70B on 200B Pile tokens; wav2vec 2.0 Base/Large; HyenaDNA/Caduceus
Time period
2025-03-13 (arXiv 2503.10622 v1); last revised 2025-06-14 (v2). CVPR 2025. HF paper publishedAt 2025-03-13.
Added
Oct 1, 2026
Research status
done

From the source

Published
Mar 13, 2025
Last revised
Jun 14, 2025
arXiv categories
cs.LG, cs.AI, cs.CL, cs.CV
Author comment
CVPR 2025; Project page: https://jiachenzhu.github.io/DyT/
Citations
216 (22 influential)
References
88
Published in
Computer Vision and Pattern Recognition

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

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.

Tags

dytlayernormrmsnormtransformerscvprfairmetamitprincetonnyu

Topics

normalization, Transformer architecture, Dynamic Tanh

Research notes

  • Primary: arxiv abs (cs.LG; also cs.AI, cs.CL, cs.CV). License not stated on abs/HTML at check. Comment: CVPR 2025; project https://jiachenzhu.github.io/DyT/. Affiliations FAIR/Meta, NYU, MIT, Princeton. Correspondence jiachen.zhu@nyu.edu, zhuangl@princeton.edu. Liu project lead. Code https://github.com/jiachenzhu/DyT (1,042 stars at check). HF paper page 171 upvotes; githubRepo linked; no linked models/datasets. Discord posted PDF v1. Trains on public ImageNet/Pile/LibriSpeech; no new corpus, so no datasets_local row. License field left blank per catalog convention.

Cites, within this collection 1

Similar entries