Elamur Research

Machine Translation as Tree Labeling

Paper · 2007 · Mark Hopkins and Jonas Kuhn

Summary

A translation system has to decide where words belong as well as which words to use. In German, for instance, parts of a verb construction can be separated by a phrase of varying length. Learning a single replacement for each complete stretch of English text gives a system an indirect way to handle that separation. Machine Translation as Tree Labeling starts with the grammatical structure of the English sentence. It asks which parts should be translated together, which should supply translations of their own, and where those translations should appear in the German output. The paper treats machine translation as the task of attaching rules to the nodes of a source sentence’s parse tree.

The rules are learned from sentence pairs with word alignments, which record correspondences between positions in the source and its translation. A rule can supply target words and say where to insert the translations of smaller parts of the sentence. The authors break the choice of a rule into simpler decisions. They first decide which nodes will carry rules. That determines what each rule covers on the source side. They then pick a target pattern of words and slots and decide whether to shift the phrases that fill those slots to the left or right. Earlier choices and information from the parse tree can inform these decisions. A depth-first search finds an initial translation and uses its score to rule out branches whose best possible completion would score worse.

In the English-to-German experiment, the authors trained on 50,000 Europarl sentences and evaluated on 300 test sentences, using a subset with sentence lengths from 8 to 17 words. The tree-labeling system scored 11.52 on the test set’s BLEU score, a measure of how closely candidate wording matches reference translations. The phrase-based system Pharaoh scored 11.17. The authors describe the performance as comparable, with the tree-labeling system still at an early stage and operating without an n-gram component to score sequences of target words.

The translations illustrate why similar aggregate scores can conceal different behavior. The tree-labeling system produced a separated German verb construction in a sentence about agreeing with amendments. In another sentence, it placed the verb for submit at the end, while Pharaoh put its corresponding verb in the middle. The tree system also made errors in articles, inflection and wording. A manual analysis of output for 100 test sentences found a tendency towards redundant translations in the tree system and missing material in Pharaoh. The experiment shows how source syntax can help express particular word orders. The performance comparison covers a small English-to-German test, and the examples and edits help explain what the aggregate scores leave unresolved.

Deep dive: Machine Translation as Tree Labeling

Machine Translation as Tree Labeling uses source sentence structure to place words in translation and tests the approach against Pharaoh. · about 36 minutes to read

The problem and its context

What a phrase-based system sees

A statistical translator can learn useful correspondences by looking for stretches of words that translate together. The phrase-based approach described in the paper begins by aligning words across paired sentences. From those alignments it identifies stretches on either side that can be used as translation units. At decoding time, it repeatedly replaces source stretches with possible target stretches, then uses statistical reordering and evidence about neighboring target words to choose an output. The paper uses phrase in this setting to mean a contiguous sequence of words. A phrase in that sense can coincide with a grammatical constituent, and its eligibility as a translation unit comes from the word sequences and their alignment. Statistical Phrase-Based Translation

Word alignment and grammatical structure answer different questions. An alignment can associate words in a source sentence with words in a particular translation. A grammatical analysis can show that a group of words behaves as a unit inside a larger construction. A translator working from aligned blocks has direct evidence about the words of a known block and their target counterparts. A translator working with a grammatical unit can also ask what role that unit plays in the larger structure, even when its wording changes. The authors’ question is whether such structure can organize the translation process itself.

Consider a construction with target words that belong together grammatically but can have other material between them. A system that memorizes the entire target sequence can capture a particular instance. The longer the intervening material and the more its wording varies, the less a memorized sequence says about the next instance. A system can also build the sentence from separate pieces and then arrange them. It must still account for why those particular pieces are related and why the intervening words belong between them. A rule with a place reserved for a separately translated constituent expresses that relationship directly. The rule specifies the outside material, and the constituent supplies the material in the middle.

The same issue appears at a larger scale when a word’s position in the target depends on its grammatical role. A translation system may have good evidence for what both verbs in a clause mean. It still needs to decide where the part corresponding to each verb goes, and that decision may involve moving an entire group of other words. A source tree gives the system a way to identify a group that should be treated as a unit. The paper’s proposal makes that information available while the output order is being decided, when it can affect which rearrangements the system considers promising.

Why put syntax at the center?

The authors describe earlier work as already motivated by a deeper analysis of sentence structure. They cite research on inversion transduction grammars and a syntax-based statistical approach as precedents for taking structure seriously in translation. Their own starting point is that the strongest practice they describe was still phrase-based. In their account, efforts to supplement phrase-based translation with parser information had yielded limited gains. They also cite Chiang’s report that parser information failed to improve his hierarchical extension of phrase-based translation. That distinction matters because a system can arrange units hierarchically while still learning and using those units without a supplied grammatical analysis. Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora · A Syntax-based Statistical Translation Model

