arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.03771cs.LGstat.ML
收藏

自回归模型的代价敏感训练

Cost-Sensitive Training for Autoregressive Models

National Research University Higher School of Economics(国立研究型大学高等经济学院)

Irina Saparina, Anton Osokin

摘要:

据报道,训练自回归模型以更好地预测测试指标,而不是最大化可能性,在几个用例中是有益的,但会带来额外的复杂性,从而阻止更广泛的采用。在本文中,我们遵循学习搜索方法(Daumé III等人,2009; Leblond等人,2018年),并调查其几个组成部分。首先,我们提出了一种基于模型输出和地面实况之间的对齐来构建参考策略的方法。我们的参考策略在应用于排列之间的Kendall-tau距离(出现在单词排序任务中)时是最佳的,并且在使用机器翻译的METEOR评分时有所帮助。其次,我们观察到,学习搜索方法的好处,从选择相关的测试指标的成本。最后,我们研究了不同学习目标的效果,发现标准KL损失只学习了几个高概率的令牌,可以用明确针对这些令牌的排名目标来代替。

英文摘要:

Training autoregressive models to better predict under the test metric, instead of maximizing the likelihood, has been reported to be beneficial in several use cases but brings additional complications, which prevent wider adoption. In this paper, we follow the learning-to-search approach (Daumé III et al., 2009; Leblond et al., 2018) and investigate its several components. First, we propose a way to construct a reference policy based on an alignment between the model output and ground truth. Our reference policy is optimal when applied to the Kendall-tau distance between permutations (appear in the task of word ordering) and helps when working with the METEOR score for machine translation. Second, we observe that the learning-to-search approach benefits from choosing the costs related to the test metrics. Finally, we study the effect of different learning objectives and find that the standard KL loss only learns several high-probability tokens and can be replaced with ranking objectives that target these tokens explicitly.

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

↑