Elamur Research

CCG Syntactic Reordering Models for Phrase-based Machine Translation

Paper · 2012 · Dennis Nolan Mehay and Christopher Hardie Brew

Summary

A translation system can choose reasonable words and still put them in the wrong order. This is a particular problem in phrase-based machine translation, which builds output from strings learned from aligned bilingual text. The strings can begin or end inside a grammatical unit. A system that relies on ordinary constituent boundaries may therefore have little to say about some of the very pieces it has to arrange. Mehay and Brew ask whether a more flexible grammar can describe those pieces well enough to help the system decide where to place them.

The authors use Combinatory Categorial Grammar, or CCG. In this grammar, different ways of grouping a sentence can preserve the same grammatical relationships. For example, the English fragment I hope that can receive a category that says it still needs a declarative clause to its right. The authors expand a parser’s analysis to recover groupings of this kind, then consult the resulting chart for each English translation phrase. A single category covers the entire phrase in 69% of the Urdu–English training instances. Where a single category is unavailable, the procedure covers the phrase with a sequence of categories that stays within its boundaries.

The system learns how source phrases tend to be ordered when their English translations have a given category or category sequence. This lets phrases of different lengths and wording contribute to the same statistics. The new score works alongside the decoder’s existing word-based evidence. The authors compare it with a standard system that learns ordering preferences for particular bilingual phrase pairs and with a system that adds CCG categories assigned word by word. Urdu and English make a useful test because a verb and its object commonly appear in opposite orders in the two languages.

On the NIST-09 Urdu–English blind test, without minimum Bayes-risk selection, the chart-based system scored 29.2 on BLEU, compared with 28.8 for the lexical baseline and 28.2 for the word-by-word CCG variant. With that selection step enabled, the chart-based system and lexical baseline both scored 29.1 on BLEU, while the chart-based system had the lowest translation edit rate, at 59.5. The authors report significant improvements over their baselines in the study, with the result depending on the metric and decoding setting. Their examples also show improvements in English word order, even where individual word choices still need work.

Deep dive: CCG Syntactic Reordering Models for Phrase-based Machine Translation

How Combinatory Categorial Grammar helps phrase-based translation put English words in order when translating from Urdu, and what the tests show. · about 35 minutes to read

The problem and its context

Why a translation phrase can end in an awkward place

Phrase-based translation learns correspondences between strings of words. A training corpus pairs source sentences with translations, and a word alignment identifies links between individual words on the two sides. From those links, the system extracts pairs of contiguous strings that are consistent with the alignment. At decoding time, it can reuse the extracted pairs to cover a new input and build a target sentence. The phrase pair gives the decoder both a stretch of source text to translate and an English string that can express it. The basic approach is the one described in Statistical Phrase-Based Translation.

In this setting, the word phrase identifies an item the translation system can use. In grammar, it typically identifies words that combine to form a constituent. The extraction procedure has its own reason for choosing a boundary. A pair of strings can be useful because the alignment supports treating them as corresponding units, even if a conventional sentence analysis puts a boundary somewhere inside either string. A phrase table can accumulate many such entries because word alignment and grammatical constituency answer different questions.

The paper illustrates the distinction with Ich hoffe, daß and I hope that, drawn from a German–English parliamentary example. Each fragment sets up a continuation. A clause such as it will be possible can complete the English fragment, and the authors give a corresponding continuation on the German side. A noun phrase by itself would be the wrong kind of continuation in that construction. A grammar that recognizes what remains to be supplied can say something useful about the fragment, even when its preferred analysis of the complete sentence gives those words no constituent label.

The example also shows why the solution cannot simply rely on the usual labels for complete clauses and noun phrases. The category needed for I hope that describes a partial construction. It has to preserve the distinction between what the words already contribute and the grammatical material still needed to finish the construction. That distinction makes syntax and grammar relevant to a decoder even when its current output ends midway through a clause.

The decoder builds the English output in sequence. To place the next target phrase, it chooses an eligible source span, a translation for that span, and a position in the growing output. The series of source spans it visits can therefore differ from their order in the input. If the language pair calls for substantial changes in order, a move that looks large on the source side may be necessary for a natural target sentence. The decoder also has many opportunities to assemble individually plausible target strings into an awkward whole.

The authors point out that a score based on nearby words can favor an output that still has serious problems with the larger sentence. A sequence may contain familiar neighboring words while placing a verb, object, or larger expression in an unsuitable position. The English word-sequence score and the reordering score observe different aspects of the hypothesis. The former evaluates the English string, while the latter relates the order of target-side assembly to the positions of the source spans being translated. This gives grammatical information a distinct job alongside an n-gram score.

What the available reordering scores could express

A distance-based distortion score evaluates how far the decoder moves across the source sentence. This is a compact way to discourage gratuitous jumping. Its input, however, gives it no evidence about the grammatical reason for a jump. Moves of the same size can receive the same treatment even when one places an English object well and the other disrupts the clause. That is a consequential restriction when ordinary translations need substantial changes in order.

Lexicalized reordering scores distinguish arrangements such as preserving the order of neighboring phrases or reversing it. They can learn different preferences for different bilingual phrase pairs. This makes them more specific than distance alone. A phrase pair observed in a characteristic arrangement can carry that preference into decoding. The paper traces this approach in part to A Unigram Orientation Model for Statistical Machine Translation.