The proposed alternative starts with parsing, the analysis that divides a sentence into words and nested grammatical groups. That analysis defines the places where translation rules can be attached. A node can have a rule that supplies target words directly. It can also have a rule that refers to the translations of smaller constituents. A higher rule may then reorder those translations relative to their positions in the source. The hierarchy determines which components a rule can combine, while the labels determine the particular translation choices made within that hierarchy.

The source tree and the target output have different roles. The source tree is available to the system before translation begins. The target sentence is produced by choosing rules and putting their outputs together. Thus a source constituent can have a translation that moves relative to its neighbors, even though its position in the source tree is fixed. Likewise, a rule can surround that constituent’s translation with target words that have a different arrangement from the corresponding source material. The tree is a way of organizing the decisions, and the target sentence records the effect of those decisions.

The paper retains word alignment as a source of evidence. A parsed source sentence shows what its constituents are. A reference translation shows how a translator rendered the sentence. An alignment helps connect those facts by indicating where in the reference the material associated with a source constituent appears. The authors use that information to recover examples of rules and examples of where rules are useful. In this account, syntax and alignment complement each other. One supplies candidate units of structure, and the other helps determine how those units participated in a particular translation.

Why the search problem changes

The authors also reconsider the relationship between probability and efficient decoding. They describe conventional phrase-based systems as using relatively simple probability assumptions so that search can have a polynomial-time guarantee. The proposed system allows a decision to depend on features of the parse and on choices already made. A choice about where to put a constituent can therefore use information about words or grammatical roles already represented in a partial translation. Such decisions are potentially more informative, and their dependencies make it harder to summarize a partial translation by a small, fixed state.

The paper responds by changing what it asks of the decoder. A search can try likely choices first, obtain a complete translation, and then use that translation to discard some of the remaining possibilities. If allowed to finish, the search can certify the best solution under the assigned probabilities. If stopped early, it can return the highest-scoring complete solution it has seen. Practical speed then depends on how quickly the search finds a strong candidate and how many remaining branches that candidate allows it to discard. The paper takes that tradeoff as the price of allowing richer evidence to influence individual decisions.

The method, step by step

From an aligned sentence pair to a labeled tree

The training data begin with a source sentence, a reference translation and an automatic alignment between the two. The source sentence comes with a parse tree. The setup also permits additional linguistic annotations on its words or nodes, or on words on the target side. These inputs play different roles. The parse supplies the structure the system will label. The reference supplies the target wording. The alignment helps associate portions of that wording with portions of the source tree. At translation time, the source sentence and its parse are the inputs. The target wording and the correspondence to it are to be inferred.

How a source parse becomes a translation

The steps in order.

How a source parse becomes a translationStep 1: Learn decisions from parsed and aligned sentence pairs1. Learn decisions from parsed and aligned sentence pairsStep 2: Parse the source sentence2. Parse the source sentenceStep 3: Select the nodes that will carry rules3. Select the nodes that will carry rulesStep 4: Derive each rule’s source side4. Derive each rule’s source sideStep 5: Choose target words and slots for each rule5. Choose target words and slots for each ruleStep 6: Position variables within the target patterns6. Position variables within the target patternsStep 7: Search for the highest-scoring complete labeling7. Search for the highest-scoring complete labelingStep 8: Substitute the child translations to produce target text8. Substitute the child translations to produce target text

The paper calls each training item a translation object and writes it as a triple.

⟨f, e, a⟩

Here f is the parsed source sentence, e is its reference translation, and a is the word alignment linking positions in the two sentences. The angle brackets denote an ordered collection. This notation treats the correspondence as part of the object being scored, alongside the wording on either side.

The initial goal can be written as a choice among translation objects for a fixed source sentence.

arg maxₑ,ₐ P(⟨f, e, a⟩)

Here P is the scoring function, and arg max asks for the values of e and a giving the greatest score. The source f is fixed during this choice. P is first introduced as a general score for translation quality. The probabilistic assignment process supplies the score for the paper’s tree-based implementation.

To get from the triple to a representation the search can build, the authors use a construction attributed to Galley and colleagues. The source parse is annotated with rules that explain how the source could have been translated. The paper calls the annotated result a GHKM tree. A constituent generally provides a place for a rule when the source words inside it project through the alignment to a contiguous stretch of the target. That gives the rule a target string to account for. The paper sketches this correspondence and concentrates on what the resulting representation means and how a system can learn to predict it.

The alignment criterion matters for interpreting the representation. A source constituent can occupy one stretch of the source sentence and its corresponding target material can appear elsewhere relative to the rest of the sentence. That is compatible with a rule if the target material itself can be handled as a unit. A higher part of the tree can then position the unit as a whole. A source parse may also contain nodes with no rule. Such nodes can still be part of the grammatical analysis. Whether they become independent units of translation depends on where rules are attached.

