Elamur Research

Syntax-based language models for statistical machine translation

Paper · 2003 · Eugene Charniak, Kevin Knight and Kenji Yamada

Summary

A translation can convey the right information and still need someone to rewrite it. It can also read smoothly while saying the wrong thing. Charniak, Knight and Yamada investigate both outcomes in statistical machine translation. They ask whether a language model that scores the grammatical structure of an English sentence can help a Chinese-to-English system choose better translations. Their starting system already uses English phrase structure to learn how English and Chinese correspond. At decoding time, however, it judges English wording by looking at short sequences of words. The authors give the system a way to judge how the phrases of a candidate sentence fit together.

For an input in Chinese, a first pass constructs a shared representation of many possible English trees. A tree describes a sentence by grouping its words into phrases and showing how those phrases combine. Many trees share the same parts, so the decoder can store their alternatives together in a structure called a forest. Even with this shared representation, the search can be too large for the more detailed English scorer. The authors filter the forest using both a preliminary estimate of grammatical plausibility and evidence from the Chinese sentence. They then apply a more detailed grammar that takes the words heading particular phrases into account.

The evaluation covers 347 previously unseen Chinese newswire sentences. The authors distinguish grammatical English from preservation of meaning and count how often the same output meets both criteria. The new system produces 45 such translations, compared with 26 for a baseline based on IBM Model 4. It produces 45% more translations meeting both criteria than the earlier system that uses the same syntax-based translation component with a word trigram. The two systems that share that component preserve meaning equally frequently overall. Grammatical translations with incorrect meanings also become more common, and the new system fails to return an output on 14 sentences for which the standard word-sequence approach succeeds.

The gains therefore appear most clearly in the English form of the translations. The systems also have different successes. A retrospective selection that chooses among their outputs with knowledge of the evaluation judgments finds 77 translations that are both grammatical and faithful. That count gives a measure of how much the systems complement each other on this test. The paper does not supply an automatic way to make those choices.

Deep dive: Syntax-based language models for statistical machine translation

A study of how scoring English parse trees improves the grammar of Chinese-to-English translations, with separate judgments of grammar and meaning. · about 36 minutes to read

The problem and its context

Why judge the English sentence separately?

When a decoder translates a Chinese sentence into English, it must decide which English words to use and how to assemble them. These decisions interact. A group of words that looks promising as a translation of part of the source may be difficult to fit into a complete English sentence. Conversely, an ordinary English construction is valuable only if the words and relations it expresses make sense for that particular input. The paper approaches these demands through the noisy-channel formulation, which provides separate probability terms for the English candidate and for its relationship to the Chinese observation.

The name comes from imagining a channel that transforms an English sentence into a Chinese one. The decoder observes the Chinese and searches in the reverse direction, asking which hypothetical English original best accounts for it. This is an arrangement of probabilities. The actual task begins with Chinese, and the resulting English sentence need never have existed beforehand. A score for how probable the English is combines with a score for how readily that English could give rise to the observed Chinese. The first term can prefer an idiomatic construction. The second can favor candidates whose words and organization account for the source.

The division matters because each term has different evidence at its disposal. The English score can express preferences about the order and grouping of words independently of any particular Chinese sentence. The translation score can express the fact that a plausible English phrase is an unlikely explanation of this Chinese phrase. The decoder needs a search procedure that brings the two terms together. Defining the terms on paper leaves open how candidates are represented, how many are compared, and which partial candidates the system keeps while it builds a sentence.

The authors describe earlier systems in the IBM tradition as largely word-based. Their account emphasizes word correspondences and rearrangement. That gives a system mechanisms for choosing translations of words and placing them in a different order. A phrase-structure approach supplies another unit of organization. A verb and its associated phrases, for instance, can be represented as children of a common node. A change in their order can then be expressed as a change to the arrangement of the children, while the internal organization of each child remains available to the grammar.

The earlier system already had trees

The paper situates itself among approaches that were beginning to use syntactic phrases for translation. Its immediate starting point is the Yamada–Knight system. During training, that system pairs Chinese strings with English sentences that have already undergone parsing. Parsing identifies a possible grammatical structure for a sentence. Here it supplies a tree in which words are leaves, and the nodes above them show how words form phrases and how the phrases combine. The Chinese side enters as an ordered string. The training representation therefore gives the English and Chinese sides different roles.

This arrangement lets the translation component describe a correspondence in terms of operations on the English tree. It can learn, for example, which rearrangements of children help explain Chinese word order. It also has ways to insert Chinese material and translate words or phrases. The English tree serves as an organized starting point for these operations. In the task the authors report here, decoding runs the other way and uses the observed Chinese words to constrain the English trees it can reconstruct.

The introduction gives a reason to retain this architecture. The authors say the preceding syntax-based system had already outperformed IBM Model 5 in Chinese-to-English translation. That is their account of the earlier work. The IBM comparison in the new evaluation has a different configuration, based on IBM Model 4. The distinction matters because the paper uses the earlier result to motivate its choice of starting point, whereas the new experiment compares complete decoding systems under the conditions it describes.

The preceding decoder already used the tree representation when it searched for translations. Its English probability term, however, came from a trigram, a type of n-gram that uses short runs of words. When scoring an English word in a sequence, a word trigram conditions that score on the two preceding words. This gives it a direct way to reward customary nearby combinations. An English phrase can receive a useful score through the words it puts next to each other, even if the scorer has no representation of the phrase as a grammatical unit.

