Elamur Research

Accurate Non-Hierarchical Phrase-Based Translation

Paper · 2010 · Michel Galley and Christopher D. Manning

Summary

The words that need to be translated together do not always sit next to each other. A French expression such as ne … pas conveys negation through words that can surround many different stretches of text. A conventional phrase-based machine translation system can learn a single translation for a stretch that contains the whole expression. Faced with unfamiliar intervening words, it may have to translate the pieces separately, losing the context that tells it how they work together. Michel Galley and Christopher Manning let a phrase pair select separated words on either side of a translation. The words in the gaps can then be translated through other phrase pairs.

The authors build this ability into a decoder that assembles its output from left to right. When it encounters a phrase with a gap on the input side, it can translate the separated pieces together and leave the intervening words available for other choices. When the gap is on the output side, it writes the first piece and saves the rest for later. The decoder can interleave pieces from different choices, subject to search limits and scoring preferences. It can therefore produce some arrangements that a binary hierarchical grammar cannot express using the same translation units. The implementation is part of the open-source phrase-based system Phrasal.

On Chinese-to-English news translation, the best configuration combines gaps on both sides with lexicalized reordering, which scores changes in order partly according to the words involved. In the reported NIST aggregate, this configuration reaches a BLEU score of 32.93 and a translation edit rate, or TER, of 57.03. Its improvements over Moses with lexicalized reordering are +0.77 BLEU and −1.53 TER. Against the hierarchical system Joshua, the corresponding improvements are +1.03 BLEU and −1.19 TER. The comparison shows that access to discontinuous phrases can help a string-based decoder compete with a hierarchical system on this task.

The comparisons within the new system give the clearest indication of where the gains come from. Input gaps account for much of the improvement when lexicalized reordering is disabled. The decoder also uses larger phrases and falls back on individual words less often. Output gaps appear in fewer translations and yield smaller gains in the controlled comparisons, although they can still matter in particular sentences. The experiments support a distinction between making separated words available for joint translation and deciding how to arrange separated pieces in the finished sentence.

Deep dive: Accurate Non-Hierarchical Phrase-Based Translation

Accurate Non-Hierarchical Phrase-Based Translation shows how phrases with gaps improve Chinese-to-English translation without a tree-based decoder. · about 34 minutes to read

The problem and its context

Why the words between two pieces matter

Phrase-based translation starts with a useful observation. The translation of a word often becomes clearer when the system considers some of its neighbors. A multiword unit can preserve a conventional expression, resolve a choice among translations, or capture a local difference in word order. Earlier work had found that allowing longer phrases could improve translation. The advantage depends, however, on the system finding a longer phrase it can actually use in the sentence before it. Statistical Phrase-Based Translation

The paper distinguishes what can be extracted from a bilingual corpus from what can be found again in new text. A training procedure may be capable of recording very long source and target strings. Those strings make specific demands on a future input. A long stretch of words must match the source entry as a whole, including words that may have little bearing on the translation of the expression it contains. A large inventory of possible long phrases can coexist with a decoder that largely uses short ones.

Consider ne … pas. The words between the markers help determine what is being negated, and they need their own translation. Yet the system can learn how to handle the negative construction without seeing the entire intervening stretch in that training occurrence. A phrase entry that includes both markers and leaves a hole between them can apply across different intervening text. The decoder can give the negation a joint treatment and still choose independently how to translate the words in the hole. The paper uses this kind of example to show why a phrase sometimes needs more coverage and less commitment at the same time.

Continuity also matters when the words surrounding a gap belong to different grammatical arrangements across the two languages. A needed expression may be separated in the source and adjacent in the target. Alternatively, words translated from an adjacent source phrase may need to appear in separated parts of the target. These cases lead to different implementation problems. The former asks the system to identify a pattern in an input it already has. The latter asks it to fit pieces into a translation that it is still constructing.

Conventional phrase-based decoding can reorder the phrases it chooses. It can reach ahead in the source sentence and later return to material it skipped, within a configured limit. This ability handles some substantial rearrangements. The restriction at issue concerns what each translation choice covers. If two jointly informative source words belong to separate contiguous spans, moving those spans around still leaves them as separate translation decisions. Carrying their dependence into the phrase table requires a unit that can cover both.

What hierarchy made possible

Hierarchical phrase-based translation already offered a way to work with gaps. Its rules can include placeholders representing smaller translations. A rule supplies some of the actual words and specifies where the translations of its placeholders fit on each side. Those inserted translations can themselves be produced by rules with placeholders. The result is a nested derivation whose structure governs the rearrangements available to the decoder. The paper discusses Hiero as the main example and evaluates its reimplementation, Joshua. Hierarchical Phrase-Based Translation

The grammar at issue is a binary synchronous context-free grammar. It is synchronous because a derivation builds paired source and target structures. A placeholder links material in those structures, even when its location differs between languages. The binary hierarchy permits many useful ways of composing such translations. It also limits which sets of phrase units can be composed independently. For some alignments, there is no sequence of permitted nested compositions that keeps the intended units separate.

