---
title: "Efficient Top-Down BTG Parsing for Machine Translation"
description: "A top-down bracketing parser learns to reorder source words before translation, speeding up search and improving scores across several…"
canonical: "https://research.elamur.ai/free/en/papers/nakagawa-2015-efficient-top-down-btg-parsing/"
---
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/nakagawa-2015-efficient-top-down-btg-parsing/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/) / Efficient Top-Down BTG Parsing for Machine Translation Preordering

# Efficient Top-Down BTG Parsing for Machine Translation Preordering

Paper · 2015 · Tetsuji Nakagawa

**Authors:** Nakagawa, Tetsuji · **Year:** 2015 · **Venue:** Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**28** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2251670534) · Cited by **16** papers in our library of more than 163,000 papers whose bibliographies we read · [Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)](https://aclanthology.org/volumes/P15-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/P15-1021/)
- [PDF](https://aclanthology.org/P15-1021.pdf)
- [DOI 10.3115/v1/p15-1021](https://doi.org/10.3115/v1/p15-1021)
- [OpenAlex](https://openalex.org/W2251670534)

Citations: OpenAlex, 2026-10-14.

## Summary

A phrase-based translation system has to decide both what to say in the target language and where to put it. If the languages organize a sentence differently, translating phrases in source order can leave a verb, an object, or an entire group of words in the wrong place. Moving those groups during translation makes the decoder’s search harder. Preordering moves some of that work earlier. It changes the order of the source words before the decoder translates them, so the decoder starts with a sentence whose arrangement more closely resembles the target order. The paper asks how to make this step practical across language pairs in [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/).

The method uses Bracketing Transduction Grammar, or BTG. Starting with the whole sentence, the parser divides a group of adjacent source words into two smaller groups and decides which group should come first. It repeats the operation until every group contains a single word. The resulting tree determines the new order. During search, the parser keeps several promising unfinished trees. During training, it can tell whether a new split would put aligned words in an order that no later split can repair. If search drops every branch that could still produce the target order, training can correct the scores at that point. It needs word correspondences from pairs of translated sentences, while the tree behind each reordering is learned indirectly.

The paper also tests how to obtain those correspondences. Its alternative to conventional automatic word alignment uses forced decoding, in which the translation system is asked to reproduce a known target sentence and returns the phrase correspondences it used. The authors filter and resample successful cases to build training data. This gives the strongest automatic training result for Japanese-to-English in their experiments, though its effect on final translation quality varies across language pairs.

On English-to-Japanese and Japanese-to-English, the full top-down system was more than 10 times as fast at preordering and more than 20 times as fast to train as the earlier CYK-based BTG system on the same automatic training data. Across 12 translation directions, Top-Down scored higher than that BTG baseline in each direction. With the forced-decoding data, the paper reports statistically significant gains over the available baselines for 7 directions. Handwritten rules still produced the best English-to-Japanese translation score, 18.68, against 17.88 for the automatically trained forced-decoding version of Top-Down. The top-down approach achieved its gains without requiring a supervised syntactic parser, and the ranking of systems depended on the translation direction, the training data, and whether evaluation measured word order or the final [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/).

## Deep dive: Efficient Top-Down BTG Parsing for Machine Translation Preordering

A top-down bracketing parser learns to reorder source words before translation, speeding up search and improving scores across several language pairs. · about 36 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

#### When the decoder has to move a phrase

A phrase-based system can translate a group of neighboring source words together. It must then choose how to arrange the translated groups. This decision is especially consequential when a source phrase and its translation belong far apart in the respective sentence orders. A decoder can consider moving among source positions as it builds a translation, but every additional option creates another path to consider along with the possible translations of each phrase. Constraining movement makes that search more manageable and can also make a useful long move hard to find.

The paper describes distance-based distortion as one established way to handle these decisions. The decoder uses the distance involved in fetching a phrase from a new source position. Other reordering approaches give the decoder lexical information, so the decision can depend on which words or phrases it is arranging. Hierarchical phrase-based translation offers a more structurally expressive alternative. In the paper’s account, long-distance movement and computational cost remain important concerns when reordering is handled during decoding. These are the approaches represented by [Statistical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/koehn-2003-statistical-phrase-based-translation/), [A Unigram Orientation Model for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/tillmann-2004-unigram-orientation-model-statistical-machine/), and [Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/chiang-2007-hierarchical-phrase-based-translation/).

Preordering gives the same problem a different starting point. A system first predicts a target-like arrangement of the source sentence. The phrase translator then reads that arrangement as its input and produces target words. This division can turn a movement that would have required a long jump during translation into a choice the preordering system has already made. It also means that errors at the first stage can change which source words the translator encounters together. A preordering system needs a way to favor useful permutations and rule out many others, and the final translation determines how much those choices help.

#### Using sentence structure to restrict the search

One approach starts from a source-language syntactic tree. If a tree groups words in a way that is useful for translation, rules can decide when to move whole branches together. Such rules can be written by someone who knows the languages. The paper discusses work on clause restructuring and on source reordering for languages with subject–object–verb order as examples. Each rule can express a specific structural change with a clear linguistic motivation, although writing the rules requires knowledge of the relevant constructions and the target order. The paper cites [Clause Restructuring for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/collins-2005-clause-restructuring-statistical-machine-translation/) and [Using a Dependency Parser to Improve SMT for Subject-Object-Verb Languages](https://md.research.elamur.ai/free/en/papers/xu-2009-dependency-parser-improve-smt-subject/).

Other systems learn rules from aligned sentences or fit a classifier that decides how to reorder parts of an existing source tree. This transfers work from rule writing to training, while retaining the need for a source parser at use time. The experimental baselines include both learned rules and classifier-based preordering. Their dependence on a source parser matters to the study because the paper evaluates directions for which those systems could not produce a result. The relevant kind of analysis links words through grammatical dependencies, as in [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/).

The paper also describes approaches that learn from parallel text, meaning source sentences paired with their translations. Automatic word alignment proposes which source and target words correspond. The order of those target words then provides evidence about which source words should come first. Work surveyed in the paper casts this decision as a linear ordering problem with pairwise preferences, as a sequence of adjacent swaps scored by a classifier, or as a traveling salesman problem whose solution determines the word sequence. These approaches can be trained without a syntactic treebank. In the paper’s comparison of approaches, they do not represent an underlying sentence tree that can also inform the features used to score a permutation.

#### Learning how to group words from parallel text

The next possibility is to infer the tree from evidence about word order. DeNero and Uszkoreit learn both a monolingual parser and a way to reorder its trees from parallel text. Neubig and colleagues instead train a discriminative BTG parser directly on alignment-derived reordering examples. A source sentence and a target order can agree with several trees, so the learner treats the tree as a latent variable. The observed training outcome is an ordering, and the learner chooses an underlying structure that can generate it. The paper places its work in this line of research. [Inducing Sentence Structure from Parallel Corpora for Reordering](https://md.research.elamur.ai/free/en/papers/denero-2011-inducing-sentence-structure-parallel-corpora/) and [Inducing a Discriminative Parser to Optimize Machine Translation Reordering](https://md.research.elamur.ai/free/en/papers/neubig-2012-inducing-discriminative-parser-optimize-machine/)

That earlier BTG system searches for a tree with CYK, a chart algorithm that builds analyses for smaller spans and combines them into larger ones. The paper gives cubic complexity in sentence length for the underlying parsing algorithm and a higher training cost for the earlier system’s loss calculation. The account also notes that practical implementations had already used search shortcuts such as cube pruning and cube growing. The starting point for Nakagawa’s work is therefore a structured learner that has already shown value for translation, with a search and training procedure expensive enough to motivate a different way of building the same kind of tree.

The direction in which a tree is built matters here for more than speed. Building from the whole sentence fixes the relative order of large blocks early. Once such a decision contradicts the known target order, work inside those blocks can no longer undo it. Training can use that fact to identify the point at which beam search has discarded every acceptable analysis. This connects the parser’s search order to the design of its learning procedure.

### The method, step by step

#### How a tree turns into an order

The parser receives a sequence of source words. It chooses a boundary inside that sequence and treats the words on either side as children of a node. The node carries an orientation. A Straight node emits the reordered left child before the reordered right child. An Inverted node emits the reordered right child before the reordered left child. Each child can itself be split and given an orientation, so a decision that moves a large group leaves the order inside that group open. A Terminal rule handles a single word and emits it.

These operations define a binary synchronous [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/) with a single nonterminal category. Binary means each internal node has two children. The single category means the grammar can group spans without calling them noun phrases, clauses, or any other syntactic category. In the original bilingual formalism, a terminal could generate a source and a target item. Preordering uses source words on both sides of the transformation, and this implementation makes each terminal a single word. Its output is an arrangement of the input words, ready for the translation stage. The grammar comes from [Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora](https://md.research.elamur.ai/free/en/papers/wu-1997-stochastic-inversion-transduction-grammars-bilingual/).

The paper’s worked example gives the target positions of the source words in source order.

```
y = (0, 1, 4, 3, 2)
```

Here `y` is the sequence of target positions. Its first two entries indicate that the first two source words keep their order at the beginning. The other entries indicate that the last part must appear in reverse. The parser can put a Straight split between those parts, then use Inverted nodes within the later part. The root’s decision concerns which part is emitted first. The decisions below it determine the contents of each part in the output.

The same emitted order can come from several trees. The paper illustrates this with a block that is fully reversed. A reversal can begin by separating off one end of the block or the other, leaving a different pair of words to be reversed deeper in the tree. Both analyses can emit the same final sequence. This distinction matters in learning because the target sequence may settle every pairwise ordering while leaving the choice of tree unresolved. The parser scores trees, and the training labels constrain their output.

From source words to a reordered sentence The steps in order.

#### What the beam keeps

The parser processes a stack of unresolved spans. A span is a contiguous interval in the original sentence, even if an Inverted node later moves it to a different place in the output. The paper uses a half-open interval `[p, q)`. Here `p` is the first source position in the span, and `q` is the position just beyond its last word. The input sequence is `x`, a word at index `i` is `xᵢ`, and `|x|` denotes the length of the input. The initial unresolved interval starts at `0` and ends at `|x|`.

At each expansion the parser removes the top span from the stack. It enumerates every interior boundary and considers both orientations at each boundary. An action is written `(r, o)`, where `r` is the split position and `o` is the orientation. The split lies immediately before word `xᵣ`. The left child covers `[p, r)` and the right child covers `[r, q)`. The orientation is `S` for Straight or `I` for Inverted. Children containing multiple words go on the stack. A single-word child already has a terminal analysis.

A state is written `⟨P, C, v⟩`. The angle brackets group the state components. `P` is the stack, `C` is the ordered record of split actions, and `v` is the sum of the scores for the nodes created so far. Given the initial span and the stack procedure, the action record identifies the tree. The score starts at `0` before any splits have been made. Completed states have empty stacks, and every completed history has the same number of split actions for a given input.

```
n − 1
```

The expression gives the number of splitting rounds for a sentence of `n` words. The minus sign subtracts `1` because the parser starts with a single span, and each split increases the number of pieces by one until each word is its own piece. The fixed number of rounds makes states comparable at the same depth in the search even when their pending spans have different sizes.

At each round the parser expands the states retained from the previous round. It pools all their successors and keeps the highest-scoring states up to a beam width `k`, the maximum number of histories carried to the next round. In the paper’s algorithm, `τₓ,Λ(s)` denotes the set of successors of the current state `s` for sentence `x` and feature weights `Λ`. `Topₖ` selects the states with highest accumulated score, `Score` reads that score from a state, and `Tree` reconstructs the analysis from its action record. At the final round, the parser returns the tree of the highest-scoring surviving state.

A beam gives a promising decision some room to compete with alternatives. For example, two different top-level splits can survive until the parser has seen how their descendants score. At the same time, the beam can discard a history whose score would have become competitive later. The paper specifies an objective over complete trees and uses beam search as a practical way to approximate it.

#### What the score measures

```
ẑ = argmax[z ∈ Z(x)] Σ[m ∈ Nodes(z)] Λ · Φ(m)
```

Here `z` is a candidate BTG tree, and `Z(x)` is the set of BTG trees for source sentence `x`. `Nodes(z)` is the collection of nodes in tree `z`, and `m` indexes a node in that collection. `Φ(m)` is its feature vector. `Λ` is the vector of weights learned from training data. The dot product `·` multiplies corresponding feature and weight entries and sums their contributions. `Σ` adds the node scores over the whole tree. `∈` denotes membership in the indicated set, and `argmax` selects a tree with the highest score. The hat in `ẑ` marks the selected tree. In the beam implementation, the returned tree is drawn from the completed histories that survived pruning.

```
x′ = Proj(ẑ)
```

`x′` is the preordered sequence of source words. `Proj` is the operation that reads the leaves of `ẑ` in the order specified by the orientations: left before right at Straight nodes and right before left at Inverted nodes. The prime distinguishes the resulting word sequence from the original sentence `x`. Two different histories can therefore produce the same `x′`.

The feature function for a split has access to the sentence, the action history, the span, its new boundary, and its chosen orientation. A feature template is a pattern for constructing a feature from those inputs. For instance, a template can associate an Inverted decision with the words immediately on either side of the split. The same template yields different features when evaluated at boundaries with different words. This lets the learner use cues from the sentence rather than give every split with the same span length an identical score.

For each position `i`, the paper uses `xᵢʷ` for the word as written, `xᵢᵖ` for its [part-of-speech tag](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), and `xᵢᶜ` for its word class. The superscripts identify attributes. A part-of-speech tag records a grammatical category, while the word classes in the experiments come from Brown clustering. These sources of information let a feature depend on a specific word or on a category or class shared by several words. The baseline templates combine the node’s orientation with span length, the relative sizes of the two children, or attributes of words around the span and the split. They also use selected pairs of positions, including the two words at the split and the two ends of the span.

The function `Balance` summarizes whether the left child is shorter than, equal in length to, or longer than the right child. An added template records both child lengths with a cap on each.

```
o min(r − p, 5) min(q − r, 5)
```

This is the paper’s notation for a feature template, with juxtaposition combining the parts of a feature name. `o` is the orientation. The difference between `r` and `p` gives the left child’s length, and the difference between `q` and `r` gives the right child’s length. `min` takes the smaller of a length and `5`, the cap used in this template.

Other added templates combine a node’s orientation with that of its parent, denoted by `o′`. They can also include `d`, which records whether the node lies on the left or right side of its parent in the source tree. This information is already determined when the parser reaches a child. The additions also combine more positions around the split and span endpoints. Some templates join several word forms, tags, or classes at once. Others connect those attributes with the parent orientation and side. The setup gives the parser access to relationships between a proposed local split and a structural decision already taken higher up.

The implementation computes a 64-bit hash for each word attribute before constructing features. To form a feature that combines attributes, it merges their hashes with integer operations. The resulting hash serves as a feature name and can be used when looking up the weight in a hash table. The paper distinguishes this implementation from using hash values directly as indices into a weight vector. It reports no noticeable accuracy difference from the feature representation change. The paper measures the speed of the feature configurations as a whole, so this observation about accuracy does not by itself quantify the time saved by the representation.

#### How alignments supply the training goal

A parallel sentence pair tells the learner which target sentence corresponds to a source sentence. An alignment adds links between source and target words. The preordering learner needs to turn those links into a proposed order for the source words. If each source word maps to a distinct target position, the target indices determine the order directly. Real training alignments in the paper can link a source word to several targets, link several source words to the same target, or leave some source words without a link. The training label must accommodate those cases.

```
xᵢ ≤ xⱼ ⇔ (∀a ∈ Aᵢ ∖ Aⱼ, ∀b ∈ Aⱼ: a ≤ b) ∧ (∀a ∈ Aᵢ, ∀b ∈ Aⱼ ∖ Aᵢ: a ≤ b)
```

Here `xᵢ` and `xⱼ` are the source words at indices `i` and `j`. `Aᵢ` and `Aⱼ` are their respective sets of aligned target indices. The relation `≤` on the left means the alignment licenses placing `xᵢ` before or at the same rank as `xⱼ`. The two occurrences of `≤` on the right compare target indices `a` and `b`. `⇔` means that the condition applies in both directions as a definition. `∀` means every allowed choice of the index must satisfy the comparison, `∈` means membership, and `∖` removes the indices present in the other set. The colon introduces the required comparison for the quantified pair. The conjunction `∧` requires both comparisons of sets to hold.

The relation is designed to come to a decision even when alignment sets overlap. In the first part, the indices exclusive to `xᵢ` must be early enough relative to the indices linked to `xⱼ`. In the second part, the indices linked to `xᵢ` must be early enough relative to the ones exclusive to `xⱼ`. When the relation holds both ways, the words receive the same rank. If a pair of words fails the relation in both directions, the paper discards the sentence pair because the source words cannot be sorted under this relation. For the retained cases, `yᵢ` records the rank assigned to `xᵢ`, and a word with no linked target gets the special value `−1`.

A tie permits either order between the tied words. An unaligned word can be emitted in any position consistent with the rest of the tree. In the paper’s alignment example, the rank sequence is as follows.

```
y = (−1, 2, 1, 0, 0)
```

`y` again lists the target ranks in source order. The first entry marks the unaligned word. The two final entries have equal rank. Both of those words must precede the words with ranks `1` and `2` in any compatible output, but their internal order remains open. The earlier BTG system fixed the placement of unaligned words by heuristics. The top-down training procedure lets the chosen tree supply their positions.

The paper uses conventional alignments and also constructs examples through forced decoding. In ordinary translation the decoder chooses a target sentence. Forced decoding supplies an existing target sentence and searches for a phrase-level derivation that produces it. A successful derivation provides phrase alignments, which the paper uses to construct the word-aligned data for preordering. The forced decoder is trained on the same parallel material used to train the final translation system.

The phrase table omits infrequent translations, and a decoder using it may fail to reproduce a given target sentence. Successful cases also tend to be shorter. The paper filters the forced-decoding output to sentences with at least 3 and at most 50 words and at least 3 phrase alignments. It removes sentences that share word 5-grams with other sentences to reduce repeated boilerplate. It then randomly resamples the remaining pool to follow a normal length distribution with mean 20 and standard deviation 8. Those targets were chosen using sentences sampled from the Web. The resampling adjusts sentence length among successful cases. The phrase table and the ability of the decoder to produce the reference still determine which cases ever enter that pool.

#### Deciding whether an unfinished tree can succeed

During training, a state is valid when some completion of its unfinished tree produces an order compatible with `y`. The parser stores a Boolean flag `w` with the stack, action history, and score. `w` is either true or false. Training excludes examples whose target order cannot be represented with BTG, and the initial state for each retained example starts valid. A successor of an invalid state stays invalid because new splits cannot change decisions already made. For a valid state, the next action can be tested by inspecting the two children of the chosen split.

The paper’s condition can be written using `L` and `R` for the collections of known target ranks in the left and right child, respectively. They include the ranks at source positions from `p` up to the boundary `r` on the left and from `r` up to the end boundary `q` on the right, with each interval excluding its end. Both collections omit `−1`.

```
L = ∅ ∨ R = ∅ ∨ (o = S ∧ max(L) ≤ min(R)) ∨ (o = I ∧ max(R) ≤ min(L))
```

`∅` is the empty collection, and `=` tests equality. `∨` means at least one alternative must hold, while `∧` requires both parts of an alternative. `o` is the chosen orientation, `S` denotes Straight, and `I` denotes Inverted. `max` and `min` find the largest and smallest known rank in a nonempty collection. `≤` lets equal target ranks occur on either side of the split. If a child contains only unaligned words, the empty-collection alternative means its placement is unrestricted by this test.

For a Straight action, every word from the left child is emitted before every word from the right. If the largest known rank on the left exceeds the smallest known rank on the right, the action commits the parser to an incorrect order for some pair. Later choices can move a word within its own child, but no such choice can move it across the other child. For an Inverted action, the right group is emitted first, and the range check goes the other way. The rank check thus detects an error that would persist in any completion of the state.

Sufficiency needs a further argument. A split can respect the target order between its children while leaving open the question of whether the desired orders inside those children can be produced by BTG. The paper uses the characterization of separable permutations, which are the orders representable by recursively keeping or swapping two groups. These permutations contain neither a 2413 nor a 3142 pattern, and restricting a separable order to a subsequence preserves that property. Because the starting state is valid, it has a compatible BTG completion. Restricting a compatible order to each proposed child yields orders that those children can realize. The range check then establishes that the two child orders can be joined in the chosen orientation.

Ties and unaligned words complicate the statement of a target permutation. The paper handles them by considering a fully specified order furnished by a compatible completion of the valid state. That order makes a particular choice among tied words and gives a position to every unaligned word. It can supply permissible within-child orders by restriction. The range test checks how to join those children against the original constraints, where ties and unknown positions retain their freedom. This is why validity can be decided from the rank information without searching over a fresh set of full trees at each candidate split.

#### Updating while the error is still local

A training round expands and scores the beam much as inference does. In the pool of generated states, the procedure identifies `ŝ`, the highest-scoring state overall, and `s∗`, the highest-scoring valid state. A particular tree has no privileged status in these examples. Any surviving history that can still realize the target order is acceptable, and the procedure chooses the one it currently scores highest as the positive analysis. This is the sense in which the structure is latent in the perceptron procedure.

The early update rule is triggered when the best valid state falls outside the retained beam, the point at which the search loses its valid continuations. At that moment the parser has generated a valid candidate that can be used for the update even though it did not rank high enough to survive. It can compare the scores of partial trees at the point of failure. If a valid state survives through the last split, the procedure can compare complete states instead.

```
Λ ← Λ + Φ(xₗ, s∗) − Φ(xₗ, ŝ)
```

`Λ` is the weight vector, and the assignment arrow `←` replaces it with the value on the right. `xₗ` is the source sentence from training example `l`. `s∗` is the best valid state at the stopping step, and `ŝ` is the best state overall there. `Φ(xₗ, s)` denotes the feature vector summed over nodes built in state `s` for that sentence. The plus and minus signs add the positive state’s feature counts and subtract the predicted state’s feature counts. The displayed procedure makes the change when the two states differ. Features shared by the states cancel in this update.

The paper presents that rule through the structured perceptron with latent variables. The experiments actually use Passive Aggressive updates and parameter averaging. The training explanation and the experimental implementation therefore share the approach of comparing a prediction with a valid alternative, while the displayed perceptron equation gives the illustrative update rather than the exact experimental one. The use of early update follows [Incremental Parsing with the Perceptron Algorithm](https://md.research.elamur.ai/free/en/papers/collins-2004-incremental-parsing-perceptron-algorithm/).

#### Where the computational savings arise

```
O(kn²)
```

`O` expresses the order of growth of the work, `k` is beam width, and `n` is sentence length. The exponent on `n` indicates quadratic growth in length with beam width held fixed. The search has a number of rounds proportional to sentence length. Within a round it expands at most `k` states, and each expansion can propose a number of split and orientation choices proportional to length. Short spans have fewer choices. The paper gives the same order of search cost for learning, since training uses the same beam procedure.

The validity flag can be maintained efficiently even when the next span is long. When a span comes off the stack during training, a pass over it can compute the extrema of known ranks to the left and right of each possible split. Each orientation then needs only the relevant stored extrema, with the empty cases handled by the absence of known ranks. The paper gives `O(1)` for the check at a candidate split once those quantities are ready. Here `O(1)` denotes work bounded independently of the span length for that individual lookup and comparison.

```
O(n³)
```

This is the paper’s complexity for CYK parsing with sentence length `n`. The exponent marks cubic growth, corresponding to considering intervals and the ways to split them.

```
O(n⁵)
```

This is the training complexity the paper attributes to the earlier BTG procedure with its more complex loss. The fifth power refers to growth in sentence length `n`. The practical baseline uses cube pruning, and the top-down parser uses a bounded beam, so the measured speed comparison concerns those implementations. The complexity expressions describe why changing how candidates are generated and supervised can reduce work, while the timing experiment shows the scale of the effect in the tested configuration.

### Experiments and results

#### Translation data and systems

The evaluation covers 12 directed translation tasks. Dutch, French, and Japanese each appear in both directions with English. The study also translates from English into Spanish, and from Hindi, Korean, Turkish, Urdu, and Welsh into English. Direction matters because the preordering system is trained to anticipate the word order of one target language from the words of another. English-to-Japanese and Japanese-to-English are separate tasks, and the paper gives them additional attention in its training-data and speed experiments.

The parallel training sentences were collected automatically from the Web. The paper describes the parallel material for each language pair as containing around 400 million source and target words. For development and translation testing, the authors sampled English sentences from the Web and obtained human translations into the other languages. The development set has 3,000 sentences and is used to tune the translation system. The test set has 5,000 sentences. For the separate intrinsic word-order evaluation, the authors manually aligned 2,000 sentence pairs for English-to-Japanese and Japanese-to-English.

The downstream translator is phrase-based. It uses a distance-based distortion component and a lexicalized phrase-reordering component, so in the main experiments it can still move phrases after the input has been preordered. It has a distortion limit of 5 words. The translation alignments are trained with 3 iterations of IBM Model-1 followed by 3 iterations of HMM alignment. Translation weights are tuned by lattice-based minimum error rate training, and the target-side language statistics use 5-grams. The tuning procedure comes from [Lattice-based Minimum Error Rate Training for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/macherey-2008-lattice-based-minimum-error-rate/).

No-Preordering gives this translation system its source sentences in their original order. Manual-Rules preorders them using handcrafted precedence rules, with 43 written for English-to-Japanese and 24 for Japanese-to-English. Auto-Rules learns the rules from aligned data, with 27 to 36 rules learned for a language pair. Classifier implements the 2-step classifier approach of Lerner and Petrov. Each of these three preordering baselines uses a source dependency parser.

The comparison within the BTG family uses Latent Derivation Reorderer, called Lader, in version 0.1.4. It uses CYK with cube pruning and the basic feature templates. Top-Down uses the proposed beam search, with both sets of templates except when explicitly marked Basic Feat. Both BTG systems use beam width 20 and 20 training iterations in the reported setup. Word classes are obtained from Brown clustering with 256 classes. CPU times are measured on an Intel Xeon 3.20GHz machine with 32GB RAM.

Part-of-speech tagging is needed by the preordering systems and the dependency parser. For Dutch, English, French, Japanese, and Korean the authors use a supervised tagger trained on manually tagged data. The other languages use projection-based tagging, which transfers tagging information and does not require part-of-speech annotation for those languages. This setup distinguishes the cost of supplying a dependency parser from the cost of supplying word attributes. A BTG system can avoid the former while still using a tagger.

For the detailed Japanese experiments, Manual-8k contains 8,000 manually aligned training pairs. EM-10k and EM-100k contain 10,000 and 100,000 pairs sampled from conventional automatic alignments. The automatic data is filtered for sentence length and repeated word 5-grams. Sentence pairs are also excluded when more than half the source words lack target links. The authors align in both translation directions and keep the intersection of the two link sets. Their preliminary comparison favored that heuristic over UNION and GROW-DIAG-FINAL. Forced-10k and Forced-100k contain 10,000 and 100,000 training pairs obtained by the forced-decoding procedure.

#### What the evaluation measures

BLEU evaluates the translation output against the human references. The intrinsic evaluation instead looks directly at the sequence produced by the preordering step and compares it with the order expected from manual alignment. This allows a system to be assessed before the phrase decoder has made target-word choices or attempted to correct the ordering. The paper uses the Fuzzy Reordering Score, abbreviated FRS, alongside a Kendall ordering score. BLEU follows [Bleu: a Method for Automatic Evaluation of Machine Translation](https://md.research.elamur.ai/free/en/papers/papineni-2002-bleu-method-automatic-evaluation-machine/).

The two intrinsic metrics operate on `ρ`, the list of original source indices in predicted output order after excluding words unaligned in the reference. `ρᵢ` is the source index of the item at output index `i` in that filtered list. Looking up `y` at that source index gives the reference rank of the item. The two scores use the same lookup but ask different questions about the resulting sequence.

```
FRS = B / (|ρ| + 1)
```

`FRS` is the sentence’s Fuzzy Reordering Score. `B` counts the credited neighboring pairs, with additional checks for the start and end of the output. `|ρ|` is the number of items in the filtered output. The plus sign adds `1` to account for evaluating both sentence boundaries alongside the interior adjacencies. The slash denotes division.

```
B = Σ[i = 0,…,|ρ| − 2] δ(y[ρᵢ] = y[ρᵢ₊₁] ∨ y[ρᵢ] + 1 = y[ρᵢ₊₁]) + δ(y[ρ₀] = 0) + δ(y[ρ₍|ρ|−1₎] = maxᵢ yᵢ)
```

`Σ` sums the interior checks over output index `i`, starting at `0` and stopping at the last index with a following item. The ellipsis indicates all intervening indices. Brackets in `y[ρᵢ]` denote lookup in the target-rank sequence. The next item is indexed by `i + 1`. `δ` gives `1` when its condition is true and `0` otherwise. The equality signs test for tied ranks or, with the added `1`, successive ranks. `∨` lets either relation count as a correct adjacency. The final two terms check whether the first item has rank `0` and the last has the maximum rank in `y`. `maxᵢ` takes that maximum over source positions. The paper describes FRS as an adjacency precision measure equivalent to the score based on fragmentation into chunks. An otherwise acceptable group that is broken apart loses credit where its adjacencies are broken.

```
τ = (Σ[i = 0,…,|ρ| − 2] Σ[j = i + 1,…,|ρ| − 1] δ(y[ρᵢ] ≤ y[ρⱼ])) / (½ |ρ| (|ρ| − 1))
```

`τ` is the paper’s Kendall score. The two sums select output pairs by taking an index `i` and each later index `j`. `y[ρᵢ]` and `y[ρⱼ]` are the respective reference ranks. The test `≤` credits a pair when its ranks are in nondecreasing order, including ties. `δ` again converts a true test into `1` and a false one into `0`. The denominator multiplies `|ρ|` by its predecessor and by one half, `½`, to count all distinct pairs available for comparison. The slash normalizes the number of credited pairs. The paper relates this formulation to a normalized measure of alignment-link crossings.

The authors compute both intrinsic measures sentence by sentence and average the results across the test set. FRS can react sharply when a word is placed between items expected to be neighbors. Kendall’s measure can still credit the overall relative order of many pairs in that same output. Their different behavior matters when two systems have nearly the same score on one measure but differ on the other.

#### Speed on the shared training data

The timing comparison uses EM-100k for both BTG parsers and is reported for the two Japanese directions. For English-to-Japanese, training takes 63 minutes for full Top-Down, 9 for Basic Feat., and 1562 for Lader. In the same direction, the full top-down system processes 87.8 sentences per second, the basic version 475.1, and Lader 4.3. The basic version and Lader share the same feature templates, which makes the throughput comparison informative even though other parts of their implementations differ.

English-to-Japanese preordering throughput with EM-100k training The top-down parser processes more sentences per second with either feature set, and the basic set is fastest.

**The numbers**

| System or setting | sentences per second |
| --- | --- |
| Lader | 4.3 |
| Top-Down, full features (this paper) | 87.8 |
| Top-Down, basic features | 475.1 |

For Japanese-to-English, training takes 81 minutes for full Top-Down, 9 for Basic Feat., and 2087 for Lader. The preordering measurements are 178.4 sentences per second for the full version, 939.0 for the basic version, and 12.3 for Lader. According to the paper, the full system is over 20 times as fast as Lader during training and over 10 times as fast during preordering. These are timings for the preordering systems. The paper evaluates their effect on the translator separately.

#### BLEU across translation directions

With the distortion limit at 5 words, Top-Down produces a higher BLEU score than Lader for each of the 12 directions, using either of the automatic training sources. This includes directions in which the difference between the best systems in the wider comparison is small. For English-to-Dutch, Lader scores 25.30, Top-Down with EM-100k scores 25.82, and the forced-data version scores 25.66. Classifier reaches 25.99. For Welsh-to-English, the three BTG scores are 41.79 for Lader, 41.95 for Top-Down with EM-100k, and 41.86 for Top-Down with Forced-100k. The baseline with no preordering scores 41.68.

The paper reports statistically significant gains for Top-Down with Forced-100k over the available non-Top-Down comparison systems in 7 directions. Three of these pairs illustrate different relationships between the automatic training variants. For English-to-French, No-Preordering scores 25.86, Lader 26.50, and the two Top-Down scores are 26.75 with EM-100k and 26.81 with Forced-100k. For French-to-English, No-Preordering scores 32.33 and Lader reaches 32.43, while Top-Down scores 33.00 with EM-100k and 32.99 with Forced-100k. For Hindi-to-English the values are 19.86 without preordering, 24.24 with Lader, and 24.98 and 24.97 with the respective Top-Down variants. Thus the significance comparison with the earlier systems can favor Forced-100k even where changing the alignment source within Top-Down gives little or no benefit.

For Korean-to-English, the strongest syntax-dependent result shown is Classifier at 19.46. Top-Down scores 19.67 with EM-100k and 19.88 with Forced-100k. For Turkish-to-English, No-Preordering scores 18.26 and Lader 22.80, with Top-Down reaching 23.91 using EM-100k and 24.18 using Forced-100k. For Urdu-to-English the corresponding results are 14.48, 16.62, 17.65, and 18.32. The remaining direction in the group with significant gains is Japanese-to-English, in which the forced-data version has the highest BLEU score in both the automatic system comparison and the detailed training-data experiment.

Japanese-to-English translation test BLEU at distortion limit 5 Top-Down with forced-decoding data leads the comparison, including its counterpart trained with conventional alignments.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| No-Preordering | 10.31 |
| Manual-Rules | 14.02 |
| Auto-Rules | 12.59 |
| Classifier | 13.90 |
| Lader, EM-100k | 14.59 |
| Top-Down, EM-100k (this paper) | 14.84 |
| Top-Down, Forced-100k | 15.54 |

English-to-Japanese is the exception to the paper’s claim of broadly competitive results against the wider field. Manual-Rules gives 18.68 and Classifier gives 18.53, ahead of the best automatically trained Top-Down score of 17.88. Lader scores 17.40, and No-Preordering scores 13.80. The order of the methods changes in the reverse direction, where Top-Down with Forced-100k reaches 15.54 against 14.02 for Manual-Rules. A result for either Japanese direction is therefore insufficient to characterize the comparison for both.

In Dutch-to-English, the best reported BLEU is 35.51 from Top-Down with Forced-100k, close to 35.49 with EM-100k and 35.42 from Classifier. In English-to-Spanish, Top-Down with EM-100k scores 30.26, Forced-100k scores 30.24, and Classifier scores 30.09. The paper describes performance in the remaining directions outside the significant-gain group as similar to the established methods, with the English-to-Japanese exception. Missing values for rule and classifier systems reflect unavailable rules or dependency parsers. The statistical statement is about the results that could be compared for each direction. The Japanese training-data table uses `p < 0.05` to distinguish scores by statistical significance relative to its best result, following [Statistical Significance Tests for Machine Translation Evaluation](https://md.research.elamur.ai/free/en/papers/koehn-2004-statistical-significance-tests-machine-translation/).

### What the ablations show

#### What the additional features buy

The direct feature comparison holds the top-down parser and EM-100k training source fixed and replaces the extended templates with the basic set. For English-to-Japanese, FRS moves from 75.25 with basic features to 77.83 with full features, and Kendall’s score moves from 87.26 to 87.78. For Japanese-to-English, FRS moves from 73.56 to 74.60 and Kendall’s score from 83.66 to 83.78. The richer feature set improves both intrinsic scores in both directions. The speed results show what that improvement costs in training time and throughput.

The same-feature comparison with Lader asks a different question. Lader gets English-to-Japanese FRS of 75.41 and basic Top-Down gets 75.25, while basic Top-Down has the higher Kendall score, 87.26 against 86.85. In the reverse direction, Lader’s FRS is 74.89 and basic Top-Down’s is 73.56, while their Kendall scores are 82.15 and 83.66 respectively. Even full Top-Down stays below Lader’s Japanese-to-English FRS, although its Kendall score is higher and its translation BLEU on EM-100k is higher. In this comparison, the gain in speed is compatible with a change in the kinds of word-order errors the evaluation measures.

With the feature templates matched, the two systems still have different search procedures and different parameter estimation. Lader uses an online SVM and optimizes FRS in its default setting. Top-Down learns with Passive Aggressive updates and searches a beam of top-down histories. The paper suggests that Lader’s FRS objective may explain its advantage on that particular measure. The comparisons establish what changes when the richer feature set is added to Top-Down and how the complete implementations differ with a shared set. They leave the separate effects of the search procedure and the training objective unidentified.

#### How supervision changes the result

The Japanese training-data comparison varies both the amount of supervision and how it is obtained. For English-to-Japanese, increasing the conventional automatic data from EM-10k to EM-100k raises BLEU from 17.07 to 17.66. Increasing the forced data from Forced-10k to Forced-100k raises it from 16.98 to 17.88. On the Japanese-to-English test set, the corresponding changes are from 14.55 to 14.84 with conventional supervision and from 14.78 to 15.54 with forced decoding. Each data source helps final translation more at the larger tested size in both Japanese directions.

At a matched size, the alignment-source comparison depends on the direction and metric. For English-to-Japanese at 10,000 training examples, Forced-10k improves the intrinsic scores over EM-10k, with FRS of 76.10 against 74.79 and Kendall scores of 87.45 against 85.87. Its BLEU is lower, at 16.98 against 17.07. At 100,000 examples, the forced set leads on both intrinsic measures and BLEU in that direction. For Japanese-to-English, it leads on all three measures at both sizes. Since the forced procedure changes which sentence pairs are included as well as how their correspondences are found, these comparisons measure the value of the resulting training sets as a whole.

The manually aligned examples make the distinction between metrics clearer. For English-to-Japanese, Manual-8k reaches 81.57 FRS, 90.44 Kendall, and 18.13 BLEU, the best results among the Top-Down training sets in that direction. For Japanese-to-English, Manual-8k also has the best intrinsic Top-Down results, with 79.26 FRS and 86.47 Kendall. Its BLEU is 14.26. Forced-100k reaches 15.54 BLEU in that same direction with FRS of 76.58 and Kendall of 85.25. Agreement with human word alignment is an informative intermediate outcome. The final ranking can change when those source orders are fed to a phrase translator with its own learned preferences.

Across the full set of translation directions, the authors highlight Japanese-to-English and Urdu-to-English as cases where forced rather than conventional supervision improved BLEU by more than 0.6 at the same training size. In some other directions, such as English-to-Dutch, the conventional data scores higher. The automatic data choices therefore offer a reproducible comparison between procedures in this study, with the strongest improvements concentrated in particular directions.

#### How much work remains for the decoder

The paper changes the distortion limit from 5 to 0 for both Japanese directions. With the limit at 0, the decoder translates in the supplied phrase order. Any global movement that is needed must already have been provided by preordering. This comparison probes whether a high score in the main setting relies on additional movement by the translator.

English-to-Japanese translation test BLEU at distortion limit 0 Handwritten rules lead when the decoder follows input order, and the forced-data version is the strongest BTG system.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| No-Preordering | 11.99 |
| Manual-Rules | 18.34 |
| Auto-Rules | 16.87 |
| Classifier | 18.31 |
| Lader, EM-100k | 16.95 |
| Top-Down, EM-100k (this paper) | 17.36 |
| Top-Down, Forced-100k | 17.88 |

For English-to-Japanese, the forced-data Top-Down system scores 17.88 at both distortion limits, while the EM system moves from 17.66 at limit 5 to 17.36 at limit 0. No-Preordering goes from 13.80 to 11.99. Manual-Rules also retains much of its English-to-Japanese performance, moving from 18.68 to 18.34, and Auto-Rules goes from 16.80 to 16.87. The reported changes consequently vary with the system even for a fixed direction.

For Japanese-to-English, taking away decoder movement changes the forced-data Top-Down score from 15.54 to 15.34 and the conventional-data score from 14.84 to 14.72. Manual-Rules goes from 14.02 to 12.43, and Lader from 14.59 to 14.38. These results show that the Top-Down sequence supports much of its translation quality in both directions even when the decoder follows it directly. The larger change for the handwritten rules in Japanese-to-English also shows why the test is informative beyond ranking the systems at a single decoder setting. Two preorderers can give the decoder different amounts of useful work to do after they have supplied a sequence.

### Limitations

#### Limits the paper identifies

BTG restricts the set of reachable permutations. All operations divide a contiguous source span and choose the order of its two children. An order that requires interleaving the children of every possible split cannot be constructed this way. The paper gives the 2413 pattern as an example and uses both 2413 and 3142 in explaining the characterization of separable permutations. This matters even if the training alignment is correct. The parser can search more carefully or score more features only within the class of orders its grammar can produce. Training discards examples outside that class.

The alignment route imposes further restrictions before the grammar is even considered. Some alignments leave pairs incomparable under the ranking relation and those sentences are removed. Forced decoding can fail because the phrase table and decoder cannot reproduce the given translation, and its successes are biased toward shorter sentences. The authors resample lengths to address that bias and filter out examples with too few aligned phrases or repeated text. They also report that forced decoding fails to improve BLEU consistently across the tested directions. Their results make a case for it as an alternative training source with useful gains in some conditions.

The paper explicitly identifies strong competition from Manual-Rules in English-to-Japanese. It also notes the practical cost of extending handcrafted rules and the reliance of several alternatives on source-language dependency parsers. Those practical constraints explain the interest in a method based on parallel text. They also create gaps in the baseline table. An unavailable result leaves open what a comparable syntax-based approach might achieve if the missing resources were supplied.

The conclusion proposes developing a bottom-up BTG parser that can also train with latent structure and comparing it with the top-down method. The paper relates its parser to prior incremental dependency and constituent parsers, where analyses can grow by combining smaller spans. Here the experiments compare top-down search with a specific CYK-based system. A bottom-up learner designed for the same supervision would address a different comparison. The earlier parsing work includes [Incrementality in Deterministic Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2004-incrementality-deterministic-dependency-parsing/) and [A Classifier-Based Parser with Linear Run-Time Complexity](https://md.research.elamur.ai/free/en/papers/sagae-2005-classifier-based-parser-linear-run/).

#### Limits of the comparisons

The results leave some mechanisms bundled together. The parser direction changes at the same time as search, training updates, and the objective relative to the earlier BTG system. The paper controls the feature templates in one comparison and shows a large implementation-level speed advantage under that control. It does not report a matched comparison that changes only the direction of tree construction, or one that switches early update on and off with the rest of the proposed system held fixed. The validity test explains why early update is feasible here. The experiments evaluate the resulting design as a package rather than estimate a separate BLEU contribution for that test.

The beam width is fixed in the reported settings. Accordingly, the speed and accuracy measurements give an operating point for the tested systems. They do not trace how fast Top-Down would be under a wider beam or whether additional surviving analyses would improve intrinsic accuracy. The objective over complete trees and the search used to approximate it are distinct, so an empirical advantage over Lader at the reported settings does not settle how the methods would compare under every search budget. The timings also cover the Japanese directions specifically, whereas the translation table covers 12 directions.

The forced-data comparison controls training-set size in the matched experiments, but the two pipelines differ in filtering, sentence selection, and alignment procedure. The forced pipeline samples only successful derivations from a phrase table trained on the parallel material. Matching the intended length distribution can improve the balance of short and long sentences in that set while leaving differences in vocabulary or available phrase translations. The observed gains are evidence for this way of constructing training sets. The experiments do not establish that a given phrase alignment is more accurate than an EM alignment on the same sentence or attribute the gains to any individual filtering choice.

The paper’s portability claim concerns the absence of a required supervised syntactic parser. Its actual systems still use word attributes from part-of-speech taggers, including supervised taggers where available, and train on substantial parallel data. Both of the automatic training routes need an alignment or translation pipeline. The experiment therefore establishes that the approach can work under these resource conditions across the tested languages. It offers no direct measurement for a language pair with very little parallel text or without the supplied tagging setup.

Finally, the detailed intrinsic evaluation comes from manually aligned Japanese and English sentences. The BLEU gains elsewhere are evidence about final translation quality in this phrase-based setup. They do not by themselves reveal how much better the source word sequences agree with human alignments in those other directions. The references for translation testing come from a process that starts with English Web sentences, and the results concern that test construction. The study also measures translation quality through BLEU instead of a separate human assessment of word order or translation quality. These boundaries matter when interpreting why a system wins on final output while another is closer to the manually aligned order.

### What came after

No later work is identified for this paper, so there is no documented follow-up to describe. The authors themselves point to a comparison that would help clarify the result. A bottom-up BTG parser trained with latent trees could keep the same alignment-derived supervision while changing the order in which the grammar’s decisions are made. Comparing it with the top-down parser would test how much of the measured advantage depends on committing to span boundaries early and how much can be retained with a different incremental search. The paper leaves that comparison as future work.

## Cite

Cite as Tetsuji Nakagawa. 2015. Efficient Top-Down BTG Parsing for Machine Translation Preordering. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3115/v1/p15-1021](https://doi.org/10.3115/v1/p15-1021)

```bibtex
@inproceedings{tetsuji2015efficient,
  title = {{Efficient Top-Down BTG Parsing for Machine Translation Preordering}},
  author = {Tetsuji Nakagawa},
  booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
  year = {2015},
  doi = {10.3115/v1/p15-1021},
  url = {https://doi.org/10.3115/v1/p15-1021}
}
```

> 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)