A tree makes other evidence accessible. A word that characterizes a phrase can remain relevant to another phrase even when modifiers or other material intervene in the sentence. A trigram accounts for the intervening material by moving its local window through the sequence. A tree-based score can also make the relation between the phrases part of the calculation. The gap identified by the authors is that the earlier decoder builds trees while its English score looks only at the order of the resulting words. A Decoder for Syntax-based Statistical MT

What an English parser could contribute

The work brings an existing line of English parsing to bear on that gap. The parser had been designed to propose many grammatical analyses cheaply and then judge a surviving set with a richer grammar. An associated language-modeling scheme uses information about the words that head phrases. A head is a word that gives a phrase much of its grammatical character. A noun can fill that role in a noun phrase, for instance. Two phrases with the same category can consequently receive different scores based on the heads they contain. A Maximum-Entropy-Inspired Parser and Immediate-Head Parsing for Language Models

The proposal is to reuse the richer English score and part of the parser's search machinery. There is a practical reason the fit looks promising. The translation decoder already searches through structures that can represent English phrases and their combinations. Its work can supply the starting alternatives for the English scorer. The ordinary parser, though, receives a known English sentence and asks how to analyze it. The translation system receives a known Chinese sentence and must decide which English words to use, where to put them, and how to analyze the result. The difference changes what the parser can assume about word positions and which evidence it should use to discard an alternative.

The method, step by step

From a Chinese sentence to a forest of English candidates

The easiest way to follow the decoder is to separate the direction of the learned translation operations from the direction of the search. During training, the translation component is given English trees paired with Chinese sentences. The operations explain how an English tree could yield a Chinese string. During decoding, the Chinese string is already fixed. The system works through the operations in reverse to find English trees that could explain it. The search can leave competing English words and phrases unresolved until a later scoring pass.

How the decoder selects an English translation

The steps in order.

How the decoder selects an English translationStep 1: Read the Chinese sentence1. Read the Chinese sentenceStep 2: Apply the extended translation grammar bottom up2. Apply the extended translation grammar bottom upStep 3: Pack alternative English trees into a forest3. Pack alternative English trees into a forestStep 4: Score edges with grammar and translation evidence4. Score edges with grammar and translation evidenceStep 5: Prune edges with low scores5. Prune edges with low scoresStep 6: Rescore surviving trees with the lexicalized grammar6. Rescore surviving trees with the lexicalized grammarStep 7: Read the English words from the selected tree7. Read the English words from the selected tree

The tree representation is important even before the English scorer enters. Imagine a verb phrase with children that represent a verb, a noun phrase and a prepositional phrase. The translation grammar can consider an arrangement in which the phrases precede the verb. When that arrangement matches the Chinese input, the decoder retains enough information to restore the original English arrangement. This way of recording the relation lets the search use Chinese order as evidence while keeping track of which English construction each alternative would produce.

A forest stores the alternatives by sharing structure. A candidate noun phrase that can take part in several larger constructions need only be represented once, with different larger structures able to refer to it. An edge records a particular way of expanding a constituent into its parts. There can be several edges for a constituent because the constituent might have several possible expansions. A complete tree selects compatible edges through the structure. A forest can therefore represent many more complete trees than would be practical to list separately.

The proposed decoder first uses translation scores to construct its forest. It then uses preliminary grammatical evidence together with translation evidence to thin the forest. The more expensive grammar evaluates the surviving alternatives. The two stages manage different constraints. The first needs to explore enough possibilities to give the English scorer room to make a useful choice. The second needs a small enough forest to examine the surviving edges with a more detailed account of English.

The noisy-channel objective

The paper first writes the decoder's objective at the sentence level.

argmax_E p(E | F) = argmax_E p(E) p(F | E)

Here E is a candidate English sentence and F is the observed Chinese sentence. The notation p denotes probability and | means “given.” The expression argmax_E returns the English candidate that gives the expression after it its highest value. Juxtaposition on the right denotes multiplication. For a particular input, the probability of observing F is common to every candidate. The equality is between the maximizing choices, which allows the decoder to use the product on the right for ranking.

The method then represents the English sentence as the words of a tree. The same sequence of words can have more than one grammatical analysis. At the level of the probability model, each analysis can give the sentence a different way to account for the source. The paper expresses the resulting English-sentence probability as a sum over possible trees.

p(E | F) ∝ ∑_π p(E, π) p(F | E, π)

The symbol π stands for an English parse tree. ∑_π adds the contributions of the alternative trees. p(E, π) is the joint probability of the English words E and the tree π. p(F | E, π) is the probability of the Chinese sentence F conditional on that English sentence and its tree. The proportionality sign ∝ indicates that, for a fixed F, the expressions differ by a common normalization factor. The comma groups variables that are considered together.

When a tree already contains the English words, it determines its yield, the sequence of words obtained by reading its leaves in order. It is then possible to state the same objective with the restriction on allowable trees made explicit.

p(E | F) ∝ ∑_{π ∈ Π} p(π) p(F | π)

Π is the set of trees whose yield is E, π is a member of that set, and ∈ means “belongs to.” The summation ranges over those members. p(π) assigns a probability to an English tree, including its words, and p(F | π) assigns a probability to the observed Chinese sentence given that tree. As above, p(E | F) is the conditional probability of the English sentence and ∝ leaves the common normalization implicit.

