Abstract
Parallel data in the domain of interest is the key resource when training a statistical machine translation (SMT) system for a specific purpose. Since ad-hoc manual translation can represent a significant investment in time and money, a prior assessment of the amount of training data required to achieve a satisfactory accuracy level can be very useful. In this work, we show how to predict what the learning curve would look like if we were to manually translate increasing amounts of data. We consider two scenarios: 1) Monolingual samples in the source and target languages are available and 2) An additional small amount of parallel corpus is also available. We propose methods for predicting learning curves in both these scenarios.
Introduction
Training Statistical Machine Translation (SMT) systems is a resource-intensive endeavor, primarily due to the requirement for vast amounts of human-translated parallel data. For organizations building domain-specific systems (e.g., legal or medical), the cost of manual translation is a significant barrier. A critical question arises: "Will an additional investment in 100,000 translated sentences yield a proportional improvement in translation quality, or has the model reached a point of diminishing returns?"
Historically, learning curves—which plot translation quality (typically measured by BLEU score) against training data size—were only available a posteriori. This paper introduces a methodology to predict these curves a priori, enabling informed budgeting and data collection strategies before the translation work even begins.
Methodology
The proposed approach involves three primary stages:
1. Mathematical Model Selection
The authors evaluated six mathematical function families to determine which best characterizes SMT learning behavior. The goal was to find a model complex enough to capture the curve of diminishing returns without overfitting.
Analysis revealed that a three-parameter power-law ($y = c - ax^{-\alpha}$) serves as the optimal "Goldilocks" model, consistently outperforming exponential or logarithmic alternatives in modeling the growth of BLEU scores.
2. Inference from Monolingual Data (Scenario S1)
In the absence of parallel data, the system predicts BLEU scores at specific "anchor points" (e.g., 10K, 75K, and 500K segments) using features derived independently from source and target languages. Key features include lexical diversity (type-token ratios), domain difficulty (perplexity), and language divergence (cross-entropy of POS tag distributions). Ridge and Lasso regression are employed to map these features to predicted performance.
3. Extrapolation and Combination (Scenario S2)
When a small "seed" of parallel data (e.g., 5,000 to 10,000 sentences) is available, a small model is trained to provide real data points. These points anchor and refine the predicted power-law curve through extrapolation and combination with the feature-based inference.
Experimental Setup
The methodology was validated across 30 distinct language pairs and domain combinations, totaling 96 different learning curves. The study utilized diverse corpora including Europarl (parliamentary), KFTT (Kyoto Free Translation), EMEA (medical), and WMT News datasets, covering languages such as Czech, Danish, English, German, French, Japanese, and Spanish.
Results and Discussion
The experiments yielded several key insights:
- Predictive Power of Monolingual Data: Translation difficulty can be estimated from individual language characteristics. High morphological complexity in the target language or high perplexity in the source text typically results in shallower learning curves.
- The Impact of Seed Data: Even a minimal seed corpus (10,000 segments) drastically improves accuracy by calibrating the curve's height, reducing prediction error at the 75,000-segment mark to within 1.5 BLEU points.
- Combined Performance: The most robust results were achieved by combining feature-based inference with extrapolation.
Quantitatively, the combined approach achieved a root mean squared error (RMSE) as low as 0.007 (less than 1 BLEU point) when predicting performance at 500,000 segments based on a 20,000-segment seed.
Conclusion
This work demonstrates that SMT performance follows predictable physical-like laws. While the study focused on SMT (specifically the Moses system), the underlying principles likely extend to modern Neural Machine Translation (NMT), though specific parameters may vary. Future work includes applying these predictions to Active Learning to identify the most beneficial sentences for translation, further optimizing the data collection process.
Summary updated