Lexical specificity has a cost. Suppose a German infinitive and its English translation supply evidence for a particular reversal in the paper’s worked example. That observation goes into the statistics for those particular words. A different infinitive in a similar construction gets no direct support from the observation. More bilingual data may provide additional examples of particular pairs, but a representation indexed by exact strings still has no common key for the grammatical behavior of different pairs.

There is also a separate question about what counts as an observed arrangement. One method looks at alignment points near the edge of a phrase pair. Another looks for neighboring phrase pairs consistent with the alignment. A gap between aligned words can make a transition appear discontinuous under the former procedure, even when a neighboring string can absorb the intervening material under the latter. The paper discusses earlier approaches that use larger blocks of phrases or consider the graph of compatible phrases, and work that weights counts derived from multiple scored alignments. These methods change the evidence used to assign an orientation. The authors’ primary change is to the description under which that evidence is stored.

The hierarchical approach is especially relevant to that distinction. A phrase can seem to break local order when compared with a single neighboring span but fit a larger translated block monotonically. An extraction method that considers the block has access to evidence the narrow comparison misses. The paper regards such extraction as compatible with grammatical labels for target spans. It presents this connection in its discussion of A Simple and Effective Hierarchical Phrase Reordering Model.

Where earlier systems put the grammar

Earlier work described in the paper took several routes around the mismatch between grammatical constituents and translation phrases. Some approaches rearranged the source sentence before translation, bringing its order closer to what the target language would require. The rules for this preprocessing could be learned from data or written by hand. Other approaches incorporated permutations expressed with part-of-speech information into decoding itself. Both strategies can supply more guidance than a distance penalty, while placing the linguistic decision at different points in translation. The paper includes hand-written source restructuring among the approaches illustrated by Clause Restructuring for Statistical Machine Translation.

The paper also describes work that used CCG during target-language scoring. Hassan explored incremental CCG parsing as the decoder generated English. In the comparison Mehay and Brew recount, that approach fell short of a phrase-based system that treated lexical CCG categories as factors. The result gives a reason to compare the chart approach directly with word-level CCG information. Both representations carry richer grammatical distinctions than conventional word classes, and the experiment needs to establish whether combining those distinctions over spans adds anything.

Other translation approaches used grammatical categories in the rules that pair fragments across languages. One approach described by the authors reused a CCG parser’s chart, which could contain competing dependency analyses. Mehay and Brew’s own chart starts from the parser’s preferred analysis and asks which other groupings that analysis allows. The variation concerns the grouping and order of grammatical operations, with the dependencies held fixed. The authors also allow more flexibility in type-raising, an operation that changes how a category participates in a derivation.

A syntax-augmented system discussed in the paper started with a conventional tree and reworked parts of it when a target string needed a label. Its operation was bounded by tree depth, and the labels could contain a list of categories from the original tree. Another approach had a categorial grammar built from a single basic symbol. The authors place their method in this line of work while giving a richer target-side category inventory and more freedom to derive categories for particular spans. Their English parser was trained on a resource built by converting Penn Treebank analyses into CCG. CCGbank

The problem is therefore one of fit between representations. The translation system gains flexibility from its alignment-based inventory. The grammar gains predictive value from describing how pieces can join. A method that makes those descriptions available at the boundaries already chosen by the translation system can use both properties at once. The authors pursue that option through English-side reordering scores within a phrase-based decoder.

The method, step by step

From word categories to categories for strings

CCG starts by assigning syntactic categories to words. A category can name a basic kind of expression, such as a noun phrase, or describe a grammatical operation that still needs an argument. An operation specifies the category of the argument, which side to look on, and the result of combining with it. CCG uses a small inventory of general rules, called combinators, to build larger categories from these lexical categories. A word’s lexical category, rendered as a tag, is called a supertag. It tells the derivation more about a word’s possible combinations than an ordinary part-of-speech tag does. The paper draws on the C&C tradition represented by The Importance of Supertagging for Wide-Coverage CCG Parsing.

The simplest combination in the paper is forward function application. Written on one line, the rule takes this form.

X/Y   Y  ⟶[>]  X

X and Y stand for CCG categories. X/Y denotes an expression that yields an X when it combines with a Y on its right. The / specifies that rightward direction. The spacing before the second Y shows the order of the adjacent expressions. The arrow shows the category produced by the rule, and > inside the brackets names forward application. The brackets here enclose the rule name.

An argument can also be given a category that makes it the active function in the combination. In the paper’s example, backward type-raising gives the expression of category Y a new way to participate.

Y  ⟶[T<]  X\(X/Y)

Y is the category being raised, X is again the category the eventual combination will produce, and ⟶ marks the category change. T< names backward type-raising. The \ means that the new function looks to its left for its argument, while / retains its rightward meaning within X/Y. The parentheses make X/Y the whole argument that the raised category needs. The square brackets enclose the rule name. Raising the type changes which expression seeks the combination. It leaves the dependency to be resolved by a subsequent operation.

Backward function application can now combine the original left expression with the newly raised expression on its right.

X/Y   X\(X/Y)  ⟶[<]  X

X/Y is the left expression’s original category. X\(X/Y) is the right expression’s raised category, with \ indicating that it can consume the category to its left. Within the parentheses, / is still part of the category of that left expression. The arrow leads to X, the same result category as in forward application. The bracketed < labels the backward application rule. In both applications the input expressions occur in the same word order.

