arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.10145cs.LGcs.AIcs.CLcs.CVstat.ML
收藏

Cyclical Annealing Schedule:一种缓解KL消失的简单方法

Cyclical Annealing Schedule: A Simple Approach to Mitigating KL Vanishing

Microsoft Research(微软研究院);Duke University(杜克大学)

Hao Fu, Chunyuan Li, Xiaodong Liu, Jianfeng Gao, Asli Celikyilmaz, Lawrence Carin

摘要:

具有自回归解码器的变分自编码器(VAE)已经被应用于许多自然语言处理(NLP)任务。VAE目标由两项组成,(i)重建和(ii)KL正则化,通过加权超参数β进行平衡。一个众所周知的训练困难是KL项往往会消失。本文研究了β的调度方案,指出KL消失是由于优化开始时训练解码器时缺少好的潜在码造成的。为了解决这个问题,我们提出了一个循环退火计划,它重复多次增加β的过程。这种新的程序允许通过利用先前周期的信息表示作为热重启来渐进地学习更有意义的潜在代码。循环退火的有效性在广泛的NLP任务中得到了验证,包括语言建模,对话响应生成和无监督语言预训练。

英文摘要:

Variational autoencoders (VAEs) with an auto-regressive decoder have been applied for many natural language processing (NLP) tasks. The VAE objective consists of two terms, (i) reconstruction and (ii) KL regularization, balanced by a weighting hyper-parameter β. One notorious training difficulty is that the KL term tends to vanish. In this paper we study scheduling schemes for β, and show that KL vanishing is caused by the lack of good latent codes in training the decoder at the beginning of optimization. To remedy this, we propose a cyclical annealing schedule, which repeats the process of increasing βmultiple times. This new procedure allows the progressive learning of more meaningful latent codes, by leveraging the informative representations of previous cycles as warm re-starts. The effectiveness of cyclical annealing is validated on a broad range of NLP tasks, including language modeling, dialog response generation and unsupervised language pre-training.

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

↑