---
title: "A tree-to-tree alignment-based model for statistical machine"
description: "This paper learns translation rules from paired syntax trees and tests whether deeper tree fragments improve Chinese-to-English translation."
canonical: "https://research.elamur.ai/free/en/papers/zhang-2007-tree-tree-alignment-based-model/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/zhang-2007-tree-tree-alignment-based-model/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2007](https://md.research.elamur.ai/free/en/papers/2007/) / A tree-to-tree alignment-based model for statistical machine translation

# A tree-to-tree alignment-based model for statistical machine translation

Paper · 2007 · Min Zhang, Hongfei Jiang, Ai Ti Aw et al.

**Authors:** [Min Zhang](https://md.research.elamur.ai/free/en/authors/min-zhang/), Hongfei Jiang, [Ai Ti Aw](https://md.research.elamur.ai/free/en/authors/ai-ti-aw/), [Jun Sun](https://md.research.elamur.ai/free/en/authors/jun-sun/), [Sheng Li](https://md.research.elamur.ai/free/en/authors/sheng-li/) and [Chew Lim Tan](https://md.research.elamur.ai/free/en/authors/chew-lim-tan/) · **Year:** 2007 · **Venue:** Proceedings of Machine Translation Summit XI: Papers · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**44** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3202429746) · [Cited by **26** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/zhang-2007-tree-tree-alignment-based-model/cited-by/) · [Proceedings of Machine Translation Summit XI: Papers](https://aclanthology.org/volumes/2007.mtsummit-papers/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/2007.mtsummit-papers.71/)
- [PDF](https://aclanthology.org/2007.mtsummit-papers.71.pdf)
- [OpenAlex](https://openalex.org/W3202429746)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation can preserve who did what while changing how the sentence is put together. A system that translates adjacent words in groups can learn many local changes, but a change in the order of larger units may also require a change in how those units are grouped. This paper asks whether translating between syntactic trees can capture such changes more directly. Its proposal for statistical [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) uses rules whose source and target sides are both pieces of a sentence tree. A single rule can specify a change in word order, a change in grammatical structure and the translation of particular words.

The authors learn these rules from Chinese sentences paired with their English translations. They use [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) to give both sentences a grammatical structure and word alignment to record which words correspond. They first find pairs of complete subtrees whose word links agree with their boundaries. They then remove smaller paired subtrees to create rules with slots. A rule with slots can translate the surrounding structure while leaving its open parts to other rules. For a new Chinese sentence, the system chooses a source parse, builds possible English trees from the bottom up and reads the words from the highest-scoring complete tree it finds.

On a manually checked portion of the HIT Chinese–English corpus, the system scores 0.1394 on [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/), compared with 0.1208 for the phrase-based Pharaoh baseline and 0.0867 for a tree-to-tree baseline limited to shallow rules from a synchronous [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/). The authors report both advantages at p \< 0.01. The comparison with the shallow baseline is especially informative because the tree systems share the same feature types and decoding framework. Raising the allowed rule height also changes which rules the system learns and how many it can use, so the comparison measures the value of that change as a whole.

The authors illustrate the difference with a Chinese yes-or-no question. Their system places the English verb before the subject, Pharaoh leaves it after the subject, and the shallow tree system inserts an extra verb. The example shows how a deeper rule can coordinate decisions that would otherwise fall to separate rules. The aggregate result applies to a small Chinese-to-English test set with one reference per sentence and manually checked parses. Testing at larger scale with automatic parses was left for future work.

## Deep dive: A tree-to-tree alignment-based model for statistical machine translation

This paper learns translation rules from paired syntax trees and tests whether deeper tree fragments improve Chinese-to-English translation. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What changes when a sentence is translated

The starting point is a distinction between the sequence of words in a sentence and the way those words form larger units. A noun phrase may contain a possessor and a noun. A clause may place a subject next to a verb phrase, with the verb grouped inside that phrase. A translation can keep the subject and the verb while making them stand in a different order or belong to different groups. The paper uses [syntax](https://md.research.elamur.ai/free/en/topics/syntax-grammar/) to make these relationships available to the translation system.

A parse tree represents the grouping explicitly. Its root corresponds to the whole sentence. Branches divide that sentence into smaller constituents, and the leaves carry the material at the bottom of the analysis. The children of a node are the units immediately grouped underneath it. In a phrase-structure analysis, an operation that can only rearrange those children has access to the groups as wholes. To move a verb by itself across a subject, the operation may need to reach inside one of those groups. This distinction between moving a whole constituent and using some of its internal structure motivates the paper’s choice of translation rules.

The authors distinguish structural divergences that recur across languages from differences introduced by relatively free translation. In the former case, languages routinely choose different constructions to express comparable content. In the latter, a human translator may depart from a close structural rendering in a particular sentence. Both create a learning problem. A pair of sentences can be good translations while their parse trees offer no simple correspondence between all their branches. The paper calls such trees non-isomorphic. The useful relationship is then between portions of structure, some of which contain branches absent from their counterparts.

Its example contrasts an English arrangement in which the verb and object are grouped together after the subject with an Arabic arrangement that puts the verb before both. Under a rule that preserves the English grouping and permutes only the immediate children, the verb and object move together. The desired order instead moves the verb across the subject while leaving the object behind. The limitation concerns the given tree and the operations available at its nodes. The comparison in this paper likewise concerns what a shallow grammar can do with the supplied linguistic analyses.

#### What phrases and shallow rules already offered

Earlier word-based statistical translation worked with correspondences between individual words. As the paper describes it, phrase-based translation gained flexibility by allowing a unit to be any contiguous sequence, whether or not a parser would recognize it as a constituent. Such a unit can encode the conventional translation of a multiword expression, a local change of order, or a context in which some word appears on only one side. And because the unit is defined by adjacency, it can cross the boundary of a syntactic constituent. [Statistical phrase-based translation](https://md.research.elamur.ai/free/en/papers/koehn-2003-statistical-phrase-based-translation/)

That definition also explains the paper’s concerns about gaps and global reordering. A phrase can memorize what happens inside its span. If the recurring pattern surrounds a variable phrase, a contiguous unit has to include that particular intervening material to store the whole pattern together. Using smaller phrases instead leaves the system to arrange their outputs separately. The authors also identify open questions about estimating the probabilities associated with phrase translations and the ways to divide sentences into phrases. Their own approach keeps statistical preferences for translation units, while making grammatical structure part of the units themselves.

Hierarchical phrase methods already offered a way to put gaps and recursion into translation rules. The paper discusses Wu’s inversion transduction grammars, which view translation through paired parsing, and Chiang’s hierarchical phrase approach, which uses a binary synchronous grammar to express relationships among phrases. A synchronous grammar expands linked parts on both sides of a translation. The authors distinguish the formal hierarchy used by these approaches from a hierarchy supplied by a linguistic parser. A formally defined variable can organize translation without carrying the same information as a noun phrase or verb phrase identified in an analysis of a particular sentence. [Stochastic inversion transduction grammars](https://md.research.elamur.ai/free/en/papers/wu-1997-stochastic-inversion-transduction-grammars-bilingual/) · [Hierarchical phrase-based translation](https://md.research.elamur.ai/free/en/papers/chiang-2007-hierarchical-phrase-based-translation/)

The distinction also helps explain why the paper compares against both Pharaoh and a synchronous context-free grammar, abbreviated SCFG. Pharaoh supplies a baseline with freely selected contiguous phrases. The shallow tree baseline uses linguistic constituents on both sides but limits the depth available to each rule. A system can therefore use syntax and still face the problem of having too little of the tree visible to a rule. Conversely, a phrase baseline may manage some changes of wording and order through a stored sequence even where a shallow tree rule makes an awkward division.

#### Where syntax entered earlier systems

The paper reviews several ways to decide whose syntax to use and when to use it. Yamada and Knight work from a target parse towards a source sentence within a noisy-channel formulation. Och and colleagues examine whether morphological and syntactic information can help reorder completed candidates from a phrase-based system. The former puts a tree into the translation relation. The latter uses linguistic information when ranking candidates that another system has already generated. The two approaches give syntax different opportunities to affect the final sentence. [A syntax-based statistical translation study](https://md.research.elamur.ai/free/en/papers/yamada-2001-syntax-based-statistical-translation-model/) · [A Smorgasbord of Features for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/och-2004-smorgasbord-features-statistical-machine-translation/)

Another line of work uses [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/), in which the analysis expresses links between words. Ding and Palmer define a synchronous insertion grammar over dependency trees. Quirk and colleagues project source dependencies onto the translation, learn corresponding small dependency structures and estimate how to order the resulting material. The paper also describes Riezler and Maxwell’s use of multiword units in dependency transfer and Cowan and colleagues’ prediction of target structures from source parses. These studies vary in how much target structure they assume or predict and in what part of the translation process uses it. [Probabilistic synchronous dependency insertion grammars](https://md.research.elamur.ai/free/en/papers/ding-2005-machine-translation-probabilistic-synchronous-dependency/) · [Dependency Treelet Translation](https://md.research.elamur.ai/free/en/papers/quirk-2005-dependency-treelet-translation-syntactically-informed/)

Some closely related work gives one side of a rule a tree while representing the other as a string. Huang and colleagues use tree substitution in this setting. Liu and colleagues learn templates that align trees with strings. The present paper shares their interest in fragments larger than an immediate expansion, with the important design choice that a target fragment also has internal structure. That structure supplies an explicit description of the English material already produced and of the categories into which later material will be placed. [Syntax-directed translation with extended locality](https://md.research.elamur.ai/free/en/papers/huang-2006-statistical-syntax-directed-translation-extended/) · [Tree-to-String Alignment Template for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/liu-2006-tree-string-alignment-template-statistical/)

The earlier alignment studies explain why the authors take this representational choice seriously. Fox studies how well linguistic groups stay together across English and French and compares phrase structures, flattened verb phrases and dependency structures. The paper reports that dependencies show the highest cohesion among those representations, even though the correspondences are imperfect. Galley and colleagues find that rules restricted to local rearrangements provide an inadequate account of the transformations suggested by their parallel data. Wellington and colleagues find cases of translational equivalence that binary branching cannot analyze without discontinuities under the conditions they study. Gildea investigates subtree cloning and evaluates it through word alignment. These are different forms of evidence, but each raises the question of whether nearby nodes in one analysis have equally simple counterparts in the other. [Phrasal Cohesion and Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/fox-2002-phrasal-cohesion-statistical-machine-translation/) · [Loosely Tree-Based Alignment for Machine Translation](https://md.research.elamur.ai/free/en/papers/gildea-2003-loosely-tree-based-alignment-machine/)

The closest formal precedent the authors discuss is Eisner’s use of a synchronous tree-substitution grammar to learn mappings between trees whose shapes differ. That work sketches an estimation procedure and a decoder, and the paper describes it as operating on dependency structures without an empirical translation test. The authors also place tree substitution in relation to synchronous tree-adjoining grammar. Substitution builds larger trees by filling open leaves. The more general adjoining operation is outside the grammar used here. The question for this paper is how far substitution can go with learned, possibly deep fragments on both sides of a phrase-structure translation task.

### The method, step by step

#### From words to a pair of fragments

Start with a sentence whose words already have a tree above them. A complete subtree contains everything beneath its root. An elementary tree can stop earlier. At a stopping point, a category such as NP identifies a position that another tree can fill. Elsewhere the elementary tree can retain words or other symbols that terminate a branch. A fragment can thus specify a construction, keep some of its wording and leave the identity of a constituent open. The same type of fragment serves for Chinese and for English, with each language using its own inventory of symbols.

A translation rule pairs a Chinese elementary tree with an English one and records links between leaves. On a branch with fixed words, the rule can carry lexical material directly. At an open category, a link identifies which untranslated source subtree supplies the material for the corresponding target slot. Source and target slots can occur in different positions. The source and target fragments can also have different internal branches. Their roots tell the decoder where the rules apply and what kinds of tree they return.

Consider what must happen to translate the paper’s Chinese question about a father’s profession. The subject can be translated as a unit, and the description of the profession can be translated as a unit. The position of the English verb is determined by a larger construction. A rule that covers the clause and reaches into its predicate can account for that position while keeping the subject and part of the predicate open. The rest of the derivation can fill those places with material selected for this particular sentence. The authors use paired fragments to bring this kind of decision into the same rule as the structural correspondence that licenses it.

Learning and applying paired tree fragments The steps in order.

The early steps use parallel sentences, since the learner needs examples of how a Chinese structure was translated. At test time the input to the transfer procedure is a Chinese parse. The English side is assembled from the rules. Keeping these stages distinct matters. The grammar comes from analyses of both languages, while the decoder supplies the target analysis itself for each new translation.

#### The grammar and its links

The paper represents the synchronous tree-substitution grammar, or STSG, as follows.

```
G = ⟨Σₛ, Σₜ, Nₛ, Nₜ, Sₛ, Sₜ, P⟩
```

Here G is the grammar. Subscripts s and t refer to the source and target languages. The alphabets Σₛ and Σₜ contain terminal symbols, which the authors describe as lexical words or part-of-speech symbols. Nₛ and Nₜ contain nonterminal symbols, such as the category labels used for phrases. Sₛ and Sₜ are the corresponding start categories for the roots of complete parses. P is the collection of paired productions. Angle brackets gather these components into an ordered tuple.

The authors call a production a paired elementary tree, abbreviated PET. The representation includes an alignment as well as the two trees.

```
PET = ⟨ξₛ, ξₜ, Ã⟩
```

PET names a rule. The symbol ξₛ denotes its source fragment, ξₜ its target fragment, and Ã the alignment between their leaves. The subscript again identifies the language side. The alignment can represent relationships between words and also tell the decoder how to carry an expansion from a source slot to its target counterpart.

```
Ã ⊆ {(i, j) : i ∈ Lₛ, j ∈ Lₜ}
```

In this notation Lₛ and Lₜ are the sets of leaf positions in ξₛ and ξₜ. The first coordinate i identifies a source leaf and the second coordinate j a target leaf. The braces describe the possible position pairs, with ∈ denoting membership. The symbol ⊆ says that Ã contains a subset of those pairs. This description of the rule’s leaf links leaves the internal nodes of the fragments free to differ. In the corpus extraction condition below, the paper indexes the full sentence alignment in the other order, with the English coordinate first.

A rule can encode an insertion by having material on the target side that has no corresponding source branch. It can encode a deletion by covering source material without yielding an equivalent branch. A substitution can change the category or the arrangement of a branch while other parts of the rule remain linked. These operations are properties of the whole pair of elementary trees. The decoder applies a stored pair to a matching source fragment. It acquires the permitted structural changes from those pairs.

The useful range of an operation is set by the fragment’s shape. A rule with a deeper source side can see a node and some descendants that are hidden inside an immediate child in a shallow rule. A deeper target side can specify the resulting hierarchy across the same stretch of the derivation. A rearrangement can therefore be local to the selected elementary trees even when it reaches across the boundaries of immediate constituents in the full parse. This is the sense in which the paper uses deeper local rules to address global reordering.

#### How the probability argument is built

The paper first treats the source parse and the target parse as hidden choices behind a translation. The source sentence is known, and a possible target sentence is being evaluated. The translation probability can be expressed by summing over the parse pairs that could mediate it.

```
Pr(e₁ᴵ ∣ f₁ᴶ) = ∑_{Tₛ,Tₜ} Pr(e₁ᴵ, Tₜ, Tₛ ∣ f₁ᴶ) = ∑_{Tₛ,Tₜ} Pr(Tₛ ∣ f₁ᴶ) · Pr(Tₜ ∣ Tₛ, f₁ᴶ) · Pr(e₁ᴵ ∣ Tₜ, Tₛ, f₁ᴶ)
```

The sequence f₁ᴶ contains the source words from the first position through J, and e₁ᴵ contains the target words through I. J is the source length and I the target length. The trees Tₛ and Tₜ analyze the source and target sentences. Pr denotes a general probability, the vertical bar gives the conditioning information and ∑ ranges over the indicated tree choices. The first expression inside a sum is a joint probability of the output and the two trees given the input. The product factors it into choosing an input parse, transferring to a target tree and realizing the target words from that tree.

The second of these operations is the focus of the paper. A single source tree can match different sets of rules. At a given node it might match a large fragment, or it might match a fragment that leaves more work for its descendants. The authors call the separation of a tree pair into rule applications a detachment. It records how a derivation divides the source and gives corresponding pieces of the target. Once those pieces are fixed, the paper treats the transfer of one source piece as independent of the transfers of the others.

```
Pr(Tₜ ∣ D, Tₛ, f₁ᴶ) = Pr(ξᵗ₁:ᴷ ∣ ξˢ₁:ᴷ, D, f₁ᴶ) ≈ Pr(ξᵗ₁:ᴷ ∣ ξˢ₁:ᴷ) = ∏_{k=1}^K Pr(ξᵗₖ ∣ ξˢₖ)
```

D is a detachment, and K is the number of paired fragments in it. The colon in a fragment sequence denotes the range from the first fragment through K. The general index k identifies a fragment, with ξˢₖ on the source side and ξᵗₖ on the target side. Pr on the left concerns the target tree given the detachment, source tree and source sentence. In the sequence representation the paper drops explicit dependence on D and f₁ᴶ, shown here by ≈ to make the assumption visible. The product sign ∏ then combines the separate conditional transfer probabilities. Each term says how likely the particular target fragment is given its paired source fragment.

The next step accounts for alternatives in how a tree is detached.

```
Pr(Tₜ ∣ Tₛ, f₁ᴶ) = ∑_D Pr(Tₜ, D ∣ Tₛ, f₁ᴶ) = ∑_D Pr(D ∣ Tₛ, f₁ᴶ) · Pr(Tₜ ∣ D, Tₛ, f₁ᴶ) ≈ ∑_D Pr(D ∣ Tₛ, f₁ᴶ) · ∏_{k=1}^K Pr(ξᵗₖ ∣ ξˢₖ)
```

The sum ranges over detachments D for the tree transfer under consideration. The first expression inside the sum considers the target tree and detachment together. The next factorization gives a detachment probability and a target-tree probability conditioned on that detachment. The final expression uses the fragment transfer assumption above. In this sum the selected fragments, and potentially K, depend on D. The source words f₁ᴶ and their parse Tₛ remain fixed in the conditioning information.

Different detachments give different routes for generating a tree. A large pair can accomplish in one application what several smaller pairs represent jointly. The equation assigns a contribution to each route. It also identifies a separate design problem: a scoring scheme can prefer a translation because of how it divides the source even when the final words agree with those of another route. The practical search later keeps only the best of duplicate translations.

The authors also expose a choice within the transfer of each fragment pair. Selecting the leaf alignment and selecting the target structure given that alignment can be viewed as separate operations.

```
Pr(ξᵗₖ ∣ ξˢₖ) = ∑_{Ãₖ} Pr(ξᵗₖ, Ãₖ ∣ ξˢₖ) = ∑_{Ãₖ} Pr(Ãₖ ∣ ξˢₖ) · Pr(ξᵗₖ ∣ Ãₖ, ξˢₖ)
```

Here Ãₖ is a possible alignment at position k. The sums consider the alignments for the fragment choice. The first summed term is the joint probability of an alignment and a target fragment given the source fragment. The final product separates the alignment choice from the generation of the target fragment. This derivation explains why leaf links are part of the rule rather than incidental information about the training pair. The same surrounding categories and words can license different transfers if the open leaves are linked differently.

For the implementation, the authors retain the best source parse, give no separate preference to a detachment in this probabilistic decomposition, and take output generation to be determined by the target tree. They express the parse, detachment and generation factors as follows.

```
Pr(Tₛ ∣ f₁ᴶ) ≡ 1
```

This identity applies to the retained source parse Tₛ for input f₁ᴶ. The factor 1 gives the parser’s chosen analysis no additional weight in comparing its translations.

```
Pr(D ∣ Tₛ, f₁ᴶ) ≡ 1
```

For the derivations considered, D receives the same unit factor given the input and its tree. This is how the paper drops the detachment factor from the scoring expression. The later rule-count feature can still affect a derivation’s rank.

```
Pr(e₁ᴵ ∣ Tₜ, Tₛ, f₁ᴶ) ≡ 1
```

The identity refers to the output e₁ᴵ obtained by reading the leaves of Tₜ. The source tree Tₛ and the source words f₁ᴶ enter the transfer that leads to Tₜ. The final readout involves no further morphological generation.

These simplifications leave a sum over transfers for the retained source parse.

```
Pr(e₁ᴵ ∣ f₁ᴶ) = ∑_D Pr(ξᵗ₁:ᴷ ∣ ξˢ₁:ᴷ)
```

Here each D represents a derivation compatible with e₁ᴵ, and the two fragment sequences denote the paired source and target pieces used by that derivation. The sum describes the conceptual treatment of the alternatives. In decoding, the authors rank an output together with a particular derivation, using a weighted feature score.

#### How the system ranks alternatives

A derivation can have strong agreement with the extracted rule counts and still form an awkward sequence of English words. Conversely, an ordinary English sequence may be poorly supported by the Chinese input. The authors bring those sources of information together in a log-linear formulation. Each feature describes an aspect of a candidate, and a learned coefficient determines its influence on the score. The formulation defines a probability over sentence and derivation pairs.

```
Pr(e₁ᴵ, PET₁:ᴷ ∣ f₁ᴶ) = exp[∑_{m=1}^M λₘ hₘ(e₁ᴵ, f₁ᴶ, PET₁:ᴷ)] / ∑_{e′,PET′} exp[∑_{m=1}^M λₘ hₘ(e′, f₁ᴶ, PET′)]
```

The sequence PET₁:ᴷ identifies the K rule applications behind the output e₁ᴵ. The source sequence is f₁ᴶ. The feature index m ranges over M features. The function hₘ evaluates feature m, and λₘ is its coefficient. The exponential exp turns the sum of weighted feature values into a positive score. In the denominator, the primed e′ and PET′ range over competing output strings and their derivations for the same source. The slash denotes division by the sum of their scores, which normalizes the probability. In the paper’s notation, Pr is the general probability symbol, while a lower-case p is used for an estimated distribution such as the word probabilities below. [Discriminative Training and Maximum Entropy Methods](https://md.research.elamur.ai/free/en/papers/och-2002-discriminative-training-maximum-entropy-models/)

Comparing alternatives for one source leaves the denominator common to them. The decoding objective can therefore maximize the weighted feature sum directly.

```
ê₁ᴵ = arg max_{e₁ᴵ,PET₁:ᴷ} ∑_{m=1}^M λₘ hₘ(e₁ᴵ, f₁ᴶ, PET₁:ᴷ)
```

The hat identifies the selected output. The operation arg max chooses the output e₁ᴵ and the accompanying rule sequence PET₁:ᴷ that give the highest score, for fixed input f₁ᴶ. The features, their index m and their coefficients carry the same meanings as in the probability expression. The actual decoder approximates this choice by pruning partial translations. Its output comes from the best hypothesis it retains.

The feature inventory gives evidence from both translation directions. The first pair of features concerns how often the two fragments are found together. The direction from Chinese to English uses the count of the pair relative to the count of the Chinese fragment.

```
φ(e ∣ f) = log ∏_{k=1}^K [N(ξᵉₖ, ξᶠₖ) / N(ξᶠₖ)]
```

Here e refers to the English output and f to the Chinese input. The fragments ξᵉₖ and ξᶠₖ are the English and Chinese sides of rule application k. The function N counts occurrences, with two arguments for a paired occurrence and a single argument for a fragment count. This N is a counting function, separate from the nonterminal alphabets in the grammar definition. Dividing by the source count gives a directional relative frequency. The product combines the relative frequencies of the K rule applications, and log is the logarithm of that product. The symbol φ names the resulting mapping feature.

```
φ(f ∣ e) = log ∏_{k=1}^K [N(ξᶠₖ, ξᵉₖ) / N(ξᵉₖ)]
```

The reverse feature φ(f ∣ e) uses the English fragment count in the denominator. All the other symbols describe the same fragments, counts and derivation. The two features can give different information about an ambiguous correspondence. A frequent Chinese fragment may have several plausible English realizations, while a particular English realization gives much stronger evidence for one Chinese source fragment. The learned coefficients determine how those perspectives contribute.

There are also two directional lexical features, expressed together in the paper’s feature description.

```
lex(f ∣ e), lex(e ∣ f)
```

The function lex here denotes a lexical translation feature. Its arguments give the direction, with f for the source and e for the target. These features use translation probabilities for terminals. The authors give nonterminal translation a unit factor in this part of the score. An open slot still has a structural role through the rule and its alignment, while the lexical evidence concerns the fixed terminal material. The paper names the lexical features and this convention without giving a separate expanded lexical equation.

The English sequence is also scored by a trigram [language model](https://md.research.elamur.ai/free/en/concepts/language-model/). A trigram is an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) of three items. For this feature, the score of an English word depends on the preceding two.

```
lm = log ∏_{i=1}^I p(eᵢ ∣ eᵢ₋₂, eᵢ₋₁)
```

The symbol lm denotes the English sequence feature. The target word at position i is eᵢ, with eᵢ₋₂ and eᵢ₋₁ denoting the two preceding positions. The symbol p is the estimated conditional word probability. The product ranges through the I words, and its logarithm gives a feature for the whole output. This score can depend on words originating in different rule applications, because they can become neighbors when the completed pieces are joined.

The remaining features are counts.

```
pp = K
```

The feature pp records the number K of paired rules in the derivation. A coefficient on this feature lets the scorer respond to the difference between using a large piece and reaching an output through more applications.

```
wp = I
```

The feature wp records the English word count I. Its coefficient affects how different output lengths are scored alongside the mapping, lexical and sequence features. Together with the two pairs of directional features and the trigram feature, the counts give the tree systems seven features.

#### Where the rules come from

The extraction procedure starts with aligned Chinese–English sentence pairs whose sentences have both been parsed. Each training item supplies the analyses and the correspondence between words.

```
⟨T(f₁ᴶ), T(e₁ᴵ), A⟩
```

Here T(z) denotes the parse for a string z. The strings f₁ᴶ and e₁ᴵ are the full source and target sentences. A is the sentence-level word alignment. The tuple combines these three inputs. Word alignment suggests which spans of the two sentences correspond. The parse trees specify which spans are available as complete subtrees in the first extraction pass.

The authors distinguish an initial PET from an abstract PET. An initial rule pairs complete constituents whose leaves are all terminal. It can return a target subtree directly if its source side matches the entire input subtree. An abstract rule includes a nonterminal leaf, giving it a place for a further substitution. Both types can contain more than an immediate expansion. Their distinction concerns whether a derivation has more material to supply at their leaves.

To obtain initial rules, the extractor considers combinations of source and target subtrees. A proposed pair is consistent with the word alignment when membership in the source span and membership in the target span agree for each existing link.

```
∀ (i, j) ∈ A : (i₁ ≤ i ≤ i₂) ↔ (j₁ ≤ j ≤ j₂)
```

The universal quantifier ∀ applies the test to every linked pair in A. In this sentence-level condition i is an English position and j a Chinese position. The endpoints i₁ and i₂ bound the candidate target span, and j₁ and j₂ bound the source span. The symbol ≤ includes the endpoints. The double arrow ↔ requires both statements to have the same truth value. A link can lie entirely inside the two spans or entirely outside. If one end lies inside its span and the other lies outside, the proposed rule fails the test.

The span test is accompanied by a tree test. The trees covering the proposed spans must be subtrees of the source and target analyses, respectively. This prevents the extraction pass from treating every consistent pair of strings as an initial rule. It also shows why word alignment and syntax have separate jobs. A parse supplies the possible constituent boundaries. Alignment determines whether candidates chosen on those boundaries can be taken out together. Words that carry no link do not by themselves violate the boundary test. The rule can retain such material as part of the paired construction.

The second extraction pass looks for smaller initial rules nested inside a larger one. Suppose a candidate smaller pair covers positions j₃ through j₄ in the source and i₃ through i₄ in the target. Its trees must be subtrees of their counterparts in the larger rule, and the smaller pair must qualify as an initial rule in its own right. The alignment condition inside the enclosing pair is written as follows.

```
∀ (i, j) ∈ Ã : (i₃ ≤ i ≤ i₄) ↔ (j₃ ≤ j ≤ j₄)
```

Here Ã is the alignment of the enclosing initial rule, with i and j following the target-first order of the extraction conditions. The indexed bounds delimit the smaller target and source spans. The quantifier, membership sign, inclusive inequalities and double arrow have the same roles as in the sentence-level test. The requirement means that the paired portion selected for removal can be separated without breaking a link to the retained material on just one side.

The extractor collects these subordinate pairs for each initial rule and considers subsets to remove. Removing a selected pair leaves category positions on the two sides. Their link stands for the smaller transfer that can later fill them. With different selections of subordinate pairs, one training example can contribute a fully specified rule and multiple patterns with different amounts of fixed material. A pattern that leaves the subject open can be reused with other subjects. One that also leaves part of the predicate open can be reused more broadly, while carrying less of the wording from the example.

The procedure places two bounds on which fragments are retained. The parameter h limits elementary-tree height. The parameter c limits how many leaves can be nonterminals. Height governs how far a rule can reach into the supplied analysis. The limit on open leaves controls how many subtranslations it can combine. A rule with many slots can express a larger pattern of relationships, but each slot can bring its own candidate list to the decoder. Extraction and search therefore encounter different consequences of allowing more structure in a rule.

#### Translating an input tree

The decoder divides source analysis and transfer into separate passes. A context-free chart parser first analyzes the input Chinese sentence. A chart stores partial analyses that can be reused when building larger ones. The transfer pass starts from the parser’s selected tree and visits its nodes in postorder. Visiting a node in this order means that every descendant has already been visited. When the decoder reaches a clause, it already has possible translations for the smaller constituents on which a clause rule may depend.

For a node nᵢ, the subtree Tₙᵢ is the region being translated. The index i here is the visit order of the source nodes. The list Rᵢ contains applicable rules, and Hᵢ contains hypotheses for the subtree. To be applicable, a rule’s source fragment must start at the root of that subtree and match an upper portion of it exactly. A fragment can match only the top of the subtree if its open leaves stop before reaching all the words. A complete initial rule must instead match the whole structure below that root.

Once the system has found and pruned the rules for a node, it can use an initial rule’s target side directly as a hypothesis. An abstract rule requires a combination. Each of its source slots marks a descendant subtree that remains to be translated under that rule. The decoder retrieves hypotheses already stored for those descendants. It inserts them into the linked target slots, in the positions specified by the target fragment. A hypothesis records a target subtree together with its accumulated feature values and score.

Combining lists can be costly. A candidate chosen for one slot may form a better English sequence with one candidate for another slot than with a different one. Comparing all combinations becomes expensive when the lists grow. The paper uses cube pruning, following Chiang, to incorporate the English sequence score during this search. It also limits both the rules available at a node and the partial translations kept after combination. These limits make the decoding procedure depend on early judgments about which hypotheses are worth extending. [Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/chiang-2007-hierarchical-phrase-based-translation/)

There are two limits on rules. The setting pTableLen caps their number at a node and pTablePro supplies a cutoff on their probability score. The settings hTableLen and hTablePro apply corresponding limits to hypotheses. When more than one path generates the same translation, the decoder retains the highest-scoring version. That saves space in the candidate lists for other translations. Once the traversal reaches the root, the chosen hypothesis supplies the full English tree. The word sequence comes from its leaves in order, with the arrangement already decided by the attached fragments.

### Experiments and results

#### The corpus and evaluation

The experiments translate Chinese into [English](https://md.research.elamur.ai/free/en/topics/english/) using part of the HIT Chinese–English corpus. The corpus draws on newspapers, newswires and broadcasts and covers several topics. The paper reports 9,000 aligned sentence pairs for training, comprising 75,026 Chinese words and 78,223 English words. The development material contains 4,432 Chinese words and 4,630 English words. The test split has 1,000 sentence pairs, with 8,334 Chinese words and 8,614 English words.

The authors parse the corpus automatically and then check the resulting trees manually before training and testing. For learning, the quality of those analyses affects which constituents can become rules. For testing, the input tree controls which rules match at all. Manual checking addresses both kinds of exposure to parse errors. It also makes the measured condition different from deployment in which source analysis would be entirely automatic.

The sentence alignments come from Lv’s toolkit, which the authors use for many-to-many word alignment. This allows a link pattern more general than a one-word pairing across the languages. Their stated reason for using it is that GIZA++ typically gives much worse results on small datasets. The paper does not supply a comparison of the two aligners in this experiment. For the English trigram probabilities, the authors use the SRI Language Modeling Toolkit with modified Kneser–Ney smoothing, trained on the English sentences in the training material. Smoothing lets that sequence component assign probabilities beyond the exact trigrams observed in its training sentences.

Minimum error rate training, abbreviated MER in the paper, tunes the coefficients to improve BLEU on the development split. The authors use Koehn’s trainer for Pharaoh and adapt it for the tree-based system. This separates the counts that furnish rule and word scores from the development translations that determine how strongly the decoder weights each score. The test split provides the reported comparison after the settings have been chosen.

Every test source has one reference translation. The NIST scoring script, version 11a, is run with default settings. It matches n-grams without distinguishing letter case and includes lengths through n = 4. BLEU4 is the paper’s label for the resulting comparison. The score reflects agreement with the available references across the test corpus. A different but acceptable English formulation may have less word-sequence overlap, especially when only one reference is available. The authors use bootstrap resampling for their significance test. Resampling uses the test material to assess how stable the comparison is under variation in which examples contribute to it. [BLEU evaluation method](https://md.research.elamur.ai/free/en/papers/papineni-2002-bleu-method-automatic-evaluation-machine/) · [Statistical Significance Tests for Machine Translation Evaluation](https://md.research.elamur.ai/free/en/papers/koehn-2004-statistical-significance-tests-machine-translation/) · [Interpreting BLEU/NIST Scores](https://md.research.elamur.ai/free/en/papers/zhang-2004-interpreting-bleu-nist-scores-how/)

#### What the baselines control

Pharaoh represents the phrase-based alternative. Its feature set includes translation and lexical scores in both directions, penalties for phrase count and output length, an English trigram score and a distortion feature. The distortion feature gives it an explicit way to score changes of position. It extracts and applies contiguous phrase pairs, with the authors reporting default settings throughout Pharaoh’s extraction, training, development tuning and decoding.

The SCFG baseline is implemented in the same framework as STSG, with the elementary-tree height set to h = 2. The deeper system uses h = 5. The authors report the same remaining tree-system settings, tuned on development material. The maximum number of nonterminal leaves is c = 5. The rule-list limit pTableLen is 30, and the rule score cutoff pTablePro is -100 in log probability. The hypothesis limit hTableLen is 100, and hTablePro is -100 in log probability. The tree systems use the same feature definitions, with their own fitted coefficients.

The comparison with Pharaoh spans more design choices. It asks whether the full system based on paired fragments can improve on a common phrase translation procedure under the data conditions of the study. The SCFG comparison asks what happens when the same tree-to-tree implementation is limited to shallower rules. Its rules are shallow, but its full derivations can still assemble deep sentence trees. What the height restriction removes is joint access to several levels during each individual transfer.

#### Translation scores and the rule inventories

Chinese-to-English systems on the HIT test set by BLEU4 Deeper tree rules give the highest reference overlap, with Pharaoh ahead of the shallow tree baseline.

**The numbers**

| System or setting | BLEU4 |
| --- | --- |
| Pharaoh | 0.1208 |
| Shallow SCFG | 0.0867 |
| Tree-to-tree STSG (this paper) | 0.1394 |

The paper gives 95% confidence intervals for the test scores using a plus-or-minus format. Pharaoh is reported at 0.1208 ± 0.0069, the shallow SCFG at 0.0867 ± 0.0048, and STSG at 0.1394 ± 0.0073. The comparison with Pharaoh has a reported absolute BLEU improvement of 0.0186 and a relative improvement of 15.3%. The comparison with SCFG has a reported absolute improvement of 0.0527 and a relative improvement of 60.8%. These are improvements in the reported metric on this test set. The authors report p \< 0.01 for each comparison involving STSG.

The extracted inventories are markedly different. Pharaoh has 499,423 extracted units and 64,491 units reported as used in testing. SCFG has 70,000 extracted rules and 24,302 reported as used in testing. STSG has 2,629,146 extracted rules and 98,422 reported as used in testing. These counts concern each system’s own kind of translation unit. The term “used in testing” gives the paper’s inventory statistic. It is distinct from K, which counts applications within a particular derivation.

The inventory figures give context for the change in translation scores. Relaxing the height limit introduces many more structural and lexical patterns that could be considered when translating. The test-use count is also higher for STSG than for the shallow system. That makes a difference in coverage a plausible part of how the deeper setting helps. The figures do not assign credit to particular depths or tell how much benefit comes from nominally different rules that perform closely related transfers. They show the scale of the change in the choices available to the decoder.

### What the ablations show

#### Restricting the depth of transfer

The comparison with the shallow grammar is the paper’s main controlled change. Both systems begin with phrase-structure trees, match source fragments against those trees, assemble target fragments and use the same kinds of feature to evaluate hypotheses. Restricting rule height to h = 2 changes what can happen in an individual transfer. The h = 5 setting can specify a larger region of the input and output together. Under the shallow setting, a rule may see a clause’s immediate children as units. Under the deeper setting, the rule can also reach into a child to prescribe where material inside it should go.

On this test set, the restriction yields a lower BLEU score even though both systems can convey target syntax. The result supports the paper’s argument that the extent of a syntactic rule matters. It also helps interpret Pharaoh’s place in the comparison. Its score falls between the two tree systems. Freely chosen word sequences can preserve translations that prove difficult for the shallow constituent grammar. Giving a rule syntactic labels provides useful information only to the extent that the rule and the decoder can act on it.

The effect is measured with feature weights tuned for each system. The experiment therefore compares the enabled rule inventories after fitting the scorer to each one. The same nominal cutoff and beam size can also have different effects when the rule lists differ in size and the hypotheses compete differently. The ablation establishes the advantage of the deeper setting within this implemented procedure. It does not resolve how much of that advantage should be assigned to an individual operation, such as moving a verb across a constituent boundary, or to having more lexically specific options.

The rule counts make that distinction concrete. The two inventories differ much more broadly than they would in a test that adds one new form of reordering to otherwise identical rule tables. The additional depth permits new initial rules and new abstract rules. It can change whether an input subtree has a direct match, what pieces remain for recursive translation and how the ranking trades a broader rule against narrower alternatives. These are mechanisms by which a richer grammar can help. The paper’s comparison observes their combined effect.

#### The question about a father’s profession

The example in the paper shows a Chinese yes-or-no question with an overt marker near the end. Its intended English rendering asks whether the addressee’s father is a doctor. In the English output from STSG, *is* precedes the subject. The subject is realized as *your father* and the complement as *a doctor*. The English result has the word order of a direct question.

The Pharaoh output preserves the subject–verb order of a statement and ends with a question mark. Its displayed phrase choices help explain that result. It can pair the source possessive expression with *your*, pair the part containing the words for father and being with *father is*, and translate the profession phrase together. Those are sensible local matches. Having stored a unit whose English output already contains *father is*, however, the displayed derivation lacks an operation within that unit to put *is* in front of the complete subject. The resulting question reading relies on the punctuation and the context.

The shallow tree system produces a different problem. Its clause rule generates an English question structure with *do* at the start while retaining a slot associated with the predicate. A separate rule in its illustrated derivation supplies *is* within that predicate. Both verbs survive, giving the output an extra element. This is an interaction between otherwise available rules. The clause rule can generate a question opening, and the lower rule can translate the source copula. Their combination fails to coordinate the handling of that copula across the two parts of the tree.

With deeper fragments, the translation rule can jointly describe the relevant source clause and the part of the predicate that supplies the English verb. The target side can put that verb before the subject while specifying how the remaining parts of the sentence fit together. The case helps a reader see the specific representational benefit behind the score comparison. It shows which words and structures the alternative derivations committed to, and where the cost of making those commitments independently becomes visible.

The example serves a different purpose from BLEU. The score aggregates word-sequence matches across the held-out set, while the example reveals a construction and the derivations produced for it. The paper does not group the test set by construction or report how many questions receive the desired treatment. It also gives no separate removal test for the sequence feature, lexical weighting or individual types of tree operation. The depth comparison and the worked question give a reasoned account of the mechanism with two different kinds of evidence.

### Limitations

#### The limits the authors state

The authors describe the experiment as small and leave larger-scale evaluation to future work. Their proposed follow-up would use automatic parsing. That qualification matters because the experiment checks the parse trees manually before rule learning and testing. A larger automatic run would test conditions in which constituent labels and boundaries can be wrong and the human corrections used in this study are absent. The authors also leave optimization of the translation rule set open.

The paper identifies a concrete cost within decoding. When a rule has open leaves, forming its hypotheses requires combining lists of already translated subtrees. The authors describe this combination as the most time-consuming part of the decoder. They use list limits, score cutoffs, removal of duplicates and cube pruning to manage it. The work reports translation scores and inventory sizes. It supplies no timing comparison that would establish the cost of increasing rule depth under this setup or predict the cost at the larger training scale proposed in the conclusion.

Several simplifications are stated in the method itself. The system accepts a single source analysis for transfer, gives no explicit preference to alternative ways of detaching the trees in its probabilistic derivation, and reads the output from the target leaves without a further morphological step. The resulting translation can still use lexical forms and patterns found in the training corpus. Whether a different parse, a learned preference over detachments or an additional realization step would help is outside the experiments.

#### What follows from the experimental design

The evidence covers Chinese to English on a particular portion of HIT. Its inclusion of several news and broadcast sources gives some variation within that setting. A language pair with different structural divergences could make different demands on a fragment inventory. The English and Arabic example in the motivation explains a formal difficulty with matching tree levels. It is separate from the experimental evidence. Similarly, studies discussed in the context section motivate the use of deeper fragments, but they are not additional test sets for this system.

Manual checking makes it easier to examine what the transfer rules can do when their structural input is usable. It limits what can be inferred about error tolerance. A wrong training boundary can prevent a genuinely corresponding span pair from being extracted. At test time a wrong category or branching decision can prevent an appropriate source fragment from matching. Since the decoder starts from a chosen tree, it cannot recover a rule match by exploring a different source analysis. The authors’ setup does not quantify how frequently these failures occur with routine automatic input.

The extraction procedure also relies on word alignments. A link across a candidate’s boundary can exclude a useful rule, and an alignment that omits a correspondence can change which fragment boundaries appear consistent. Manually checking parse trees addresses a different dependency. The paper gives a rationale for the choice of aligner and uses it throughout the experiments. It does not estimate the sensitivity of the final BLEU result to different alignment choices. That is particularly relevant because the same alignments determine both the initial rule boundaries and which interior regions it is possible to generalize into slots.

Having one reference limits the range of English formulations that can earn overlap on the test set. Both system rankings and uncertainty estimates concern the reported BLEU evaluation. The worked example gives some direct grammatical evidence, but the study includes no systematic human judgments of grammaticality or preservation of meaning. A claim that target syntax can improve grammaticality is a motivation with a plausible illustration. The measured gain is in BLEU, and the paper gives no separate corpus-wide estimate for grammaticality, long-distance ordering or the treatment of gaps.

The strongest attribution the design supports is to allowing deeper elementary trees in the shared implementation. Capable of reaching across levels, the deeper rules also change the number of lexicalized matches, the contexts available for selecting a translation and the ways an input can be divided. The paper includes no comparison that holds inventory size fixed while varying depth, or that keeps depth fixed while selectively removing insertions, deletions or reorderings. Its reported statistical significance concerns differences in output performance. The individual structural mechanisms are interpreted through the grammar, the inventory counts and the example.

Finally, the formal choice of an output and its derivation is broader than the alternatives the pruned search visits. A promising translation can disappear when its incomplete subtree misses a cutoff. A rule omitted at one node can also prevent a full derivation from becoming available at the root. The probability equations explain how the score is motivated and combined, while the beam procedure determines which scores can be compared in practice. The paper gives no exact-search comparison, so the measured advantage includes the behavior of the scoring and search together.

### What came after

The paper ends with plans to test larger collections under automatic parsing and to improve the rule inventory. It reports no outcomes from those plans. The proposed larger experiment would bear on a condition that the results leave open: whether the benefit survives when parse errors enter the training material and the test input without manual checking. Optimizing the inventory would address a different open question, namely which of the additional rules are needed to retain the measured gain while controlling the number of alternatives.

The related studies in the paper explain the origins of the design. Hierarchical phrase rules, dependency transfer, tree-to-string templates and prior work on non-isomorphic mappings supplied different ways to represent translation beyond contiguous phrases. They precede the experiment described here. No subsequent study is documented that would establish how later researchers adopted, modified or retested this particular tree-to-tree procedure.

## Cite

Cite as Min Zhang, Hongfei Jiang, Ai Ti Aw, Jun Sun, Sheng Li and Chew Lim Tan. 2007. A tree-to-tree alignment-based model for statistical machine translation. Proceedings of Machine Translation Summit XI: Papers.

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

```bibtex
@inproceedings{zhang2007tree,
  title = {{A tree-to-tree alignment-based model for statistical machine translation}},
  author = {Min Zhang, Hongfei Jiang, Ai Ti Aw, Jun Sun, Sheng Li and Chew Lim Tan},
  booktitle = {Proceedings of Machine Translation Summit XI: Papers},
  year = {2007},
  url = {https://aclanthology.org/2007.mtsummit-papers.71/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