The importance of these operations is what they allow in longer strings. A normal-form derivation uses a preferred arrangement of grammatical operations. An alternative can attach or combine some of the same material in a different order. These alternatives can expose a category over a stretch of words that has no corresponding node in the preferred derivation, yet leave the dependency relations of the full sentence intact. This is the property called spurious ambiguity. Here the ambiguity gives the phrase labeler more spans to choose from.

The English parliamentary example makes the distinction concrete. A subject–predicate grouping can produce a declarative sentence in the ordinary way. An alternative derivation uses raising and composition to make the earlier string, I hope that, available as a unit before the embedded clause is present.

S[dcl]/S[dcl]

S denotes a sentence category. [dcl] indicates the declarative form, so both occurrences of S[dcl] refer to declarative sentence categories. The / says the expression needs the category to its right. The occurrence on the right of the slash is the required complement and the occurrence on the left is the result. The label thus records how the string can participate in a larger grammatical unit even though its own content is incomplete.

In the paper’s diagram, the alternative and normal-form CCG derivations both end with the declarative sentence category and the same dependencies. Their useful difference is found below the root. The alternative exposes a span whose boundaries happen to match a translation phrase. The fact that the derivation of the complete sentence was successful gives the span label a grammatical context. The same span can then contribute an example to the training statistics.

How the chart supplies labels

The authors parse the English training sentences with C&C and start with each sentence’s normal-form analysis. They generate alternative derivations of the selected analysis and put them into a packed chart. A chart records categories by the spans over which they can be derived. Packing allows multiple derivations to share their common parts. The useful query is whether a category is available for a particular span of the English sentence, without requiring the labeling procedure to commit to a separate complete tree for every phrase pair.

From aligned training sentences to grammatical reordering scores

The steps in order.

From aligned training sentences to grammatical reordering scoresStep 1: Extract bilingual phrases from word alignments1. Extract bilingual phrases from word alignmentsStep 2: Parse the English training sentences2. Parse the English training sentencesStep 3: Pack equivalent derivations into charts3. Pack equivalent derivations into chartsStep 4: Label each extracted English span4. Label each extracted English spanStep 5: Gather orientation counts by English label5. Gather orientation counts by English labelStep 6: Keep frequent labels for each phrase pair6. Keep frequent labels for each phrase pairStep 7: Reassemble span labels during decoding7. Reassemble span labels during decodingStep 8: Score reordering alongside existing decoder features8. Score reordering alongside existing decoder features

For any extracted phrase pair, the authors know where the English side occurred in its original sentence. They use those boundaries to look up that occurrence in the chart. If the chart offers a category spanning all the words, the algorithm returns a single category. It favors the topmost category for the span, giving preference to categories obtained without type-raising. Type-raised categories often add options that do not yield a novel grouping. Giving them lower priority lets a raised category serve when needed without making it the default label for every span it can cover.

If no category spans the entire string, the algorithm tries shorter prefixes, beginning near the full length. As soon as it finds a prefix covered by a single category, it takes that category and continues on the remaining words. The resulting list is ordered from left to right. At the smallest scale, individual words provide coverage through their supertags. The paper’s algorithm therefore defines a label for a translation string even when the larger constituents available in the chart cannot cover it as a single unit.

The procedure is greedy. Its choice at the left boundary depends on the longest available single-category prefix there. It then treats that choice as settled while labeling the suffix. This follows the translation phrase’s own limits. Categories that require words beyond either end of the phrase may be present elsewhere in the sentence chart, but the portion returned by the procedure covers exactly the words of the extracted translation. This is important when the decoder later uses the phrase in a new sentence, since the score can be computed from the annotations carried by that phrase.

The Urdu–English training statistics describe what this procedure does to the phrase inventory in practice. A single category covers the English side in 69% of the phrase training instances. Across those instances, the mean English phrase length is 2.8 wds, the mean span covered by an individual CCG label is 2.3 wds, and the mean number of labels for an English phrase is 1.4. The maximum translation phrase length is 7 words. The coverage figure measures complete spans among extracted training instances. Longer units exist in the full-sentence charts, while the phrase extraction setting determines which stretches actually contribute to these statistics.

The supertag comparison uses the lexical categories supplied by the C&C supertagger. A word-tagged sentence can be treated as a chart with entries confined to individual words. The same general idea of representing a phrase by its label sequence then applies to both systems. With a full chart, a category can replace a sequence of lexical tags when the words combine into a constituent of that type. With lexical tags alone, the phrase keeps the full ordered sequence of its word categories.

How an orientation is assigned

A reordering score concerns the relationship between the source positions of successive translations. Consider a phrase that the decoder is adding to the English output and the source phrase it translated immediately before this one. If the two source spans touch in the same order, the current orientation is monotone. If they touch with their source order reversed, the orientation is swap. If neither condition holds, it is discontinuous. The initials M, S, and D give the name MSD to this inventory.

The paper writes a source phrase as fᵢ…ⱼ and its English translation as eₖ…ₗ. f denotes the source string and e the English string. The indices i and j locate the left and right boundaries of the source phrase, while k and l locate the corresponding boundaries in English. The ellipsis connects the endpoints of a span. The indices sit between words, so two spans that touch share a boundary. For a previously translated source span fᵤ…ᵥ, u and v denote its left and right boundaries.

O = M if v = i, S if u = j, and D otherwise.