This formulation clarifies what the syntax-based English component scores. It can distinguish two English trees even if their leaves give the same words in the same order. It can also compare trees whose leaves give different English sentences. The sentence-level sum describes how probabilities for multiple analyses can contribute to the probability of one English string. The implementation described later in the paper searches a pruned forest and selects a tree. The sum is the motivation for the scoring method, while the tree search describes what the decoder actually does.

Learning how English structures correspond to Chinese strings

The base translation component uses three kinds of operations. It can reorder the children of an English node. It can optionally insert a word at a node. At the leaves it can translate English words into Chinese words. Reordering concerns how already represented pieces are arranged. Insertion allows the Chinese string to contain material with no direct English leaf counterpart. Lexical translation supplies correspondences at the word level. Each operation has an estimated probability.

The training procedure estimates the probabilities automatically from about 780,000 pairs of English parse trees and Chinese sentences. The English trees are produced by the Collins parser. An alignment is a particular assignment of translation operations that connects a tree to the observed Chinese words. There may be several assignments that make the connection. Under the model's independence assumptions, a particular alignment receives a product of operation probabilities, and the translation score adds contributions from the possible alignments.

p(F | π) = ∑_Θ ∏_{eᵏᵢ,ⱼ ∈ π} p(θ(eᵏᵢ,ⱼ) | eᵏᵢ,ⱼ)

F is the Chinese sentence, π is the English tree, and ∑_Θ sums over alignments Θ compatible with them. The symbol eᵏᵢ,ⱼ identifies an edge associated with a constituent of category k spanning positions i through j. θ(eᵏᵢ,ⱼ) denotes the translation operations assigned to that edge by the current alignment. The conditional p term gives the probability of those operations for that edge. The product sign ∏ multiplies the terms over the edges in the tree. This factorization expresses the assumption that an edge's operations can be scored without conditioning on operations elsewhere in the tree.

The system also allows direct phrase translation at a node. When the component takes this route, the English phrase under the node can correspond to a Chinese phrase as a unit. The correspondence need not be assembled by translating the individual English leaves, inserting words, and reordering the intermediate children for that phrase. This extension gives the same broad architecture two ways to account for a stretch of Chinese. One builds the correspondence from smaller operations. The other licenses a direct phrase correspondence through a node of the English tree.

Turning the operations into a decoding grammar

The decoder begins with a context-free grammar extracted from the parsed English training corpus. A rule in this grammar describes how a category expands into an ordered sequence of categories or words. A verb phrase, for instance, can contain a verb followed by a noun phrase and a prepositional phrase. The grammar records such expansions in English order. The translation component extends the grammar so it can recognize how the children might show up in the Chinese input.

For a rule that combines categories, the extended grammar includes reordered versions. A reordered rule keeps a reference to the English rule that licensed it. Other rules allow material to be inserted, and lexical rules connect English words to Chinese words. These additions make it possible for the bottom-up decoder to start at the observed Chinese words and assemble increasingly large constituents. Once it has obtained a decoded tree, it can drop the Chinese leaves and put the children back in their recorded English order. That gives it an English parse tree.

The preceding trigram decoder compares partial trees covering the same source span. A span is a consecutive stretch of the input, and a partial tree is a candidate analysis that covers that stretch. The decoder uses the English and translation scores to discard candidates based on a threshold. The decoder in this paper changes when English evidence enters the process. For the initial forest, the bottom-up search scores candidates with the translation component. The forest then passes to the adaptation of the English parser. That separation makes it possible to use an English score whose evidence differs from the local word sequences used by the earlier decoder.

A large forest remains a problem even when it shares substructures. The authors report that even a short source sentence can lead to millions of edges. Their solution takes advantage of the fact that the ordinary English parser already uses a cheap pass to estimate which edges merit a closer look. The translation decoder can reuse the underlying idea, provided the estimate also reflects the Chinese input.

Estimating which expansions are worth keeping

In ordinary English parsing, the first pass uses a probabilistic context-free grammar with no lexicalization of the phrase rules. “Probabilistic” means the rules have probabilities that can be combined to score analyses. In this preliminary grammar, a phrase rule is scored by its categories, without conditioning on the particular words heading the phrases. The second pass uses a lexicalized grammar, which brings those words into the calculation. Applying the detailed grammar to every edge from the first pass would be too expensive, so the parser estimates the probability of each edge with the simpler grammar.

The estimate uses inside and outside probabilities. An inside probability measures how readily a constituent can account for the words it covers. An outside probability measures the contribution of the surrounding sentence and structure when there is a place for that constituent. To evaluate an edge, the parser needs the outside contribution for the parent, the probability of the rule that expands it, and the inside contributions for the children. The result is normalized by the probability of the whole sentence.

p(eᵏᵢ,ⱼ | w₁,ₙ) =
  β(nᵏᵢ,ⱼ) p(rule(eᵏᵢ,ⱼ)) ∏_{nˡₐ,ᵦ ∈ rhs(eᵏᵢ,ⱼ)} α(nˡₐ,ᵦ) / p(w₁,ₙ)