The paper illustrates this issue with three arrangements. One is the inside-out pattern discussed in work on inversion transduction grammars. A continuous phrase decoder can reproduce it if its reordering limit lets it visit the source pieces in the required order. Two other patterns, called cross-serial and “bonbon,” involve discontinuous units. In a cross-serial arrangement, material belonging to one unit can be interleaved with material belonging to another. In a bonbon arrangement, the difficulty likewise comes from how parts of the translation units are distributed across the two strings. The paper’s point concerns the ability to generate those units independently. A whole sentence can contain words that a grammar could obtain with a different segmentation while still exhibiting a pattern that the grammar cannot compose from the intended pieces. Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora

This restriction had been investigated before Galley and Manning’s experiments. The paper cites a study of manually aligned corpora for 12 European language pairs. In that study, inside-out and cross-serial units together accounted for shares ranging from 1.6% in Danish-English to 18.6% in French-English. These percentages concern translation units in the earlier alignment study. The authors use them to motivate taking such configurations seriously. They also suggest that automatic alignments or language pairs beyond those studied might present additional difficulties for a binary grammar.

The resulting question is whether access to phrases with gaps can explain an important part of the advantage associated with hierarchical translation. Hiero puts gaps and hierarchical composition in the same design. A comparison between Hiero and a phrase decoder that accepts only contiguous strings changes both at once. Galley and Manning add discontinuities to a decoder that continues to work with strings and source coverage. They can then examine what access to the larger inventory of phrase pairs achieves in that setting.

Earlier ways to accommodate gaps

The authors describe prior work that had already introduced gaps into non-hierarchical translation. The work by Simard and colleagues permitted discontinuities on both sides but required a gap symbol to stand for exactly one word. With a fixed gap size on the target, the location of each piece can be determined when the phrase is chosen. The assumption comes with a cost for reuse. The same pieces separated by different amounts of text require different treatment. Galley and Manning use variable-size gaps so a phrase can apply when the amount of intervening text changes.

The paper also mentions work by Crego and Yvon on gaps within an n-gram translation framework. That work shares an interest in noncontiguous units, while the approach here extends a conventional phrase-based system. The comparison matters because phrase extraction, search, and reordering already have established roles in the system the authors modify. They can retain those roles and identify the additional state and scoring needed for gaps. N-gram-based Machine Translation

Hierarchical decoding itself had also been explored with different strategies for constructing the target string. The paper places its work alongside approaches that use context-free decoding algorithms to manage discontinuities. Its own design keeps the familiar loop that selects source material and extends a target prefix. The departure is in what a single selection can cover and what it commits the decoder to write later. Left-to-Right Target Generation for Hierarchical Phrase-Based Translation

The method, step by step

What a phrase pair selects

The starting point is parallel text, with a source sentence and its translation paired in the training data. A word alignment records which word positions correspond across the pair. Translation phrases are built from these correspondences. In an ordinary phrase inventory, each side of an entry is a contiguous span. The new procedure represents each side as a set of covered positions. Adjacent positions still form an ordinary phrase. Positions separated by uncovered words form a discontinuous one.

A useful way to read a gapped phrase is to keep track of the words it actually translates. The space between its outermost words may include positions the phrase leaves available to other entries. Similarly, a target phrase with separated pieces contributes just the words of those pieces. Different entries can supply the output between them. A gap makes a separation possible, while the selected words and their translation remain the content of the pair.

The method has separate jobs for finding and using such entries. Extraction identifies phrase pairs in aligned training text that could be useful for a particular input. Decoding selects compatible entries, decides when to emit the pieces on the target side, and scores the resulting translation. The options prepared during extraction serve as the vocabulary of decisions available during search.

From aligned training sentences to a finished translation

The steps in order.

From aligned training sentences to a finished translationStep 1: Align words in parallel training sentences1. Align words in parallel training sentencesStep 2: Find training phrases matching the current input2. Find training phrases matching the current inputStep 3: Extract alignment-consistent source and target coverage sets3. Extract alignment-consistent source and target coverage setsStep 4: Index translation options by source start4. Index translation options by source startStep 5: Grow hypotheses by choosing unused source words5. Grow hypotheses by choosing unused source wordsStep 6: Append waiting target pieces where their gaps permit6. Append waiting target pieces where their gaps permitStep 7: Select the best complete translation7. Select the best complete translation

Checking a pair against the word alignment

A complete decomposition assigns each word position to a phrase. Each chosen phrase pair has a source coverage set and a target coverage set. Coverage sets on a given side are nonoverlapping and together account for the sentence. This partitioning condition applies to selected word positions. The outer spans of phrases can overlap when the words inside those spans belong to different units. That distinction lets the decoder handle interleaving.

The paper writes the compatibility condition between a candidate phrase pair and the alignment as follows.

∀(i, j) ∈ A : i ∈ sₖ ⇔ j ∈ tₖ

Here A is the set of alignment links. Each pair (i, j) in this formula has a source endpoint i and a target endpoint j. The paper uses the index letters in this local sense in its alignment equation. The symbols sₖ and tₖ denote the sets of source and target positions assigned to phrase pair k, respectively. The symbol ∀ means the test applies to every link, ∈ expresses membership, and ⇔ means that the membership test has to give the same answer at both ends of the link.

One way to apply the condition is to choose a source coverage set and follow its alignment links. Their target endpoints have to be included. A target endpoint included in the pair also brings an obligation in the opposite direction. If it is linked to a source word outside the chosen set, the pair fails the test. The rule prevents a phrase from taking one end of a correspondence and leaving the other to a competing phrase. It works regardless of how many intervening words the coverage set skips.