O is the orientation of the current pair relative to the preceding translation. M means monotone, S means swap, and D means discontinuous. The first = assigns the orientation. The other equality signs express the boundary tests. When v equals i, the previous source span ends where the current one begins. When u equals j, the previous source span begins where the current one ends. The final case includes all other arrangements. This is the paper’s definition for comparison with the preceding translation. A bidirectional system also scores orientation in relation to the translation that follows. The configurations in the experiments use bidirectional MSD wherever an orientation score is present.

The lexicalized version stores the orientation probabilities for particular bilingual phrase pairs.

p(O | fᵢ…ⱼ, eₖ…ₗ)

p denotes a probability distribution and O ranges over the orientation classes. The vertical bar means that the distribution is conditioned on the items to its right. fᵢ…ⱼ denotes the source span with boundaries i and j, and eₖ…ₗ denotes the English span with boundaries k and l. In the probability, the spans contribute their word strings. The comma separates the source and target items that jointly identify the phrase pair.

The decoder can inspect its current sequence of chosen source spans directly. Orientation training has a different starting point. The word alignment of a bilingual sentence does not pick a single sequence of translation phrases. Several neighboring spans may be consistent with it. The extraction procedure supplies the evidence for tallying orientations before there is an actual decoder hypothesis.

The paper illustrates the consequences with hoffe and hope. A word-based extractor sees a discontinuity in the alignment points for the following orientation. A phrase-based extractor can look for a compatible neighboring phrase and find one that includes the German comma with the next word. At the phrase level the two spans can meet, so that procedure can tally a monotone orientation. The observing unit determines whether the material between aligned words counts as a gap.

For the label-based score, the paper gives the following rule in terms of neighboring phrase pairs in the alignment grid.

O = M if (fₐ…ᵢ, eᵦ…ₖ) exists; otherwise S if (fⱼ…ₚ, eₗ…ₘ) exists; otherwise D.

O, M, S, and D have their orientation meanings. In each pair of parentheses, the comma separates the proposed source and English neighbors. The letters a and b give the outer left boundaries of the first neighbor, which reaches the current pair’s left boundaries i and k. The letters p and m give the outer right boundaries of the second neighbor, which starts at the current pair’s right boundaries j and l. The ellipses denote spans, and the semicolons distinguish branches of the rule. Existence means that the proposed phrase pair is present as a compatible pair in the alignment grid. The written rule gives priority to the M test.

There is an ambiguity in this part of the method as written. The neighbor shown in the paper’s S test starts at the right boundary of the current phrase on both sides. Read as a following pair, the displayed spans are adjacent in the same direction. The preceding-phrase definition of swap instead requires reverse order on the source side. The paper’s worked contrast between word-based and phrase-based extraction establishes why the choice of evidence matters. The written boundary test leaves some uncertainty about the exact swap extraction procedure for replication.

What the grammatical score conditions on

The central change is to pool orientations under a representation of the English phrase. That representation may be a single category, a sequence derived from the chart, or a sequence of lexical supertags in the comparison condition. The authors use it in place of the bilingual string pair when addressing the syntactic reordering statistics.

p(O | LAB(e))

p is the orientation probability distribution, O is the orientation whose probability is requested, and | means “given.” LAB is the function that returns the category or sequence assigned to a phrase. The parentheses enclose its input, e, the English translation string. Its label is assigned in the context of a sentence during training, and the retained annotations supply possible labels during decoding.

The English-side restriction is deliberate. When a particular source string strongly predicts its English translation, including the source wording in the probability key would preserve much of the specificity of a lexicalized system. Replacing the whole pair with the target label means that different source expressions may contribute whenever their English translations share the same category representation. Source information is still present in the alignment from which the orientation is derived and in the translation pair used by the decoder. The abstraction is in how the added orientation statistics are grouped.

This change can bring together phrases of different lengths. If short and long English strings both act as functions that require the same kind of expression, their categories can be identical. Their observations then contribute to the same orientation counts. A word-by-word representation can share evidence for strings whose full supertag sequences coincide. The chart opens a further route to sharing by combining the words before the comparison is made.

A category can also carry distinctions that the decoder would lose if it merely treated all fragments of a given length alike. The paper’s that it example has a category for a clause missing a verb phrase on the right. This represents the grammatical work done by the words already present and what the decoder can supply next. The orientation distribution remains statistical. It summarizes what the training data suggest about source order for translations with that label, without imposing a rule that every occurrence must have the same orientation.

From training occurrences to decoder features

The labels first come from phrase occurrences in particular aligned sentences. One bilingual string pair can recur in several places and receive different annotations. Some differences may reflect legitimate grammatical variation, while others may come from errors in tagging or parsing. The authors keep the baseline phrase table and attach the eligible annotations to its entries. They use the relative frequency of each annotation for the phrase pair to filter the candidates.

{ LAB[f⇔e] | rf(LAB[f⇔e]) ≥ β · rf(LAB*[f⇔e]) }

The braces enclose the set of annotations to retain. f is the source phrase and e its English translation. ⇔ indicates their pairing. The square brackets identify the pair being annotated. LAB[f⇔e] is a candidate annotation for it, with a sequence of multiple categories treated as a single candidate. LAB*[f⇔e] is the most frequent annotation for that pair, identified by *. The rf function returns the annotation’s relative frequency for the pair, and its parentheses enclose the argument. The vertical bar means “such that.” The ≥ sign gives the retention cutoff, · denotes multiplication, and β is the fraction of the leading annotation’s frequency required for a candidate to survive. The authors set β to 0.5 in the CCG experiments.

