Elamur Research

Minimum error training of log-linear translation models

Paper · 2004 · Mauro Cettolo and Marcello Federico

Summary

A translator can assign a high score to a sentence that fares poorly when compared with a human translation. In statistical machine translation, the weights used to choose an output can be learned by making observed translations more probable. Mauro Cettolo and Marcello Federico study a different way to pick those weights. They run the translator on a development set, measure the quality of the resulting sentences, and adjust the weights to improve that measurement. Their procedure decodes the development set again as the weights change, so the search can find translations that an earlier run would have missed.

The paper shows why tuning the weights also requires paying attention to how the decoder searches. A phrase-based translator builds sentences in stages and discards partial translations to keep the search manageable. Multiplying every weight by the same positive factor preserves the ranking of the candidates being compared. Yet it can change how close their scores appear to the best score, which determines whether some of them survive. A gain after tuning might therefore come from a better balance among the scoring features, from allowing more partial translations to survive, or from both. The authors start from settings where further relaxation of the pruning threshold has little practical effect and use a separate cap on the number of surviving hypotheses to keep the search affordable.

The experiments compare tuned weights with uniform weights on Chinese-to-English news and travel translation. On Nist 2003, tuning for the BLEU score raises test BLEU from 0.1803 to 0.1854, a relative improvement of 2.8%. On C-Star 2003, it raises test BLEU from 0.4208 to 0.4614, a relative improvement of 9.6%. The paper also reports gains on the NIST quality measure. For the travel task, the tuned system reaches the baseline's best BLEU at almost 50% less search cost, measured by the number of hypotheses generated.

Direct tuning makes each evaluation of the weights expensive because it includes translation of the development set. The authors contrast their procedure with earlier minimum error training that repeatedly built and rescored lists of complete translations. They establish that rerunning the decoder can improve quality over uniform weighting at comparable search cost. The comparison between the training procedures themselves remains open.

Deep dive: Minimum error training of log-linear translation models

Minimum error training tunes a phrase-based translator for translation quality and shows how decoder pruning can change the result. · about 35 minutes to read

The problem and its context

Choosing a translation and choosing the weights

A statistical translation system has a decision to make for each source sentence. Several output strings may be plausible, and a given output can correspond to the input in several ways. The system needs a way to score these possibilities and a search procedure that can find a good one within a practical amount of computation. Cettolo and Federico focus on the weights inside that score. The weights determine how strongly the system responds to different kinds of evidence, such as whether the output is probable as a target-language sentence or whether the proposed correspondence between input and output is probable.

The method starts from a distinction between the criterion used to estimate the weights and the criterion used to judge the finished translations. Under likelihood training, observed training examples should receive high conditional probability. Such an objective takes account of how probability is distributed over alternatives. In actual translation, the system selects an output. An automatic quality measure then evaluates the output sentences with human translations as references. Improving the probability assigned to the training examples and improving the quality of the selected sentences are different optimization problems. For instance, a change can increase the probability of a training example while leaving the order of the leading candidates intact. It can therefore matter to the likelihood and leave the decoder's answer unchanged.

The paper places its scoring rule in the maximum entropy framework. The framework provides a way to combine numerical features into a conditional probability for a candidate given the source. Each feature contributes according to a weight, and the exponential of the resulting sum supplies the candidate's unnormalized score. Normalization makes scores comparable as probabilities within the set of possibilities for that source. The authors draw on the general framework described in Berger and colleagues' work. A Maximum Entropy Approach to Natural Language Processing

Earlier translation work had already used this framework to estimate translation probabilities directly and to combine components in log-linear form. The form is convenient because distinct kinds of evidence can contribute to the same decision without being assigned the same influence. The paper also draws a parallel to earlier work in speech recognition, where the criterion for tuning a combination could be based on errors in the system output. These precedents supply both the form of the translation score and the reason to consider training against a measure of quality. Discriminative Training and Maximum Entropy Models for Statistical Machine Translation

What earlier minimum error training searched

The direct predecessor in the paper's account is Och's minimum error rate training. It starts by asking the decoder to produce an n-best list for each development sentence. Such a list contains a limited set of high-scoring complete translations. An optimizer can then try different weights and decide which of the saved sentences those weights would select. Since the sentences have already been produced, changing their scores does not require building them again during that part of training. The quality objective determines which changes count as improvements.

The usefulness of the list depends on the weights under which it was obtained. A sentence that ranked too low to enter the original list could become preferable under a new setting. A rescoring step only has access to what the earlier decoding pass saved. Och's procedure addresses this dependence by obtaining fresh lists as the weights change and repeating the optimization until the candidate lists stabilize. The paper reports Och's practical estimate of 5-7 iterations for convergence. That figure refers to the repeated list procedure as described by Och, whose inner optimization used Powell's algorithm. It is distinct from the step count the authors report for their own training.

Cettolo and Federico ask what happens if each evaluation of a weight setting calls the decoder directly. The candidate pool for that evaluation then comes from a search with the weights under consideration. A translation can become available even if it was absent from an earlier list, provided the decoder can reach it under the current search constraints. The tradeoff is that scoring a weight setting now includes rebuilding the outputs for the full development set. Their procedure moves the decoding cost inside the optimization loop.