The implementation adds a restriction to keep the number of phrases manageable. Each maximal contiguous piece on either side must contain an endpoint of at least one alignment link. A maximal piece is an uninterrupted run of selected positions that cannot be extended to either neighboring position within the same coverage set. This additional test allows the system to consider sets of separated runs while removing candidates that would introduce an entirely unaligned run as another piece. The usual alignment condition and this restriction both apply before a candidate becomes an option.

The paper gives a concrete example involving French ne … plus and English not … anymore. In the alignment it illustrates, Hiero extracts two discontinuous phrase pairs. The string-based procedure extracts 11, with 6 displayed. The example shows how a useful pairing can satisfy word alignment even when the surrounding configuration does not support extraction under Hiero’s hierarchical restrictions. The counts describe that alignment. They illustrate the mechanism without estimating how frequently the same contrast occurs in the corpus.

Finding useful coverage sets without listing them all

Allowing arbitrary subsets of a long span leads to many possible candidates. The paper contrasts this with continuous phrase extraction, for which it gives the following running-time bound.

O(nm³)

Here O denotes an upper bound on asymptotic growth, n is sentence length, and m is the maximum phrase length in the continuous extraction problem. The exponent on m is the one in the authors’ account of that procedure. The number of potentially discontinuous phrases, by comparison, grows exponentially with the maximum span length. A large globally enumerated phrase inventory would spend effort on patterns that the current test input has no chance of using.

The authors adopt a suffix-array technique previously developed by Adam Lopez for hierarchical phrase extraction. A suffix array makes occurrences of continuous strings searchable in a corpus. The procedure for handling discontinuities uses searches for the continuous pieces and looks for occurrences where they appear together in the relevant arrangement. The key filter is that the pieces must also occur together in the input being translated. The variable between pieces is how much intervening material the pattern can leave out.

What the suffix-array procedure supplies for this system is a set of relevant source coverage candidates. Starting from each candidate, the extractor can enumerate target coverage sets that pass the alignment test. It uses the earlier retrieval method without adopting Hiero’s restriction on which combinations can be expressed as hierarchical rules. The paper describes the role of the suffix arrays and relies on the earlier work for the full retrieval algorithm. The important interface for the decoder is a list of options that already match the given input.

Each option is associated with a source start position. The decoder consults these lists repeatedly, often for different hypotheses that reach the same position with different previous choices. The implementation therefore prepares the list for each position before search. A lookup returns matching options. Whether a particular option conflicts with already covered words is decided separately for each hypothesis.

Representing an unfinished translation

The decoder is an extension of Phrasal, whose multi-stack search is similar to that of Moses. Each partial hypothesis has an output prefix and a record of which source positions it has covered. The prefix is the part of the target sentence already written. The coverage set distinguishes source material already accounted for from material still available for translation. With source gaps, that set can contain separated positions even when a single operation added all of them. Phrasal

A target gap requires another part of the hypothesis state. The decoder stores pieces of selected target phrases that still have to be appended. These pieces are commitments made by previous translation decisions. They remain attached to the hypothesis as it writes intervening words and continues covering the source. Choosing a phrase and emitting every word of its translation can therefore happen at different times.

For example, the paper shows a choice with the English pieces arrangements … made. The first piece is appended immediately after an existing prefix, and made goes into the set of pieces awaiting placement. The illustrated path also uses a choice with the pieces are … for this. The resulting interleaving fits between the first and last pieces of the respective choices without requiring one choice to be wholly contained within the other. The decoder only appends words to the right end of the prefix. The interleaving comes from the sequence of appends, as the decoder alternates between opening new translation options and finishing ones it has already selected.

The search groups hypotheses by how many source words they cover. Stack membership depends on a count, while the hypothesis retains the exact positions. Two hypotheses can therefore be in the same stack and still leave different words uncovered. The decoder considers multiple hypotheses per stack so an apparently promising early decision need not commit the entire search. Keeping only a bounded selection of alternatives makes this a beam search.

At each stage the paper describes pruning based on the cost accumulated so far and an estimate for the remaining work. Threshold pruning discards hypotheses that fall too far behind under the comparison being used. Histogram pruning limits how many are retained. The underlying search also uses recombination when hypotheses are indistinguishable to the scoring features. Outstanding target pieces matter to this principle. Prefixes and coverage alone cannot characterize the possible continuations if some words are still owed.

Growing a hypothesis

The authors describe the beam search as alternating between grow and consolidate. Growing introduces a new translation option and covers previously unused source positions. Consolidation places target pieces that were deferred during a previous choice. Separating the two operations helps keep track of progress, since the latter can change the output without covering any additional input.

Search starts with the empty hypothesis. On a grow step the decoder locates the first uncovered source word. From there it considers option starts up to the configured distortion limit. This is the bound on how far ahead it looks for the next start. For each matching option it checks all source positions that the option would cover. Any overlap with the current coverage disqualifies it. Words in the gaps do not enter that overlap test as selected words, so they can still be translated through other choices.

When the decoder chooses an option, it adds the selected positions to the hypothesis and appends the first continuous target piece. If the target has additional pieces, it records those in the waiting set. The hypothesis then advances in stack index by the number of source words selected by the option. With a discontinuous source phrase, this measure is its actual coverage. The entire span between the outermost positions would also count words that are still available to the decoder and would therefore give the wrong measure of progress.