What a rule says

A rule has a source list and a target list. Each list may contain literal strings and indexed variables. Literal material describes words associated with the rule itself. A variable refers to material handled by a lower rule and stands for that lower rule’s output when the translation is assembled. The source list puts the variables in source order. The target list may change their order, with target words or punctuation interspersed among them.

⟨Rₛ, R𝒹⟩

Here Rₛ is the rule’s source list and R𝒹 is its destination list. The angle brackets pair those lists as a single rule. The subscripts distinguish the source side from the destination side. Their elements are strings or variable references.

Xₖ = {x₁, x₂, …, xₖ}

Here k is the rank of the rule, a non-negative integer that counts its variables. Xₖ is the set of these variables, and xᵢ denotes the variable indexed by i. The braces mark a set, and the ellipsis continues the indexing up to k. Each variable in the set must occur exactly once in each rule list, and the source list presents them in increasing order. A rule with no variables supplies its translation directly from its destination strings. A rule with variables specifies how the corresponding lower translations will be used.

The paper illustrates the distinction with English negation and French. The source-side pattern consists of not and a variable. The target side puts ne before the variable and pas after it. The rule expresses a construction with a place for a translated phrase. Once the lower rule provides vais, the outer rule produces ne vais pas. The same rule shape can describe the placement of these words around the output of the lower rule without including the lower rule’s English wording or French output in the outer rule.

A separate example makes the reordering role explicit. The source list has the variables indexed 1, 2 and 3 in that order. The target list places 3 first, follows it with a comma, and then uses 1 and 2. A variable refers to an entire lower output, so the first target position can contain a string of several words. The comma belongs to the higher rule. All the lower outputs are still present once, while their order and the appearance of the punctuation are determined at the higher node.

How the structure determines the source side

The paper defines which lower nodes a rule can refer to by following tree paths. From a given node, a proper descendant is reachable if the path to it crosses no intervening rule node. A proper descendant is a node below the starting point. The endpoint can itself carry a rule. The reachability condition means that when traversal reaches such a node, its own rule takes responsibility for the material below it. The higher rule can refer to that node’s output as a whole.

The successor list contains the reachable rule nodes and reachable leaves in left-to-right depth-first order. A leaf represents a source word. When the path to a leaf stays free of intervening rules, the word is available directly to the rule at the starting node. When the path reaches a lower rule first, a variable can stand for that lower rule’s whole contribution. There is also a rule-node successor list, formed by keeping only the successors that carry rules. That shorter list is what the translator uses when looking up the strings that fill the variables.

The source signature is formed from the full successor list. Each lower rule becomes a variable, indexed according to its position among the lower rules. Each uncovered leaf contributes its word. The chief constraint on the source side of a rule is that it must match this signature. In the paper’s illustrated tree, the signature for a node can consist of the word am followed by a variable. This means the rule handles that source word directly and relies on a lower rule for the remaining indicated material. The rule at the top of the illustrated tree has a signature made entirely of variables because its successors supply all its parts.

An important consequence follows before the system has chosen any target words. Once the rule-bearing nodes are known, the paths that stop at lower rules are known as well. This fixes the division between direct words and references to translated constituents. Every rule’s source list can therefore be derived from the tree and its node indicators. Learning a complete label in one step would involve discovering that source-side structure along with everything on the target side. The authors instead let the structural choices determine the allowable source lists.

The position of a rule in the tree also affects the higher rules’ signatures. Adding a rule lower down can cause a collection of words that would have been visible to an ancestor to be represented by a single variable. Removing that lower rule can make more material visible to the ancestor. The decisions about which nodes carry rules are therefore choices about the scope of each translation operation. A decision at a node changes what other decisions higher in the tree have to account for.

How a labeled tree produces words

The mechanics of using a rule are recursive. The translation of each lower rule is computed, and those strings are inserted into the destination list of the current rule. Variables are replaced with strings. Literal elements remain in place. The immediate result is a sequence of strings that can be joined with spaces.

r[S] = sᵢ if r = xᵢ, and r otherwise

Here r is a rule element, and S is the ordered list of strings available for substitution. If r is the variable xᵢ, its replacement is sᵢ, the entry in S with index i. The square brackets denote substitution. In the other case r is already a literal string, so the result is that string.

R[S] = concat(r₁[S], r₂[S], …, rⱼ[S])

Here R is the rule element list, r₁ through rⱼ are its entries in order, and j is the length of that list. S is again the ordered list of strings for the variables. Each rᵢ[S] represents substitution into a single entry. concat joins the resulting strings with spaces, and the ellipsis stands for the intermediate entries in order.

τ(t) = R𝒹[⟨τ(t₁), …, τ(tₖ)⟩]