The cutoff is relative to the strongest candidate for the particular pair. The leading annotation can survive with other candidates if their observed frequencies warrant it. This gives the decoder access to alternatives while filtering labels with much weaker support. The paper compares the rule with a related strategy in supertagging, with the important difference that here it is applied to accumulated phrase-table annotations. It is a selection of annotation candidates, separate from the tallying of orientations under those annotations.

Moses can carry word-level factors in phrase-based mode. To store multiword categories in that format, the authors mark the beginning, interior and end of a shared category on the words within its span. The English translation of le vélo rouge illustrates the encoding. Each word in the red bike can carry a factor that identifies its place in a common noun phrase annotation. A change to the decoder reunites the marked factors before it looks up the orientation.

X( … X+ … X) → X

X stands for the shared CCG category. The opening and closing parentheses are bookkeeping characters attached to the factors at the beginning and end of the span. The + marks an interior factor. The ellipses allow space for intervening factors with the same shared category. The arrow indicates the collapse into a single category before lookup. For the bicycle example, X is NP, the category of a noun phrase.

This small interface change lets the decoder use a multiword category with an existing word-factor representation. The categories come from the annotations available for the candidate phrase. The full English chart is a training resource for assigning those annotations, while the decoder computes orientation scores using the reassembled labels. In the chart-based experiment, the system keeps the standard lexicalized reordering score as well. The decoder can thus combine evidence about the particular phrase pair with evidence pooled across phrases with similar grammatical behavior.

Experiments and results

Training, tuning and test data

The authors evaluate translation from Urdu into English. Urdu’s canonical order places the verb after its object or objects. English ordinarily puts the verb before the object. The material within the clause can therefore separate the places where verbs and objects need to appear in the two languages. A useful reordering feature needs to handle both the change in order and the range of distances at which it arises.

The bilingual training resource was the OpenMT 2008 Urdu–English training set. It contained 88 thousand sentence-level translations and a dictionary with ≈114 thousand word and phrase translations. The authors split the OpenMT 2008 evaluation data into a development portion and a development test portion. Each held ≈900 sentences, and they balanced the portions by approximate token count. The full OpenMT 2009 Urdu–English evaluation set served as the blind test. Tuning and test items in the evaluation sets had 4 reference translations each. In the results, the development test is labeled NIST-08 and the blind test NIST-09.

The text was normalized and tokenized, and the English text was lower-cased for the main experiments. English tokenization followed Penn Treebank III conventions, and Urdu used a dedicated script. Moses provided the phrase-based decoder, with IRST LM used for word-sequence scoring. For the English language model, the authors trained on deduplicated WMT 2011 monolingual text from NewsCrawl, News Commentary and Europarl. They also trained on the English sentences from the bilingual training corpus, excluding the dictionary. They combined the resulting estimates by selecting an interpolation that optimized perplexity on the tuning set. Perplexity here measures how well the combined estimates predict the tuning text.

The authors tuned the weights of system components using minimum error-rate training, with three tuning runs for each condition. All systems used a distortion limit of 15 words in tuning and testing. This is a search constraint on the source jumps considered by the decoder. They also tested each system with and without 200-best minimum Bayes-risk selection, abbreviated MBR. In this setting MBR chooses a translation from the decoder’s candidate list by weighing expected loss with respect to the candidate alternatives. The paper’s reference for this selection method is Minimum Bayes-Risk Decoding for Statistical Machine Translation.

The comparisons use these configurations.

  • LR is the standard phrase-based system with lexicalized bidirectional MSD reordering trained by word-based extraction. It serves as the main reference point.
  • No-LR relies on the distance-based distortion component for reordering. Its scores show how the decoder performs when it lacks a learned orientation feature.
  • ST+LR adds English-side CCG supertag reordering to LR. Its syntactic conditioning key is a sequence of word-level categories.
  • CCG+LR adds English-side reordering based on chart-derived labels to LR. Its key can contain categories that span multiple words.

The paper reports case-insensitive BLEU-4, METEOR and TER, together with a hypothesis-to-reference length ratio. BLEU-4 and METEOR reward matches with the reference translations, and higher scores are preferred under both metrics. Translation edit rate, or TER, measures the editing needed to bring the output into agreement with a reference, so lower is better. The length statistic describes how much text the system produced relative to the references. It helps interpret overlapping measures such as BLEU, which includes a penalty for short output.

Development test results

On the NIST-08 development test, CCG+LR achieved the highest BLEU-4 and METEOR scores in both selection conditions. With MBR, its BLEU-4 was 25.6, compared with 25.3 for LR and 24.5 for ST+LR. Without MBR the corresponding scores were 25.2 for CCG+LR, 24.7 for LR and 24.2 for ST+LR. No-LR was behind all three, with 22.5 under MBR and 22.1 without it. The chart-based contribution is visible whether the results are read within either selection condition or across them. The baseline’s BLEU-4 also responds to the choice of final hypothesis selector.

Urdu–English configurations on NIST-08 development test BLEU-4 without MBR

The chart-derived system leads while distance-based reordering alone trails.

Urdu–English configurations on NIST-08 development test BLEU-4 without MBRNo-LR: 22.1No-LR22.1ST+LR: 24.2ST+LR24.2LR: 24.7LR24.7CCG+LR (this paper): 25.2CCG+LR (this paper)25.2
The numbers
System or settingBLEU-4
No-LR22.1
ST+LR24.2
LR24.7
CCG+LR (this paper)25.2

