arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.03127cs.CL
收藏

稀有令牌退化所有令牌:通过用于稀有Token嵌入的自适应梯度门控改进神经文本生成

Rare Tokens Degenerate All Tokens: Improving Neural Text Generation via Adaptive Gradient Gating for Rare Token Embeddings

Seoul National University(首尔国立大学);AIRS Company, Hyundai Motor Group(现代汽车集团AIRS公司)

Sangwon Yu, Jongyoon Song, Heeseung Kim, Seong-min Lee, Woo-Jong Ryu, Sungroh Yoon

摘要:

最近的研究已经确定,大规模神经语言模型的学习令牌嵌入退化为具有窄锥形状的各向异性。这种现象被称为表示退化问题,它促进了令牌嵌入之间的整体相似性的增加,从而对模型的性能产生负面影响。虽然现有的方法,解决退化问题的基础上观察的现象所引发的问题,提高了文本生成的性能,退化问题背后的令牌嵌入的训练动态仍然没有探索。在这项研究中,我们分析了令牌嵌入的训练动态,重点是稀有令牌嵌入。我们证明了稀有令牌嵌入的梯度的特定部分是训练阶段所有令牌退化问题的关键原因。在此基础上,提出了一种新的自适应梯度门控(AGG)方法. AGG通过门控稀有令牌嵌入的梯度的特定部分来解决退化问题。语言建模、词相似度和机器翻译任务的实验结果定量和定性地验证了AGG的有效性。

英文摘要:

Recent studies have determined that the learned token embeddings of large-scale neural language models are degenerated to be anisotropic with a narrow-cone shape. This phenomenon, called the representation degeneration problem, facilitates an increase in the overall similarity between token embeddings that negatively affect the performance of the models. Although the existing methods that address the degeneration problem based on observations of the phenomenon triggered by the problem improves the performance of the text generation, the training dynamics of token embeddings behind the degeneration problem are still not explored. In this study, we analyze the training dynamics of the token embeddings focusing on rare token embedding. We demonstrate that the specific part of the gradient for rare token embeddings is the key cause of the degeneration problem for all tokens during training stage. Based on the analysis, we propose a novel method called, adaptive gradient gating (AGG). AGG addresses the degeneration problem by gating the specific part of the gradient for rare token embeddings. Experimental results from language modeling, word similarity, and machine translation tasks quantitatively and qualitatively verify the effectiveness of AGG.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