The paper uses separate stacks for hypotheses ready to grow and those awaiting consolidation. Its total is 2J + 1, where J is the length of the source sentence in words. Each stack can hold up to N hypotheses in the algorithm description, with N denoting the beam capacity. A grow operation adds coverage, so it places a hypothesis in a stack with a larger source count. Consolidation sends it to the other stack at the same count. This arrangement gives consolidation distinct input and output stacks even when it makes no change to source coverage.

Placing deferred words and finishing the sentence

Consolidation can append some of the waiting pieces or leave them for later. Each placement adds to the current right edge of the translation. When the search has alternatives, it can consider different orders of appending pieces from different phrase pairs. This flexibility is what allows one pair’s deferred words to be emitted after the decoder has begun using another pair.

There are conditions on that freedom. A continuous target piece must preserve its internal order and remain intact. The pieces of a particular discontinuous phrase must retain the ordering specified in the entry. For a phrase whose pieces are A, B, and C, a decoder path cannot emit C before B. A specified gap must also contain intervening material. Together, these rules preserve the structural commitments of each phrase while allowing flexible combinations across different phrases.

The authors cap the number of outstanding pieces at 4. They report that this is generally sufficient for the transformations they see in their data. The cap bounds one important source of branching, because storing more pieces would create more possible subsets and orders to consider for consolidation. The authors also tried organizing hypotheses into different stacks according to the number of pieces still waiting. They report that their attempts did not work better than the stack arrangement described in the paper.

Once the input is completely covered, consolidation still matters. A hypothesis with all source words assigned may yet owe target words selected earlier. The final selection admits only hypotheses whose waiting sets are empty. This ensures that every phrase choice contributing to the result has supplied its entire target side. The decoder returns the highest-scoring complete hypothesis retained by the search.

Scoring translations and the space between pieces

The usual phrase-based features remain part of the system. Two phrase translation probabilities come from the relative frequencies of paired phrases, with a source-to-target estimate and a target-to-source estimate. Each direction asks how much the observed pair is supported given the phrase on the conditioning side. Two lexical weights use word-level evidence in the two directions, so phrase choices can also reflect how well individual words support the pairing. These features evaluate the translation of the selected material. Statistical Phrase-Based Translation

A target-side fluency score evaluates word sequences in the output. A word penalty gives the decoder a feature that depends on the amount of target text produced. A phrase penalty gives it a feature that depends on the number of phrase choices. A distortion feature measures source movement as the decoder works through the translation. The authors describe these as the eight baseline features used by Moses. The discontinuous system changes the distortion calculation and introduces additional features for gaps.

The distortion calculation has to account for movement within a source phrase as well as movement from one phrase to the next. The procedure takes the maximal continuous source pieces of the selected phrases and considers them in target order. It treats each piece as a span with a first and last source position. A distortion charge can then be assessed whenever the next span begins somewhere other than the position following the end of the previous one.

d(s̄) = s̄₁ᶠⁱʳˢᵗ + ∑ᵢ₌₂ᴸ |s̄ᵢ₋₁ˡᵃˢᵗ + 1 − s̄ᵢᶠⁱʳˢᵗ|

Here d is the linear distortion cost and s̄ is the ordered list of continuous source pieces. Its length is L, which is at least as large as the number of selected source phrases, because a source phrase may contribute several pieces. An index i denotes a place in that list. The superscripts first and last refer to the source positions of the first and last words of a piece. The initial term uses the source start of the first piece. The summation ∑ runs over each later piece, starting at 2 and ending at L. Adding 1 to the previous piece’s last position gives the source position immediately after it. The subtraction compares that position with the current piece’s start, and the bars take the absolute value so both forward and backward moves contribute a non-negative distance.

In the implementation, the authors separate the charges associated with movement within a phrase from those between phrases. A gap inside a phrase may bring a useful translation unit together, even when it spans a substantial distance. The reported motivation for having separate features is that translations tend to improve when the penalty weight for movement inside a phrase is lower. Longer source gaps still affect the score. The split lets the decoder treat them differently from jumps made to begin other phrases.

Two further features concern discontinuities. One adds up the lengths of gaps in the target. The other counts phrases participating in cross-serial or bonbon configurations that a binary hierarchical grammar cannot accommodate. These costs give the decoder a way to disfavor broad use of difficult rearrangements. If the rest of the evidence favors a particular arrangement, the feature weights allow the search to retain it. A structural ban would remove the arrangement from consideration regardless of its support.

The system can also use the 6 lexicalized reordering features computed in Moses. These features express preferences for phrase orientations that depend on words in the phrase pair. The enabled orientations are monotone, swap, and discontinuous. The orientation calculation treats a discontinuous phrase as continuous for this purpose and disregards the contents of its gaps. This gives the method the same orientation features used in the comparison with Moses, while leaving the full internal arrangement of discontinuous phrases to other parts of the score. A Unigram Orientation Model for Statistical Machine Translation

How corpus evidence becomes a search score

The work assigns different jobs to parallel training, target-language training, and development-set tuning. Parallel text supplies the sentence pairs from which word correspondences and bilingual phrase evidence are obtained. The word aligner is run in both directions and its outputs are combined into a symmetric alignment. The phrase extractor then uses these links to determine which source and target pieces can belong together. The target-language corpus supplies counts for judging sequences of English words, including sequences that a phrase-based decoder may produce by appending material from several choices.