eᵏᵢ,ⱼ is the particular expansion of parent constituent nᵏᵢ,ⱼ, whose category is k and whose span runs from position i through position j. w₁,ₙ is the full sequence of n words in the ordinary parsing case. The β function supplies the outside probability of the parent. rule(eᵏᵢ,ⱼ) is the grammar rule underlying the edge, and p(rule(eᵏᵢ,ⱼ)) is that rule's probability. rhs denotes the constituents on the rule's right-hand side. Each child nˡₐ,ᵦ has category l and spans positions a through b. The α function supplies its inside probability, with ∏ multiplying those probabilities across the children. The slash divides by p(w₁,ₙ), the probability assigned to the full word sequence.

For ordinary English parsing, the inside quantities can be accumulated as the parser builds larger structures out of smaller ones. The outside quantities depend on the larger structures in which a constituent can occur. The finished forest makes those structures available for a subsequent calculation. The resulting edge probability reflects the ways that this particular expansion can participate in analyses of the whole sentence under the simpler grammar. A locally ordinary expansion can receive a small value if it fits poorly into the surrounding analyses.

The paper gives 0.00001 as the threshold carried over from the parsing work. The authors report that in their earlier parsing experience this setting removes most edges without a discernible effect on parsing accuracy. The simple grammar and the detailed grammar can disagree. An unusual expansion under the former might be plausible once the latter sees the particular combination of words. The authors take their parsing experience as grounds for expecting the filter to behave similarly in translation, where they also have the translation score to help decide what to keep.

Adding evidence from the source sentence

The initial forest in translation comes from the bottom-up translation search. A pruning rule based only on English grammatical plausibility would miss information the system already has about the source. A common English expansion can still be a poor explanation for the Chinese words. Conversely, an expansion worth retaining may owe part of its support to a particularly plausible reordering or lexical correspondence. The paper motivates a combined edge score by substituting the translation operations into the tree-based objective. In that expression the tree prior remains a separate factor.

p(E | F) ∝ ∑_{π ∈ Π, Θ} p(π) ∏_{eᵏᵢ,ⱼ ∈ π} p(θ(eᵏᵢ,ⱼ) | eᵏᵢ,ⱼ)

Here E is the candidate English sentence, F is the observed Chinese sentence, and Π contains trees whose yield is E. The sum ranges over trees π in Π and possible translation alignments Θ for each tree. p(π) is the English prior for the tree. The product ranges over its edges eᵏᵢ,ⱼ, where k identifies the constituent category and i and j identify its span; each conditional term is the probability of the operations θ assigned to that edge in the current alignment. The proportionality sign again omits the normalization common to a fixed source.

Under the independence assumptions of the probabilistic context-free grammar, the tree's prior can itself be expressed as a product.

p(π) = ∏_{eᵏᵢ,ⱼ ∈ π} p(eᵏᵢ,ⱼ)

π is an English tree, eᵏᵢ,ⱼ is one of its edges, and ∈ restricts the product to the edges belonging to that tree. k denotes the constituent category and i and j indicate the span. p(eᵏᵢ,ⱼ) is the grammar probability for that expansion. In this expression it is a factor of the tree prior, distinct from the posterior edge probability calculated using inside and outside evidence.

The paper then puts the English rule probability and the translation-operation probability together at each edge.

p(E | F) ∝ ∑_{π ∈ Π, Θ} ∏_{eᵏᵢ,ⱼ ∈ π} p(eᵏᵢ,ⱼ) p(θ(eᵏᵢ,ⱼ) | eᵏᵢ,ⱼ)

E and F are the English candidate and Chinese source. ∑ covers trees π in the yield set Π and alignments Θ. The product ∏ covers the edges in each tree, with k indicating the category and i and j the span. At each edge eᵏᵢ,ⱼ, the first p term comes from the English grammar and the second gives the probability of the translation operations θ in the alignment. The | marks conditioning, and ∝ retains the same common normalization convention. Each summand thus reflects a complete way for an English tree to generate the Chinese input.

For pruning, the authors use the posterior-style grammatical estimate from the simpler grammar and multiply it by the edge's translation score. They denote the resulting figure of merit with F applied to an edge. That use of F names a scoring function rather than the Chinese sentence denoted by F in the decoding equations.

F(eᵢ) = p(eᵢ | w₀,ₙ) p(θ(i) | eᵢ)

F(eᵢ) is the pruning score for edge eᵢ, where i now identifies the edge. The term p(eᵢ | w₀,ₙ) uses the simple grammar's edge calculation, with w₀,ₙ the word-sequence notation carried over from the parsing expression. In the translation decoder, the forest on which that calculation operates comes from the Chinese input and contains alternative English yields. θ(i) denotes the translation operations associated with the edge, and p(θ(i) | eᵢ) is the probability supplied for them by the translation component. Multiplication gives a filter that depends on evidence from both sides.

The filtering score refers to an edge in its wider forest context through the inside and outside calculation. The translation factor then brings in what the forest records about how that expansion accounts for Chinese. The authors report that applying the filter reduces forests from millions of edges to tens of thousands. This leaves a set the second pass can evaluate with the lexicalized grammar. The English score in that pass uses the trihead scheme from the earlier language-modeling work. The paper relies on that work for the details of the scheme and concentrates here on the changes needed to let it operate over translation forests.

Adapting the parser to a different input