Why pruning belongs in the comparison

The paper's other concern arises from the way a practical decoder saves that cost. Instead of constructing every possible complete output and then comparing scores, the decoder extends some partial hypotheses and drops others. A partial hypothesis contains a target string built so far and an alignment that records which source positions it covers. The decision to drop it uses information available before the translation is complete. Its future extensions will be unavailable once it has been discarded.

This makes the weights relevant at several points in the search. They help rank complete outputs, help rank partial outputs, and can affect which partial outputs have scores close enough to the current leader to stay in contention. A change in the final output can therefore have different causes. The ranking rule may favor a different sentence among the available choices. The search may give a previously excluded partial translation a chance to reach completion. In some cases, changing the size of the weights together can affect the latter mechanism even when their proportions are exactly the same.

That possibility matters when the training objective rewards better output without charging for extra search. The optimizer sees the result of the entire decoding procedure. If relaxing the threshold produces better translations, the objective rewards the resulting settings even when the relative weights carry no new preference. A comparison with uniform weights must therefore account for the work spent on decoding. The paper treats the quality of the result and the size of the search as measurements to examine together.

The method, step by step

From a source sentence to a scored candidate

The method has a loop around an existing phrase-based translator. The translator proposes and scores possible outputs. An optimizer proposes weights for that scoring rule. Each proposal is evaluated by translating the development sentences, comparing the outputs with human references, and using the resulting quality score to guide the next proposal. The test sentences have a separate role. They are where the paper measures how well the development choices carry over.

Direct minimum error training with the phrase-based decoder

The steps in order.

Direct minimum error training with the phrase-based decoderStep 1: Choose weights with a loose pruning threshold1. Choose weights with a loose pruning thresholdStep 2: Propose a setting with the simplex method2. Propose a setting with the simplex methodStep 3: Decode the entire development set3. Decode the entire development setStep 4: Score the translations against human references4. Score the translations against human referencesStep 5: Use the error to guide the simplex5. Use the error to guide the simplexStep 6: Evaluate the chosen weights on test data6. Evaluate the chosen weights on test data

To see what the weights act on, begin with a source string and a possible target string. The paper also represents an alignment between them. The alignment is hidden in the translation decision because the input does not arrive with a correspondence to a target sentence already specified. More than one alignment can support the same target string. The conditional distribution assigns a value to the pair consisting of a target string and an alignment. The source string is fixed during that comparison.

p_λ(e, a | f) =
  exp(∑ᵢ λᵢ hᵢ(e, f, a)) / ∑ₑ′,ₐ′ exp(∑ᵢ λᵢ hᵢ(e′, f, a′))

Here f is the source string, e is a candidate target string, and a is a candidate alignment. The vertical bar means that the distribution is conditional on f. The subscript λ identifies the vector of feature weights. The index i runs through the M features, λᵢ is the weight of feature i, and hᵢ is its real-valued function of the target, source and alignment. The inner ∑ᵢ adds the weighted feature values. The function exp takes the exponential of that sum. In the denominator, e′ and a′ range over alternative targets and alignments for the same f. The outer sum adds their unnormalized scores so that the resulting p_λ is a probability distribution.

The feature sum is linear in the weights. Taking its exponential gives the log-linear form its practical scoring behavior. Increasing the influence of a feature changes how differences on that feature affect the combined score. If two candidates have identical values for a feature, changing that feature's weight makes no difference to their relative standing. If the candidates differ across features, the relative weights determine how those differences trade off. The decoder uses the combined score to compare candidates that are supported by different kinds of evidence.

The paper gives the underlying decision in terms of a probability summed over alignments, then uses an approximation based on a single best target-and-alignment pair.

e* = arg maxₑ ∑ₐ Pr(e, a | f) ≈ arg maxₑ,ₐ Pr(e, a | f)

The symbol e* denotes the selected target string. The notation Pr denotes probability, conditional on f, the source string. On the left, e ranges over target strings and ∑ₐ adds the probabilities of all alignments a for each string. The expression arg maxₑ picks the target whose total is greatest. The sign ≈ marks the approximation. On the right, arg maxₑ,ₐ searches for the target and alignment with the greatest joint conditional probability, then the translation decision keeps the target portion of the pair.

These decisions can differ. A target might be supported by several alignments with moderate scores, while a competing target has the strongest individual alignment. Adding up the support for each target can favor the former. Selecting the highest-scoring pair can favor the latter. The paper uses the pairwise form to connect the probability formulation to a search for a complete hypothesis. Even under that approximation, a practical decoder needs a way to avoid enumerating all possible pairs.

How the score draws on IBM Model 4

To make the feature definitions concrete, the paper describes a version based on IBM Model 4. A term for the target string supplies evidence about the target-language sequence. The other terms describe the relation between that sequence and its source-side realization. They use fertilities, tablets and permutations. A fertility describes how many source-side words are associated with a target item. A tablet is the group of words supplied for an item under that allocation. A permutation accounts for the arrangement of the resulting words. The source string and the alignment determine the relevant configuration for a candidate.

h₁(e, f, a) = log Pr(e)

The symbol h₁ denotes the first feature. Its arguments are the target string e, the source string f, and the alignment a. In this case the value only depends on e. The notation Pr(e) is the target-string probability and log takes its logarithm. A candidate can therefore receive evidence from the target sequence independently of how the candidate aligns to the input.

