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

神经机器翻译的置信度感知定时采样

Confidence-Aware Scheduled Sampling for Neural Machine Translation

Beijing Jiaotong University(北京交通大学);Tencent Inc(腾讯公司)

Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu, Jie Zhou

摘要:

调度采样是一种有效的方法,以减轻暴露偏差问题的神经机器翻译。它通过在训练过程中随机替换地面实况目标输入标记来模拟推理场景。尽管它取得了成功,但它的关键调度策略仅仅基于训练步骤,忽略了实时模型的能力,这限制了它的潜在性能和收敛速度。为了解决这个问题,我们提出了置信度感知计划抽样。具体来说,我们量化的模型预测的信心,在此基础上,我们设计细粒度的调度策略的实时模型的能力。通过这种方式,模型准确地暴露于高置信度位置的预测令牌和低置信度位置的真实令牌。此外,我们观察到香草计划抽样遭受退化到原来的教师强迫模式,因为大多数预测令牌是相同的地面真理令牌。因此,在上述置信度感知策略下,我们进一步暴露更多噪声令牌(例如,冗长和不正确的词序),而不是高置信度标记位置的预测值。我们在Transformer上评估了我们的方法,并在大规模WMT 2014英语-德语,WMT 2014英语-法语和WMT 2019中文-英语上进行了实验。实验结果表明,该方法在翻译质量和收敛速度上都明显优于Transformer和vanilla预定采样。

英文摘要:

Scheduled sampling is an effective method to alleviate the exposure bias problem of neural machine translation. It simulates the inference scene by randomly replacing ground-truth target input tokens with predicted ones during training. Despite its success, its critical schedule strategies are merely based on training steps, ignoring the real-time model competence, which limits its potential performance and convergence speed. To address this issue, we propose confidence-aware scheduled sampling. Specifically, we quantify real-time model competence by the confidence of model predictions, based on which we design fine-grained schedule strategies. In this way, the model is exactly exposed to predicted tokens for high-confidence positions and still ground-truth tokens for low-confidence positions. Moreover, we observe vanilla scheduled sampling suffers from degenerating into the original teacher forcing mode since most predicted tokens are the same as ground-truth tokens. Therefore, under the above confidence-aware strategy, we further expose more noisy tokens (e.g., wordy and incorrect word order) instead of predicted ones for high-confidence token positions. We evaluate our approach on the Transformer and conduct experiments on large-scale WMT 2014 English-German, WMT 2014 English-French, and WMT 2019 Chinese-English. Results show that our approach significantly outperforms the Transformer and vanilla scheduled sampling on both translation quality and convergence speed.

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

↑