The development test METEOR figures favor the chart-derived approach, with 28.7 under MBR and 28.5 without it. LR obtained 28.3 and 28.2 under those respective conditions. ST+LR reached 28.4 and 28.3. That comparison accordingly puts the supertag condition slightly ahead of LR on METEOR, even though its BLEU-4 is lower. The metric choice matters to the interpretation of what the word-level categories contribute.

On development TER, LR led. With MBR, LR scored 64.2 and CCG+LR scored 64.3. Without MBR, LR scored 64.4 and CCG+LR scored 64.5. ST+LR had 64.6 with MBR and 64.5 without it, while No-LR had 66.3 in both conditions. This is a case where the chart-derived system’s improved reference-match scores coexist with a slightly higher edit rate than the lexical baseline’s. For length, CCG+LR recorded 98.7 with MBR and 98.1 without it, compared with 98.2 and 97.6 for LR. The development results support a benefit on particular translation metrics while leaving the size and direction of the difference dependent on what is measured.

Blind test results

Without MBR, CCG+LR had the highest NIST-09 BLEU-4 at 29.2. LR scored 28.8 and ST+LR scored 28.2. No-LR scored 25.8. With MBR, CCG+LR and LR both scored 29.1, and ST+LR scored 28.5. No-LR scored 26.2. Thus the lexical baseline catches up to the chart-derived system on the reported BLEU-4 score when MBR is used. The chart-derived system’s own BLEU-4 is numerically higher in the condition without that selection step.

Urdu–English configurations on NIST-09 blind test BLEU-4 without MBR

The chart-derived system has the highest BLEU score on the blind test with ordinary hypothesis selection.

Urdu–English configurations on NIST-09 blind test BLEU-4 without MBRNo-LR: 25.8No-LR25.8ST+LR: 28.2ST+LR28.2LR: 28.8LR28.8CCG+LR (this paper): 29.2CCG+LR (this paper)29.2
The numbers
System or settingBLEU-4
No-LR25.8
ST+LR28.2
LR28.8
CCG+LR (this paper)29.2

The blind-test METEOR scores provide a different comparison. CCG+LR scored 30.1 with MBR and 30.2 without it. LR scored 30.0 with MBR and 28.8 without it. ST+LR scored 30.0 in both conditions, while No-LR scored 29.2 with MBR and 29.1 without it. The chart-based configuration without MBR thus has a higher METEOR score than either version of LR or ST+LR. The effect of hypothesis selection also varies by system. For instance, ST+LR’s reported METEOR score stays the same while LR’s changes.

CCG+LR also had the lowest blind-test TER in both conditions. With MBR it scored 59.5, compared with 60.0 for LR and 60.3 for ST+LR. Without MBR its TER was 59.8, compared with 60.1 for LR and 60.2 for ST+LR. No-LR obtained 61.9 with MBR and 62.0 without it. The blind-test improvement on this metric complements the METEOR results. Under MBR, it also provides a distinction between the systems that share the same BLEU-4.

Urdu–English configurations on NIST-09 blind test TER with MBR

The chart-derived system needs the fewest edits by the reported measure.

Urdu–English configurations on NIST-09 blind test TER with MBRNo-LR: 61.9No-LR61.9ST+LR: 60.3ST+LR60.3LR: 60.0LR60.0CCG+LR (this paper): 59.5CCG+LR (this paper)59.5
The numbers
System or settingTER
No-LR61.9
ST+LR60.3
LR60.0
CCG+LR (this paper)59.5

The ratio reported for CCG+LR’s output length was 97.4 with MBR and 97.9 without it on NIST-09. LR recorded 98.2 and 97.8, respectively. ST+LR recorded 97.9 and 97.3. The authors suggest that the relatively short chart-derived output under MBR might contribute to its BLEU result through the metric’s brevity penalty. The table establishes the observed lengths and scores. The explanation is a possibility raised by their relationship.

The paper reports statistically significant improvements over the baseline systems and uses a confidence level of 95% or higher for results marked significant in its main comparison. The analysis accounts for variation across the three tuning runs for each system. This distinction matters because a numerical lead in the results table and a statistically established improvement are different claims. The equality at 29.1 on blind-test BLEU with MBR and the development TER result are part of the experimental record alongside the significant gains identified by the authors.

A cased comparison with the evaluation results

The paper also places a selected system beside results from the NIST OpenMT 2009 evaluation. That evaluation used cased references and accepted a single output for a submitted system. The authors therefore chose a tuned system based on performance on their development test and restored case to its translations. This creates a separate comparison with its own selection procedure and scoring convention.

The recasing system used the parallel corpus’s English sentence material, excluding the dictionary. A lower-cased version of each training string was paired with its original casing. The authors trained a phrase-based system on those pairs with reordering disabled and with a language score trained on cased text. They tuned on correspondingly prepared English tuning references. After recasing, they capitalized the opening token of each output where necessary. They then scored the translations using the official cased NIST BLEU scorer.

On the NIST-09 test, the selected chart-derived system scored 0.2734 on cased BLEU, and the baseline LR selected on the development test scored 0.2683. In the constrained-data results cited by the paper, the leading single system scored 0.312, with the next systems at 0.2395 and 0.2322 after excluding specified combination entries. The authors’ cased score lies between the leading and next listed scores. They present this as context for the level of performance, given the selection of individual tuned outputs and the differences in monolingual training data across systems.