The English trees used by the translation component and the trees expected by the English scorer follow conventions from different parsers. Both descend from work with the Wall Street Journal portion of the Penn Treebank, a corpus with grammatical structure annotated in its sentences. A shared corpus makes many of the conventions compatible. It still leaves decisions about how to represent some structures. For this experiment the authors adapt the scorer to accept the translation component's trees. Punctuation is the important exception. They leave that representational discrepancy unresolved, with consequences for output coverage.

Phrase translation requires a different accommodation. A translation edge can deliver a multiword English phrase in a single expansion. The lexicalized scorer needs structure inside the phrase to use the same style of analysis it applies elsewhere. The authors handle this by parsing the words of the phrase as a constituent. Their example concerns a noun phrase naming a party committee, with an adjective followed by nouns. The phrase can enter the translation search as one unit and still be given internal grammatical structure for scoring. This preserves the direct phrase correspondence while giving the English component categories and words to work with.

The most fundamental change concerns positions. For ordinary parsing, the English words arrive in a fixed order. A parser can record where a phrase begins and ends by referring to that one sequence. In translation, two English candidates might render the same Chinese material with a phrase that has different lengths. An English noun phrase might include an article in one candidate and omit it in another. A candidate beginning with that noun phrase and continuing with a verb phrase can constrain their boundaries relative to each other even while their absolute positions in an English sentence remain unsettled.

The authors remove assumptions in the parser that required every endpoint to belong to one completely ordered set of English positions. The underlying chart-parsing approach, which records partial analyses so they can be reused in larger ones, can accommodate the weaker constraints. With this change, a forest can hold alternatives of different lengths and word orders until the scorer chooses a tree. Recovering the English words of that tree then gives the output string.

Experiments and results

The test set and the systems

The test set consists of 347 previously unseen Chinese newswire sentences. They range from 4 to 16 characters in the source. Both the domain and this length range matter for interpreting the result. Each input asks the system to produce a short English translation. The evaluation compares how often the competing systems can do that while preserving the Chinese meaning and producing grammatical English.

The paper distinguishes three configurations. YC is the proposed system. It combines the Yamada–Knight translation component with the syntax-based English score and the forest decoder. YT uses the same translation component with a standard word trigram and the earlier decoder. BT uses an IBM Model 4-based translation component, a standard word trigram and a greedy decoder. A greedy decoder makes a series of search choices using the scores available to it as it goes. BT therefore provides a comparison with a different form of translation and search. YT gives the closer comparison because it shares the translation component with YC.

The authors report that the systems were trained on the same data. That makes the training material a common background for the comparison. What each system does with that material differs. In particular, the syntax-based translation component works with an English tree for each training pair. For the purposes of interpreting the scores, the comparison of YC with YT tracks a change in how English is scored and when that score enters the search. The comparison with BT tracks the behavior of complete systems whose translation components also differ.

How the judgments work

The central evaluation assigns separate judgments for English syntax and meaning. An output can get both right, preserve the meaning while needing grammatical repair, sound grammatical while expressing the wrong meaning, or fail on both dimensions. A system can also return no output. That last outcome matters in this experiment because the grammatical scorer and forest decoder introduce processing requirements that the word trigram does not share.

The category that meets both criteria is the one the paper calls perfect. The term identifies a judgment in this evaluation. It captures the authors' practical interest in translations that can be accepted without grammatical rewriting or a correction to the message. Counting the syntax and meaning judgments separately shows how a system arrives at its total in this category. A system might produce more faithful translations, make a greater share of faithful translations grammatical, or exhibit some of both changes.

The paper also discusses the BLEU score, which evaluates overlap between system output and reference wording. The authors observe that the BLEU results vary and argue that local word choices can matter more to that score than the global accuracy highlighted by their judgments. This matters when systems choose very different constructions. A fluent rephrasing may share less surface wording with a reference than a less satisfactory output that happens to retain familiar pieces of it. The paper's main numerical claim rests on the separate grammatical and meaning judgments.

Where the gains appear

YC has 45 translations judged both grammatical and faithful, compared with 26 for BT on the 347-sentence test. Relative to YT, the paper reports 45% more such translations for YC. The authors attribute this increase to improved English syntax. Their comparison finds the same overall number of meaning-preserving translations for YC and YT. What changes is how often a translation with acceptable meaning also falls into the grammatical category.

Translations judged grammatical and faithful on the Chinese newswire test

The syntax-based decoder produces more translations satisfying both judgments than the IBM baseline.

Translations judged grammatical and faithful on the Chinese newswire testBT, IBM translation component with a word trigram: 26BT, IBM translation component with aword trigram26YC, syntax-based English scoring and forest decoding (this paper): 45YC, syntax-based English scoring andforest decoding (this paper)45
The numbers
System or settingTranslations
BT, IBM translation component with a word trigram26
YC, syntax-based English scoring and forest decoding (this paper)45

Grammaticality counted on its own shows a pronounced difference between YC and BT. YC has 112 grammatical translations and BT has 37. This count includes grammatical outputs whose meanings are wrong. The difference in the joint category therefore reflects only part of the change in the English produced by the systems. The paper regards the improvement in grammatical wording as most valuable when the underlying message is already acceptable. With a wrong meaning, improved English form leaves the central translation error unresolved.

Grammatical outputs on the Chinese newswire test

More outputs from the syntax-based decoder pass the grammaticality judgment.