Here τ is the translation operation and t is the rule-bearing node being translated. Its destination list is R𝒹. Its rule-node successors, in source order, are t₁ through tₖ, where k is the number of such successors. The angle brackets collect their translations in that same order, and the square brackets substitute those strings into the destination list. A variable’s index identifies its string in this collection. The variable’s position in R𝒹 determines where that string appears in the output.

This separates the order in which the source provides the parts from the order in which the target uses them. In the punctuation example, the source passes the lower translations in source order. The outer rule can still put the third one first because the indexing supplies a reference to it. When a rule has only literal strings, applying it provides an output without calling any lower rules. Applying the process at the top of the labeled tree yields the sentence. The French example in the paper uses these local substitutions to put aujourd’hui ahead of the translation of the main clause, with a comma between them.

Which choices the system has to learn

A distribution over complete rules at each node would have to cover many combinations of words, variables and orders. To give the learner smaller decisions, the paper divides rule construction into successive stages. The first stage places rules. Each tree node has a Boolean indicator whose value says whether that node will carry a rule. When those decisions are complete, the system reads the source signature of each rule from the tree. The remaining work is to produce the destination lists.

The next decision is a target template. The template retains the destination words and punctuation and replaces each contiguous run of variables with a slot. The French negation template contains ne, a slot, and pas. The punctuation template has a slot on either side of the comma. A slot can stand for a run of variables, so choosing the template establishes where translated material can appear with respect to the literal strings. Further choices decide which variables the slot contains and how they are ordered.

The paper proposes limiting the template decision by using a separate distribution for each source-side template. The intuition is that plausible target patterns depend strongly on the source pattern. When the source pattern includes not followed by an open position, ne and pas surrounding an open position are a plausible choice in French. The learner can compare that target template with alternatives associated with the same source pattern. This is still a choice among possibilities, and its range can vary with the source template. The other kinds of decisions in the procedure are binary.

The last stages insert the source variables into the target template. The system visits the variables in source order. Its initial placement for the first variable is in the first slot. For a subsequent variable, the default is to the right of the one just placed. The procedure can then make successive decisions to push the variable right. These stop when a rightward push is declined or when the variable cannot travel farther in that direction. If the variable has made no rightward move, the procedure can instead offer successive leftward pushes.

This gives the system a way to build an order through local questions about a partially arranged target pattern. In the comma example, the first source variable can move into the slot after the comma, and the next variable can follow it there. The final source variable can move to the left of both of them and the comma, producing the order specified by the example rule. The operation moves variable references while the destination template supplies the punctuation. Each reference keeps its identity as it changes position, so it will still retrieve the same lower translation during substitution.

The divisions between these decisions tell the learner what it is trying to predict at each point. A node indicator asks whether to translate a constituent separately. A target template decision asks which literal target material and open positions to use. A push decision asks whether a particular variable should pass material on the left or right. The authors use the example of a noun phrase moving past a verb. A relevant feature could say whether that verb is the first or the second verb in its clause. The same kind of tree information can therefore affect the probability of different arrangements at the moment the arrangements are being formed.

How the assignment process connects those choices

The authors call their general framework an assignment process. It develops a history one decision at a time. At each step, a variable generator uses the existing history to say which decision is next. A feature function extracts selected information from the history and the identity of that decision. A distribution generator chooses which learned distribution to consult. The outcome of the decision is then added to the history. When the variable generator signals completion, the history is returned.

Σ = ⟨X, V⟩

Here Σ is a variable signature for the assignment process. X is the set of decision names, and V is the set of values used in assignments. The brackets pair the sets. This use of X belongs to the general framework, while Xₖ in the rule definition is the set of placeholders in a particular rank of rule.

⟨x, v⟩

Here x is a decision name in X and v is a value in V assigned to that decision. The brackets keep them together as one assignment. An assignment history is an ordered list of such pairs. The paper uses H(Σ) for the set of histories with signature Σ. In the translation application, the identity of a decision can distinguish, for example, a rule indicator at a particular node from a placement choice inside a particular template.

f : X × H(Σ) → sets of assignments of signature Σ𝒻

Here f is the feature function, and the colon introduces its input and output types. X × H(Σ) denotes all pairs consisting of a decision name and a history. The arrow shows that the output is a set of feature assignments, whose own signature is Σ𝒻. A feature is information selected for the pending decision. This use of f denotes a function, while f in the translation triple denotes a source sentence.

⟨f, P, gₓ, gₚ⟩

Here the angle brackets collect the components of the process. f computes features, P is the finite collection of feature-conditioned distributions, gₓ selects the next variable, and gₚ selects the distribution to use. P here names the collection of local distributions. Those distributions together supply the probabilities from which the scoring function for translation is constructed.

P = {p₁, …, pₖ}

Here each pⱼ takes a feature set and supplies a distribution over assignment values. The braces collect the available functions, and k is their number in this definition. An index j identifies a function from that collection. The ellipsis covers the other functions between the indexed endpoints.

