arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.03158cs.LGstat.ML
收藏

神经序列建模中任务损失最小化的MLE引导参数搜索

MLE-guided parameter search for task loss minimization in neural sequence modeling

New York University(纽约大学)

Sean Welleck, Kyunghyun Cho

摘要:

神经自回归序列模型用于在各种自然语言处理(NLP)任务中生成序列,并根据序列级任务损失对其进行评估。这些模型通常使用最大似然估计进行训练,它忽略了任务损失,但经验上表现良好,作为替代目标。用于直接优化任务丢失的典型方法(诸如策略梯度和最小风险训练)是基于在序列空间中的采样以获得基于单个序列的丢失来评分的候选更新方向。在本文中,我们开发了一种替代方法,基于随机搜索的参数空间,利用访问的最大似然梯度。我们提出了最大似然引导参数搜索(MGS),它从更新方向上的分布中采样,该更新方向是围绕当前参数和围绕最大似然梯度的随机搜索的混合,每个方向由其在任务损失中的改进加权。MGS将采样转移到参数空间,并使用从多个序列中汇集的损失对候选者进行评分。我们的实验表明,MGS能够优化序列级损失,大大减少重复和非终止序列完成,并在机器翻译的最小风险训练的类似改进。

英文摘要:

Neural autoregressive sequence models are used to generate sequences in a variety of natural language processing (NLP) tasks, where they are evaluated according to sequence-level task losses. These models are typically trained with maximum likelihood estimation, which ignores the task loss, yet empirically performs well as a surrogate objective. Typical approaches to directly optimizing the task loss such as policy gradient and minimum risk training are based around sampling in the sequence space to obtain candidate update directions that are scored based on the loss of a single sequence. In this paper, we develop an alternative method based on random search in the parameter space that leverages access to the maximum likelihood gradient. We propose maximum likelihood guided parameter search (MGS), which samples from a distribution over update directions that is a mixture of random search around the current parameters and around the maximum likelihood gradient, with each direction weighted by its improvement in the task loss. MGS shifts sampling to the parameter space, and scores candidates using losses that are pooled from multiple sequences. Our experiments show that MGS is capable of optimizing sequence-level losses, with substantial reductions in repetition and non-termination in sequence completion, and similar improvements to those of minimum risk training in machine translation.

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

↑