Representation Degeneration Problem in Training Natural Language Generation Models
Jun Gao, Di He, Xu Tan, Tao Qin, Liwei Wang, Tie-Yan Liu
TL;DR
This work identifies a representation degeneration problem in neural natural language generation where word embeddings collapse into a narrow cone under weight tying and likelihood training. It provides a theoretical link between degeneration and hidden-state geometry, particularly for low-frequency words, and proposes MLE-CosReg, a cosine-based regularization to widen embedding dispersion. Empirical results on WikiText-2 language modeling and WMT En-De/De-En machine translation demonstrate consistent perplexity and BLEU improvements with minimal parameter overhead, signaling enhanced embedding expressiveness. The approach offers a practical, complementary tool for improving NLG performance by explicitly shaping embedding geometry.
Abstract
We study an interesting problem in training neural network-based models for natural language generation tasks, which we call the \emph{representation degeneration problem}. We observe that when training a model for natural language generation tasks through likelihood maximization with the weight tying trick, especially with big training datasets, most of the learnt word embeddings tend to degenerate and be distributed into a narrow cone, which largely limits the representation power of word embeddings. We analyze the conditions and causes of this problem and propose a novel regularization method to address it. Experiments on language modeling and machine translation show that our method can largely mitigate the representation degeneration problem and achieve better performance than baseline algorithms.