x = gₓ(h),   j = gₚ(h)

Here h is the history built so far. The generator gₓ chooses the next decision name x from that history, while gₚ uses that history to select the distribution index j. If gₓ yields the reserved instruction STOP, the process returns the current history. This completion signal is selected by the generator as part of the procedure.

v drawn from pⱼ(f(x, h))

Here f(x, h) obtains the features for decision x at history h. The distribution selected by j, written pⱼ, turns those features into probabilities over values, and v is the outcome drawn from that distribution. The assignment pairing x with v extends h. On the next iteration the generators and feature function can use the extended history.

This last dependency lets the process use decisions it has already made. A feature can refer to a portion of the source tree, to the configuration of elements in a partially filled target pattern, or to a relevant previous decision. This choice of features is distinct from the sequence that organizes them. The generators establish what problem the current step is solving. The features give the learner evidence with which to solve it. Given the earlier assignments, the distribution provides the probabilities of the available outcomes at that step.

How the decisions are trained

The paper takes the feature function and the generators as given during training. What training estimates is the collection of distributions used to choose values. The training histories come from the desired rule labelings. To obtain examples for a particular distribution, the procedure identifies the decisions assigned to that distribution, computes the features from the history preceding each decision, and pairs them with the value observed in the training history. This yields a collection of examples of the local choice the distribution is supposed to estimate.

A history may use different distributions at different steps. Rule placement and variable movement, for example, play different roles and can be trained on different sets of examples. Even within template selection, grouping by source-side pattern can keep the range of alternatives relevant to the particular choice. The outcome from an aligned example tells the learner which value occurred. The learner then estimates how that outcome depends on the features. The authors prefer learners that return probabilities, since a decoder can use those probabilities to compare competing paths through the sequence of assignments.

For the English-to-German pilot, the English side was parsed with the Bikel parser, word correspondences were obtained with GIZA++, and the distributions were trained with WEKA using its tree-based learner. The paper describes the implemented features as covering aspects of the parse, while leaving their detailed specifications aside. The framework permits richer annotations and information from previous decisions. The pilot consequently tests a particular early use of a framework with a wider range of possible inputs. Intricacies of Collins’ Parsing Model · Improved Statistical Alignment Models

The decoding question is which complete history is most probable starting from the current assignments. The possible histories form a search tree. A search node represents a partial history. Its children are the histories obtained by assigning a possible value to the next decision chosen by the generator. Following a branch accumulates decisions about a single translation plan. A history at which the generator signals completion specifies the full set of rules needed to produce the target sentence.

The probability of following a path is obtained by multiplying the probabilities of its decisions, each conditional on the history reaching that point. Because these factors are probabilities, adding a new factor can only maintain or decrease the score of the path. A partial history’s probability therefore bounds the probability of any completed history beneath it. If that upper bound is below the score of a completed translation already found, the search can discard that partial history and its descendants. It can do so even when those descendants include choices that would individually be highly likely.

The decoder uses depth-first branch and bound to exploit this property. Following the promising choices first gives it a completed history quickly. It can then backtrack to investigate alternatives, using the best completed history so far as the threshold for pruning. If it finds a better history, that threshold increases and further branches may become unnecessary. If the search finishes, it has found an optimum under its scoring procedure. An interruption leaves it with the best complete result discovered up to the interruption.

The authors characterize the initial greedy solution and the space needed by the depth-first method as linear. The full search can still be large. When most choices have clear favorites, weak alternatives can fall below the threshold early. When several partial histories remain competitive, their descendants may have to be explored before the search can settle the comparison. The pruning argument supplies a guarantee about which branches can be discarded. The distribution of probabilities determines how often that guarantee can be used.

Experiments and results

The corpus and baseline

The pilot translated from English into German. The corpus was drawn from Europarl, with sentence lengths restricted to 8 to 17 words. The authors report 50000 sentences in the training corpus and 300 in the test corpus, with a small additional reservation for development. The example translations come from lower-cased data. The source parse, the word alignment procedure and the estimated distributions are the main inputs and learned components reported for the tree system. The experiment compares that implementation with a standard phrase-based system under a shared corpus restriction.

Pharaoh was trained and evaluated on the limited corpus using its default parameters. For Pharaoh, the translation task is organized around contiguous source and target phrases and their arrangement into a sentence. For the proposed system, it is organized around labeling the parsed English sentence and combining the translations licensed by those labels. The pilot lacks a target-side n-gram scorer of the kind present in Pharaoh. Thus the comparison is between working systems with several differences, including how they represent translation units, how they estimate decisions and how they assess candidate output.

BLEU gives a common test measure by comparing patterns of words in outputs with patterns in reference translations. It compresses the match to a single score for the test set. In this experiment, that score is accompanied by examples and manual judgments that reveal where words ended up, whether the right material was present and what would have to change to make a sentence acceptable. Used together, the measurements describe aggregate performance and some of the kinds of changes the outputs require.