h₂(e, f, a) = log Pr(φ | e)

Here h₂ denotes the fertility feature, with e, f and a again identifying the target, source and alignment. The Greek letter φ represents the fertilities associated with that candidate. The conditional probability Pr(φ | e) evaluates the fertility configuration given the target string. The function log converts that probability to the value used in the weighted sum.

h₃(e, f, a) = log Pr(τ | e, φ)

The symbol h₃ denotes the tablet feature. The arguments e, f and a have the same meanings as in the preceding definition. The Greek letter τ denotes the tablets, and φ denotes the fertilities. The quantity Pr(τ | e, φ) is their probability given the target string and fertility configuration. The feature takes its logarithm with log.

h₄(e, f, a) = log Pr(π | e, φ, τ)

The symbol h₄ denotes the permutation feature for the target e, source f and alignment a. The Greek letter π denotes the permutation, and φ and τ retain their meanings of fertilities and tablets. The conditional probability Pr(π | e, φ, τ) assesses the arrangement given the target and the preceding choices. The logarithm is again the value contributed by the feature before weighting.

For a fixed input and a fixed setting of the weights, the normalizing denominator does not vary across the candidate pairs. Maximizing the probability over those pairs therefore uses the same ordering as maximizing the unnormalized score. The paper denotes the latter by Q, with its dependence on the source understood.

e* ≈ arg maxₑ,ₐ Q(e, a; λ)

The symbol e* is the output, and ≈ carries forward the use of the best pair as a substitute for aggregating over alignments. The expression arg maxₑ,ₐ selects the pair with the highest value of Q. Here e is the candidate target, a is its alignment, and λ is the weight vector. The semicolon in the formula separates the candidate arguments from the weights used to score them.

Because the illustrative features are logarithms of probabilities, exponentiating their weighted sum turns it into a product. Each factor is raised to the power of its own weight. The paper expresses the decoder's comparison in that form.

arg maxₑ,ₐ Q(e, a; λ) =
  arg maxₑ,ₐ Pr(e)^λ₁ · Pr(φ | e)^λ₂ · Pr(τ | e, φ)^λ₃ · Pr(π | e, φ, τ)^λ₄

Here arg maxₑ,ₐ seeks the highest-scoring target e and alignment a for the source. The symbol Q is the unnormalized score, and λ contains the individual weights λ₁, λ₂, λ₃ and λ₄. The notation Pr supplies the probabilities of the target string, the fertilities φ, the tablets τ, and the permutation π, under the conditions written after each vertical bar. The caret indicates exponentiation by the following weight. The centered dots multiply the factors. It is this product that gives a concrete interpretation to tuning the weights separately. Tuning determines how strongly each probability influences the order of candidates.

The experimental system applies the same construction to a phrase-based extension of IBM Model 4. Phrases can enter the translation decision as units in addition to the single-word operations underlying the original formulation. The experiment also adds terms that separately weight fertility and distortion probabilities for the null word. The null word accounts for source material assigned without an ordinary target-word counterpart. Distortion concerns positional arrangement. This gives the experiment a more detailed scoring rule than the illustrative product, while preserving the property of interest here. All contributions still have weights that can be varied separately or multiplied together by a common factor.

The decoder builds partial translations incrementally using dynamic programming. A hypothesis becomes complete when its alignment covers all source positions. At an intermediate stage there can be many possible extensions because the system has to consider translation alternatives and positions at which they can enter the target. The authors describe constraints on both sources of branching. They also use beam search, under which only the more promising partial hypotheses are retained for extension.

The paper describes pruning among comparable partial hypotheses, such as hypotheses with the same target length or the same source coverage. These groupings matter because pruning compares a partial score against a local best score. The reference point is the leading hypothesis in the relevant comparison. It need not be the leading hypothesis at another stage or among hypotheses covering a different subset of the source.

Q(ẽ, ã; λ) / Q* < T

Here ẽ is a partial target string, ã is its partial alignment, and the tildes distinguish them from complete candidates. The scoring function Q evaluates this pair with the vector λ. The symbol Q* is the locally best score in the comparison, and T is the threshold factor. The slash forms the ratio to the best score. When that ratio is below T, as indicated by <, the decoder drops the partial hypothesis. The smaller the threshold factor, the farther a candidate can trail the leader and still survive.

Histogram pruning imposes another constraint. It keeps the top N hypotheses by score, where N is a specified cap for the pruning comparison. This rule depends on order. A common score transformation that preserves order preserves the set selected by histogram pruning when it is applied to the same candidates. The threshold rule depends on score ratios, which can change under an order-preserving transformation. The decoder uses both rules, so the candidates passed to histogram pruning can depend on the earlier effects of the threshold.

An early choice about survival can matter even if the competing partial translation is currently well behind. Its unbuilt continuation could score well once additional evidence becomes available. The decoder has to make a judgment with the partial information it has. When the threshold becomes looser, some contenders can remain available for longer. Whether that actually increases the hypotheses generated or changes the final output depends on the candidates encountered and on whether the histogram cap already removes them.

Why common scaling changes a ratio test

