Regularization and Search for Minimum Error Rate Training
Paper · 2008 · Daniel Cer, Dan Jurafsky and Christopher D. Manning
Summary
A statistical translation system can score several possible translations of the same sentence. The weights it gives to different kinds of evidence determine which translation it returns. Minimum error rate training, or MERT, tunes those weights by evaluating the resulting translations against references. In this study, the evaluation measure is the BLEU score. The difficulty is that changing a weight can leave every winning translation in place, so the BLEU score stays flat. A further change can switch a winner and abruptly raise or lower the score. This makes the choice of search strategy consequential for machine translation.
The authors compare the coordinate descent used in the Moses tuning utility, Powell’s method, and a stochastic method that chooses search directions at random. All three use the same underlying procedure to find the best region along a chosen line through weight space. Coordinate descent varies one weight at a time. Powell’s method also explores directions derived from the progress of previous searches. The stochastic method can vary several weights together, with its directions drawn without using the previous searches to estimate the shape of the surface. On Chinese-to-English evaluation data, the paper reports that stochastic search improves over coordinate descent by +0.98 BLEU on MT03 and +0.61 BLEU on MT05. It also achieves the highest development score among the searches using the original objective.
The authors separately test whether a search should judge a region partly by the quality of its neighbors. The original objective can favor a small region surrounded by poor alternatives. To reduce the appeal of such regions, the proposed regularization evaluates a window of adjacent plateaus along each search line. One version uses the average loss in the window. The other uses the highest loss, so a bad neighbor can determine the value assigned to the region. Both approaches can improve coordinate descent and Powell’s method, bringing them to performance comparable to stochastic search in the reported experiments. The authors find no reliable additional gains from combining smoothing with stochastic search.
The tuning procedure repeatedly updates the candidate lists on which it searches. Better weights can therefore affect both the translations chosen now and the alternatives available in a later tuning round. This helps explain why smoothing can raise the reported development score as well as test scores. The study also identifies a complication in its proposal. The neighboring plateaus visible from a weight vector depend on the direction of the search, so smoothing can assign different values to the same weights when the optimizer approaches them along different lines.
Deep dive: Regularization and Search for Minimum Error Rate Training
Regularization and Search for Minimum Error Rate Training compares ways to tune translation weights for BLEU and tests smoothing across nearby solutions. · about 35 minutes to read
The problem and its context
Tuning the decision that determines the output
A translation system can give a candidate a high score for several reasons. One feature may reflect how plausibly the candidate accounts for the source sentence. Another may reflect how plausible the proposed wording is in the target language. A set of weights turns these separate measurements into a combined score. This leaves a practical question for system designers. How much influence should each feature have when the features disagree about which translation to return?
There is a distinction between scoring a candidate and evaluating an output. The decoder uses its internal score to choose a translation for a source sentence. An evaluator looks at the chosen translations for a collection of source sentences and compares them with reference translations. The values of the internal scores never have to match the values of the quality measure. Their purpose is to rank the candidates so that the preferred outputs tend to be useful translations. Tuning the weights changes that ranking and can therefore change the quality of the output.
The paper describes conditional likelihood as the objective previously used for this kind of weighted translation system. Under that approach, training concerns the probability assigned to the observed target given the source. The objective values the probability of that target even when changes in probability leave the decoder’s preferred candidate in place. The earlier approach is described in Discriminative Training and Maximum Entropy Models for Statistical Machine Translation.
Och introduced MERT as an alternative. It takes a set with reference translations, asks which outputs a given weight vector selects, and evaluates those outputs with the chosen automatic measure. In this paper the measure is BLEU. The resulting training criterion is tied directly to what the system returns on the tuning set. It gives the optimizer a way to compare weight vectors whose preferences differ, even when their underlying feature scores sit on very different scales. The evaluation measure comes from BLEU: a Method for Automatic Evaluation of Machine Translation.
The choice of criterion changes the mathematics of the search. The score for a candidate changes continuously as a weight moves. Evaluation changes when a different translation wins. If the same translations stay on top for all the tuning sentences, the whole collection receives the same BLEU score. Within such a region, an optimizer cannot tell from the objective whether it is approaching a boundary, moving farther from one, or heading towards a boundary that would lead to a better output. Crossing a boundary can make a large difference to the evaluator even when the two candidates are close under the system’s own ranking.
Why a search direction matters
The paper describes two ways of working with this optimization problem. One is to replace the direct evaluation loss with a continuous approximation and use gradient-based techniques. The other is to keep the original loss and design a search that can cross its flat regions. For the latter, the authors explain why gradients and subgradients are unsuitable for the piecewise constant objective. Ordinary changes in the weights supply no local signal within a plateau, and the transitions between plateaus do not furnish the slopes such procedures need.
The authors mention downhill simplex as one available derivative-free method. It searches by changing a collection of points according to the objective values at those points and selected points nearby. Their own comparison instead focuses on methods built around line minimization. These choose a starting vector, set a direction, and examine what happens when the weights move along that direction. Och’s earlier search procedure exploits a useful distinction. The evaluation loss is flat in intervals, while the individual candidate scores vary linearly along the search line. The straight score lines make it possible to locate changes of winner directly.
Finding the best interval along a line leaves the choice of line open. The coordinate descent procedure in the Moses utility tests directions aligned with the individual weights. Powell’s method, which Och had advocated for MERT, constructs additional directions from the movement of the optimizer. This lets it vary several weights together. The authors question how well Powell’s way of constructing those directions fits the geometry of MERT. Its strategy is motivated by the behavior of a surface near a minimum, whereas a search that can traverse an entire line can move to a distant region in a single step.
A new region may contain different winning candidates, different plateau boundaries, and different useful directions. The earlier sequence of moves is then a potentially poor guide to the next direction. Coordinate descent makes fewer assumptions about that history, since it can always return to the original directions. Its restriction is different. If improvement requires several weights to change together, all the individual coordinate searches from a point can fail to make progress. Stochastic search addresses this choice of directions while retaining the same line minimization procedure.
Why the lowest tuning loss might be a poor target
A second issue arises even if an optimizer can find a low-loss plateau. The automatic evaluation score measures performance on a particular collection of sentences and candidate translations. A strong result can depend on a combination of preferences that holds only in a small part of weight space. The authors illustrate the risk with a hypothetical minimum whose BLEU score is 39.1 while the surrounding plateaus score < 10. These figures describe an imagined surface. They show why someone choosing weights might care about the performance of neighboring regions as well as the score at the selected point.
The paper situates its smoothing proposal alongside earlier work on continuous objectives. Och had reported essentially equivalent performance for direct loss and its continuous approximation. Zens and colleagues reported better test results for the approximation, despite slightly weaker performance on the data used to choose the weights. The paper also describes a related approach that introduces a temperature to control how strongly the smooth objective reflects the original surface. The earlier temperature-based approach is Minimum Risk Annealing for Training Log-Linear Models.
The authors identify a practical complication in using an expected loss. Its most straightforward implementation calls for a loss that can be evaluated sentence by sentence. The experiment’s BLEU loss assesses the collection of outputs, so an implementation of that kind would require a sentence-level surrogate. The usefulness of that approach would depend in part on how well the substitute retained the relevant behavior of the corpus measure. The authors’ alternative stays with the original evaluation procedure and changes how a sequence of adjacent plateaus contributes to a line-search decision.
The method, step by step
From candidate scores to a development-set loss
The procedure starts with source sentences and reference translations. A decoder generates a ranked list of candidates for each source sentence. A candidate has an output string and a derivation, the underlying sequence of decisions that produced the string. More than one derivation can lead to the same text. The feature values used to score those derivations can differ, even though the evaluator sees the same output string. Keeping the distinction makes it possible to explain why a change in the winning derivation need not change the measured translation quality.
The decoder represents each candidate and its derivation by a vector of feature values. The paper writes the feature map as follows.
Ψ : E × H × F → ℝᵐ
Here Ψ is the mapping from a candidate description to its feature vector. E is the space of possible output strings, H is the space of derivations, and F is the source collection. The product sign × indicates that the input draws an element from each of these sets. The arrow gives the type of the output. ℝᵐ is the space of vectors with m real-valued components, with one component for each feature.
Each feature value is multiplied by its weight, and the products are added to obtain the candidate’s score. A feature can therefore change the ranking only through differences between the measured values of competing candidates. Changing a weight that adds the same amount to every candidate’s score leaves their order intact. At a fixed weight vector, the idealized decoding rule for a source sentence is the following.
(eᵢ, hᵢ) = argmax₍ₑ ∈ E, ₕ ∈ H₎ w · Ψ(e, h, fᵢ)
Here fᵢ is the source sentence at index i. The symbols e and h range over output strings in E and derivations in H. The pair eᵢ, hᵢ is a highest-scoring candidate for that sentence. The vector w contains the feature weights, Ψ gives the candidate features, and · is the dot product. The argmax operation returns the pair attaining the largest score. This rule leaves tie handling open when several pairs attain the same value.
For the full source collection, the paper treats all the output strings and derivations as a single structured prediction. This notation is particularly useful because the evaluation step concerns the output collection.
(E_w, H_w) = argmax₍Ẽ ∈ Eⁿ, H̃ ∈ Hⁿ₎ w · Ψ(Ẽ, H̃, F)
The collections E_w and H_w hold the chosen strings and derivations at weights w. The symbol Ẽ ranges over collections of strings in Eⁿ, and H̃ ranges over collections of derivations in Hⁿ. Here n denotes the number of source sentences, and the powers indicate an entry for each sentence. F is the source collection. In this expression Ψ gives the aggregate feature vector for the proposed output and derivation collections, formed by adding the individual feature vectors. The dot product · gives the aggregate weighted score, and argmax returns the maximizing pair of collections. Each sentence’s score contributes separately to this choice, while the loss is computed on the collection of chosen strings.
The decoder approximates the space of outputs with its n-best lists. For any weights being tried in a tuning round, the optimizer rescores the stored candidates and takes the highest-scoring one for each source sentence. Evaluating that collection against the references gives the objective used in the unregularized search.
O(w) = ℓ(Ẽ_w)
The function O is the objective at the weight vector w. The symbol ℓ is the loss assigned by the evaluation measure, and Ẽ_w is the collection chosen at w from the available candidates. The tilde indicates that this selection uses the restricted candidate space. For the reported experiments the paper defines loss as the complement of BLEU, so higher BLEU corresponds to lower loss. The development and test results are presented as BLEU scores.
The optimization target for a fixed candidate collection is then written as follows.
w* = argmin_w ℓ(Ẽ_w)
Here w* is a weight vector that minimizes the loss, w is the variable over which the search is defined, ℓ is the evaluation loss, and Ẽ_w is the output selected from the lists using those weights. The operation argmin returns a minimizing argument. This expression specifies the optimization target. The particular search procedures explore selected lines and can return different answers to the full weight-selection problem.
Why the weights form plateaus
Consider two candidates for a sentence. At a given weight vector, one has the higher score. Small changes to the weights will generally leave it ahead. The evaluator then receives the same translation as before, and its contribution to the output collection is unchanged. When a competitor crosses ahead, the evaluator may receive different text. Similar switches can happen at different weight settings for other source sentences. Consequently, the objective has a plateau wherever the currently selected output collection stays fixed.
The paper illustrates this geometry with a hypothetical sentence that has four candidates and two features. One feature is the log score for how well the output accounts for the source under the translation component. The other is a log score for the target string under the fluency component. The reference is a sentence about a small house. The reference-matching candidate e₄ receives 100.00 under the example’s BLEU-2 calculation, which uses single words and adjacent word pairs. Another candidate, e₂, expresses much of the reference wording while omitting the article. Its BLEU-2 score is 63.59. The internal score and the evaluation score have different roles. The reference-matching candidate is available, but whether it reaches the evaluator depends on its ranking under the chosen weights.
With two features, the weight vectors can be drawn in a plane. The paper’s illustration shows regions separated by lines on which candidates tie. For this simple example, the regions extend from the origin. The reason is that multiplying all weights by a positive constant multiplies the candidate scores by the same constant. That operation preserves the ordering.
w′ = λw, λ > 0
The original weight vector is w, the rescaled vector is w′, and λ is the common scalar multiplier. The inequality > 0 restricts the multiplier to positive values. For any fixed candidate set, this rescaling preserves the winning candidates, including any ties, so the evaluation of the selected outputs is invariant to a positive change of scale whenever the selection is well defined.
The boundary of a region is a special case. At some weight vectors the top internal scores are equal and the tied candidates can have different output strings. The mathematical rule in the paper does not give one loss value to such a point without a way to choose among those strings. The line-search description addresses this by evaluating points inside the plateaus. Such points show what the evaluator sees on either side of a switch.
Locating the best plateau on a line
A line through weight space has a starting vector and a direction. One scalar specifies how far to go in that direction. The feature values of each stored candidate remain fixed throughout the search, so the internal score of a candidate is a straight line in that scalar.
s(p) = (w + pd) · Ψ(e, h, f)
The function s gives the score of the candidate at line position p. The vector w is the starting point, d is the direction vector, and pd scales the direction by p. Addition gives the weights at that position. The dot product · combines those weights with the feature vector Ψ for output e, derivation h, and source sentence f.
Each candidate has a slope and an intercept. The slope describes its response to movement in the chosen direction. The intercept is the score of that candidate at the starting point.
m = d · Ψ(e, h, f)
Here m is the slope of this candidate’s score line. The vector d specifies the search direction, Ψ supplies the features of output e with derivation h for source sentence f, and · is the dot product. This use of m describes a slope, distinct from the use of m for the number of feature components.
b = w · Ψ(e, h, f)
Here b is the intercept, w is the starting weight vector, and · denotes the dot product. The vector Ψ again represents the features of output e, derivation h, and source sentence f. The intercept is the value read from the candidate’s score line at the starting vector.
When two lines have different slopes, the position at which their scores tie can be calculated from the starting weights and the direction. The paper gives the crossing for two candidates as follows.
p = [w · Ψ(e₁, h₁, f) − w · Ψ(e₂, h₂, f)] / [d · Ψ(e₂, h₂, f) − d · Ψ(e₁, h₁, f)]
The scalar p locates the intersection relative to the starting vector w along direction d. The pairs e₁, h₁ and e₂, h₂ designate the competing strings and derivations for source sentence f. The function Ψ assigns their feature vectors, and · denotes a dot product. The numerator is the starting score of the first candidate minus that of the second. The denominator is the slope of the second candidate minus that of the first. Division gives the displacement that closes the initial score gap. Equal slopes make the denominator vanish. Distinct parallel lines then have no crossing, and coincident lines do not give an isolated crossing.
The relevant intersections are those at which the highest-scoring candidate changes. Plenty of score lines can cross below the winner. Those intersections have no effect on the output. To find the relevant boundaries, the procedure tracks the winning line and locates where a competitor overtakes it. From that point onward the search compares the new winner with the remaining alternatives. Repeating the process traces the upper envelope, the collection of score-line segments that sit above their competitors.
The toy sentence makes the distinction visible. The starting weights for the displayed line search are (1.0, 0.5) for the translation and target-language features, respectively. The direction is (0.0, 1.0) in the same coordinate order. Along that direction the first feature weight remains fixed, and the candidates’ target-language feature values determine their slopes. The candidate e₁, which has comparatively weak BLEU-2 in the example, has slope -0.1 and intercept -1.25. Candidate e₂ has slope -1.2 and intercept -0.8. The reference-matching e₄ has slope -0.9 and intercept -0.55. The paper also lists e₃ with slope -0.9 and intercept -2.05. Its score line has the same slope as e₄’s and starts below it. Changing the weight along this particular direction gives e₃ no interval as the top-scoring candidate.
The paper shows the candidate scores and the associated bands of selected translations on the same plot. There are intervals that favor e₄, e₂, and e₁. Moving along the line passes through those different decisions even though the underlying feature values never change. The upper envelope of the candidate scores is convex, as the authors point out. The quantity that MERT cares about on each interval is the loss of the selected output. An ordering of segments by slope or internal score gives no corresponding ordering by evaluation loss.
For a tuning collection, the line search finds the winning-candidate transitions separately in each sentence’s list. It pools those boundaries to partition the full line. Between successive boundaries, each source sentence retains its winner. Evaluating the combined outputs at a representative point of the interval therefore gives its corpus loss. With the unregularized criterion, comparing the interval losses finds a best plateau for that line over the candidates being considered.
The paper’s pseudocode uses a small offset to evaluate a point just before a recorded transition. It adds a final evaluation point beyond the last recorded transition so that the terminal interval is considered as well. The intent is to score the translation collection on each open interval where the ranking is settled rather than require a corpus score right at a tie. A change in the winning derivation can give two neighboring intervals the same loss if their output text is identical. Equal loss can also occur when different output collections receive the same evaluation score.
The authors give the complexity of their line-search routine as follows.
O(nm²)
The O denotes asymptotic running time in this expression, distinct from O as the name of the objective. Here n counts the source sentences and m denotes the size of an individual candidate list. The square indicates that the work for a list can grow quadratically with its size. The routine may advance through many successive winners in a list, and at each advance it checks candidate intersections to locate the next switch. This is the cost stated for the paper’s routine.
Choosing which line to search next
Koehn-coordinate descent, abbreviated KCD, tests a line aligned with each weight coordinate from the current point. The system can therefore try changing the emphasis on a single feature while holding the other weights fixed. Each coordinate supplies a candidate move through line minimization. The method takes the move with the best objective value found among those trials, then uses the resulting weights as the starting point for the next round of coordinate searches. The comparison among coordinates is part of the search. The underlying evaluation of a particular line follows the same procedure for each one.
Powell’s method begins with coordinate directions. It performs a sequence of line minimizations, moving to the selected weights after each. It then forms a new direction from the cumulative displacement across that sequence, carries out another line minimization, and uses the new direction to replace an existing one. The paper writes its new direction with the following sign convention.
d_new = w_pre − w_post
The vector d_new denotes the new search direction. The vector w_pre is the weight vector before the sequence of moves, and w_post is the vector after it. The subtraction gives a direction along the net displacement. A search covering the whole line through a point can move in either sense along that line. The paper describes Powell’s convergence guarantee for a quadratic objective under the corresponding procedure. For a surface such as MERT’s, the authors discuss practical versions that use heuristics for selecting the directions they retain.
Stochastic search uses a different way to get directions that change several coordinates together. It draws the directions randomly, giving each component the Gaussian distribution specified in the paper.
dᵢ ∼ N(0, 1)
Here dᵢ is the component of direction d for feature coordinate i. The symbol ∼ means that the component is distributed according to N, the Gaussian distribution. Its specified mean is 0 and its variance is 1. These draws govern the direction of a search. The choice of weights along the resulting line still depends on evaluating the candidate plateaus.
The authors motivate random directions by considering a point that is already best along every coordinate line through it. An improvement may be reachable along a direction that changes the balance between several features at once. Powell’s method can also search along such a direction. In the stochastic method the route to that direction does not depend on a history of moves chosen near a particular minimum. This is pertinent when an earlier line search has led to a region with a different set of winning candidates.
Evaluating a plateau and its neighbors
The second extension changes the comparison among intervals. A search first finds the same plateaus it would have found under ordinary MERT. For every plateau it considers a fixed window of adjacent plateaus along the search direction. It combines the loss values in the window and uses the result as the objective value for the plateau under consideration. The sequences involved are sequences of intervals in weight space. The operation does not combine votes or average translations from the candidates.
The average rule takes the mean of the losses in the window. A low-loss center still makes the average smaller, but high losses nearby can outweigh it. The maximum rule assigns the largest loss observed in the window. This makes the least favorable plateau in the window decisive for that assessment of the center. In a region where several consecutive plateaus have good loss values, both rules can favor the center. Around an isolated low-loss interval, the average can still reward the low value to some degree, and the maximum can discard its advantage altogether.
The schematic in the paper depicts bars whose heights represent the original loss of each plateau. A mark for the center illustrates how its value changes under maximum, average, or ordinary evaluation. The important feature of the diagram is the pattern across neighboring bars. Window size counts adjacent intervals. Those intervals need not occupy equal distances in the underlying weight space. The smoothing rule described in the paper uses the losses of neighboring plateaus, without an additional weighting by their widths.
The loss assigned by this procedure can depend on which line reaches the weights. Different directions cross different candidate boundaries and can expose different neighbors. Two lines through the same weights can consequently offer two assessments of the surrounding region. The proposed regularization is defined for a line-search decision. The authors single out Powell’s method as a case where inconsistent assessments may matter, since it uses the results of earlier moves to shape subsequent directions.
Refreshing the candidate lists
A line search can evaluate only candidates that have already been generated. To broaden the approximation during training, MERT runs the decoder again with the weights chosen at the end of a tuning round. The new candidates are combined with the old ones. That gives later searches access to newly generated candidates while keeping the translations on which earlier decisions were made. The next round can therefore have a different loss surface, even though the source sentences and references are unchanged.
A MERT tuning cycle
The steps in order.
In the experiments, each fresh decoding uses lists of size 100. Every tuning round includes a search started at the weights that generated the latest lists and 5 additional searches from randomly chosen initial weights. The authors keep the weights from the run that attains the lowest objective. These restarts serve a different purpose from stochastic directions. A restart changes where a run begins. A stochastic direction changes which line is explored from the current point within a run. The restart procedure is used across the search methods.
The authors stop the outer cycle if decoding adds no new entries to the accumulated candidate lists or if the weight changes between consecutive rounds meet the stopping tolerance. The latter rule applies when no individual parameter changes by more than 1e-5. The stopping conditions concern what further rounds are adding in candidates or movement. The reported experiments use the weights obtained at the end of this iterative procedure.
Experiments and results
Data and translation setup
The tuning and evaluation data are from the NIST Chinese-to-English machine translation evaluations. MT02 is the development set. Its references determine the evaluation loss used to choose feature weights, and the authors also report its BLEU score. MT03 and MT05 are test sets. Their scores show how the resulting weights perform on data outside the tuning loop. The three sets serve comparable evaluation purposes, with the important difference that the tuning searches have direct access to the MT02 references.
The phrase table was constructed from 1, 140, 693 sentence pairs sampled from GALE Y2 training data. A release of the Stanford CRF segmenter prepared the Chinese side by identifying words in the input. Segmentation determines the units on which the phrase extraction procedure operates. The segmenter is described in A Conditional Random Field Word Segmenter.
The system ran GIZA++ in both directions to align the parallel sentences and merged the alignments with grow-diag-final. From the merged links it extracted phrase pairs and derived a bidirectional lexical reordering component conditioned on the source and target phrases. The phrase extraction follows the approach in Statistical Phrase-Based Translation. The paper also cites the systematic comparison of statistical alignment for alignment and the unigram orientation approach for reordering.
The target-language component was a 5-gram built with the SRI toolkit. Its training text combined Gigaword with the English side of the parallel data. At decoding time, this component supplies evidence about candidate word sequences alongside evidence from the phrase table and reordering component. The searches tune the weights that combine the features. Their experimental differences come from search directions and loss evaluation during tuning, with these underlying translation components held in common.
The decoder explores translations from right to left using beam search, which limits the partial translations kept during decoding. The authors report that on a variety of data their decoder matches the BLEU scores obtained by Moses. With the same underlying translation setup, the two decoders produced outputs differing in at least one word only 0.2% of the time in the comparison they describe. For the experiments, the authors used a stack size of 50. They give speed as the reason for this choice and describe the result as only modestly weaker than that of a stack size of 200. The distortion limit is 6, and the decoder retrieves 20 translation options for each distinct source phrase.
The comparisons use BLEU throughout. Scores on MT02 describe the outputs of the system for the sentences whose references guide tuning. In the middle of a tuning round, however, the optimizer sees only the available lists. The development score reported for the system and the score predicted by a search over a particular set of lists thus need to be interpreted in light of when those lists were collected. MT03 and MT05 provide the more direct evidence of transfer to new source sentences.
Search with the original objective
The first experiment compares KCD, Powell’s method, and the stochastic strategy with no regularization. The numeric assignments below follow the table headings. The paper’s discussion switches the ordering of KCD and Powell on the test sets compared with those headings. The table for the regularization experiment repeats the same assignments for the unregularized baselines. Both presentations of the scores agree that stochastic search leads on development and on both tests.
Unregularized MERT search on the MT03 test set
Stochastic search obtains the highest BLEU score among the search methods.
The numbers
| System or setting | BLEU |
|---|---|
| Koehn-coordinate descent | 30.778 |
| Powell’s method | 30.692 |
| Stochastic search (this paper) | 31.754 |
On MT02, KCD reaches 30.967 BLEU, Powell’s method reaches 30.638, and stochastic search reaches 31.681. This development result bears on how well the methods search the tuning objective. The stochastic method improves the measured outcome on the data used to select the weights. The table values also provide little evidence that the additional directions constructed by Powell’s procedure help it attain a better tuning score than the simpler coordinate search in this setup.
Unregularized MERT search on the MT05 test set
Stochastic search leads on this test set as well.
The numbers
| System or setting | BLEU |
|---|---|
| Koehn-coordinate descent | 29.580 |
| Powell’s method | 29.780 |
| Stochastic search (this paper) | 30.191 |
The paper reports stochastic search gains of +0.98 BLEU on MT03 and +0.61 BLEU on MT05. Using KCD as the baseline, it reports significance values of p = 0.002 for MT03 and p = 0.005 for MT05. The test uses approximate randomization, a way to assess whether differences like those observed would be unusual when the systems’ outputs are reassigned under the comparison being tested. This addresses the reported difference between translations on the test material. The significance procedure is attributed to On Some Pitfalls in Automatic Evaluation and Significance Testing for MT.
The stronger performance on MT02 and both tests gives the authors two grounds for interpreting the stochastic result. The development score indicates effective search under the original criterion, and the test results show that the improvement survives the change of evaluation set. The comparison supports their explanation that random directions can make good use of exact minimization along a line. It leaves open which trajectories or individual diagonal directions contributed most to the observed gains.
Search with smoothed losses
The other experiments apply average and maximum smoothing to each of the search strategies. The tested window sizes are 3, 5, and 7. Each case is compared with the matching method using the original objective. The scores remain ordinary BLEU on the relevant sets. Smoothing changes how the tuner evaluates a move. The experiment still assesses the resulting translations against the same references.
Coordinate descent with and without plateau smoothing on the MT03 test set
Both smoothing rules improve on the unregularized coordinate search, with the smaller maximum window giving the highest score.
The numbers
| System or setting | BLEU |
|---|---|
| No smoothing | 30.778 |
| Average window 3 | 31.675 |
| Average window 5 | 31.229 |
| Average window 7 | 31.824 |
| Maximum window 3 (this paper) | 31.927 |
| Maximum window 5 | 31.702 |
| Maximum window 7 | 31.294 |
For coordinate descent on MT05, average smoothing scores 30.266 with window 3, 30.182 with window 5, and 30.149 with window 7. Maximum smoothing scores 30.334 with window 3, 29.687 with window 5, and 30.199 with window 7. All these scores exceed the unregularized KCD baseline of 29.580 BLEU on MT05. Among the coordinate settings shown, maximum smoothing at window 3 has the strongest test score on both MT03 and MT05. For average smoothing, the highest-scoring coordinate window depends on the test set.
Powell’s method has its strongest test results with the average window of 5. That setting achieves 31.777 BLEU on MT03 and 30.334 on MT05, compared with 30.692 and 29.780 for its corresponding unregularized baselines. With maximum smoothing at window 5, Powell reaches 31.596 on MT03 and 30.090 on MT05. The other two maximum windows also raise its MT03 score relative to baseline, while their MT05 scores fall below the respective unregularized score. This is one reason to read an improvement for a search family as a result about particular configurations.
The paper uses p < 0.01 to identify statistically significant test improvements relative to each method’s unsmoothed baseline. It reports significant gains with regularization for both coordinate descent and Powell’s method. The central comparison is that effective smoothing settings bring these searches into the range reached by unregularized stochastic search. A setting’s position in the tables describes its observed BLEU. The significance claim concerns the comparisons that the paper tests against the baseline for that search method.
The stochastic search produces a less consistent pattern under smoothing. The average window of 3 reaches 31.778 BLEU on MT03 and 30.263 on MT05, both close to the unregularized stochastic scores. At average window 7, the scores fall to 29.336 on MT03 and 28.372 on MT05. The maximum window of 7 instead reaches 31.906 on MT03 and 30.674 on MT05. Smaller maximum windows give weaker results than the unregularized stochastic run on both test sets. Individual configurations can therefore score higher, while the authors’ conclusion across these comparisons is that the combination yields no reliable additional gain.
What the ablations show
Holding the line search fixed
The main controlled comparison changes the procedure for selecting directions while retaining the same underlying line search. This helps isolate what is gained by considering different lines. KCD can already find a loss-minimizing plateau along any individual coordinate. Its result therefore cannot be explained by a line minimizer that only probes a few increments of one weight. The gap between KCD and stochastic search arises in a comparison where both can evaluate the changes of winner on any line they choose to inspect.
Powell’s method makes the comparison more informative. The advantage of the stochastic procedure over KCD could be consistent with a general benefit of permitting simultaneous changes to feature weights. Powell also permits them. The development scores distinguish the particular method used to construct the directions in this experiment. The stochastic approach leads, and Powell’s constructed directions have little apparent advantage over KCD. What this does establish is that giving a search access to directions outside the coordinate axes is only part of the design. Which directions it visits matters to the observed outcome.
The authors’ explanation centers on moves between regions. A whole-line optimization can traverse intervening plateaus and move directly to a better one. A sequence of such moves may supply a poor estimate of the useful directions near the new position. Powell’s method uses that sequence to create a direction and retain it. Stochastic search can immediately draw another direction without carrying over such an estimate. The results are consistent with this explanation. The paper does not separately count jumps between regions, vary their frequency, or compare different ways of restarting Powell’s direction set after a jump.
The search comparison also shares the restart scheme across the methods. This matters because a coordinate search can reach a useful region from one initial point even when it would stay in a poor region from another. Stochastic directions and random starting vectors offer distinct routes to a different trajectory. The results compare the direction rules within a common outer procedure that already includes restarts. They therefore describe the practical variants tested, with random starts present for all three searches.
Changing how the same search judges a region
The regularization comparisons ask a different question. For a chosen search strategy, how does the outcome change when the optimizer evaluates a plateau in the context of its neighbors? The unsmoothed condition provides the reference. The average and maximum conditions modify the criterion for choosing a move while the corresponding direction strategy remains the same. This design gives direct evidence that changing the assessment of plateaus can improve a search without changing the family of directions it uses.
The behavior of the two combination rules is easiest to distinguish in the hypothetical isolated minimum. Under averaging, a very good center can partly compensate for its weak neighbors. Under the maximum rule, a single high-loss neighbor can keep the center from looking attractive. This difference explains why a method can respond quite differently to the two rules at the same window size. It does not predict a uniform ordering across test sets. The surrounding loss patterns encountered during tuning can vary from line to line, and the interaction of those choices can alter later candidate lists.
For coordinate descent, all the tested smoothing settings raise test BLEU above its corresponding unregularized scores. The magnitude is configuration dependent. On MT03, the average window of 7 does better than the other average windows, while the maximum window of 3 leads among the maximum settings. On MT05, the average window of 3 is the strongest of the averaging choices. These comparisons show that including adjacent plateaus can help a coordinate-limited procedure. They also show that extending the window can dilute or strengthen the effect, depending on how its members are combined and on the output used to evaluate the resulting weights.
With Powell’s method, average smoothing is a particularly favorable choice in the reported experiments. The setting with window 5 attains its strongest score on each test. Maximum smoothing at the same window also improves over the corresponding baselines. The pattern across the other maximum windows is mixed. This gives empirical context to the authors’ concern about direction-dependent loss values. Powell’s method is capable of benefiting from smoothing in spite of that complication. The comparisons do not isolate the direction inconsistency itself as the cause of any setting’s weaker performance.
The random procedure offers an informative paired comparison. A larger average window substantially weakens its output in the reported runs, while the largest maximum window gives its highest individual scores on both tests. These patterns rule out reading the smoothing choices as interchangeable ways to implement one scalar setting. The width of the window and the rule used to combine its losses jointly determine how the tuner prefers one interval over another. The aggregate conclusion is limited to the evidence of the experiment. The authors report no dependable improvement from adding this regularization to stochastic search.
Why smoothing can improve the development score
The authors observe that regularization sometimes increases MT02 BLEU. In a fixed training problem, smoothing can look like a reason to give up some fit to the observed data in exchange for better performance elsewhere. An iterative MERT run introduces a further distinction. While the development sentences remain fixed, the objective in a search round is evaluated on the candidates accumulated up to that round. Running the decoder with the new weights exposes the system to outputs that those lists may have omitted.
Coordinate descent illustrates the development-set pattern. Its unregularized MT02 score is 30.967 BLEU. Average smoothing with window 3 reaches 31.665 on MT02, and maximum smoothing with window 7 reaches 31.627 on that set. For Powell’s method, the unregularized development score of 30.638 rises to 31.748 with average smoothing at window 5. These are scores for the tuned systems on MT02. They do not express the amount of regularized loss on any given line.
The authors propose that selecting weights with better performance beyond the currently stored alternatives can improve what happens as soon as the decoder is run again. The tuner may then receive more useful candidates for subsequent rounds. This provides a route by which smoothing can help the final development translations, in addition to any effect it has on performance outside development. The paper also offers a search explanation. A smooth assessment can make a narrow, isolated low-loss interval less likely to capture an optimizer’s next move.
The experiments show the resulting scores after the tuning process. They do not report how many promising candidates entered the lists because of smoothing or measure search errors independently of the effects of regeneration. Those explanations are plausible mechanisms proposed by the authors. The improvement on MT02 is evidence about the combined training procedure, including its alternating search and decoding steps.
Limitations
Limits identified by the authors
The authors’ main qualification about smoothing concerns its dependence on direction. The same weights can be surrounded by a favorable window along one line and unfavorable plateaus along another. The proposed method supplies a score when the line and its neighboring plateaus are known. A score that was consistent across directions would let the optimizer compare locations without a change in the meaning of the objective from one line to the next. The conclusion identifies such consistent smoothing as a subject of the authors’ ongoing work.
The paper also qualifies the restart design. Time constraints limited each round to 5 randomly initialized searches in addition to the one starting from the latest decoding weights. The authors note that a larger collection of restarts would reduce the influence of unusually favorable or unfavorable starts. Such variation can matter for an individual method and can interact with its direction rule. The paper’s test of significance for the reported stochastic gains addresses output differences on the test sets. The concern about initial weights is about variation across tuning runs.
The authors distinguish the Gaussian direction distribution they use from other possible distributions. They speculate that a uniform distribution over (−1, 1) might yield similar results. Their reported comparison establishes the performance of the Gaussian procedure under the experimental setup. It does not include a controlled comparison of the two distributions. The result thus bears more directly on stochastic choice of directions than on a claim that Gaussian components are required for the gains.
They also caution that a continuous alternative can require a surrogate when the target measure is applied to a corpus. Their own experiments retain corpus BLEU during the comparisons. They do not evaluate continuous expected-loss training alongside the smoothing methods in their system. The earlier results are part of the motivation for smoothing and supply context for the choice to work on the original plateaus.
Limits of the experimental design
The first limit follows from the candidate approximation. The line search identifies a minimum over the available candidates along a specified line. It cannot expose a missing translation simply by rescaling the score of another candidate. Repeated decoding can expand the candidate collection and improve the approximation. The absence of new entries at a stopping point establishes what that decoder and tuning loop found under those settings. The study supplies no guarantee of finding the best weights for all translations the system could construct.
A separate limit concerns the direction search. The comparison evaluates candidate directions from particular starting points. Even a globally best plateau on each visited line is compatible with a lower-loss region on an unvisited line. A higher development score therefore supports a relative judgment about the searches in the experiment. It supplies no estimate of how close each method came to the best solution over the full multidimensional weight space.
The regularization rule also evaluates adjacency by successive plateaus. Several very narrow adjacent intervals can cover a short span of the line, while a window with the same number of broad intervals can cover a much longer span. The rule supports a claim about stability across a sequence of candidate changes. The experiments do not establish the extent to which the winning settings are robust to weight perturbations of a fixed distance or to perturbations in arbitrary directions. This distinction matters when interpreting the hypothetical example of a narrow minimum.
The evaluation covers one translation direction, one development collection, and two test collections from the NIST evaluations. The runs share the same decoder settings and feature setup, which is helpful for comparing searches. They leave open how the methods would behave with other translation directions, substantially different features, or a different automatic evaluation criterion. The paper reports automatic BLEU results. It gives no human evaluation of the outputs, so its conclusions about translation quality concern the behavior measured by BLEU.
The paper tests several smoothing configurations and shows that the relative rankings can vary by test set. The strongest score for one configuration therefore describes what happened under a particular run and evaluation, with no independently verified rule for choosing that configuration in a new setting. The useful distinction is between demonstrating that smoothing can improve these baselines and establishing a general selection procedure for the window and combination rule. The evidence in the paper addresses the former.
Finally, the reported comparison says more about evaluation quality than about the computational cost of the search strategies. The paper gives a complexity for the underlying line routine and explains decoder and restart choices made under time constraints. It does not supply a matched runtime comparison that establishes how much work the different searches need to reach comparable BLEU. A faster or slower path to a good score is a separate property from the score eventually obtained in these experiments.
What came after
The later citing work addresses several different parts of the tuning problem. One study applies minimum error rate training to lattices. A second studies online large-margin training for syntactic and structural translation features. A third takes the statistical translation toolkit as its subject. These connections span the representation used by a tuner, the learning criterion, and the environment in which translation methods are implemented.
Changing the representation of the candidates
The authors’ MERT procedure searches a collection of explicit candidate lists. Its line search can examine the effects of changing weights on those lists with considerable precision, but the representation still determines what can participate in the comparison. The lattice-based work addresses this part of the problem by formulating minimum error rate training with lattices. Its connection to the earlier study is the shared MERT criterion and a shift of attention from choosing a search direction or smoothing a set of intervals to representing the translation alternatives on which tuning operates. The citing relationship establishes this methodological connection without identifying a transfer of either the random-direction procedure or the plateau smoothing rule. Lattice-based Minimum Error Rate Training
Changing the learning criterion
The large-margin study brings an online training approach to syntactic and structural translation features. Here the link is the task of learning how features should influence translation choices. The earlier paper asks how to tune a weighted ranking by navigating the piecewise constant loss of selected outputs. The citing study’s stated approach is to use online large-margin training for its features. It represents a different approach to feature-weight learning within statistical translation. The citation alone gives no basis for attributing a particular use of adjacent-plateau smoothing or a result comparing the two procedures. Online Large-Margin Training
Taking the toolkit as the unit of study
The Phrasal work concerns a toolkit for statistical machine translation. That brings the implementation setting into view. In the earlier paper, the distinction between KCD and Powell’s method matters partly because the Moses tuning utility actually uses a particular search procedure. A toolkit is where choices about tuning can meet the decoder and the representations used to supply its candidates. Phrasal’s citation connects the earlier study to that wider software setting. Its stated scope does not establish which of the earlier search settings or regularization variants the toolkit uses. Phrasal
Cite
Cite as Daniel Cer, Dan Jurafsky and Christopher D. Manning. 2008. Regularization and Search for Minimum Error Rate Training. Proceedings of the Third Workshop on Statistical Machine Translation.
@inproceedings{cer2008regularization,
title = {{Regularization and Search for Minimum Error Rate Training}},
author = {Daniel Cer, Dan Jurafsky and Christopher D. Manning},
booktitle = {Proceedings of the Third Workshop on Statistical Machine Translation},
year = {2008},
doi = {10.3115/1626394.1626398},
url = {https://doi.org/10.3115/1626394.1626398}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cer-2008-regularization-search-minimum-error-rate/