BLEU on the held-out sentences

BLEU on the English-to-German Europarl test set

The tree-labeling system scores slightly higher than Pharaoh on the restricted test set.

BLEU on the English-to-German Europarl test setPharaoh: 11.17Pharaoh11.17Tree labeling (this paper): 11.52Tree labeling (this paper)11.52
The numbers
System or settingBLEU
Pharaoh11.17
Tree labeling (this paper)11.52

The tree-labeling system scored 11.52 on the 300-sentence Europarl test set. Pharaoh scored 11.17 on that same set. The authors call the scores comparable and attribute the low absolute values to the restricted training corpus. Their interest is in reaching roughly the same aggregate level with an early implementation based on a different representation. The experiment gives both scores under a concrete training and test condition. The paper reports no significance result for their difference.

A close aggregate comparison also leaves room for substantial differences in individual sentences. A good rearrangement can improve the grammar of an output whose words still need correction. Conversely, a sentence may have locally plausible expressions while putting one of its verbs in an unsuitable position. To examine those possibilities, the authors look closely at sentences in which the tree-based system makes use of nonlocal order. They then broaden the comparison by manually editing a subset of the test output.

Separated parts of a German verb

The first example concerns an English speaker agreeing with the spirit of amendments. The tree-labeling output uses stimme and zu, with the expression referring to the spirit of the amendments intervening. The two pieces of the German construction are thus separated by a larger constituent. A template with open positions can express this layout while letting lower rules choose and translate the material placed between the pieces. The example exhibits a use of the representation in an actual test output, beyond the French illustration used to define the rules.

Pharaoh’s output uses stimme and a phrase introduced by mit. The authors prefer the separated stimme … zu construction produced by tree labeling in this context. They point out that the material between the parts can be arbitrarily long, which makes the construction a difficult pattern for a purely phrase-based approach to learn consistently. In the illustrated sentence, treating the intervening material as a unit lets the rule keep the relation between the verb parts while filling the intervening position from elsewhere in the tree.

The tree-labeling output makes an article error in the same example. It uses die with Geist, a masculine noun. Pharaoh uses dem in its corresponding phrase. The example therefore distinguishes the choice of a German construction from the local realization of the phrase inside it. The first is a matter of how different pieces are placed, while the second involves choosing a form appropriate to the surrounding words and their grammatical properties. The tree-based system can succeed on the construction and still produce a phrase a German speaker would need to edit.

A verb at the end of the clause

The second example concerns submitting a proposal before the end of the year. In the English source, the modal and the verb it accompanies occur together. In the German output sought by the authors, the finite verb belongs earlier and the verb for submitting goes at the end. The tree-labeling output uses werden and ends the clause with vorlegen. Pharaoh chooses unterbreiten for the submission verb and places it in the middle of its output.

The difference here is visible across much of the clause. The German clause contains material between its two verbs, including the proposal and a time expression. The tree system places the submission verb after that material. The source parse gives the procedure a way to associate parts of that material with groups whose translations can be ordered around the verbs. The example illustrates why the decision about one verb’s placement can matter independently of which German verb is chosen to express the action.

Both systems mishandle the English expression along these lines. The tree-labeling output also has agreement problems. The paper points to this combination of strengths and errors when it characterizes the outputs. A system that can move constituents into an appropriate order still needs to choose words and forms that fit the target context. These examples make the contrast visible within individual translations, which is why the paper follows them with a more systematic examination of editing.

What the ablations show

A whole-system comparison and an error analysis

The paper reports no component ablation. Its diagnostic evidence comes from the shared-corpus Pharaoh comparison, the inspection of individual outputs and the manual edit analysis. A component ablation would change one part of the tree-labeling system and rerun the comparison. Here the paired systems differ across multiple parts of their design. Their outputs can show what errors occur and illustrate plausible reasons for them. The experiment cannot assign a change in BLEU or a particular edit pattern to one isolated design choice.

In the manual analysis, 100 test-set sentences are examined. A native German speaker, who was one of the authors, examined the outputs and identified the changes needed to make them acceptable. Acceptability included both fluency in German and adequacy to the source meaning. The presentation of outputs from the systems was randomized to reduce bias toward the proposed system. The analysis records the nature of the corrections, adding information that would be lost if the comparison counted only an overall match with the reference.

An edit describes a way to repair a particular output. If a necessary word is missing, the correction calls for an addition. Redundant material may be deleted. A word can be changed, with the subtype recording what kind of replacement was needed. Material already present can be moved. Untranslated source words are assigned a special category, so that leaving an English word in the output can be distinguished from supplying German wording that needs a different form or meaning.