The property that links tuning to pruning comes from multiplying each weight by the same positive factor. Under the exponentiated score, scaling the weights has the effect of raising the original score to a power.

Q(ẽ, ã; αλ) = Q(ẽ, ã; λ)^α

The symbols ẽ and ã specify the same partial target and alignment on either side of the equality. The function Q gives their score. The vector λ contains the original weights, α is a positive real number, and αλ multiplies every entry of that vector by α. On the right, the caret raises the original score to the power α. The property follows because multiplying every weight by α multiplies the entire sum inside the exponential by that factor.

Raising positive scores to a positive power preserves their order. For a given comparison, the candidate with the best score is still the best, and the same candidates occupy the top positions. The distances implied by their score ratios can change. Compressing the weights compresses the gap between a lower score and the leading score on the ratio scale used by the threshold. Some candidates move to the surviving side of the test without moving up in rank.

The paper makes this concrete with a contraction by α = 0.5. Under that contraction, the ratio of the transformed scores is the square root of the original ratio. Applying the configured threshold to the transformed scores amounts to the following rule when expressed on the original scale.

Q(ẽ, ã; λ) / Q* < T²

The symbols Q, ẽ, ã and λ refer to the original scoring function, partial target, partial alignment and weights. The symbol Q* is the locally best score on that original scale. The threshold factor T is the one used in the decoder. Its exponent ² squares it, and < again identifies the condition for pruning. Squaring the threshold makes this a more permissive cutoff in the paper's example, because the threshold factor is below unity. Some hypotheses that would fail the original test can now continue.

There is a distinction between the exact property of the scoring function and its effect on the search. The property holds for a given candidate wherever its score is computed in the stated form. To conclude that a whole decoding run is unchanged under rescaling, the decoder would have to consider the same candidates at each stage and make all survival decisions in the same way. The ratio test supplies a reason for that condition to fail. Once different partial translations survive, the decoder can generate different successors. The complete translation can change even though the scoring order for any fixed group of candidates is preserved.

Replacing likelihood with measured translation error

The paper gives likelihood maximization as the usual way to estimate the weights in the conditional formulation.

λ* = arg max_λ ∑_(e,f,a)∈𝒯 log p_λ(e, a | f)

Here λ* denotes the estimated weight vector, and arg max_λ means to choose the weights that maximize the following quantity. The sum runs over triples of target string e, source string f and alignment a in the training sample 𝒯. The membership symbol ∈ indicates that the triple belongs to the sample. The function p_λ(e, a | f) is the normalized conditional probability for that triple, and log converts each probability to a log-likelihood contribution. The notation 𝒯 distinguishes the training sample from the pruning factor T.

For minimum error training, the authors replace that criterion with a function that evaluates the system's outputs on development data. Thinking of it as a function of the weights hides several operations. The decoder first runs with those weights. It returns a translation for each source sentence. The translations are then evaluated against the references. The resulting error criterion is the value the optimizer sees.

λ* = arg min_λ E_D(λ)

The symbol λ* is now the vector sought by minimum error training. The expression arg min_λ asks for the vector λ that makes the objective smallest. The function E_D measures translation error on the development set D, and its argument gives the weights to use in decoding. The experiments use BLEU or NIST as the quality measure guiding selection. In the results, a higher value of either score is better. The minimization notation expresses the preference in terms of lower error.

The dependence on decoded output makes the objective difficult to optimize. A change in the weights can leave the output unchanged and hence give the same quality value. Other changes can alter a winning translation or a pruning decision and lead to a different value. The authors warn that the objective may have many local minima. A local minimum is a setting that fares well among nearby settings even though better values may exist elsewhere. A direct evaluation tells the optimizer how a particular setting performed. It does not reveal the shape of the objective across all other settings.

The authors use the simplex method for multivariate function minimization. It works with several trial points in weight space and uses their evaluated objective values to decide where to try next. The paper gives the need for relatively few function evaluations as the reason for choosing it. Each evaluation of a weight proposal involves a full development decoding pass, which makes the number of evaluations consequential. The procedure uses the quality of the returned translations as its feedback. It does not need to differentiate the quality measure through the sequence of decisions made by the beam search.

Starting where relaxing the threshold buys little

Without an adjustment to the starting conditions, the optimizer can use the common scale of the weights as a way to enlarge the beam. That adjustment can be attractive because it gives partial hypotheses more opportunities to become complete translations. If the resulting references match improves, the development objective records an improvement. Extra computation is outside the error objective as the paper defines it.

The authors initialize the simplex at a setting whose threshold is sufficiently loose that loosening it further produces little tangible change in performance. The histogram cap makes this feasible. It puts a bound on the retained hypotheses even when the relative score test permits many candidates to survive. A common scaling of the weights preserves the rankings used by the histogram rule for a given pool. Thus, to the extent that threshold pruning has become inactive in practice, the optimizer loses a way to improve the objective simply by changing that common scale.

Relative weights can still alter which hypotheses are preferred. They can change the order of the complete translations and the order used to select partial hypotheses under the histogram cap. Those effects belong to the behavior being tuned. The starting choice is intended to curb the particular effect of a common scale on the ratio cutoff. The authors also mention normalizing the weight vector or fixing an important weight as alternative ways to restrict the freedom to rescale. Their reported experiments use the loose starting threshold and the histogram cap.

