Scheduled Sampling Based on Decoding Steps for Neural Machine Translation

Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu, Jie Zhou
8/30/2021
cs.CL

Official code: Adaxry/ss_on_decoding_steps. (20 stars, last commit 2021-08-31).

Abstract

Scheduled sampling is widely used to mitigate the exposure bias problem for neural machine translation. Its core motivation is to simulate the inference scene during training by replacing ground-truth tokens with predicted tokens, thus bridging the gap between training and inference.

Show full abstract

However, vanilla scheduled sampling is merely based on training steps and equally treats all decoding steps. Namely, it simulates an inference scene with uniform error rates, which disobeys the real inference scene, where larger decoding steps usually have higher error rates due to error accumulations. To alleviate the above discrepancy, we propose scheduled sampling methods based on decoding steps, increasing the selection chance of predicted tokens with the growth of decoding steps. Consequently, we can more realistically simulate the inference scene during training, thus better bridging the gap between training and inference. Moreover, we investigate scheduled sampling based on both training steps and decoding steps for further improvements. Experimentally, our approaches significantly outperform the Transformer baseline and vanilla scheduled sampling on three large-scale WMT tasks. Additionally, our approaches also generalize well to the text summarization task on two popular benchmarks.

View on arXivView PDF

Code Implementations(1)

codes for "Scheduled Sampling Based on Decoding Steps for Neural Machine Translation" (long paper of EMNLP-2022)

201Aug 26, 20215 years ago

Similar Papers

Cite this paper

@article{liu2021scheduled,
  title  = {Scheduled Sampling Based on Decoding Steps for Neural Machine Translation},
  author = {Yijin Liu and Fandong Meng and Yufeng Chen and Jinan Xu and Jie Zhou},
  year   = {2021},
  eprint = {2108.12963},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.12963}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.12963.svg)](https://codeofpaper.com/paper/2108.12963)

Discussion