What the ablations show

How much the decoder relies on learned orientation

The No-LR condition removes the lexicalized orientation feature from the ordinary phrase-based setup. The distance-based component still constrains and penalizes source movement. The result shows whether that remaining guidance is enough for the translations at issue. On both evaluation splits the distance-only condition obtains the lowest BLEU-4 among the tested configurations, with or without MBR. It also has the highest TER in each of those comparisons. In particular, its NIST-09 BLEU-4 of 26.2 under MBR falls below LR’s 29.1 under the same selector.

This comparison supports the need for learned preferences over changes in source order. The paper characterizes the distance-only decoder as strongly inclined to preserve source order. That is a poor general strategy for clauses whose verb and object have to trade their relative order in English. The comparison also shows that the chart-based improvement is built on a baseline with useful lexical reordering. The main question is how much additional grammatical abstraction helps when a decoder already knows the lexical preferences.

What changes when categories can cover several words

The ST+LR comparison gives both augmented systems access to English CCG information while retaining lexicalized reordering. In ST+LR, the conditioning sequence is built from the lexical categories of the words. In CCG+LR, the chart can replace that sequence with the category of the complete span or a shorter sequence of categories covering subspans. The paper can therefore test whether its way of combining grammatical information improves upon using rich tags alone.

The difference is visible on the NIST-09 test without MBR. ST+LR scored 28.2 on BLEU-4, CCG+LR scored 29.2, and the intervening lexical baseline score was 28.8. METEOR gives the supertag variant a stronger showing relative to LR in that condition, with 30.0 for ST+LR and 28.8 for LR. CCG+LR led both with 30.2. This helps specify the finding. Lexical CCG categories can contribute useful evidence on a metric, while the chart representation gives the stronger overall comparison in the systems tested.

The paper explains a possible reason with the way for an and the way for an early. The two strings have different lengths and their ordered supertag sequences differ. The longer one adds a lexical modifier category. With a sequence of word categories as the lookup key, the two strings receive separate entries, even though both still need nominal material to follow. Using the chart, both can take the same category.

NP/N

NP stands for a noun phrase and N for a nominal category. The / describes a rightward argument, so the category denotes material that can form an NP upon taking an N on its right. The function category preserves the same description of what the two strings still need, even though they contain different numbers of words. Where the chart can combine the words in this way, either string can contribute a training observation to the same orientation distribution.

The authors report that the supertag reordering table had more than twice as many entries as the chart-derived table. This is consistent with the two representations spreading observations differently. Word sequences keep many surface distinctions alive through their lexical category sequences. Multiword labels can eliminate some of those distinctions when the combined category is identical. The existence of more entries tells us that the keys fragment the observations more finely. It leaves open how much improvement is caused by additional observations per key and how much by a better grammatical description of the phrase.

The authors accordingly offer fragmentation as a possible explanation for the underperformance of ST+LR. The comparison does not fix a shared inventory of orientation keys and add derivational information independently. The representations change together with the set of observations that can meet under a key. The results are evidence for the chart-derived feature as implemented and a reason to take the proposed explanation seriously, with the individual mechanisms still to be isolated.

What the final selector changes

Running each configuration with and without MBR tests sensitivity to the final selection procedure. It matters because a difference between reordering features can affect which candidates are generated and how highly they are scored, while the selection procedure can change which candidate the evaluator sees. With a stronger output choice from the available list, the baseline may recover some of the advantage observed when the decoder uses its ordinary selection.

That happens in the NIST-09 BLEU-4 comparison. CCG+LR leads LR without MBR, and the two tie with it. On blind-test TER and METEOR, the chart-based version retains a numerical lead in the MBR condition. Thus the chart effect is neither confined to a single final selector nor completely invariant to that selector. The controlled comparison is most useful when read one metric at a time and with MBR matched across systems.

The comparison cannot determine whether MBR and the syntactic feature give higher scores to the same translations for the same reasons. The reported outcomes are measurements of the selected output. Establishing agreement between the scoring methods would require evidence about the candidate lists and the candidates chosen from them. The paper uses the two selection settings to establish how the system-level results behave under a familiar alternative decoding procedure.

What the translation example contributes

For its qualitative discussion, the paper takes development-test outputs from median-performing tuned versions of CCG+LR and LR. Its example involves a report about Abdullah, an accusation, a plan and blasts in Britain. The candidate outputs and references contain overlapping material, giving the reader a way to inspect what the ordering does to the report. An English sequence can make the accusation and the plan recognizable by bringing the auxiliary, predicate and the following material into an intelligible arrangement.

The example makes visible a kind of change that an aggregate score alone cannot identify. Much of the necessary wording is already available in the phrase inventory. The arrangement determines whether those pieces express a recognizable sentence. Lexical problems also remain. The discussion concerns improved assembly of the available material rather than full agreement with the references word for word. It illustrates how a substantial revision to source order can carry grammatical value even when there is further work to do on word choice.

The example complements the quantitative comparisons at a different scale. The development and blind-test scores describe entire collections of outputs. The example lets the reader see one instance in which the change plausibly reflects the motivation for the feature. Its selection from median-performing tuned systems gives context for the illustrations, while the paper does not use it to estimate how often the same kind of repair occurs.

Limitations