This setup also gives the baseline a useful degree of freedom. Its weights remain uniform, and scaling them together can change the pruning threshold the decoder effectively applies. The same operation can be performed on a tuned vector with different relative weights. Evaluating both kinds of vector over a range of scales allows the authors to examine what tuning contributes at different search budgets.

Experiments and results

News and travel translation

The experiments use the same direction, Chinese to English, in two tasks with different material. Nist 2003 uses the large-data, case-insensitive evaluation conditions and concerns news-agency text. C-Star 2003 concerns basic travel expressions. The tasks therefore differ in subject matter, volume of training and test material, and the number of reference translations available for each test sentence. The travel corpus work cited by the paper concerns speech translation for travel conversations. Toward a Broad-coverage Bilingual Corpus for Speech Translation of Travel Conversations in the Real World

For Nist, the training-data table reports source and target vocabularies of 148K and 110K, respectively. The corresponding source and target word counts are 13.1M and 13.5M. The training resources include 687K sentence pairs and 4.4M phrase pairs. These quantities describe different parts of the setup. Vocabulary size measures the inventory of words, word counts measure running material, and paired sentences and phrases are units available to the translation system.

The C-Star training row reports vocabularies of 12K for the source and 11K for the target. It gives 434K source words and prints 45K target words. The same row lists 48K sentence pairs and 381K phrase pairs. The contrast in corpus sizes is relevant to describing the experimental settings. The paper does not vary those sizes independently of the domain or reference conditions, so the table alone cannot determine which data property mattered most to tuning.

The Nist 2003 test set contains 919 source sentences and 27,254 source words, with an out-of-vocabulary rate of 1.89%. Out-of-vocabulary words fall outside the system's known inventory. The C-Star 2003 test set contains 506 sentences and 3,770 source words, with an out-of-vocabulary rate of 1.62%. Nist supplies 4 human translations for each test sentence, and C-Star supplies 16. The references are inputs to the quality evaluation. They provide accepted renderings against which the decoder's choices can be assessed.

Weight optimization uses a separate set for each task. The developers tune the Nist system using Nist 2002 evaluation data and assess it on Nist 2003. For C-Star, they tune on 1,000 sentences drawn from the C-Star training data and evaluate on C-Star 2003. The paper also notes that C-Star 2003 served as development material for the IWSLT-2004 campaign. Its role in these reported experiments is the test set for the weights selected using the C-Star development sample. Keeping these roles in view also helps interpret a separate diagnostic in which the authors tune directly on the test set.

The comparison and the measurements

The baseline is the phrase-based system with uniform feature weights. It uses the same underlying translation setup and dynamic-programming decoder. Preprocessing applies in both training and testing. It includes segmenting Chinese into words, separating punctuation, handling acronyms and abbreviations, extracting numbers, and normalizing case. These operations reduce the variety of forms the system has to handle. They belong to the shared setup rather than to the intervention that distinguishes tuned and uniform weights.

There are separate settings selected using BLEU and NIST on the development material. The paper reports both scores for each setting on the test material. Reading across training objectives matters because a weight vector selected to improve one criterion can also improve the other. The baseline provides a reference for each comparison. Reporting the score for the metric used in tuning and the score for the other metric shows whether a result is specific to one way of measuring translation quality. The paper uses established automatic measures and describes their relationship to subjective evaluation as a reason to use them. Bleu: a Method for Automatic Evaluation of Machine Translation

Search effort is measured by the number of hypotheses generated. A hypothesis here is a state considered by the decoder as it builds and compares translations. Counting these states avoids using elapsed time as the main comparison, which would depend on the hardware and its load. The count also gives a reader a way to check whether better quality was accompanied by a larger search. It is a measure of decoding effort. It does not include the many decoding passes required to find the tuned weights during training.

The paper presents best results at comparable search complexity and, for the travel task, results across a range of search settings. The best-results tables show how baseline and tuned vectors compare at the reported operating points. The curves address a different question by showing whether their relationship persists as the decoder's effective threshold changes. Both views matter because a single good score could coincide with an unusually favorable choice of pruning.

Nist 2003

On the Nist 2003 test set, the uniform baseline obtains BLEU 0.1803. The setting trained for BLEU obtains 0.1854. The paper reports a relative BLEU improvement of 2.8%. The setting trained for NIST obtains test BLEU 0.1840, so its BLEU score also exceeds that of the baseline. The comparison places the strongest BLEU result with the setting selected using BLEU on development data.

Nist 2003 test BLEU by weight setting

Tuning for BLEU gives the highest test BLEU, and tuning for NIST also improves on uniform weights.

Nist 2003 test BLEU by weight settingUniform baseline: 0.1803Uniform baseline0.1803NIST-tuned weights: 0.1840NIST-tuned weights0.1840BLEU-tuned weights (this paper): 0.1854BLEU-tuned weights (this paper)0.1854
The numbers
System or settingBLEU
Uniform baseline0.1803
NIST-tuned weights0.1840
BLEU-tuned weights (this paper)0.1854