Tuning adjusts how the feature scores contribute to the final preferences of the decoder. The authors use minimum error rate training, with BLEU-4 as the quantity they seek to maximize. The search supplies an ordered collection of candidate translations for a sentence, called an n-best list. These alternatives enable tuning to examine how different feature weights would rank translations already found by the decoder. With new weights, search can prefer different fragment choices and different placements of waiting pieces. Which representations are available is determined by extraction and decoding. Which available representations are favored is learned through scoring and tuning.

An individual output thus depends on several linked decisions. Extraction must find a phrase whose selected words match the input. Search must encounter the option in a coverage state where it can be used. Target fragments must be consolidated into a legal sequence. The resulting hypothesis must survive pruning and compete under the feature weights. This sequence explains why a larger phrase inventory makes a useful translation possible without guaranteeing that the decoder will find or choose it.

Experiments and results

Data, comparisons, and measurements

The experiments translate Chinese news text into English. The parallel training corpus comes from Linguistic Data Consortium news collections and contains about 28 million English words and 23.3 million Chinese words. The authors use the parallel corpora selected for earlier work on Chinese reordering so that the training setup has a precedent. Their cross-EM aligner runs IBM Model 1 twice and the HMM twice. They produce symmetric links from Viterbi alignments. For Moses and Phrasal they use Moses’ grow-diag heuristic. For Joshua they use grow-diag-final, which the authors found worked better for that system. Chinese Syntactic Reordering for Statistical Machine Translation · Alignment by Agreement

For the English fluency score they combine the target side of the bilingual data with the Xinhua and AFP portions of Gigaword, identified as LDC2007T40. The combined data amounts to about 700 million words. They manually remove Gigaword documents from periods overlapping development or test data. They train a 5-gram predictor with modified Kneser-Ney smoothing in SRILM and keep only 4-grams and 5-grams seen at least three times. Smoothing lets the predictor assign scores beyond the sequences whose exact counts are kept. The target-language data serves this fluency estimate, while the parallel corpus provides translation evidence.

The official NIST Chinese translation evaluations span 2003 to 2008 in the authors’ setup. Each input has four English reference translations. MT06, with 1664 sentences, serves for development and weight tuning. The authors describe the other sets as test data. They use n-best lists of size 200 and run each tuning experiment four times from different initial conditions. The repeated starts address their concern that minimum error rate training may find different solutions, especially with a larger set of feature weights.

Moses supplies the continuous phrase baseline. To make the comparison interpretable, the authors configure their Phrasal implementation to behave much like Moses when given no discontinuous phrases. They report that only about 1% of the translations differ on average in this check. The two systems have a beam size of 200, a distortion limit of 6, and a cap of 20 target phrases loaded per source phrase. They share the default baseline features where applicable. Moses is tested with and without lexicalized reordering. Phrasal is evaluated with source gaps alone, target gaps alone, and gaps on both sides without lexicalized reordering, plus a configuration with gaps on both sides and lexicalized reordering.

Joshua version 1.3 supplies the hierarchical baseline, with its default settings for the main comparison. There is also a version of Joshua that removes rules with discontinuous targets before tuning and testing. The authors consider a comparison with lexicalized reordering appropriate for the phrase-based systems because Hiero’s rules can also express ordering tendencies associated with particular words. They give examples of hierarchical rules representing such tendencies and note that hierarchical rules can express patterns outside the orientation features used in Moses.

The authors report uncased BLEU-4 and uncased TER, with TER version 0.7.25. BLEU gauges overlap in short word sequences between candidate translations and reference translations, with a penalty for output that is too short. The use of four references gives the metric several accepted phrasings to compare against. Higher BLEU is better. TER measures how much editing is needed to reach a reference, so lower TER is better. The authors tune on BLEU-4 and report both measures in evaluation. Bleu: a Method for Automatic Evaluation of Machine Translation

The main system comparison

The following charts use the results column labelled ALL in the paper. The authors describe the headline BLEU gain over Joshua as an average over five Chinese-to-English NIST sets. Their table also identifies MT06 as the tuning set and reports it separately. The aggregate is labelled ALL here to preserve the distinction between that reported result and scores explicitly attributed to the development set.

Main systems on the Chinese-to-English NIST ALL column, uncased BLEU-4

The system with gaps on both sides and lexicalized reordering has the highest BLEU.

Main systems on the Chinese-to-English NIST ALL column, uncased BLEU-4Moses without lexicalized reordering: 31.08Moses without lexicalized reordering31.08Joshua with source and target gaps: 31.90Joshua with source and target gaps31.90Moses with lexicalized reordering: 32.16Moses with lexicalized reordering32.16Discontinuous Phrasal with lexicalized reordering (this paper): 32.93Discontinuous Phrasal with lexicalizedreordering (this paper)32.93
The numbers
System or settingBLEU
Moses without lexicalized reordering31.08
Joshua with source and target gaps31.90
Moses with lexicalized reordering32.16
Discontinuous Phrasal with lexicalized reordering (this paper)32.93

Main systems on the Chinese-to-English NIST ALL column, uncased TER

The system with gaps on both sides and lexicalized reordering needs the least editing under TER.