The change categories provide more detail about errors that can look identical in a broad score. An inflection change keeps the underlying lexical item and grammatical category while changing its form. A part-of-speech change selects a different derivational form. A function-word change deals with material such as a preposition, while a content-word change replaces a lexical choice. This level of detail lets the analyst keep a correct underlying word with a bad form separate from a word that conveys the wrong concept. Both repairs can improve a translation, and they make different demands on the system.

A move can displace an entire phrase as a single operation. The analyst also records the distance in words that the phrase moves. An edit count that treated each word in a moved phrase as a separate error would describe a different property of the output. The paper’s scheme can register that several words formed an appropriate unit and that the unit went in the wrong place. This distinction matches the tree-labeling method’s ability to reposition one variable whose translation contains several words.

What the corrections say about target wording

The authors report a higher proportion of change operations for the tree system, particularly in inflection and function words. This pattern is consistent with the article error in the first example and the agreement problems in the second. In these cases the tree can represent a useful larger construction while the words supplied by local decisions still require repair. The error categories identify which kinds of repairs recur in the sample and give a more specific interpretation of weaknesses than the aggregate score offers.

The authors suggest that the relative prevalence of these changes is related to the use of target language scoring in Pharaoh and its absence in the tree system. A score based on neighboring target words can favor combinations with forms that commonly occur together. This offers an explanation for why Pharaoh can do better on an article or another local realization even when its output handles the larger construction less well in an example. The comparison also changes the translation representation and the rest of the system, so the effect of target language scoring on these edits remains an interpretation. A paired run with that component changed would be needed to estimate its contribution directly.

The error analysis also records how completely the systems convey the source. The authors describe the tree system as prone to overtranslation, producing redundant target material that has to be deleted. They describe Pharaoh as prone to undertranslation, with sometimes important words omitted. The analysis thereby distinguishes extra material from missing content. These errors can affect both sentence quality and the adequacy of the translation, and a similar BLEU result can encompass different mixtures of them.

There is an apparent tension between the redundancy finding and the rule definition. Each rule uses a variable once on its destination side. That guarantees a single insertion for the lower string referenced by that variable. It leaves the literal strings chosen across rules free to express overlapping material. The assignment process also makes lexical choices independently of the simple counting constraint on variable occurrences. The observed redundancy is therefore compatible with a tree in which every rule satisfies the formal restriction. The paper identifies the tendency through edits, and the edits alone do not localize its cause to a template, a feature or a decision about where to place a rule.

What can be inferred about word order

The examples establish that the tree system can produce some useful orders that Pharaoh misses on the same inputs. The separated construction shows how an outer rule can place words on both sides of a translation produced lower in the tree. The clause with vorlegen shows that a correctly positioned verb can be separated from another verb by other constituents. The ability to represent both kinds of placement follows from the destination list and substitution procedure. Seeing them in the outputs also shows that the learner and decoder can select those placements in particular test cases.

The authors regard the examples as evidence of a possible advantage in arranging words, accompanied by weaker choices of the words or forms to arrange. The editing analysis offers a way to investigate that distinction by counting moves separately from lexical and morphological changes. Its categories also reveal shortcomings that the illustrated reordering successes cannot resolve. Producing a clause-final verb leaves open whether the noun phrases are well formed, whether all the source material is present, and whether a context-dependent expression was understood. Both systems’ treatment of along these lines demonstrates one of those remaining problems within the same example.

The shared training restriction makes it possible to interpret the BLEU comparison at a common data scale. The editing procedure and the sentence examples then show the kinds of translations contributing to that comparison. These analyses leave some specific causal questions open. They do not measure how frequently a particular source-tree feature yields a useful reorder, whether training a separate template distribution is responsible for a gain, or how the output changes if some kinds of pushes are removed. Their contribution is a description of observed behavior, including cases where the representation makes a plausible explanation available.

Limitations

Limits identified by the authors

The authors present the implementation as a pilot. Its evaluation is English to German on a short-sentence subset of Europarl, with a small development reservation and a limited training corpus. Their discussion places weight on early competitiveness under those conditions. The formalism is designed to express translation decisions across source and destination languages, and its notation is illustrated with French. The reported system evaluation covers the English-to-German experiment. The French illustration explains a rule and its interpretation, instead of evaluating French translation.

The implementation explores only part of the flexibility the authors describe. They say it uses features drawn from the parse tree and leave many implementation details, especially the choice of features, out of the presentation. Their proposed design could incorporate annotations for noun gender or verb case and could consider earlier assignment decisions when choosing later ones. Their discussion of a noun phrase passing a verb identifies a feature that might be useful. It is an explanation of what the system is designed to express, without an experimental measurement of that feature’s contribution.

