arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.12289cs.LGcs.CLeess.ASstat.ML
收藏

序列到序列模型训练中的注意力强迫

Attention Forcing for Sequence-to-sequence Model Training

Cambridge University(剑桥大学)

Qingyun Dou, Yiting Lu, Joshua Efiong, Mark J. F. Gales

摘要:

具有注意力机制的自回归序列到序列模型在诸如机器翻译和语音合成等许多任务中取得了最先进的性能。这些模型可能很难训练。标准的方法,教师强迫,在训练过程中使用参考输出历史来指导模型。问题是模型不太可能从推理过程中的错误中恢复过来,其中参考输出被生成的输出所取代。有几种方法可以解决这个问题,主要是通过生成的输出历史来指导模型。为了使训练稳定,这些方法通常需要启发式调度或辅助分类器。本文介绍了注意力强迫,它指导模型与生成的输出历史和参考注意。这种方法可以训练模型以稳定的方式从错误中恢复,而不需要调度或分类器。此外,它允许模型生成与参考对齐的输出序列,这对于像许多语音合成系统这样的级联系统可能是重要的。语音合成的实验表明,注意力强制产生显着的性能增益。在机器翻译上的实验表明,对于输出的各种重新排序是有效的任务,用生成的输出历史引导模型是具有挑战性的,而用参考注意力引导模型是有益的。

英文摘要:

Auto-regressive sequence-to-sequence models with attention mechanism have achieved state-of-the-art performance in many tasks such as machine translation and speech synthesis. These models can be difficult to train. The standard approach, teacher forcing, guides a model with reference output history during training. The problem is that the model is unlikely to recover from its mistakes during inference, where the reference output is replaced by generated output. Several approaches deal with this problem, largely by guiding the model with generated output history. To make training stable, these approaches often require a heuristic schedule or an auxiliary classifier. This paper introduces attention forcing, which guides the model with generated output history and reference attention. This approach can train the model to recover from its mistakes, in a stable fashion, without the need for a schedule or a classifier. In addition, it allows the model to generate output sequences aligned with the references, which can be important for cascaded systems like many speech synthesis systems. Experiments on speech synthesis show that attention forcing yields significant performance gain. Experiments on machine translation show that for tasks where various re-orderings of the output are valid, guiding the model with generated output history is challenging, while guiding the model with reference attention is beneficial.

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

↑