Grammatical outputs on the Chinese newswire testBT, IBM translation component with a word trigram: 37BT, IBM translation component with aword trigram37YC, syntax-based English scoring and forest decoding (this paper): 112YC, syntax-based English scoring andforest decoding (this paper)112
The numbers
System or settingGrammatical translations
BT, IBM translation component with a word trigram37
YC, syntax-based English scoring and forest decoding (this paper)112

Meaning counted separately is much closer. YC has 115 translations judged semantically correct, compared with 113 for BT in the evaluation discussion. YC and YT have equal totals on meaning. These totals establish that the grammatical improvement does not have a matching increase in the number of sentences translated faithfully. They also leave room for changes in which sentences are translated faithfully, since two aggregate counts can be equal while the successes and failures differ across inputs.

Meaning-preserving outputs on the Chinese newswire test

The two systems are close in the number of translations that preserve the source meaning.

Meaning-preserving outputs on the Chinese newswire testBT, IBM translation component with a word trigram: 113BT, IBM translation component with aword trigram113YC, syntax-based English scoring and forest decoding (this paper): 115YC, syntax-based English scoring andforest decoding (this paper)115
The numbers
System or settingSemantically correct translations
BT, IBM translation component with a word trigram113
YC, syntax-based English scoring and forest decoding (this paper)115

The authors also report 164 YC outputs that fail both the grammatical and meaning judgments. They describe a reduction in this category relative to the IBM comparison. In the prose, the larger comparison count is assigned to a label that differs from the label in the list of evaluated systems. The joint success, grammaticality and meaning counts above use values for which the paper identifies YC and BT directly.

Coverage is a further outcome. YC returns no output on 14 sentences where the standard n-gram approach succeeds. The authors trace eight of those cases to punctuation. They also report that BT always returns an output. Output availability and output acceptability capture different aspects of the task. A translated sentence can be assessed for syntax and meaning. When an output is absent, the user has nothing to assess or revise. The stronger count of grammatical sentences thus comes with failures at the earlier step of producing a sentence.

What the example translations reveal

The examples allow the reader to see what the judgments are picking up. In one sentence about the globalization of production, the outputs differ in how they relate production to globalization. The IBM-based version turns one into a product of the other. The earlier tree-based system leaves the words in a fragment with a displaced demonstrative. The proposed decoder builds a recognizable English predication about the globalization of production. The case shows why word choice, arrangement and meaning have to be read together. Several useful words can survive while the relation between them changes.

In a sentence about Europe's importance, the two systems with the same translation component both produce readable English with a conventional expression for something being widely known. The IBM-based version gives disconnected material. Here the richer scorer and the trigram lead to broadly similar choices. The example helps explain why a system-level gain can coexist with substantial overlap in what the systems already do well. Where a short construction is familiar and the translation component supports a strong candidate, the trigram can already provide useful preferences.

A short attribution to Hu Jintao shows the opposite pattern. The IBM-based system and the earlier tree-based system recover the name and attribution. YC uses a title and surname and adds an extraneous word. The result is a concrete example of an easy-looking input on which the proposed method does worse. The grammatical search can give the decoder a richer way to choose among English candidates, but that does not guarantee that it will preserve a straightforward alternative when competing analyses are available.

The example concerning public expenditure illustrates a larger structural difference. The intended message identifies guaranteeing necessary expenditure as a leading financial task. One output makes expenditure itself appear to be responsible for ensuring something, leaving the relation between finances, expenditure and the task difficult to reconstruct. YC recovers a recognizable relation between the task and the guarantee. It still uses phrasing different from the human reference. This example shows why agreement in individual words is an incomplete account of the evaluation. How the sentence connects those words determines much of what it says.

A sentence concerning the central leadership and Tung Chee-hwa also draws attention to the distinction between readable wording and fidelity. The systems differ in which entity is satisfied, what that entity is satisfied with, and how the named person is represented. YC supplies a recognizable English clause for the attitude of the authorities. Its wording describes policy where the reference describes an administration. A sample like this allows a reader to see improvements in structural organization alongside remaining differences in meaning without having to infer either from word overlap alone.

What the ablations show

The closest comparison changes scoring and search together

The paper offers controlled system comparisons and qualitative analyses in place of a separate ablation for each part of the new decoder. The most informative comparison is between YT and YC. Both use the same tree-to-string translation component. In YT, a word trigram helps evaluate subtrees during bottom-up decoding. In YC, the bottom-up pass uses translation evidence to produce a forest. A grammar-sensitive pruning pass and a detailed English scoring pass then determine which tree survives as output.

This controls the translation component and exposes the effect of changing the English scoring and decoding procedure as a package. The result is specific. With equal totals for preservation of meaning, the new package places more translations in the category that is also grammatical. It also produces more grammatical outputs with incorrect meanings. Both observations are consistent with a change in which English structures win the search. The first shows where that preference yields a translation that satisfies both judgments. The second shows what the preference can achieve when the underlying content still goes wrong.

The comparison does not assign a separate contribution to the preliminary grammar, the translation factor in the pruning score, the lexicalized grammar, or the shift to forest-based search. Changing the order of scoring can change which partial trees survive. Changing the detailed English score can change which of those survivors wins. Either decision can affect the final output. An experiment holding the forest fixed and changing the final scorer would answer a narrower question than the one the reported YT–YC comparison answers.