The authors also leave the conversion from an aligned sentence pair to a GHKM tree at the level of an outline. They explain the role of projected contiguous spans and define what a valid labeled tree looks like. The study spends its detail on how such a representation can be generated and scored. As a consequence, the formal account is more complete about rule signatures, substitution and decisions than about every step needed to recover training rule trees from automatic alignments. Faithful replication of the exact pilot would require implementation details beyond those descriptions.

The tree system’s errors are visible even in the examples chosen to illustrate promising reordering. The authors note the incorrect article with Geist, the agreement mistakes in the proposal sentence and the failure to render along these lines. Their manual analysis adds a tendency to supply redundant material, while Pharaoh sometimes leaves important material out. The paper treats these as properties of the current systems under comparison. It presents richer features as possibilities for further development, with their effectiveness left for a subsequent evaluation.

The search also has an explicit computational tradeoff. The assignment process was chosen to admit richer dependencies among decisions, sacrificing a polynomial-time decoding guarantee. Branch and bound can finish with an optimum or be interrupted to return its best result so far. A promising greedy path and a compact depth-first search do not determine the cost of certifying the best path. The authors’ case for practicality rests on the expectation that many local choices will be confident enough to enable substantial pruning.

Limits visible in the experimental setup

The BLEU comparison measures the systems in one language direction, on one restricted body of text and within the specified length range. It provides no direct evidence of how their relative performance changes on longer sentences or with substantially more training data. Some of the proposed uses of tree structure involve constituents of varying length. The representation can accommodate such variation, while the experiment does not show how its learned rules and search behave as length increases beyond the test restriction. The same distinction applies to other domains that may use different constructions or vocabulary.

A common training set controls one part of the comparison. Pharaoh uses its default parameters and includes target-side scoring, while the proposed system uses a source parse and a different process for learning and combining decisions. The experiment therefore cannot establish a controlled benefit from adding grammatical analysis to an otherwise identical translator. The close BLEU values support the authors’ characterization of the pilot as competitive under the test conditions. Their numerical ordering alone leaves the reliability of the difference across samples and configurations unresolved.

The examples give concrete evidence of successful reordering on particular sentences. They also depend on sentences selected to show how the systems behave. Their usefulness lies in illustrating mechanisms and error interactions that an aggregate score obscures. The edit analysis broadens that view, but it does not supply an isolated test of a particular type of reordering. For example, the paper gives a German sentence in which a final verb is placed correctly. The evaluation does not give a separately defined test set of such clauses with accuracy reported for the construction.

The manual assessment adds human judgments of adequacy and fluency, and randomized presentation is intended to limit bias. It relies on one native speaker involved in the study, with no reported independent assessment of how consistently another editor would categorize the same corrections. Some outputs can be repaired in more than one way. An editor’s decision to move a phrase, or to replace a longer expression with a different one, can affect the count and type of edits that get recorded. The procedure describes differences in the work needed to repair the sample, within the conventions that the paper specifies.

The method relies on an existing source parse and on automatically produced alignments during training. A parse influences which groups can receive rules, and the alignment influences what the training example says those groups translated to. Incorrect grouping or correspondence can therefore affect the labels the learner receives. The paper does not vary parser quality or alignment quality to estimate how much the system depends on either. It also does not evaluate how frequently material relevant to a translation fails the condition that permits a useful source constituent to be associated with a suitable target stretch.

Finally, the optimum guaranteed by a completed search is an optimum for the probability assigned to a history. A highly scored history can still produce inappropriate wording or omit an aspect of the source meaning. The distinction matters for this pilot because the probability derives from successive learned choices and their available features. Better search can recover a stronger candidate according to those choices. Improving the judgments encoded in the score is a separate empirical problem. The paper demonstrates a search strategy for the proposed representation, while leaving its scaling and the quality of its probability estimates open.

What came after

The paper concludes by outlining a research agenda for that same translation framework. The authors propose using more of the source tree and the growing assignment history as evidence, and adding grammatical information such as noun gender and verb case. These are extensions of a design that keeps the decision types fixed while allowing the information used for each choice to change. In particular, the authors connect richer evidence about verbs in a clause to the choice of moving a noun phrase. They also identify target wording and inflection as areas where the current system leaves substantial work for the editor.

Those directions are proposals from the original study. Subsequent adoption, modification or testing of the approach is undocumented here, so no later system can be credited with carrying out those proposals. The paper’s closing question remains whether richer evidence can improve lexical and grammatical choices while preserving the useful reordering that the pilot displays.

Cite

Cite as Mark Hopkins and Jonas Kuhn. 2007. Machine Translation as Tree Labeling. Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation.

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

@inproceedings{hopkins2007machine,
  title = {{Machine Translation as Tree Labeling}},
  author = {Mark Hopkins and Jonas Kuhn},
  booktitle = {Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation},
  year = {2007},
  doi = {10.3115/1626281.1626287},
  url = {https://doi.org/10.3115/1626281.1626287}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hopkins-2007-machine-translation-as-tree-labeling/