On the same test set, the uniform baseline obtains NIST 7.2115. Tuning for BLEU gives NIST 7.2882, and tuning for NIST gives 7.3362. The paper reports a relative NIST gain of 1.7%. In this task, then, the setting selected for each metric produces the strongest reported test score on that metric. Each tuned setting also improves on the uniform baseline when evaluated by the other metric. This agreement is evidence about the automatic measures used in the experiment and the particular test material.

The number of hypotheses generated is close across settings. The BLEU-tuned decoder and the baseline each generate 116M hypotheses. The NIST-tuned decoder generates 115M. The counts make it possible to interpret the results without attributing them to a larger search as measured by total hypotheses generated. The tuned decoder can still visit different hypotheses and distribute its work differently across sentences. A comparable total controls the amount of search at the level measured by the paper.

C-Star 2003

For C-Star 2003 test BLEU, the uniform baseline gives 0.4208. The BLEU-tuned setting gives 0.4614, and the NIST-tuned setting gives 0.4581. The reported relative improvement for BLEU is 9.6%. As on the news task, both ways of tuning improve test BLEU over uniform weighting, and selecting on development BLEU gives the strongest test BLEU.

C-Star 2003 test BLEU by weight setting

Both tuned settings improve travel translation BLEU, with the BLEU-tuned weights leading the comparison.

C-Star 2003 test BLEU by weight settingUniform baseline: 0.4208Uniform baseline0.4208NIST-tuned weights: 0.4581NIST-tuned weights0.4581BLEU-tuned weights (this paper): 0.4614BLEU-tuned weights (this paper)0.4614
The numbers
System or settingBLEU
Uniform baseline0.4208
NIST-tuned weights0.4581
BLEU-tuned weights (this paper)0.4614

The result for NIST on the same test set has a different ordering. The baseline obtains NIST 8.3169, the NIST-tuned setting obtains 8.4675, and the BLEU-tuned setting obtains 8.4945. The paper reports a relative NIST gain of 1.8% for the C-Star task. It also draws attention to the stronger NIST score from BLEU tuning. The result shows that the best development objective to carry forward cannot be inferred solely from the name of the test metric in this experiment.

C-Star 2003 test NIST by weight setting

BLEU tuning produces the highest test NIST score, ahead of the setting selected on development NIST.

C-Star 2003 test NIST by weight settingUniform baseline: 8.3169Uniform baseline8.3169NIST-tuned weights: 8.4675NIST-tuned weights8.4675BLEU-tuned weights (this paper): 8.4945BLEU-tuned weights (this paper)8.4945
The numbers
System or settingNIST
Uniform baseline8.3169
NIST-tuned weights8.4675
BLEU-tuned weights (this paper)8.4945

Both tuned C-Star settings generate 14.9M hypotheses, and the baseline generates 14.8M. As with the news task, the best-results comparison places the systems at similar amounts of decoding work by the paper's measure. The larger relative BLEU improvement on C-Star describes the size of the gain against its own baseline. Comparing the tasks' absolute scores would involve differences in their test sentences, references and translation conditions as well as differences in output quality.

Quality as search effort changes

The C-Star analysis varies the common scale of the uniform and tuned vectors to obtain different search operating points. One plot compares BLEU across generated-hypothesis counts for the uniform vector and the vector selected to optimize BLEU. The analogous NIST plot uses the vector selected for NIST. Each point represents decoding with some effective pruning threshold, and a curve traces how the quality score changes as the decoder does more or less work.

At equal computational cost by this measure, the paper reports gains of 7-10% in BLEU and 1-2% in NIST for tuned over uniform weights. These ranges refer to the cost-matched comparisons on C-Star 2003. They complement the single best-results operating points because the comparison extends across different threshold settings. A useful comparison can also be made at a fixed quality target. The authors report that the tuned system reaches the best BLEU achieved by the uniform baseline at almost 50% less search cost. Here the saving concerns generated hypotheses during decoding, with a quality target set by the baseline.

The authors also optimize on the C-Star test material itself to get a sense of the improvement available on that particular set. They report 12.8% for BLEU and 3.7% for NIST in this test-set optimization. This exercise lets the weights respond to the same sentences used to measure the result. Its purpose is to give a rough reference for what the procedure could reach on those sentences. The development-trained results are the evidence about performance when the test material is held apart from weight selection.

The cost of finding the weights

Direct training moves a significant decoding burden into optimization. In the timing reported for the Nist experiment, an iteration takes about 7 minutes using 12 CPUs, and the authors find a solution in about 100 steps. The work of an iteration includes translating the development material. The reported time illustrates the expense of the approach under their setup, while the generated-hypothesis counts in the test tables describe the work of the finished decoder at selected weights.

This distinction helps reconcile the cost observations. A trained vector can deliver a given test quality with fewer generated hypotheses than the uniform vector. Finding that vector can still require considerably more computation than evaluating the uniform baseline. The paper estimates the former through comparisons across decoder operating points and illustrates the latter with its training run. It does not combine them into an overall computation figure.

What the ablations show

Varying the beam while holding the relative weights fixed

The paper has no component-removal ablation. Its controlled analyses instead vary the common scale of the weights, compare tuned and uniform settings at similar search costs, and change the metric driving optimization. The scale experiment is especially informative because it changes the behavior of threshold pruning while preserving the relative weights. It provides a way to study search effort without substituting one feature mix for another every time the beam changes.