Limits and open questions the authors identify

The authors leave the cause of the supertag system’s poor relative performance open. They identify a plausible mechanism, the division of statistics among many sequences that a chart can combine, and provide both a phrase example and the relative size of the reordering tables. Neither observation isolates that mechanism experimentally. The comparison between chart labels and supertag sequences measures the total effect of changing the representation. A specific explanation of the effect remains a hypothesis.

They also flag hypothesis length as a possible reason for the chart system’s NIST-09 BLEU behavior. The cased and case-insensitive comparisons both use reference-based scoring, but the length discussion concerns the reported case-insensitive length ratios and the possible brevity penalty. Shorter output in one condition is consistent with the hypothesis. A test holding length fixed or inspecting where words were lost would address it more directly. The authors report the relationship as tentative.

The comparison with the official NIST results has the limits the authors give it. It uses an individually selected tuned output, and competing systems may have different monolingual data. The authors regard the experiment with repeated tuning as the basis for judging their own manipulations. The cased figures provide a point of comparison with other systems on the same evaluation scale. They cannot establish that the ordering method alone explains the placement among those scores.

The authors also identify a larger design space for collecting orientations. They propose checking whether hierarchical extraction or reordering graphs would make the lexicalized or syntactic features stronger. Such methods could change what counts as evidence for an orientation. The current results establish how the labels behave with the procedures used here. The performance of the proposed combinations remains unmeasured.

Limits visible in the experimental setup

All of the quantitative translation evidence comes from Urdu into English. The large difference in canonical verb and object placement makes this an informative test of the motivation. German–English examples clarify the grammatical mechanism, but they serve as illustrations rather than evaluation runs for that language pair. The study also depends on English-side CCG analyses and therefore gives direct evidence for a setup with English as the target. Applying the method in the reverse direction would require an appropriate analysis of Urdu target text and a new evaluation.

The labeling procedure expands the parser’s chosen analysis. This creates alternatives for grouping its words while preserving the relationships established by that analysis. The procedure can help a useful bracket become visible, and the frequency filter can reduce the influence of some infrequent phrase annotations. If the original analysis assigns an incorrect dependency, varying its derivation does not itself supply the correct dependency structure. The paper does not report an independent check of parse accuracy for the English translations in the training corpus.

Likewise, the 69% single-label statistic measures availability of an entire-span category. A category’s availability does not verify its correctness or show that the associated probability helped select a better translation. The measure depends on phrase boundaries, the training text and the parser’s analyses. The maximum of 7 words in the extraction setup helps define that population. Coverage computed over longer spans or over complete decoder outputs would answer a different question.

The comparison with ST+LR gives evidence for the use of chart-derived labels, but several design choices remain bundled together. The chart system uses analyses from the parser, expanded derivations and a greedy span-covering procedure. The supertag system uses output from the C&C supertagger and its word-level representation. The paper does not separately vary the use of alternative derivations against a normal-form chart, the greediness of the covering procedure, or the choice of annotation cutoff. It also gives no chart-based condition that removes LR while keeping the syntactic orientation feature in place. The experiments support adding the feature to an existing decoder, with its possible standalone value still open.

The source distance limit of 15 words and the tuned combination of component scores bound the decoder behavior observed in the study. A feature trained to favor a particular orientation can only affect hypotheses the search can consider. The measurements provide evidence under the paper’s shared search setting, without identifying how the gains would change under different limits. The paper also gives little basis for estimating the cost of expanding the training charts, attaching annotations or doing the additional lookups. The decoder changes are described in terms of their interface, rather than measured resource usage.

Finally, BLEU-4, METEOR and TER cover several aspects of similarity to the references. They cannot assign all changes in score to grammatical word order. The developmental example is useful evidence of what an improved output can look like, but it does not supply a systematic human assessment of fluency or a count of repaired structures. The strongest conclusion is about measured translation quality in the specified system and language direction, with a qualitative illustration of the kind of improvement the authors sought.

What came after

No later citing work is available to document a follow-up to the method. The authors’ conclusion identifies directions they wanted to explore. One was to use the same English categories while gathering orientation evidence from larger groups of phrases or graphs of compatible phrase pairs. The label would still say what kind of English fragment had been translated. A richer extraction procedure would change which surrounding configurations counted as support for its ordering preferences.

The authors also proposed using their span categories in synchronous grammar rules. Such rules describe corresponding pieces of source and target structure. A chart-derived category could describe a target piece that crosses a boundary in a more conventional analysis, giving the rule an explicit account of how that piece can combine. The proposal covers rules that include particular words and rules that pool over them. This would move the labels from a score added to phrase-based decoding into the representation of the translation rules themselves. The paper establishes the added-score use and leaves both proposed extensions for future experiments.

Cite

Cite as Dennis Nolan Mehay and Christopher Hardie Brew. 2012. CCG Syntactic Reordering Models for Phrase-based Machine Translation. Proceedings of the Seventh Workshop on Statistical Machine Translation.

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

@inproceedings{mehay2012ccg,
  title = {{CCG Syntactic Reordering Models for Phrase-based Machine Translation}},
  author = {Dennis Nolan Mehay and Christopher Hardie Brew},
  booktitle = {Proceedings of the Seventh Workshop on Statistical Machine Translation},
  year = {2012},
  url = {https://aclanthology.org/W12-3126/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/mehay-2012-ccg-syntactic-reordering-models-phrase/