[Paper Review] Data Scaling Laws in NMT: The Effect of Noise and Architecture
This paper investigates how architectural choices and data quality affect data scaling laws in Neural Machine Translation (NMT). It finds that most changes—such as model architecture, data filtering, and independent synthetic noise—only shift the scaling curve multiplicatively, with minimal impact on the scaling exponent. However, back-translation significantly degrades the scaling exponent, indicating it introduces fundamental distributional changes that reduce sample efficiency.
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 transformer models scales as a power law in the number of training samples, with a dependence on the model size. Then, we systematically vary aspects of the training setup to understand how they impact the data scaling laws. In particular, we change the following (1) Architecture and task setup: We compare to a transformer-LSTM hybrid, and a decoder-only transformer with a language modeling loss (2) Noise level in the training distribution: We experiment with filtering, and adding iid synthetic noise. In all the above cases, we find that the data scaling exponents are minimally impacted, suggesting that marginally worse architectures or training data can be compensated for by adding more data. Lastly, we find that using back-translated data instead of parallel data, can significantly degrade the scaling exponent.
Motivation & Objective
- To understand how architectural variations and data quality factors influence data scaling laws in NMT.
- To assess whether improvements in model architecture or data filtering lead to measurable gains in sample efficiency.
- To investigate whether different data distributions, including synthetic noise and back-translation, alter the fundamental scaling exponent.
- To provide empirical guidance for large-scale NMT training by quantifying the trade-offs between data quality, architecture, and data quantity.
- To explore whether the scaling exponent captures a fundamental property of the learning mechanism in deep networks.
Proposed method
- Train encoder-decoder transformer models on increasing subsets of parallel English-German data (from 500K to 512M sentence pairs).
- Systematically vary model architecture: compare standard transformers, transformer-LSTM hybrids, and decoder-only transformers with language modeling loss.
- Introduce independent synthetic noise (i.i.d.) to source and target sequences to assess robustness to data corruption.
- Apply data filtering using Bicleaner and Contrastive Data Selection (CDS) to evaluate impact on scaling behavior.
- Train with back-translated data using German-to-English models of varying sizes (2L6L to 64L6L) to assess distributional impact.
- Fit power-law scaling models of the form $ \text{loss} \propto \alpha \cdot D^{-p} + C $, where $ D $ is dataset size, and analyze changes in exponent $ p $, and parameters $ \alpha $, $ C $.
Experimental results
Research questions
- RQ1How do changes in model architecture (e.g., encoder-decoder vs. decoder-only) affect the data scaling exponent in NMT?
- RQ2To what extent does data filtering or synthetic noise alter the scaling exponent, indicating changes in sample efficiency?
- RQ3Does back-translation, a common data-augmentation technique, significantly degrade the data scaling exponent compared to human-parallel data?
- RQ4Can improvements in model architecture or data quality be offset by increasing training data size, as predicted by scaling laws?
- RQ5Do different training pipelines lead to fundamentally different scaling behaviors, or is the exponent invariant across many practical interventions?
Key findings
- The test log-perplexity of encoder-decoder transformers scales as a power law with dataset size, with a scaling exponent $ p \approx 0.28 $ for standard parallel data.
- Changes to architecture (e.g., transformer-LSTM hybrid, decoder-only) or data filtering (Bicleaner, CDS) result in only multiplicative shifts in the scaling curve, with no significant change in the scaling exponent $ p $.
- Adding independent synthetic noise to input or output sequences has minimal impact on the scaling exponent, suggesting models are robust to such noise.
- Back-translation significantly reduces the scaling exponent to $ p \approx 0.19 $, indicating a substantial drop in sample efficiency compared to human-parallel data.
- Larger back-translation models improve the intercept $ C $ and scale $ \alpha $, but do not improve the exponent $ p $, suggesting the fundamental learning rate is unchanged.
- Even the largest back-translation models fail to match the performance of human-parallel data at scale, indicating a persistent gap in data quality that cannot be fully compensated by data quantity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.