Main systems on the Chinese-to-English NIST ALL column, uncased TERMoses without lexicalized reordering: 59.14Moses without lexicalized reordering59.14Joshua with source and target gaps: 58.22Joshua with source and target gaps58.22Moses with lexicalized reordering: 58.56Moses with lexicalized reordering58.56Discontinuous Phrasal with lexicalized reordering (this paper): 57.03Discontinuous Phrasal with lexicalizedreordering (this paper)57.03
The numbers
System or settingTER
Moses without lexicalized reordering59.14
Joshua with source and target gaps58.22
Moses with lexicalized reordering58.56
Discontinuous Phrasal with lexicalized reordering (this paper)57.03

The choice of Moses baseline matters. The authors report a Joshua advantage of +0.82 BLEU point and −0.92 TER point on average over the Moses baseline without lexicalized reordering. Once that feature is included in Moses, the two baselines have similar overall performance. The ALL scores favor Moses with lexicalized reordering on BLEU and Joshua on TER. This puts the hierarchical comparison in perspective. Some of its advantage over a basic phrase system is also accessible through a phrase-based reordering feature.

The strongest discontinuous configuration improves over Moses with lexicalized reordering by +0.77 BLEU and −1.53 TER in ALL. Compared with the full Joshua configuration, it improves by +1.03 BLEU and −1.19 TER. The same configuration leads the two baselines on MT06, where it reaches 35.00 BLEU and 56.85 TER. Moses with lexicalized reordering reaches 34.25 BLEU and 58.23 TER there, and Joshua with source and target gaps reaches 33.84 BLEU and 58.11 TER. MT06 is the set used in tuning, which gives these numbers a different role from measurements on test sets.

The gains vary across evaluations. On MT08, the improvement over full Joshua is +0.13 BLEU and −0.70 TER. The paper reports +0.04 BLEU and −0.97 TER against Moses with lexicalized reordering on that set. The small BLEU gain over Joshua is the stated exception in the significance comparison with that baseline. The authors associate the result with shorter output on MT08 and report a brevity penalty of 0.92. The penalty helps explain how a change in output length can affect BLEU even when the edit-rate comparison is favorable.

The authors use randomization tests for the comparisons of the best discontinuous configuration with full Joshua and Moses with lexicalized reordering. They report significantly better results than Joshua in 9 out of 10 evaluations at p ≤ .01. That statement refers to the tested metric and set comparisons. The authors also report significant improvement over Moses with lexicalized reordering. Together, the scores and the significance analysis establish the ranking of these configured systems under the paper’s evaluation. The comparisons within Phrasal address the separate question of which changes contributed to that ranking. On Some Pitfalls in Automatic Evaluation and Significance Testing for MT

What the ablations show

Source gaps provide the stronger individual change

The direct comparison of gap types comes from Phrasal configurations without lexicalized reordering. The authors compare those configurations with Moses without lexicalized reordering, alongside the check that Phrasal without discontinuities produces almost the same outputs as Moses. The development-set scores show what happens when the search is given access to source gaps, target gaps, or both. Phrasal with both kinds of gaps and without lexicalized reordering has the highest MT06 BLEU in this comparison.

Gap configurations without lexicalized reordering on MT06 development data, uncased BLEU-4

Source gaps account for most of the BLEU gain associated with enabling gaps on both sides.

Gap configurations without lexicalized reordering on MT06 development data, uncased BLEU-4Moses with continuous phrases: 33.17Moses with continuous phrases33.17Phrasal with target gaps: 33.27Phrasal with target gaps33.27Phrasal with source gaps: 33.77Phrasal with source gaps33.77Phrasal with source and target gaps (this paper): 33.86Phrasal with source and target gaps(this paper)33.86
The numbers
System or settingBLEU
Moses with continuous phrases33.17
Phrasal with target gaps33.27
Phrasal with source gaps33.77
Phrasal with source and target gaps (this paper)33.86

The authors report that enabling target gaps after source gaps adds 0.09 BLEU on MT06. TER shows a similarly ordered comparison there. The continuous Moses baseline has 59.24 TER. The target-only Phrasal configuration has 58.98, source-only has 58.56, and gaps on both sides give 58.26. These comparisons involve configurations without lexicalized reordering. The best overall system uses it, so the gap-only results describe the effect of giving each sort of gap to the decoder in the simpler feature setting.

The ALL column shows the same broad pattern. The source-only configuration reaches 31.68 BLEU and 58.60 TER. The target-only configuration reaches 31.17 BLEU and 58.93 TER. With both, Phrasal reaches 31.81 BLEU and 58.25 TER. Joshua with both kinds of gaps scores 31.90 BLEU and 58.22 TER. This puts the discontinuous configurations without lexicalized reordering in context. The one with gaps on both sides comes close to the full hierarchical baseline. The stronger system-level result appears when lexicalized reordering is also enabled.

There is a practical asymmetry behind the gap comparison. For source gaps, the input has already fixed the positions of the words and the material between them. A matching option specifies the separated positions the decoder can cover immediately. With target gaps, the decoder has to leave room for material it will generate later, while keeping deferred words in the right order and eventually placing all of them. The authors suggest that generation makes target gaps harder to exploit. The results show a smaller contribution from target gaps under these search and scoring conditions. They leave open how much of that difference comes from the task and how much comes from the way target gaps are used.

Filtering the target side of Joshua’s rules

