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

Transformers的计划抽样

Scheduled Sampling for Transformers

Instituto de Telecomunicações(电信研究所);Unbabel(Unbabel公司)

Tsvetomila Mihaylova, André F. T. Martins

摘要:

预定采样是一种避免序列间生成中已知问题之一的技术:暴露偏倚。它包括为模型提供教师强制嵌入和训练时间上一步的模型预测的混合。该技术已被用于改善模型的性能与递归神经网络(RNN)。在Transformer模型中,与RNN不同,新词的生成关注到目前为止生成的整个句子,而不仅仅是最后一个词,并且应用预定采样技术并不简单。我们提出了一些结构上的变化,允许预定的采样应用到Transformer架构,通过一个两遍解码策略。两个语言对的实验实现性能接近教师强迫基线,并表明这种技术是有前途的进一步探索。

英文摘要:

Scheduled sampling is a technique for avoiding one of the known problems in sequence-to-sequence generation: exposure bias. It consists of feeding the model a mix of the teacher forced embeddings and the model predictions from the previous step in training time. The technique has been used for improving the model performance with recurrent neural networks (RNN). In the Transformer model, unlike the RNN, the generation of a new word attends to the full sentence generated so far, not only to the last word, and it is not straightforward to apply the scheduled sampling technique. We propose some structural changes to allow scheduled sampling to be applied to Transformer architecture, via a two-pass decoding strategy. Experiments on two language pairs achieve performance close to a teacher-forcing baseline and show that this technique is promising for further exploration.

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

↑