Output Embedding Centering for Stable LLM Pretraining

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Stollenwerk, Felix, Lokrantz, Anna, Hertzberg, Niclas
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911561722888192
author Stollenwerk, Felix
Lokrantz, Anna
Hertzberg, Niclas
author_facet Stollenwerk, Felix
Lokrantz, Anna
Hertzberg, Niclas
contents Pretraining of large language models is not only expensive but also prone to certain training instabilities. A specific instability that often occurs at the end of training is output logit divergence. The most widely used mitigation strategies, z-loss and logit soft-capping, merely address the symptoms rather than the underlying cause of the problem. In this paper, we analyze the instability from the perspective of the output embeddings' geometry and identify anisotropic embeddings as its source. Based on this, we propose output embedding centering (OEC) as a new mitigation strategy, and demonstrate that it suppresses output logit divergence. OEC can be implemented in two different ways: as a deterministic operation called $μ$-centering, or a regularization method called $μ$-loss. Our experiments show that both variants outperform z-loss in terms of training stability, while being on par with logit soft-capping. This holds true both in the presence and the absence of weight tying. As a secondary result, we find that $μ$-loss is significantly less sensitive to regularization hyperparameter tuning than z-loss.
format Preprint
id arxiv_https___arxiv_org_abs_2601_02031
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Output Embedding Centering for Stable LLM Pretraining
Stollenwerk, Felix
Lokrantz, Anna
Hertzberg, Niclas
Machine Learning
Artificial Intelligence
Computation and Language
Pretraining of large language models is not only expensive but also prone to certain training instabilities. A specific instability that often occurs at the end of training is output logit divergence. The most widely used mitigation strategies, z-loss and logit soft-capping, merely address the symptoms rather than the underlying cause of the problem. In this paper, we analyze the instability from the perspective of the output embeddings' geometry and identify anisotropic embeddings as its source. Based on this, we propose output embedding centering (OEC) as a new mitigation strategy, and demonstrate that it suppresses output logit divergence. OEC can be implemented in two different ways: as a deterministic operation called $μ$-centering, or a regularization method called $μ$-loss. Our experiments show that both variants outperform z-loss in terms of training stability, while being on par with logit soft-capping. This holds true both in the presence and the absence of weight tying. As a secondary result, we find that $μ$-loss is significantly less sensitive to regularization hyperparameter tuning than z-loss.
title Output Embedding Centering for Stable LLM Pretraining
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2601.02031