To see whether the modest target-gap effect also appears with hierarchical decoding, the authors run a second Joshua configuration. They filter its rules before minimum error rate training and before translation. The test concerns where actual target words occur relative to placeholders. Rules in which visible words are separated by placeholders are removed in the listed cases. Rules with terminal material grouped before, after, or between placeholders can remain when the terminal material itself stays contiguous. This makes the comparison about target-discontinuous translated words, while preserving hierarchical rules and source-side discontinuities.

In ALL, Joshua with source gaps and the filtered targets scores 31.70 BLEU and 58.21 TER. The version with gaps on both sides scores 31.90 BLEU and 58.22 TER. The authors describe the filtering effect as a drop of 0.2 BLEU point and almost no change in TER. MT06 shows 33.55 BLEU and 58.04 TER for the filtered version, compared with 33.84 BLEU and 58.11 TER for full Joshua. The different directions of the small TER changes and the BLEU changes make it useful to keep both metrics visible.

Filtering before weight tuning gives the reduced rule inventory an opportunity to perform with weights fitted for it. The hierarchy stays in place throughout the comparison, so the result concerns the usefulness of discontinuous targets within that system. Together with the Phrasal comparison, it shows that the smaller gain from target gaps is observed under two decoding approaches in the same translation task. The experiments leave unresolved whether a different method for selecting or placing target fragments would make their contribution larger.

What the decoder actually selects

The phrase-length analysis tests a more specific part of the explanation for the method. The authors argue that extending phrases to separated words will give the decoder useful larger translation units. If the new entries were seldom selected, the phrase inventory could grow without having much effect on the way sentences were translated. The authors therefore measure phrase lengths in translations produced on MT06.

The Moses baseline uses an average of 1.73 words per phrase on MT06. With discontinuities enabled, the corresponding average is 2.16, and use of single-word phrases is reduced by 43%. These measurements describe the decoder’s chosen segmentation. A long source span covered by a discontinuous unit does not make every word between its ends part of that unit. The result shows that the decoder chooses entries with more translated words per phrase, even though it can still leave some words inside those entries’ outer spans to other choices.

The authors also count how often each gap type appears in the best system’s translations on MT06. Source-discontinuous phrases occur in 53% of the translated sentences, and target-discontinuous phrases occur in 9%. Those percentages are shares of sentences with one or more uses of the relevant type. They show that source matching is used widely in the development outputs and that the target mechanism is exercised too. They do not track how many phrases are affected inside each sentence or how the evaluation score changes specifically in the sentences containing gaps.

The counts and the score ablations answer related questions. The score comparison shows how well each configuration translates with the relevant options available. The usage analysis shows that choices shift toward longer units and that the two types of discontinuity are selected at different rates. Both observations fit the argument about sparsity. Joining separated informative words makes some phrases available in contexts where a longer contiguous entry would require an exact match through the intervening text.

What the selected translations illustrate

The authors inspect MT06 examples from the best configurations of the three systems. They select sentences in which their system makes consequential use of a discontinuous phrase. In one, the source construction ordinarily translates with when. Moses lacks a suitable entry for the full stretch and divides the construction into separate decisions. Its output places of at the end of a badly formed clause. The gapped choice can translate the relevant markers jointly and leave the intervening words to other entries. The resulting clause has a better local arrangement, although other parts of the sentence remain awkward.

A second example concerns increasing supervision of leading cadres. The paper shows that the discontinuous system can draw together source words separated by a considerable stretch and produce a rendering close to the corresponding reference phrase. The important property is which words can share a translation decision. A phrase that had to cover the intervening text too would demand evidence for a much more specific sequence.

Another example rearranges material about preventing similar incidents from happening again. The discontinuous system obtains an English ordering close to the reference by combining cross-serial units. The example is informative at the level of the derivation. The paper is able to point to the selected units and show how their pieces contribute to the output. That explains a difference in available analyses even when other systems produce a sentence conveying much of the same information through different phrases.

The final example discussed by the authors involves a Chinese topicalization marker and a source sentence without a subject. The paper describes an English passive as a way to handle that structure. In the reported example, the new decoder arrives at this arrangement through flexible reordering. The example gives a concrete interpretation to the consequences of changing the search space. A rearrangement may matter to how the target sentence organizes a clause, beyond moving an adjacent pair of words.

These examples connect word order, phrase selection, and the resulting sentence. Their selection also sets the scope of the evidence. They demonstrate mechanisms in outputs where the decoder used them. The phrase-length and sentence-usage measurements give a broader description of behavior, and the aggregate evaluation measures the performance of the configured systems across the evaluation sets.

Limitations

Limits the authors identify

The authors explicitly leave open why target discontinuities contribute less than source discontinuities. One possibility is that this task has fewer cases where splitting the target side of a phrase makes a substantial difference. Another is that useful cases exist but are difficult to realize during generation. Removing target discontinuities from Joshua offers another observation under the same task, but it cannot settle that distinction. The authors present the greater difficulty of generation as an explanation to investigate.

The lexicalized orientation calculation also has a stated limitation. It ignores the contents of discontinuities when identifying the orientation of a phrase. As a result, the feature can favor a broad class of movement based on lexical evidence without directly distinguishing the behaviors of the separated pieces within the entry. The authors propose extending lexicalized reordering to account for these discontinuities explicitly. The reported gains use the simpler orientation calculation.