For the uniform baseline, all the feature weights stay equal throughout the sweep. A scale setting can make its decoder more or less selective by changing the effective ratio cutoff. As a consequence, the baseline can produce a range of quality values even though every point in that range comes from the same relative scoring rule. This shows why a comparison against a single uniform setting would be hard to interpret. The apparent benefit of tuning would depend partly on which point of that baseline range happened to be chosen.

For the tuned system, scaling likewise preserves the relative weights selected on development data. The effect on the threshold again changes the amount of searching. The two curves can therefore be compared by asking how much work each kind of vector needs for a particular quality level, or how much quality each produces for a particular amount of work. Both readings make the beam part of the experimental comparison. The sweep supplies evidence beyond the mathematical demonstration that score ratios can change. It shows that the authors' decoder actually operates at multiple useful points under this rescaling.

The cost matching does not force the two decoders to examine an identical collection of candidates. A good weighting scheme can make the search more productive precisely by changing which partial translations receive attention. The comparison holds the overall amount of work approximately fixed and lets the weights affect the allocation of that work. This is appropriate to the authors' question about the usefulness of tuned weights in the decoder. An experiment on an identical fixed candidate set would answer a narrower question about rescoring.

What survives a matched search budget

In the two best-results comparisons, the baseline and the tuned settings generate similar numbers of hypotheses. The tuned settings score better with that much computation. In the C-Star sweep, the quality gains persist across several settings of the beam. These observations weaken the explanation that tuning improves quality solely by allowing the decoder to search more extensively. The tuned system can reach a higher quality score for a similar number of generated hypotheses and can also reach the baseline's best BLEU with a smaller search by the same proxy.

The result is consistent with a change in the relative priorities given to candidates. Those priorities affect complete outputs and the partial translations retained along the way. For instance, if the tuned weights rank a promising partial translation higher than uniform weights do, that hypothesis can survive a histogram limit and use some of the available search budget. A different possibility is that both settings reach similar complete candidates but assign the highest score to different ones. The cost curves cannot identify how much of the gain comes from either route.

The comparison thus supports a system-level interpretation of minimum error training. The optimized weights are useful when the system's ordinary search procedure acts on them. The paper lacks a corresponding comparison in which partial histories are fixed and only the final ranking is changed. It also does not remove the individual scoring features to see which one accounts for the gains. The experiments show the effect of the tuned combination and its interaction with the decoder.

There is a further distinction between the argument for loose initialization and the evidence from the cost curves. The argument explains why starting with a loose threshold, alongside a histogram cap, can reduce the optimizer's incentive to enlarge the search through common rescaling. The curves show the performance of the resulting vector at varying operating points. The paper does not report a pair of otherwise identical tuning runs started under loose and tight pruning to measure exactly what the initialization contributes. The initialization is grounded in the form of the threshold rule and in the observed relationship between scaling and search, while its isolated effect on the final weights remains unmeasured.

Changing the objective

The BLEU-versus-NIST comparisons probe a separate part of the method. The translator and task stay the same while the development criterion used to select the weights changes. Evaluating each result with both metrics creates a check on how much the gain depends on optimizing the very quantity later used for assessment. In both tasks, each tuned vector improves on the uniform baseline on both test scores. This is evidence that the changes picked up by the two automatic measures overlap in these experiments.

On the Nist task, BLEU tuning produces the best test BLEU and NIST tuning the best test NIST. The ordering is consistent with the optimizer finding weights aligned with the measured objective and with that effect carrying over to held-out material. On the travel task, BLEU tuning leads on both test scores. Since weight selection took place on development material, this outcome is compatible with several explanations. Differences between development and test text, the behavior of the objective under the available search, and the quality of the solution found by the simplex could all affect which vector wins. The paper does not isolate these explanations.

The authors describe NIST as harder to optimize in their experiments. The C-Star comparison illustrates why the observation is worth making. Directly selecting for development NIST does not yield the strongest measurement of test NIST in that task. It would take additional evidence to decide whether the reason lies in the search over weights, the behavior of the metric on the development sample, or its transfer to the test set. The result is a practical comparison between the solutions actually found.

Cross-metric gains also have a narrower meaning than a new evaluation by people. Both scores assess the system's produced sentences with the available references, and the paper's experiment reports those measures. Agreement between the two makes the findings less dependent on a single reported score. It leaves open what changes a person would notice, such as whether a translation conveys an omitted detail more faithfully or reads more naturally. The study supplies a quantitative view of the chosen outputs through these automatic criteria.

Using the test set as an optimization target

The test-set optimization places the development-trained gains in the context of a more favorable selection exercise. When the optimizer can evaluate weight proposals on the final C-Star sentences themselves, it can adapt its choices to those references. The larger gains from that exercise indicate room for changes observable on that set under the paper's procedure. They also make clear that a score observed after tuning on development data serves a different evidential purpose from a score optimized on the test data.

The comparison bundles several factors. A better setting for those precise test sentences may exist because the test and development sets favor different tradeoffs. The simplex may also find different solutions because the objective surfaces differ when computed on different material. Reusing the test set helps to estimate what can be achieved with direct access to that particular objective. It cannot establish which factor caused the gap or how a setting selected that way would transfer to new sentences.

