paper-with-me

홈 › Papers

Scaling Laws for Neural Machine Translation

2021-09-16 · ICLR 2022 4 · Behrooz Ghorbani, Orhan Firat, Markus Freitag, Ankur Bapna, Maxim Krikun, Xavier Garcia, Ciprian Chelba, Colin Cherry

We present an empirical study of scaling properties of encoder-decoder Transformer models used in neural machine translation (NMT). We show that cross-entropy loss as a function of model size follows a certain scaling law. Specifically (i) We propose a formula which describes the scaling behavior of cross-entropy loss as a bivariate function of encoder and decoder size, and show that it gives accurate predictions under a variety of scaling approaches and languages; we show that the total number of parameters alone is not sufficient for such purposes. (ii) We observe different power law exponents when scaling the decoder vs scaling the encoder, and provide recommendations for optimal allocation of encoder/decoder capacity based on this observation. (iii) We also report that the scaling behavior of the model is acutely influenced by composition bias of the train/test sets, which we define as any deviation from naturally generated text (either via machine generated or human translated text). We observe that natural text on the target side enjoys scaling, which manifests as successful reduction of the cross-entropy loss. (iv) Finally, we investigate the relationship between the cross-entropy loss and the quality of the generated translations. We find two different behaviors, depending on the nature of the test data. For test sets which were originally translated from target language to source language, both loss and BLEU score improve as model size increases. In contrast, for test sets originally translated from source language to target language, the loss improves, but the BLEU score stops improving after a certain threshold. We release generated text from all models used in this study.

📄 PDF Abstract BibTeX arXiv:2109.07740

Code (0)

등록된 구현이 없습니다.

Tasks

DecoderMachine TranslationNMTTranslation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Test 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
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…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Scaling Laws of Decoder-Only Models on the Multilingual Machine Translation Task

2024-09-23 · Gaëtan Caillaut, Raheel Qader, Mariam Nakhlé, Jingshu Liu 외

Recent studies have showcased remarkable capabilities of decoder-only models in many NLP tasks, including translation. Yet, the machine translation field has been largely dominated by encoder-decoder models based on the …

DecoderMachine TranslationSentenceTranslation

OWLS: Scaling Laws for Multilingual Speech Recognition and Translation Models

2025-02-14 · William Chen, Jinchuan Tian, Yifan Peng, Brian Yan 외

Neural scaling laws offer valuable insights for designing robust sequence processing architectures. While these laws have been extensively characterized in other modalities, their behavior in speech remains comparatively…

speech-recognitionSpeech RecognitionTranslation

Data and Parameter Scaling Laws for Neural Machine Translation

2021-05-01 · ACL ARR May 2021 5 · Mitchell A Gordon, Kevin Duh, Jared Kaplan

We observe that the development cross-entropy loss of supervised neural machine translation models scales like a power law with the amount of training data and the number of non-embedding parameters in the model. We disc…

Machine TranslationTranslation

Scaling Laws for Downstream Task Performance of Large Language Models

2024-02-06 · Berivan Isik, Natalia Ponomareva, Hussein Hazimeh, Dimitris Paparas 외

Scaling laws provide important insights that can guide the design of large language models (LLMs). Existing work has primarily focused on studying scaling laws for pretraining (upstream) loss. However, in transfer learni…

Machine TranslationTransfer LearningTranslation

Data Scaling Laws in NMT: The Effect of Noise and Architecture

2022-02-04 · Yamini Bansal, Behrooz Ghorbani, Ankush Garg, Biao Zhang 외

In this work, we study the effect of varying the architecture and training data quality on the data scaling properties of Neural Machine Translation (NMT). First, we establish that the test loss of encoder-decoder transf…

DecoderLanguage ModelingLanguage ModellingMachine Translation+1