paper-with-me

홈 › Papers

The Implicit Length Bias of Label Smoothing on Beam Search Decoding

2022-05-02 · Bowen Liang, Pidong Wang, Yuan Cao

Label smoothing is ubiquitously applied in Neural Machine Translation (NMT) training. While label smoothing offers a desired regularization effect during model training, in this paper we demonstrate that it nevertheless introduces length biases in the beam search decoding procedure. Our analysis shows that label smoothing implicitly applies a length penalty term to output sequence, causing a bias towards shorter translations. We also show that for a model fully optimized with label smoothing, translation length is implicitly upper bounded by a fixed constant independent of input. We verify our theory by applying a simple rectification function at inference time to restore the unbiased distributions from the label-smoothed model predictions. This rectification method led to consistent quality improvements on WMT English-German, English-French, English-Czech and English-Chinese tasks, up to +0.3 BLEU at beam size 4 and +2.8 BLEU at beam size 200.

📄 PDF Abstract BibTeX arXiv:2205.00659

Code (0)

등록된 구현이 없습니다.

Tasks

Machine TranslationNMTTranslation

Methods 이 논문이 사용한 방법론

Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Why Neural Machine Translation Prefers Empty Outputs

2020-12-24 · Xing Shi, Yijun Xiao, Kevin Knight

We investigate why neural machine translation (NMT) systems assign high probability to empty translations. We find two explanations. First, label smoothing makes correct-length translations less confident, making it easi…

Machine TranslationNMTTranslation

Correcting Length Bias in Neural Machine Translation

2018-08-29 · WS 2018 10 · Kenton Murray, David Chiang

We study two problems in neural machine translation (NMT). First, in beam search, whereas a wider beam should in principle help translation, it often hurts NMT. Second, NMT has a tendency to produce translations that are…

Machine TranslationNMTTranslation

The Implicit Bias of Logit Regularization

2026-02-12 · Alon Beck, Yohai Bar Sinai, Noam Levi arxiv

Logit regularization, the addition of a convex penalty directly in logit space, is widely used in modern classifiers, with label smoothing as a prominent example. While such methods often improve calibration and generali…

A Continuum of Generation Tasks for Investigating Length Bias and Degenerate Repetition

2022-10-19 · Darcey Riley, David Chiang

Language models suffer from various degenerate behaviors. These differ between tasks: machine translation (MT) exhibits length bias, while tasks like story generation exhibit excessive repetition. Recent work has attribu…

Machine TranslationStory Generation

When Does Label Smoothing Help?

2019-06-06 · NeurIPS 2019 12 · Rafael Müller, Simon Kornblith, Geoffrey Hinton

The generalization and learning speed of a multi-class neural network can often be significantly improved by using soft targets that are a weighted average of the hard targets and the uniform distribution over labels. Sm…

image-classificationImage ClassificationKnowledge Distillationspeech-recognition+2