Read together, the analyses distinguish the contributions the paper can observe. Varying scale tests the decoder's sensitivity to pruning for a fixed balance of features. Matching hypothesis counts tests the quality of tuned and uniform settings under comparable overall decoding effort. Changing the metric tests whether improvements persist under another scoring criterion. Tuning directly on the test set offers a reference for gains reachable with more favorable information. These comparisons explain why the authors attribute the held-out gains to tuning that changes the priorities of the search as well as the score of the final output.

Limitations

Limits the authors state

The authors describe their procedure as computationally more expensive than optimization based on saved candidate lists. An evaluation with the simplex includes a decoding pass over the full development set. Earlier list-based training can reuse translations within its inner optimization, then regenerate candidates after the weights have changed. The direct procedure gives each weight setting the benefit of a fresh search. The cost of doing so makes the reported implementation and timings important to judging its practicality.

The objective also presents an optimization problem with possible local minima. The paper's choice of simplex makes repeated evaluations workable, but the formulation does not guarantee that the final vector is globally best. The authors describe the test-set optimization results as approximations to the best attainable scores on that material. A better solution might be found by searching elsewhere in weight space, and the result depends on which complete hypotheses the decoder is able to produce.

The authors also note that their measured improvements are smaller than those reported in Och's earlier work. They call for a direct comparison between the procedures and report that they are developing methods that use n-best lists. Results reported separately for different setups cannot establish how much benefit comes from rerunning the decoder for every weight evaluation. The paper considers a practical advantage of the simplex that had been pointed out in prior work. A general direct optimizer can, in principle, vary parameters within the components as well as the weights that combine them. The experiments here demonstrate tuning the combination weights. Improvements in Phrase-Based Statistical Machine Translation

The discussion of initialization recognizes another tradeoff. A loose threshold can substantially increase the amount of search if the decoder has no other effective bound on surviving hypotheses. Histogram pruning keeps the authors' procedure feasible. The effectiveness of that arrangement depends on which pruning rule is binding at the operating points used. The paper's approach is tied to its way of limiting and comparing partial translations.

Limits of the experimental setup

The uniform baseline isolates a clear intervention within the same translator. It establishes a comparison between uniform weights and weights chosen against the quality metric. There is no reported likelihood-trained weight vector evaluated as a competing baseline under the same conditions. The paper's distinction between likelihood and minimum error training is therefore a distinction between objectives, together with empirical evidence against uniform weights. These results cannot determine how a strong likelihood-trained weighting would have fared in the same decoder.

The effect of language, domain and data conditions is limited by the design. News and travel provide two different tests, while both translate from Chinese into English and use the same family of phrase-based scoring and search. Their training-data sizes, test material and numbers of references vary together. The stronger relative BLEU gain on the travel task establishes a difference between these reported settings. It does not identify whether domain, data size, reference availability, or some combination accounts for the difference. Broad claims about transfer to other translation directions would require other experiments.

The quality conclusions rest on BLEU and NIST. The paper appeals to the established use of those measures and their association with subjective evaluation. It does not report a fresh human assessment of these translations or an analysis of individual translation errors. The results can establish increases in the reported automatic scores under the test conditions. They do not establish which linguistic changes contribute most to the increase or whether a human evaluation would order all the settings the same way. The tables also give point scores without uncertainty estimates, which limits what can be inferred about small differences between tuned settings.

Generated hypotheses are an intentionally hardware-independent proxy for decoding cost. A matched count gives a meaningful comparison when the systems use the same decoder, but a total can conceal differences across sentences or differences in how expensive individual expansions are. Similarly, the reduction in generated hypotheses at a fixed BLEU does not give a measured wall-clock speedup. The Nist timing is a training observation under a specified CPU setup. It measures a different part of the procedure from the test curves.

Finally, fresh decoding broadens the candidate access available to the optimizer relative to using a saved list at that evaluation. The decoder still restricts expansions and prunes partial hypotheses. The paper shows the consequence of optimizing the behavior of that limited search. It supplies no exhaustive decoding comparison that could establish which globally best translations the system would reach under each setting. The important empirical claims stay within this boundary. Tuned weights improve the tested decoder's automatic quality scores at comparable search effort, and the scale analysis explains why relative scoring and the effective beam both matter to that comparison.

What came after

The authors end by describing a follow-up they had underway. They were developing optimization methods that exploit n-best lists so that they could compare list-based training directly with their procedure of rerunning the decoder. The proposed comparison would address how much the additional search during weight evaluation contributes to quality, given its computational cost. The paper reports that work as ongoing, without results from the comparison or a subsequent study establishing the outcome.

Cite

Cite as Mauro Cettolo and Marcello Federico. 2004. Minimum error training of log-linear translation models. Proceedings of the First International Workshop on Spoken Language Translation: Papers.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{cettolo2004minimum,
  title = {{Minimum error training of log-linear translation models}},
  author = {Mauro Cettolo and Marcello Federico},
  booktitle = {Proceedings of the First International Workshop on Spoken Language Translation: Papers},
  year = {2004},
  url = {https://aclanthology.org/2004.iwslt-papers.2/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cettolo-2004-minimum-error-training-log-linear/