The BT comparison broadens the picture. It shows how the proposed system fares against a word-based translation and decoding configuration with a trigram. YC's higher counts in the grammatical and joint categories, along with the close semantic totals, reinforce the empirical distinction between English form and preserved meaning. Because BT changes the translation component and the search procedure as well as the English score, the comparison is evidence about the overall configurations. The closer YT comparison is the one that keeps the syntax-based translation component common to both systems.

An oracle reveals complementarity

The authors ask what would happen if a selector could choose a different system for each input using knowledge of which translations were judged successful. They call this retrospective selector an oracle. It can use YC for one sentence, YT for another and BT for another, with the goal of collecting the translations that satisfy both evaluation criteria. It gives the authors a way to measure how much the systems' joint successes overlap.

This oracle obtains 77 translations judged both grammatical and faithful on the test set. The paper describes the opportunity as another 70% increase in perfect translations. That opportunity exists because some sentences have an acceptable translation from one of the other systems even when YC, the best individual configuration by this criterion, fails to supply one. The examples make this concrete. A translation can be straightforward for an earlier system yet attract an extraneous word in YC. A more complicated source can benefit from the structured English search even when another system produces a fragment.

The oracle only chooses among translations the systems already produced. It gives no credit for fixing a sentence or combining pieces of different outputs. Its result therefore describes the pool of outputs available in this experiment. To reach that result in actual use, a selector would have to identify an output that is both grammatical and faithful using information available before the evaluation judgment. The paper tests no such selector. The analysis establishes that the systems offer complementary successes, while leaving open how reliably those successes could be recognized.

Failures point to a specific integration problem

The no-output analysis gives a different kind of evidence. The authors identify punctuation as the cause in eight of the 14 cases where the standard n-gram method succeeds in returning an output and YC does not. This connects a measurable part of the coverage loss to the integration between the translation component and the English parser. The two parsers use different conventions, and the adaptation leaves punctuation unresolved. The failures matter to the reported behavior of the complete system even though their immediate cause is a representational mismatch.

For the other examples the analysis is qualitative. It shows that the systems can choose substantially different translations of the same input, and it illustrates particular cases in which the syntax-based scorer produces a better-formed sentence or makes a surprising mistake. The examples do not trace those decisions back to individual edges or operation probabilities. They complement the counts by showing what whole-output differences look like. The system comparisons, oracle and error diagnosis answer distinct questions about overall quality, diversity of successes, and an identifiable source of missing output.

Limitations

Limits the authors identify

The authors acknowledge the punctuation incompatibility between the parser that supplied the training trees and the parser adapted for decoding. They resolve other differences in conventions but restrict their handling of punctuation in this experiment. The missing outputs make that limitation visible even though they describe punctuation as relatively uncommon in the test set. A decoder that relies on compatible structural representations can fail before the English score has a chance to choose a translation. In this experiment an engineering issue therefore bears directly on the comparison of translation quality.

The paper also presents its treatment of phrases as a practical accommodation. A direct phrase translation can introduce several English words under one node, from which the scorer then obtains an internal parse. That lets the phrase pass through an English scoring procedure designed to evaluate structure. The authors leave a fuller account of how phrases should be incorporated into parsing for separate investigation. Their evaluation consequently concerns this specific way of fitting direct phrase correspondences into the parser.

Pruning rests on an empirical assumption transferred from ordinary parsing. In that setting, the authors report that 0.00001 filters out most edges without a discernible accuracy penalty. A stronger, lexicalized grammar can sometimes favor an edge that received little probability under the simpler grammar. The authors expect that the preliminary translation filter will seldom discard such edges when they matter. The paper does not give a translation experiment that varies the threshold or reports which high-scoring translations become unreachable because their edges were removed. The reported forest sizes explain why pruning is used and leave open its quality cost.

The authors explicitly recognize the limited practical value of producing better-formed sentences with wrong meanings. Their results make that limit visible by crossing the grammatical and semantic judgments. A fluent English sentence may still need its central claim corrected. They also use the oracle to suggest scope for combining the systems' strengths. The oracle's access to the evaluation outcomes separates that suggestion from a measured result for an automatic combination.

Limits of the evidence

The evaluation supports a claim about short Chinese newswire sentences under the conditions used by these systems. It gives no comparison across domains, source sentence lengths beyond the tested range, or other target languages. The authors argue that the general idea can be combined with translation systems whose translation component does not itself use syntax. Their experiment uses a target-tree system that already provides the richer scorer with a forest. It therefore demonstrates the design where its interface is especially convenient. A system that begins with a different representation would need to supply comparable English alternatives by some other means.

The distinction between the formal objective and the implemented search also matters. The equations allow multiple trees and alignments to contribute to the probability of an English sentence. The decoder first restricts the forest with translation-side search, prunes it again, then chooses a tree from the survivors. The paper does not show that this procedure recovers the English sentence with the highest fully marginalized probability. The empirical question it answers is whether the practical decoder yields better translations by its evaluation criteria. The reported gains can hold without exact optimization of the formal objective.

The evaluation categories are interpretable because they set syntax and meaning apart. They are also coarse. A grammatical translation with one consequential error and a grammatical translation with a substantially different message can both fail the meaning judgment. Similarly, the syntax judgment alone cannot show whether a sentence needs a small adjustment or extensive rewriting. The aggregate counts do not establish how much human postediting time the new system would save. The paper relates the joint success category to the practical goal of producing translations that require no editing, without reporting a study that times posteditors or measures their workload.

