On Separate Normalization in Self-supervised Transformers

Xiaohui Chen, Yinkai Wang, Yuanqi Du, S. Hassoun, Liping Liu
2/12/2026

No official code found. Best implementation: tufts-ml/SepNorm (4 stars, last commit 2024-06-07).

Abstract

Self-supervised training methods for transformers have demonstrated remarkable performance across various domains. Previous transformer-based models, such as masked autoencoders (MAE), typically utilize a single normalization layer for both the [CLS] symbol and the tokens. We propose in this paper a simple modification that employs separate normalization layers for the tokens and the [CLS] symbol to better capture their distinct characteristics and enhance downstream task performance. Our method aims to alleviate the potential negative effects of using the same normalization statistics for both token types, which may not be optimally aligned with their individual roles. We empirically show that by utilizing a separate normalization layer, the [CLS] embeddings can better encode the global contextual information and are distributed more uniformly in its anisotropic space. When replacing the conventional normalization layer with the two separate layers, we observe an average 2.7% performance improvement over the image, natural language, and graph domains.

View on arXivView PDF

Code Implementations(1)

tufts-ml/SepNormCommunity100%
40Jupyter NotebookOct 8, 20232 years ago

Similar Papers

Cite this paper

@article{chen2026separate,
  title  = {On Separate Normalization in Self-supervised Transformers},
  author = {Xiaohui Chen and Yinkai Wang and Yuanqi Du and S. Hassoun and Liping Liu},
  year   = {2026},
  eprint = {2309.12931},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.12931},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.12931.svg)](https://codeofpaper.com/paper/2309.12931)

Discussion