---
title: "Discriminative Reordering Extensions for Hierarchical"
description: "How hierarchical phrase-based translation improves on Chinese-to-English text by expanding its word-order options and learning how to score them."
canonical: "https://research.elamur.ai/free/en/papers/huck-2012-discriminative-reordering-extensions-hierarchical-phrase/"
---
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/huck-2012-discriminative-reordering-extensions-hierarchical-phrase/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2012](https://md.research.elamur.ai/free/en/papers/2012/) / Discriminative Reordering Extensions for Hierarchical Phrase-Based Machine Translation

# Discriminative Reordering Extensions for Hierarchical Phrase-Based Machine Translation

Paper · 2012 · Matthias Huck, Stephan Peitz, Markus Freitag et al.

**Authors:** [Matthias Huck](https://md.research.elamur.ai/free/en/authors/matthias-huck/), [Stephan Peitz](https://md.research.elamur.ai/free/en/authors/stephan-peitz/), [Markus Freitag](https://md.research.elamur.ai/free/en/authors/markus-freitag/) and [Hermann Ney](https://md.research.elamur.ai/free/en/authors/hermann-ney/) · **Year:** 2012 · **Venue:** Proceedings of the 16th Annual Conference of the European Association for Machine Translation · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**14** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2186598481) · Cited by **9** papers in our library of more than 163,000 papers whose bibliographies we read · [Proceedings of the 16th Annual Conference of the European Association for Machine Translation](https://aclanthology.org/volumes/2012.eamt-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/2012.eamt-1.66/)
- [PDF](https://aclanthology.org/2012.eamt-1.66.pdf)
- [OpenAlex](https://openalex.org/W2186598481)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation system can find good English wording for pieces of a Chinese sentence and still put those pieces in an awkward order. Hierarchical phrase-based [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) addresses part of that problem by learning rules that translate and rearrange phrases together. A rule can contain a gap for another phrase, and the location of that gap can change between the source and the translation. That gives the system room to move text, but many rearrangements still depend on finding a rule with the right pattern. The authors investigate ways to give the decoder more freedom and better evidence for deciding when to use it.

They extend the system in two ways. First, they add rules that can rearrange pieces regardless of the words those pieces contain. The simplest rule swaps adjacent pieces. The other alternatives let a piece cross a block that may contain several translated units. Second, they train an orientation classifier that scores boundaries between pieces that meet in the English output. It asks whether the material on the English right came from the left or the right in Chinese. One version uses Chinese word identities, while another adds English word identities and automatically learned word classes on both sides. The decoder can use this evidence at boundaries created by ordinary translation rules as well as by the added rearrangement rules.

The experiments use the NIST Chinese-to-English task and compare a standard hierarchical grammar with a shallow grammar that restricts recursive embedding. Both benefit from combining the rule and scoring extensions, but they favor different rules. On the unseen MT08 test set, the best standard system uses the more constrained block-jump variant with the richer classifier. It reaches 26.4 [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/) and 66.0 TER, an error measure for which lower is better. The authors report gains of +1.2 % BLEU and −0.6 % TER over the matching baseline. The strongest shallow system uses the swap extension with the richer classifier, reaching 26.1 BLEU and 66.1 TER. Its reported gains are +1.2 % BLEU and −0.5 % TER.

The supplementary experiments help explain why the extensions work together. Restricting the classifier to boundaries created by explicit reorderings gives slightly worse results than scoring eligible boundaries throughout the derivation. The swap rule itself accounts for a small share of rule applications, yet the winning translations use hierarchical phrases more frequently and ordinary glue rules less frequently than their baselines do. The added rule can therefore change how the decoder builds a sentence even when most of the assembly is carried out by rules the baseline already had.

## Deep dive: Discriminative Reordering Extensions for Hierarchical Phrase-Based Machine Translation

How hierarchical phrase-based translation improves on Chinese-to-English text by expanding its word-order options and learning how to score them. · 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

#### How a phrase can move

The system begins with a Chinese sentence and searches for a sequence of rule applications that produces an English sentence. Some rules translate an uninterrupted stretch of Chinese into an uninterrupted stretch of English. The grammar also has rules made from fixed words and gaps. A gap stands for a smaller translation that will be supplied during decoding. In formal terms, the source and target patterns share linked placeholders, as in a synchronous [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/).

A gap is useful for more than leaving an expression unspecified. The material supplied for it occupies the position indicated on each side of the rule. If the source pattern places the gap after certain words and the target pattern places it between words, filling it moves the corresponding material as part of the translation. A rule with several gaps can give them different relative positions on its two sides. The link between each source gap and its target counterpart tells the decoder which translation belongs where.

Those links originate in phrase extraction. The training procedure identifies corresponding pieces of text in aligned sentences and can replace an eligible phrase pair with a shared placeholder. The pieces removed on the two sides give the placeholder its identity. A hierarchical rule consequently records a rearrangement in the context of whatever lexical material and linked gaps survived extraction. Applying the rule executes that arrangement along with the translation of its fixed words.

The paper focuses on what happens when those learned patterns give the decoder too few ways to arrange independently available translations. Suppose two adjacent source spans can each be translated, and the resulting English pieces would read better in reverse order. Having both translations available does not guarantee that a learned hierarchical rule can place them that way in that context. The decoder may assemble them with a glue rule, which appends material in source order, or it may find an appropriate hierarchical rule. A general swap makes another construction available even when the grammar lacks a matching lexicalized pattern.

There is also a scoring problem. A grammar capable of producing more word orders offers the decoder more plausible candidates and more poor ones. A rule that licenses a swap establishes that the decoder may make the exchange. The words near the resulting boundary can help judge whether the exchange makes sense in that instance. The paper treats these as separate changes to the system. The additional rules determine which derivations exist, while the classifier supplies evidence for ranking them. Because the classifier scores relationships present in the original grammar too, the authors can test each change by itself.

#### What earlier systems already did

The paper traces the hierarchical approach to Chiang’s work. It contrasts that approach with ordinary phrase-based translation, where a separate component for scoring order was common. The orientation method associated with Tillmann and used in Moses distinguished monotone, swap and discontinuous cases. In broad terms, these categories describe whether neighboring translated phrases follow the source order, exchange positions or have a gap between their source spans. Galley and Manning refined that approach. Zens and Ney’s discriminative work in conventional phrase-based translation was the closer precedent for the left-versus-right decision used in this paper. [A Unigram Orientation Model for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/tillmann-2004-unigram-orientation-model-statistical-machine/) · [A Simple and Effective Hierarchical Phrase Reordering Model](https://md.research.elamur.ai/free/en/papers/galley-2008-simple-effective-hierarchical-phrase-reordering/)

Earlier hierarchical work had already asked how much recursion a decoder needed. Iglesias and colleagues, and then de Gispert and colleagues, described changes to the grammar that limit recursive rule use. Restricting recursion can make decoding more efficient and curb the number of hypotheses the grammar produces. It also changes which reorderings can be expressed. The present paper examines that tradeoff by pairing restricted recursion with rules that restore particular kinds of movement. The earlier maximum-phrase-jump experiment of Iglesias and colleagues went further in a different direction. It included a swap while removing all hierarchical phrases. Here, hierarchical phrases remain available in the shallow as well as the standard settings.

Previous experiments had also explored movements larger than an adjacent swap. Vilar and colleagues added rules that allow translated pieces to cross entire blocks, drawing on reordering ideas from conventional phrase-based translation. The paper reports that those rules helped in a German-to-English Europarl setting. It also describes related work by Huck and colleagues that found a similar extension less helpful on an Arabic-to-English NIST task. These precedents made block jumps a concrete option to test and gave the authors a reason to compare different restrictions on their use.

Another line of work tried to improve reordering by adding syntactic information. The paper cites Gao and colleagues as an example. The extensions examined here use the words, learned classes and alignments associated with a translation boundary. The grammar distinguishes how pieces can be assembled, and the classifier makes its prediction from the local evidence specified for the experiment. [Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/gao-2011-soft-dependency-constraints-reordering-hierarchical/)

He and colleagues had already combined a general swap with a maximum-entropy orientation scorer on Chinese-to-English translation. Their approach trained separate classifiers for different rule patterns. As the authors explain it, the need to collect examples separately for those patterns makes training dependent on how the source is segmented into phrases. The alternative in this paper defines features using positions and their words or classes. The decoder still calls the scorer at boundaries, but a given kind of boundary does not require a separate classifier for the shape of the rule that created it. The distinction is important when a hierarchical rule makes several pieces meet in the same operation.

### The method, step by step

#### From a rule to a partial translation

The authors first choose a grammar and, where applicable, add rules for swaps or jumps. They train a classifier with either a source-only feature set or a bilingual one. During search, the decoder uses the grammar to construct partial translations. Each time a rule puts lexical blocks next to one another on the target side, the relevant features can contribute a score for their orientation. This score joins the other evidence the decoder uses to rank partial and complete translations.

Training and using the reordering extensions The steps in order.

In the rule notation below, an arrow goes from the category being expanded to its source and target patterns. Angle brackets enclose those patterns, and the comma separates the source pattern from the target pattern. A symbol such as `X` is a nonterminal, which means that a derivation can fill it with translated material. A tilde followed by an index links an occurrence in one pattern to its partner in the other. Two occurrences with the same index refer to the same bilingual piece. Reading the right half of a rule in sequence gives the order of those pieces in the output.

A lexical phrase translates a contiguous span directly. A hierarchical phrase has at least one gap that must be filled before it yields a complete piece of output. The yield of a nonterminal is the material it covers after expansion. The length restriction discussed in the paper uses the span over the words on the source side. The start symbol, `S`, lets the decoder assemble a sentence from smaller pieces. An initial rule creates the first stretch of that sentence, and a glue rule can extend the stretch.

#### What the shallow grammar permits

The standard grammar, which the authors call deep, uses a generic phrase category `X`. A hierarchical rule can take a piece produced by another hierarchical rule in one of its gaps. The shallow-1 grammar replaces the generic phrase category with `Xₚ` for lexical phrases and `Xₕ` for hierarchical phrases, and uses `Xₚ` for the gaps in hierarchical rules. In the base shallow grammar, a hierarchical rule can therefore take a directly translated phrase in a gap, while another hierarchical rule cannot fill that position. This limits the depth of hierarchical recursion to one. The extensions can add derivations of their own under those categories.

```
S → ⟨Xₚ∼0, Xₚ∼0⟩
```

Here `S` is the sentence-building category and `Xₚ` is the lexical phrase category. The arrow introduces the paired patterns inside the angle brackets, the comma divides them, and `∼0` identifies the lexical phrase that appears on both sides. This rule starts a sentence with a piece of the lexical category.

```
S → ⟨Xₕ∼0, Xₕ∼0⟩
```

The left side `S` again establishes the start of a sentence. `Xₕ` is the hierarchical phrase category, `∼0` links that phrase across the comma, and the arrow and angle brackets give its source and target realization. This rule gives a hierarchical piece the same way to start a sentence.

```
S → ⟨S∼0 Xₚ∼1, S∼0 Xₚ∼1⟩
```

On the left, `S` is the larger sentence prefix being constructed. On the right, `S∼0` stands for a prefix already available and `Xₚ∼1` for the lexical piece appended to it. The comma separates the patterns enclosed by the angle brackets. The two indices link the same prefix and new piece across the arrow’s expansion, with the prefix first on each side.

```
S → ⟨S∼0 Xₕ∼1, S∼0 Xₕ∼1⟩
```

Here `Xₕ∼1` supplies a hierarchical piece to the `S∼0` prefix. The resulting category to the left of the arrow is `S`. Both halves of the angle-bracket pair, divided by the comma, keep index `0` before index `1`. This sentence-level concatenation is compatible with the recursion limit because it appends a filled hierarchical phrase outside another phrase’s gaps.

The distinction between filling a gap and extending the sentence matters. A shallow derivation can assemble multiple hierarchical pieces over the course of a sentence. What it restricts is the ability to build one hierarchical piece inside another. A comparison between deep and shallow systems therefore changes the kinds of internal constructions available, even though both systems can translate whole sentences and both can apply hierarchical rules.

#### Swapping adjacent pieces

The simplest extension adds a pattern that takes two adjacent phrases and reverses their order. It contains no fixed words. Any qualifying pair of subtranslations can fill its slots, subject to the categories and span constraints of the grammar. In the deep setting the rule is as follows.

```
X → ⟨X∼0 X∼1, X∼1 X∼0⟩
```

The `X` before the arrow is the resulting phrase, and the indexed `X` occurrences inside the brackets are its component phrases. The comma divides the source sequence from the target sequence. Indices `0` and `1` preserve the pieces’ identities across the two sequences. The source piece indexed `1` comes first in the translation, before the one indexed `0`.

The authors keep the ordinary initial and glue rules alongside the swap. This separates the work of sentence assembly from the construction of ordinary `X` spans. A sentence prefix can keep growing under `S` while an `X` produced by a swap is still subject to the normal span limit. The paper contrasts this design with replacing the glue rule by a monotone concatenation rule under `X`. Keeping the normal glue rule also leaves open a narrower experiment, in which monotone concatenation under `X` can be added to the existing grammar and tested for its own contribution.

In the deep grammar, an `X` created by the swap can fill a gap in a hierarchical phrase. Without a general monotone concatenation rule under `X`, there is no directly parallel way to fill that gap by joining arbitrary pieces in source order. Recursive hierarchical rules already provide ways to build larger phrases, so the authors test the extra monotone rule separately. The shallow extension uses a different design because its gap restrictions change what can be built and embedded.

```
Xₚ → ⟨Xₚ∼0 Xₚ∼1, Xₚ∼1 Xₚ∼0⟩
```

Every `Xₚ` in the rule is of the lexical phrase category. The one before the arrow is the result. Inside the angle brackets the comma separates the original order, indexed `0` then `1`, from the reversed order. `∼0` and `∼1` link each input piece to its own output. The choice of `Xₚ` allows the result to fill a shallow hierarchical gap.

```
Xₚ → ⟨Xₚ∼0 Xₚ∼1, Xₚ∼0 Xₚ∼1⟩
```

The left-hand `Xₚ` is again the assembled phrase. The arrow points to two patterns, separated by the comma inside the angle brackets, that both keep `Xₚ∼0` before `Xₚ∼1`. The indices identify the same pieces across the patterns. This rule provides a source-order counterpart to the shallow swap.

With these rules, `Xₚ` can come from combining smaller `Xₚ` pieces as well as from directly translating a lexical phrase. A hierarchical phrase still takes `Xₚ` in its gaps and cannot take `Xₕ` there. The shallow swaps therefore restore a limited kind of compositional freedom without restoring the deep grammar’s recursive hierarchical embeddings. The span cap can apply to both phrase categories, preventing these added combinations from building an arbitrarily long piece.

The experiments also distinguish adding the swap rule from adding a binary swap feature. The rule determines whether a derivation may use the exchange. The feature fires when the rule is applied and lets the weighting procedure adjust the score associated with that operation. The lexical orientation score answers a more specific question using the words or classes at a boundary. These are distinct signals even when the same rule application activates both.

#### Repeated block jumps

The first jump variant separates a piece that moves from the block it crosses. A block can contain several phrases. On the target side, the moving piece is placed before the block that originally preceded it. Unlike the ordinary swap, which creates a phrase, the jump rules for this variant build under the sentence symbol. The first can reorder material at the start of the sentence. The second can do so after a prefix. Both supplement the ordinary sentence-building rules.

```
S → ⟨B∼0 X∼1, X∼1 B∼0⟩
```

`S` before the arrow is the sentence-building result. `B` is the block that is crossed and `X` is the moving phrase. The brackets enclose the patterns separated by the comma. `∼0` links the block and `∼1` links the phrase, so the source begins with the block and the target begins with the phrase.

```
S → ⟨S∼0 B∼1 X∼2, S∼0 X∼2 B∼1⟩
```

The new `S` expands into an established prefix `S∼0`, a crossed block `B∼1` and a moving phrase `X∼2`. The arrow, brackets and comma again express the bilingual expansion. Index `0` is first in both patterns. Indices `1` and `2` exchange positions after it. Because the left side is again `S`, another sentence-building operation can extend the result.

```
B → ⟨X∼0, X∼0⟩
```

`B` is the block under construction, and the arrow allows a single `X` phrase to supply it. Inside the paired brackets, the comma separates the two occurrences with index `0`, which identify that phrase across languages.

```
B → ⟨B∼0 X∼1, B∼0 X∼1⟩
```

The `B` before the arrow is a larger block. In the source and target patterns enclosed by the brackets, `B∼0` is an existing portion of the block and `X∼1` is a phrase appended after it. The comma separates these matching orders. The indices maintain the pairing of the block portion and the appended phrase.

Inside a crossed block, the appended phrases keep their order relative to one another. An individual `X` can still reorganize its own material through the hierarchical grammar. The block-building rules themselves have no way to perform further block jumps. This design permits repeated jumps at sentence level while limiting the mechanism inside each crossed window. The `S` expansions retain the decoder property that this category is needed only in the chart cells for spans beginning at the left edge. A chart is the decoder’s store of candidate derivations for source spans.

A length limit on `B` bounds the width of an individual crossing. The authors identify separate signals that can accompany these rules. A binary jump feature can fire for the rules that actually exchange the block and the moving phrase. A feature can also mark the glue-like extension of `B`. A distance-based distortion feature can be computed from the width of the crossed block. The distinction is between registering an operation and measuring how far that operation moves material.

The shallow version preserves the behavior of the deep version. It spells out both kinds of phrase that may move or enter a block, because the shallow grammar has separate phrase categories where the deep grammar uses `X`.

```
S → ⟨B∼0 Xₚ∼1, Xₚ∼1 B∼0⟩
```

`S` is the sentence category produced by the arrow. `B∼0` identifies the block and `Xₚ∼1` identifies a lexical-category phrase. The comma divides the source and target sequences in the angle brackets. The lexical piece begins after the block on the source side and appears before it on the target side.

```
S → ⟨B∼0 Xₕ∼1, Xₕ∼1 B∼0⟩
```

This `S` rule gives the same initial crossing to a hierarchical-category phrase, `Xₕ∼1`. The block remains `B∼0`. The arrow gives the expansion, and the comma between the bracketed patterns separates the original sequence from the sequence with index `1` first.

```
S → ⟨S∼0 B∼1 Xₚ∼2, S∼0 Xₚ∼2 B∼1⟩
```

The expanding `S` keeps its existing prefix `S∼0` first in both bracketed patterns. After it, `Xₚ∼2`, a lexical-category phrase, crosses `B∼1`. The comma separates the source order from the target order, and the arrow assigns the longer result to `S`.

```
S → ⟨S∼0 B∼1 Xₕ∼2, S∼0 Xₕ∼2 B∼1⟩
```

`S∼0` is the preserved prefix, `B∼1` the crossed block and `Xₕ∼2` the moving hierarchical-category phrase. The `S` to the left of the arrow is the larger prefix. The comma inside the angle brackets separates the sequences, with the last two indices exchanged on the target side.

```
B → ⟨Xₚ∼0, Xₚ∼0⟩
```

The arrow allows `B` to consist of a lexical-category phrase `Xₚ`. The angle brackets and comma show the two sides of this realization, and `∼0` pairs the phrase across them. This establishes a block from a lexical piece.

```
B → ⟨Xₕ∼0, Xₕ∼0⟩
```

Here `B` expands to a hierarchical-category phrase `Xₕ` in each half of the bracketed pair. The arrow gives the expansion, the comma divides the halves and index `0` links the same phrase across them. This establishes a block from a hierarchical piece.

```
B → ⟨B∼0 Xₚ∼1, B∼0 Xₚ∼1⟩
```

The `B` to the left of the arrow is the expanded block. `B∼0` is its existing portion and `Xₚ∼1` the lexical-category phrase appended to it. The comma separates two patterns inside the angle brackets with identical index order.

```
B → ⟨B∼0 Xₕ∼1, B∼0 Xₕ∼1⟩
```

`B∼0` again stands for the existing block portion and `Xₕ∼1` for an appended hierarchical-category phrase. The arrow expands the larger `B` into these pieces. The bracketed patterns on either side of the comma both keep index `0` first.

Allowing either category in a block does not change what can fill a hierarchical gap. The jump rules combine complete units under `S` or `B`. A hierarchical phrase used as one of those units still gets its own gap fillers according to the shallow grammar. In that sense the extension changes assembly at a different level from the shallow swap, which creates an `Xₚ` that can itself go into a gap.

#### A single block crossing

The second jump variant targets a narrower class of rearrangements. A sentence may cross at most one contiguous block under the added rules. The deep version replaces the ordinary initial and glue rules with a set that builds two kinds of blocks. `M` represents a run of phrases that are composed in source order at the block level, and `B` is the block that can be moved behind such a run. An `X` phrase inside either block can still perform the rearrangements permitted by the translation grammar.

```
S → ⟨M∼0, M∼0⟩
```

`S` is the sentence-building category and `M` is the source-order block. The arrow gives the expansion, while the comma inside the angle brackets separates the source and target uses of the block. Index `0` marks them as the same piece. This rule supplies the start for a derivation that needs no jump.

```
S → ⟨S∼0 M∼1, S∼0 M∼1⟩
```

The `S` before the arrow is an extended sentence prefix. Its two parts are the existing prefix `S∼0` and the next source-order block `M∼1`. The source and target patterns divided by the comma in the brackets keep those indexed pieces in the same order.

```
S → ⟨B∼0 M∼1, M∼1 B∼0⟩
```

`B∼0` identifies the crossed block and `M∼1` the block placed before it in the output. The `S` on the left expands through the arrow into the patterns enclosed by the brackets, with the comma separating the original order from the reversed block order. The expansion contains no earlier `S` prefix where another crossing could have taken place.

```
M → ⟨X∼0, X∼0⟩
```

`M` is the source-order block, and `X` is the phrase from which this instance begins. The arrow introduces the bracketed bilingual realization. The comma divides its sides, and `∼0` links the same phrase across them.

```
M → ⟨M∼0 X∼1, M∼0 X∼1⟩
```

The `M` to the left of the arrow extends an existing `M∼0` with a phrase `X∼1`. The comma separates the paired patterns in the angle brackets. Their index order preserves the relationship of the existing block to the appended phrase.

```
B → ⟨X∼0, X∼0⟩
```

Here the `B` category uses a single phrase `X` as its base. The arrow introduces the expansion, the brackets group its paired sides, and index `0` links the two `X` occurrences separated by the comma.

```
B → ⟨B∼0 X∼1, B∼0 X∼1⟩
```

The arrow gives a larger `B` consisting of an existing `B∼0` followed by a phrase `X∼1`. The comma divides the bracketed source and target patterns. Both keep the two indexed components in source order.

The restriction follows from the sentence rules. The crossing can establish an `S`, and any later extension of that `S` appends material in source order. The crossing rule cannot extend an already completed prefix. By contrast, the first variant had an explicit rule for jumping after an `S` prefix, so its output could in turn become the prefix for a later jump. The second variant can therefore favor a different pattern of sentence construction even if the task rarely needs multiple jumps.

The authors include a binary feature for glue-like operations and a distance feature for the crossing. The decoder computes the latter when it applies the rule that puts `M` before `B`. The paper presents the deep rule set and describes deriving the shallow version by following the earlier treatment of the lexical and hierarchical phrase categories. Both versions are included in the experiments.

#### Reading orientation at a target boundary

The classifier predicts a choice between left and right. For two blocks that become neighbors in the target sequence, the decoder looks up where the relevant boundary words align in the source. The direction tells it where the later target block’s source material lies relative to the preceding block’s source material. The labels are relative to the boundary being scored. A single hierarchical construction can give rise to different labels at different boundaries.

A phrase with a gap has boundaries around that gap as well as at its exposed edges. The paper illustrates this with a Chinese pattern consisting of `f₁ f₂` followed by a gap and an English pattern consisting of `e₁`, the gap and `e₃`. In these labels `f` marks a source word and `e` a target word. The filling phrase translates `f₃` as `e₂`, so the English output becomes `e₁ e₂ e₃`. The fill introduces a meeting between the block ending in `e₁` and the one beginning with `e₂`, followed by a meeting between `e₂` and `e₃`. The example assigns right to the first meeting and left to the second. On the target side the inserted piece sits between the fixed pieces. On the source side it follows the fixed words.

The example shows why a classifier attached only to explicitly reversing rules would miss decisions of interest. An ordinary hierarchical rule can create multiple target boundaries when its gaps are filled. The decoder needs the words at those boundaries, the aligned source words and their positions. It invokes the same orientation machinery when the local relationship becomes available, even if the hierarchical rule that produced it has a pattern unlike the rules that produced other boundaries.

The simpler feature configuration uses binary indicators for the source word at the position being scored. A binary indicator records whether a particular feature is present. The richer configuration also uses the word’s source class and the corresponding target-side word and class. The authors obtain 100 automatically learned word classes on both the source and target sides with mkcls, which is distributed with GIZA++. A class allows distinct words to share a feature. The word identity features remain available in the richer configuration, so the classifier can use individual evidence as well as evidence pooled at the class level.

The authors fit orientation probabilities in a maximum-entropy framework. They use Generalized Iterative Scaling to train the classifier with a maximum class posterior probability criterion and add a Gaussian prior for smoothing. Here the posterior is the probability assigned to an orientation given the active features. The prior regularizes the fitted parameters. The main article describes these choices and the feature inventory in words. Its displayed equations specify the grammar rules.

At decoding time, the orientation contribution is part of a log-linear combination of features. Such a combination gives different sources of evidence their own weights when ranking a candidate. The weights governing this overall ranking are tuned for translation quality in a separate procedure from the classifier’s training. The binary rule indicators and distance features can also enter the combination. The grammar supplies the legal moves, the local orientation probabilities score the evidence around their boundaries, and the tuned weights determine how that evidence interacts with the rest of the translation system.

### Experiments and results

#### Training data and evaluation

The authors use the Jane hierarchical translation toolkit for the NIST Chinese-to-English task. Their parallel training corpus contains 3.0M Chinese–English sentence pairs, with 77.5M running words on the Chinese side and 81.0M on the English side. They align words in both directions with GIZA++ and symmetrize the alignments to obtain a single set of links. Those links provide the bilingual correspondences relevant to phrase extraction and to the boundary scoring procedure. [A Systematic Comparison of Various Statistical Alignment Models](https://md.research.elamur.ai/free/en/papers/och-2003-systematic-comparison-various-statistical-alignment/)

Target-language fluency is scored with a 4-gram trained in SRILM using modified Kneser–Ney smoothing. A 4-gram uses short sequences of neighboring words to evaluate local fluency. The orientation classifier uses a different view of a target boundary, since it can refer back to the positions and words in Chinese. The decoder searches with cube pruning, which limits the candidate combinations it explores. The main experiments apply a maximum source span of 10 to nonterminals other than the sentence-building symbol `S`. [Forest Rescoring](https://md.research.elamur.ai/free/en/papers/huang-2007-forest-rescoring-faster-decoding-integrated/) · [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

The development set is MT06. The authors tune the overall feature weights on that set with Minimum Error Rate Training, optimizing BLEU over 100-best candidate lists. MT08 is the unseen test set. This split matters because a configuration can receive a better development score through tuning and still offer little or no improvement on unseen sentences. The supplementary experiments contain examples of just that outcome.

The paper reports truecase BLEU and TER. BLEU rewards overlap between the output and reference translations, with higher values preferred. TER expresses how much editing is needed to reach a reference, with lower values preferred. A change can affect the two metrics differently because they evaluate different properties of the output when comparing it with references. For BLEU the authors estimate confidence intervals by bootstrapping, and for TER they use Cochran’s approximate ratio variance. The main results mark improvements over the baseline at p \< .1.

The deep and shallow baselines use their respective hierarchical grammars without the added reordering rules or the discriminative orientation score. The same families of extensions are tested against each. The deep baseline scores 32.6 BLEU and 61.2 TER on MT06, compared with 31.4 BLEU and 61.8 TER for the shallow baseline. On MT08 the deep baseline has higher BLEU, while the baselines have the same TER of 66.6. Improvements in an extension should be read against the baseline for its own grammar. The direct deep-versus-shallow comparison answers a separate question about the performance of the completed systems.

#### Results with the deep grammar

The deep system improves when given either more ways to rearrange phrases or more evidence for making the arrangements already available. Using only the source-word classifier raises MT08 BLEU from the baseline’s 25.2 to 25.4 and lowers TER from 66.6 to 66.3. Using the richer classifier with the unmodified grammar reaches 25.8 BLEU and 66.0 TER. The authors report a gain of up to +0.6 % BLEU and −0.6 % TER for adding orientation scoring alone. The result establishes that the scorer has a role even when the decoder must work with the original set of grammar rules.

The plain swap reaches 25.8 BLEU on MT08 while leaving TER at 66.6. The first jump variant on its own reaches 25.6 BLEU and 66.4 TER. The second jump configuration, which includes distance scoring, reaches 25.8 BLEU and 66.5 TER before adding the classifier. These configurations expose the difference between enabling a rule and selecting a good construction with it. Each gives the decoder a way to produce a previously unavailable derivation, and the scores depend on how that freedom interacts with ranking.

Deep grammar extensions on NIST Chinese→English MT08 test BLEU The constrained jump variant with bilingual orientation features has the highest BLEU among these deep settings.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Deep baseline | 25.2 |
| Bilingual word and class orientation only | 25.8 |
| Swap rule only | 25.8 |
| Swap with binary feature and bilingual orientation | 26.2 |
| Repeated jumps with binary feature and bilingual orientation | 26.0 |
| Constrained jump with distance and source-word orientation | 26.2 |
| Constrained jump with distance and bilingual orientation (this paper) | 26.4 |

The highest deep BLEU comes from pairing the constrained jump variant and its distance feature with the bilingual word-and-class classifier. Its 26.4 BLEU and 66.0 TER on MT08 correspond to the authors’ reported changes of +1.2 % BLEU and −0.6 % TER from baseline. The deep swap system with the binary swap feature and the same classifier gives 26.2 BLEU and 66.1 TER. The paper reports +1.0 % BLEU and −0.5 % TER for that configuration. The comparable first-jump system with the binary jump feature and richer classifier has 26.0 BLEU and 66.1 TER.

The constrained jump with only source-word orientation gives the lowest MT08 TER among these deep settings, at 65.8, alongside 26.2 BLEU. The richer orientation configuration is the paper’s best overall system and also leads on test BLEU, the metric used to tune the feature weights. It shares its MT08 TER of 66.0 with the rich orientation-only configuration. Thus the benefit of the constrained jump over that classifier-only setting appears in BLEU while TER records the same aggregate value.

Deep orientation and jump settings on NIST Chinese→English MT08 test TER The lowest TER comes from the constrained jump with source-word orientation.

**The numbers**

| System or setting | TER |
| --- | --- |
| Deep baseline | 66.6 |
| Source-word orientation only | 66.3 |
| Bilingual word and class orientation only | 66.0 |
| Swap with binary feature and bilingual orientation | 66.1 |
| Constrained jump with distance and bilingual orientation | 66.0 |
| Constrained jump with distance and source-word orientation (this paper) | 65.8 |

The development scores add context to this ranking. The rich and source-only settings of the constrained jump both reach 33.2 BLEU on MT06. They differ on development TER, with 61.0 for the rich setting and 60.8 for the source-only setting. Their test BLEU separates even though their development BLEU is the same. These are comparisons between separately tuned configurations. The table shows how each full system behaved under that procedure, including cases where its relative position changed on unseen data.

#### Results with the shallow grammar

The shallower grammar benefits most from the swap extension. In the baseline, source-order glue can assemble shallow hierarchical pieces, but the grammar has fewer opportunities to form larger phrases through embedding. The shallow swap and its monotone companion create `Xₚ` pieces that can serve as gap fillers. This gives the shallow system flexibility at a location where its baseline grammar was deliberately restrictive.

On MT08, adding the source-word classifier to the shallow baseline gives 25.2 BLEU and 66.6 TER. The richer classifier gives 25.1 BLEU and 66.3 TER. Adding the swap extension by itself results in 25.0 BLEU and 67.0 TER. The strong shallow configuration appears when the swap extension is paired with orientation scoring. With source-word features and no binary swap feature, that configuration gives 26.0 BLEU and 66.2 TER. With the richer features and no binary swap feature it gives 26.1 BLEU and 66.3 TER. With both the binary swap feature and the richer classifier it gives 26.1 BLEU and 66.1 TER.

Shallow grammar extensions on NIST Chinese→English MT08 test BLEU The shallow swap with bilingual orientation leads the shallow jump combinations.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Shallow baseline | 24.9 |
| Bilingual word and class orientation only | 25.1 |
| Swap extension only | 25.0 |
| Swap with source-word orientation | 26.0 |
| Repeated jumps with binary feature and bilingual orientation | 25.5 |
| Constrained jump with distance and bilingual orientation | 25.5 |
| Swap with binary feature and bilingual orientation (this paper) | 26.1 |

The authors report a shallow improvement of +1.2 % BLEU and −0.5 % TER for the best swap combination on MT08. On MT06 it scores 32.9 BLEU and 61.0 TER. The deep version of that same combination gives 33.2 BLEU and 61.3 TER on development and 26.2 BLEU and 66.1 TER on test. The shallow version is therefore competitive with the deep swap version on this test. The best deep system still comes from the constrained jump family, which behaves quite differently in the shallow setting.

The gap between the shallow jump families and the shallow swap can be seen with the richer feature set. On MT08, the first jump variant with the binary jump feature reaches 25.5 BLEU and 66.7 TER. The second, with its distance feature, reaches 25.5 BLEU and 66.3 TER. Both have lower BLEU than the shallow swap with the richer features, and neither matches its TER when the binary swap feature is included. The successful shallow configuration is thus specific to the tested way of adding movement and to the score that accompanies it.

### What the ablations show

#### Separating the rules from the scorer

The main comparisons add the classifier to an unchanged baseline, add rules without the classifier, and combine the two. The deep classifier-only result shows that a system can rank translations better without changing which orders the grammar permits. The deep swap-only result shows that a structural change can improve test BLEU even with the original boundary scoring. Neither observation accounts on its own for the strongest combined results. In particular, the shallow swap benefits much more in the presence of the orientation classifier than it does in isolation, and the shallow result without the classifier worsens TER.

Comparisons between the feature sets give a more conditional result. The source-word indicators already carry enough information to improve several configurations. Adding target words and word classes gives a stronger result on balance, as the authors describe it. The best deep and shallow systems by test BLEU both use the richer configuration. There are counterexamples within the table. The source-only classifier alone has higher shallow test BLEU than the rich classifier alone, while the rich version has lower TER. For the deep constrained jump, the source-only version gives the strongest TER and the richer one gives the strongest BLEU. These are bundled feature sets, so their comparison does not identify how much of a change comes specifically from English word identities or from either side’s word classes.

The binary features also have effects that depend on the rest of the system. The rich deep swap without a binary feature scores 26.0 BLEU and 66.1 TER on MT08. Adding the feature gives 26.2 BLEU and the same TER. The rich shallow swap reaches 26.1 BLEU with or without the binary swap feature, and TER goes from 66.3 to 66.1 when the feature is present. In each grammar this comparison keeps the swap available and changes the scores that can be assigned to derivations using it. It is a comparison of ranking signals within a grammar, unlike the comparison that first adds the swap rule.

#### Widening spans and permitting source-order joins

The span-limit experiment asks whether the bound on ordinary nonterminals removes useful derivations. When the authors drop it from the deep baseline, MT06 BLEU stays at 32.6 and TER goes from 61.2 to 61.5. On MT08, BLEU rises from 25.2 to 25.5, the reported +0.3 % BLEU improvement, while TER stays at 66.6. The small test gain leaves room for span restrictions to matter in the baseline.

The comparable experiment with the enhanced deep swap system behaves differently. The authors report +0.2 % BLEU and −0.2 % TER on MT06 after removing the length limit. On MT08, the two versions both score 26.2 BLEU, and TER goes from 66.1 with the limit to 66.3 without it. The development gain did not transfer to the test set. The evidence therefore supports the use of the cap in the main enhanced setting while leaving open its effect in other data or search conditions.

The deep monotone-concatenation experiment checks for a different restriction. In the main swap grammar, two pieces can be joined under `X` when their order is reversed. The following rule adds the corresponding join when their order is preserved.

```
X → ⟨X∼0 X∼1, X∼0 X∼1⟩
```

The `X` before the arrow is the resulting phrase. `X∼0` and `X∼1` identify its component phrases in the paired sequences. The comma in the angle brackets divides source from target, and the order of the indexed pieces stays the same. The result is an `X` that may fill a hierarchical gap, as an `X` built by swapping can.

The authors add this rule to the deep swap system with the binary swap feature and richer classifier. On MT08 the score changes from 26.2 BLEU and 66.1 TER to 26.0 BLEU and 66.4 TER. The extra symmetry yields no improvement in that system. Keeping the base glue rule already gives monotone assembly at sentence level, and the deep system can also construct larger phrases with recursive hierarchical rules. The result concerns the marginal value of a general source-order join under `X` in that particular grammar. The shallow swap continues to use its own monotone companion, which is part of how the authors designed that extension.

#### Scoring movement distance and choosing where to score boundaries

The constrained jump system uses a distance feature, which raises the question of whether its advantage over the first jump variant comes from that feature alone. The authors add distance scoring to their strongest deep configuration of the first jump variant. The test scores go from 26.0 BLEU and 66.1 TER to 25.9 BLEU and 66.1 TER. There is no improvement from adding the feature there. They also give the deep swap system a distance score based on the length of the phrase created by a swap. It retains 26.2 BLEU on MT08, with 66.2 TER rather than 66.1. Those comparisons give no evidence that adding a distance signal by itself transfers the constrained variant’s gain to the other rule families.

The experiment does not isolate a single cause for the second variant’s behavior. The jump variants differ in how they build sentences and in which structures they let the decoder assemble. A distance score is evaluated in the context of the candidates available under each grammar. The negative result for adding distance to the first variant makes a simple explanation based on the presence of a distance feature less persuasive. A comparison that removes distance from the winning constrained-jump setting would answer a further question about its value there.

The authors also compare broad boundary scoring with scoring limited to selected rules. For the deep swap system they allow the orientation classifier to contribute only when the swap rule places blocks together. For the deep first-jump system they do the corresponding experiment with the rules that actually move a piece across a block. In the swap setting, restricting scoring gives 26.0 BLEU and 66.4 TER on MT08, compared with 26.2 BLEU and 66.1 TER when all eligible joins are scored. In the first-jump setting, restriction gives 25.9 BLEU and 66.3 TER, compared with 26.0 BLEU and 66.1 TER.

These comparisons distinguish scoring the added operations from scoring orientation as a general property of translation assembly. The full classifier has opportunities to affect choices inside base hierarchical constructions and at other joins. The paper’s gap-filling example illustrates the kind of evidence such a restriction can omit. If an ordinary hierarchical rule introduces adjacent target blocks whose source positions run in different directions, an orientation score may still be informative even though the grammar did not invoke an explicit jump or swap.

#### How the winning translations are built

The authors count rule applications in the highest-ranked MT08 translation for each sentence. They compare the baselines with the best swap systems, which combine the swap extension, the binary swap feature and orientation scoring. The deep baseline gets 25.8% of its applications from hierarchical phrases, compared with 32.0% in the deep best swap system. The share from lexical phrases moves from 45.8% to 40.0%, while the combined share for initial and glue rules goes from 28.4% to 26.8%. Swap rules make up 1.2% of the deep best swap system’s applications.

The shallow comparison shows a similar redistribution. Hierarchical phrases account for 17.8% of baseline rule use and 24.0% in the shallow best swap system. Lexical phrases account for 47.6% and 44.7%, respectively, while the combined initial-and-glue category goes from 34.6% to 29.5%. Swap rules make up 1.8% of applications in the shallow best swap system. The deep systems still use hierarchical phrases more often, consistent with the greater range of hierarchical embeddings available to them.

The sentence-level counts give a different view of frequency. Among the 1357 MT08 sentences, a swap appears in 295 (22%) of the best deep swap translations and in 446 (33%) of the best shallow swap translations. A rule can therefore account for a small fraction of the total operations while affecting derivations for a much larger fraction of sentences. The increase in hierarchical rule use is also consistent with the grammar giving the decoder new pieces that can enter hierarchical structures. The comparison bundles the swap and the scoring changes, so the counts describe the behavior of the combined systems.

The paper also follows a test sentence through a deep swap derivation. Its English references express, with different wording, that doing or achieving something is very difficult. The baseline starts with a clause describing what is to be done, then comments on its difficulty. The example shows a swap contributing to a different arrangement in the enhanced translation. The authors judge that output to be convincing English even though it differs from all the references. The example makes concrete both what a grammar operation changes and why aggregate reference scores cannot describe every acceptable wording.

### Limitations

#### Limits stated by the authors

The paper’s empirical claim concerns a large Chinese-to-English translation task with a specific development and test split. Its conclusion reports significant gains of up to +1.2 % BLEU over the matching baselines for both grammar depths. The authors also give the associated error-rate results and acknowledge through their comparisons that the tested extensions do not behave uniformly. The richer feature configuration performs slightly better overall in their account, and the winning rule family changes with grammar depth. Those qualifications matter when interpreting the best numbers.

The grammar designs have explicit limits. The shallow base grammar restricts the depth of hierarchical embedding. The shallow swap joins pieces in the lexical category, while the jump alternatives act on sentence or block structures. The first jump variant permits repeated crossings at sentence level and disallows further such jumps within a crossed window. The second allows at most one crossing. The ordinary span cap in the main experiments constrains how far changes can reach through the nonterminals to which it applies. The supplementary length study reports the effect of relaxing that cap in selected deep setups.

The authors document several extensions that failed to improve the tested systems. A deep monotone concatenation rule did not help the best deep swap setup. The distance features tried with the swap and first-jump systems did not improve those configurations. Restricting orientation scoring to explicit reordering rules left those systems slightly worse on test. These results give the conclusions a concrete scope. The evidence concerns specific grammatical operations, feature choices and scoring locations in the tested decoder.

#### Limits visible in the evaluation

The reported comparisons provide evidence about translation quality on MT08 after tuning on MT06. They do not establish how the systems would rank for a different language pair, another domain or another decoder. Earlier work on block jumps gave mixed results across the tasks the authors review, and even within this study the deep and shallow grammars favor different extensions. For a new task the relevant question would be whether its ordering patterns fit the movements that a particular variant can express and score.

Search and grammar also contribute jointly to the observed results. A rule can add derivations to the search space, but the experiment uses cube pruning and ordinarily limits the length of nonterminals. The measured output therefore depends on which candidates the decoder reaches as well as on which candidates the grammar permits. The system comparisons do not quantify how much of a gain comes from finding translations that were completely absent from the baseline’s grammar, as opposed to finding or ranking a translation through a different derivation. The gains from classifier-only systems show that the second type of change can already matter.

The paper motivates shallow grammars in part through decoding efficiency. Its quality comparisons give scores for the deep and shallow settings, but they do not measure the runtime or memory cost of each complete combination. A shallow system with an extended grammar and boundary scoring can be compared with a deep one on BLEU and TER here. The stated efficiency motivation does not supply a measured speed or resource difference for those systems.

The feature comparisons similarly answer a question about grouped configurations. In the richer classifier the English words and both sides’ classes arrive together. The reported scores do not reveal whether classes account for most of the benefit, whether particular English boundary words matter more, or whether those signals help primarily in interaction. The study evaluates the classifier by its translation results. It does not give a separate held-out breakdown of orientation predictions by class, boundary type or distance.

The rule counts describe the derivations selected for the test outputs. They cannot assign a translation quality gain to each recorded application. A swap might support a better hierarchical construction, compete with another route to the same wording or occur in a sentence whose final quality changes for several reasons. Because the best swap system changes the grammar and scoring together, the count comparison alone cannot show how much of the redistribution comes from the rule by itself.

Finally, BLEU and TER reflect similarities to reference translations at corpus level. They neither identify which sentences improved because of better order nor provide a direct judgment of grammaticality across the test set. The worked example shows a plausible outcome the aggregate scores cannot characterize in detail. No broader human comparison or sentence-level study is reported. The significance criterion is stated for comparisons with the baseline, so it should not be read as a test of every difference between the strongest extensions.

### What came after

The later work that directly built on these experiments is undocumented here. The open question is whether separating general reordering rules from lexical boundary scoring yields similar gains beyond the Chinese-to-English setting studied by the authors, and whether other tasks favor the same balance between adjacent swaps, block jumps and hierarchical recursion.

## Cite

Cite as Matthias Huck, Stephan Peitz, Markus Freitag and Hermann Ney. 2012. Discriminative Reordering Extensions for Hierarchical Phrase-Based Machine Translation. Proceedings of the 16th Annual Conference of the European Association for Machine Translation.

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

```bibtex
@inproceedings{huck2012discriminative,
  title = {{Discriminative Reordering Extensions for Hierarchical Phrase-Based Machine Translation}},
  author = {Matthias Huck, Stephan Peitz, Markus Freitag and Hermann Ney},
  booktitle = {Proceedings of the 16th Annual Conference of the European Association for Machine Translation},
  year = {2012},
  url = {https://aclanthology.org/2012.eamt-1.66/}
}
```

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