The authors also propose using syntactic evidence to penalize discontinuities without a good grammatical motivation. In the reported system, distances, target gap lengths, and the counts of certain arrangements provide pressure against excessive reordering. Syntax is a possible additional source of guidance in making such choices. It is a direction the authors identify for future work, alongside earlier work that applied soft syntactic guidance in hierarchical translation. Soft Syntactic Constraints for Hierarchical Phrased-Based Translation

Search itself has stated bounds. Keeping at most 4 isolated target pieces limits the number of unfinished commitments. Restricting option starts by a distortion limit constrains source movement. Requiring a nonempty target gap and a fixed order of pieces within each phrase constrains target placement. These rules are important when interpreting the decoder’s greater flexibility. The paper establishes that it can handle the illustrated alignment configurations and that it avoids a hard requirement for hierarchical composition. Its implementation still makes particular choices about which other candidates can be represented and searched efficiently.

Limits visible in the experimental design

The evaluation measures performance on Chinese-to-English news translation with particular parallel and monolingual corpora. The introductory French examples illustrate the motivation, and the earlier alignment study shows how some configurations appear in other languages. The experiments give direct score evidence for the Chinese-to-English setup. They cannot determine how the relative gains would change under a different translation direction, corpus, or pattern of reordering.

The system-level comparison with Joshua involves more than the presence or absence of a binary hierarchy. The decoders use different search strategies and parameterizations, and the symmetric alignment heuristic differs. The authors select a heuristic that works well for Joshua and use its default settings in the main comparison. This is useful for comparing working systems. It gives a less direct answer about the causal effect of imposing hierarchy if everything else could be held fixed. The alignment figures show a specific representational difference, while the scored evaluation gives the outcome of a broader system comparison.

The comparison with Moses is closer because the engines are aligned on settings and the authors verify that their outputs are nearly identical without discontinuous phrases. Even there, the strongest system is an assembly of changes. It has source and target discontinuities, modified distortion costs, features for gap behavior, and lexicalized reordering. The gap settings without lexicalized reordering show the relative effects of the available gap types in that setting. The paper does not report a full factorial comparison crossing all gap settings with each additional feature, so it cannot identify an independent score contribution for every design choice.

Search and training also affect how the results should be read. The authors address sensitivity to tuning starts by running each condition four times. The evaluations describe the system after tuning, and the ablations alter the choices that search can make. They do not exhaustively enumerate all valid derivations or establish how much of the remaining error could be recovered with a larger beam. The frequency of target gaps is therefore a property of the translations found under the reported configuration. It is not a census of all useful target discontinuities in the evaluation data.

The paper compares asymptotic efficiency as well as translation quality. It describes bounded-distortion string decoding as linear and contrasts it with the at-least-cubic behavior of synchronous grammar decoding. That argument concerns scaling under the stated search assumptions. Retrieval, deferred-piece management, and the number of candidates surviving pruning affect actual computational cost. The results do not provide a timing comparison that quantifies those effects on the evaluation corpora.

Finally, the two aggregate measures assess similarity to references through word overlap and edit rate, and the illustrative translations are chosen for visible uses of discontinuities. This supports conclusions about the reported automatic metrics and about the operation of the decoder in the examples. The paper supplies no separate systematic human assessment of where readers would prefer the outputs or how much of the score gain reflects better meaning preservation versus more reference-like wording.

What came after

Translation and reordering in a joint sequence

A Joint Sequence Translation Model with Integrated Reordering is a later citing work from 2011. Its title identifies a sequence approach in which translation and reordering are treated jointly. The connection to Galley and Manning’s question is the representation of word order during translation. In Phrasal, selecting a phrase can cover separated parts of the source and can introduce obligations to place target pieces later. Reordering is consequently part of what the decoder must decide as it assembles the output. The later work’s title places that relationship at the level of a joint sequence.

That establishes the subject of the follow-up and a point of contact between the works. The citation alone does not establish that the later work inherits the earlier phrase extractor, its rule for alignment consistency, or its grow and consolidate operations. The available description supports a connection through integrated treatment of translation and order, with the sequence formulation as the later work’s stated focus.

From structured meaning to a string

A Probabilistic Forest-to-String Model for Language Generation from Typed Lambda Calculus Expressions is another citing work from 2011. It studies text generation from typed lambda calculus expressions using a probabilistic forest-to-string approach. Its starting point is a structured expression, and its endpoint is a string. That puts it next to the earlier paper on a general question about how to organize the decisions that produce an ordered sequence, while giving those decisions a different kind of input.

Galley and Manning start with a source sentence and ask how translated pieces can be placed in a target string while remaining tied to their source coverage. The later generation work, as described by its title, starts with a representation of meaning and uses a forest in the mapping to text. Its citation places discontinuous phrase-based translation in the surrounding research on structured generation. It does not establish that the generation procedure transfers the earlier handling of gaps, and the cited work’s stated task gives no basis for a direct comparison with the Chinese-to-English translation results.

Cite

Cite as Michel Galley and Christopher D. Manning. 2010. Accurate Non-Hierarchical Phrase-Based Translation. Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics.

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

@inproceedings{galley2010accurate,
  title = {{Accurate Non-Hierarchical Phrase-Based Translation}},
  author = {Michel Galley and Christopher D. Manning},
  booktitle = {Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2010},
  url = {https://aclanthology.org/N10-1140/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/galley-2010-accurate-non-hierarchical-phrase-based/