The paper gives examples and numerical outcomes, but its evaluation description gives little detail about how consistently people would apply the categories to borderline translations. It does not report annotator agreement or uncertainty intervals for the counts discussed here. Its wording about an improvement in translation quality can be read directly against the reported category totals. The counts show a gain on the tested material. The evaluation provides less information for estimating how variable the gain would be on another sample from the same setting.

The computational evidence is also specific to what is reported. The move from millions of edges to tens of thousands describes the change in the search representation and explains why detailed rescoring becomes feasible. The paper does not give a runtime comparison that would tell a reader how long each system takes for the same input distribution. The authors establish that they can run the richer pass on the reduced forest. Differences in end-to-end execution cost, memory use and scaling to substantially longer inputs remain open.

Finally, closer grammar and meaning totals tell different things about systems with different coverage. YC's missing outputs are part of its observed performance alongside the accepted translations it produces. The paper compares systems that differ in several places, with the strongest control coming from their shared translation component in the YT–YC comparison. The results support the full syntax-based scoring and forest-decoding design as tested. They give less leverage for predicting what would happen if one changed the English score alone, transferred the pruning rule to a different decoder, or repaired the mismatched punctuation conventions.

What came after

Structure in the translated units and the target score

Later papers that cite this work put linguistic structure in different parts of the translation process. One line of work concerns the clause itself. Clause Restructuring for Statistical Machine Translation brings attention to how a clause is arranged. The connection is the problem of moving related parts together when the languages favor different arrangements. In the 2003 paper, possible rearrangements arise as the translation component relates the children of an English tree node to Chinese order, and the decoder judges the recovered English tree. Clause restructuring places the organization of the clause at the center of the translation problem. The citation and topic establish the connection more directly than they establish reuse of the forest decoder. Clause Restructuring for Statistical Machine Translation

Another direction is to express the phrasal units in terms of dependencies. Where the 2003 paper groups words into nested constituents with labels such as noun phrase and verb phrase, a dependency representation centers on links between words. A treelet is a piece of such a tree. Dependency Treelet Translation makes those pieces relevant to phrasal statistical translation. Its relation to the earlier paper lies in giving the units of translation structure beyond their position in the word sequence. The change in representation matters: the earlier system's phrase nodes and the later paper's dependency treelets express different kinds of grammatical organization. Dependency Treelet Translation

The connection to English scoring is especially direct in A New String-to-Dependency Machine Translation Algorithm with a Target Dependency Language Model. The method named in the title starts with a string and constructs a target dependency structure, with a target language score based on dependencies. The earlier paper also brings the target grammar into the choice of translation, using a constituent tree as the object it evaluates. These are related ways of bringing evidence about the target sentence into decoding. A dependency score shifts attention toward relations between words in the target structure. The original paper's grammar scores the phrase expansions and uses lexical information within that representation. String-to-Dependency Machine Translation with a Target Dependency Language Model

Syntactic N-Grams for Statistical Machine Translation raises a related question about what counts as the context of a word or grammatical unit. The original comparison pits a conventional word trigram against an English score that can use tree structure. Syntactic n-grams bring the idea of a limited context to a syntactically organized representation. The connection is therefore neither just another choice of target grammar nor just a return to adjacent words. It is a way to ask which bounded patterns in structure are useful to model and optimize for translation. The title identifies that modeling and optimization problem without establishing which parts of the earlier search were carried forward. Modelling and Optimizing on Syntactic N-Grams for Statistical Machine Translation

Dialect handling and the order of generation

Arabic Dialect Handling in Hybrid Machine Translation cites the paper in the context of a different language problem. Its stated focus is handling dialect in a hybrid translation setting. The 2003 paper combines a learned account of cross-language correspondences with a separate, structured account of acceptable target sentences. The later title identifies a setting where linguistic variation and the combination of translation techniques are central concerns. The citation connects the settings at that level. It does not establish that the dialect system adopted the English tree scorer, its pruning scheme, or its translation operations. Arabic Dialect Handling in Hybrid Machine Translation

Insertion-based Decoding with Automatically Inferred Generation Order takes up a question about the order in which output is built. The English parser in the 2003 paper had to relinquish the assumption that it was working over a single, predetermined string of English words. Its decoder builds alternatives in a forest and fixes an English sequence through the choice of a tree. Insertion-based decoding addresses construction order through a different operation: material can be inserted as an output is built, with the generation order inferred automatically. The shared question is how a decoder can construct a final sequence without committing throughout the search to simply following that sequence in order. The mechanisms named by the two papers give different answers. Insertion-based Decoding with Automatically Inferred Generation Order

Cite

Cite as Eugene Charniak, Kevin Knight and Kenji Yamada. 2003. Syntax-based language models for statistical machine translation. Proceedings of Machine Translation Summit IX: Papers.

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

@inproceedings{charniak2003syntax,
  title = {{Syntax-based language models for statistical machine translation}},
  author = {Eugene Charniak, Kevin Knight and Kenji Yamada},
  booktitle = {Proceedings of Machine Translation Summit IX: Papers},
  year = {2003},
  url = {https://aclanthology.org/2003.mtsummit-papers.6/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/charniak-2003-syntax-based-language-models-statistical/