paper-with-me

Papers

Transformers without Normalization

2025-03-13 · CVPR 2025 1 · Jiachen Zhu, Xinlei Chen, Kaiming He, Yann Lecun, Zhuang Liu

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(\alpha $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.

📄 PDF Abstract BibTeX arXiv:2503.10622

Code (1)

jiachenzhu/DyT pytorch

Tasks

Self-Supervised Learning

Methods 이 논문이 사용한 방법론

Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformers

2023-05-24 · NeurIPS 2023 11 · Zixuan Jiang, Jiaqi Gu, Hanqing Zhu, David Z. Pan

Transformers have achieved great success in machine learning applications. Normalization techniques, such as Layer Normalization (LayerNorm, LN) and Root Mean Square Normalization (RMSNorm), play a critical role in accel…

Stability of Transformers under Layer Normalization

2025-10-10 · Kelvin Kan, Xingjian Li, Benjamin J. Zhang, Tuhin Sahai 외 arxiv

Despite their widespread use, training deep Transformers can be unstable. Layer normalization, a standard component, improves training stability, but its placement has often been ad-hoc. In this paper, we conduct a princ…

Query-Key Normalization for Transformers

2020-10-08 · Findings of the Association for Computational Linguistics 2020 · Alex Henry, Prudhvi Raj Dachapally, Shubham Pawar, Yuxuan Chen

Low-resource language translation is a challenging but socially valuable NLP task. Building on recent work adapting the Transformer's normalization to this setting, we propose QKNorm, a normalization technique that modif…

Translation

Looped Transformers with Layer Normalization Provably Learn the Power Method

2026-05-30 · Lyumin Wu, Chenyang Zhang, Yuan Cao arxiv

Transformers have achieved remarkable success across a wide range of applications, and a growing body of work suggests that part of their strength comes from their ability to learn and execute algorithmic procedures. How…

Is text normalization relevant for classifying medieval charters?

2024-08-29 · Florian Atzenhofer-Baumgartner, Tamás Kovács

This study examines the impact of historical text normalization on the classification of medieval charters, specifically focusing on document dating and locating. Using a data set of Middle High German charters from a di…

Document DatingText Normalization