---
title: "Supertags as Source Language Context in Hierarchical"
description: "The paper tests whether English words and detailed grammar tags help a hierarchical translation system choose better rules for Dutch subtitles."
canonical: "https://research.elamur.ai/free/en/papers/haque-2010-supertags-as-source-language-context/"
---
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/haque-2010-supertags-as-source-language-context/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2010](https://md.research.elamur.ai/free/en/papers/2010/) / Supertags as Source Language Context in Hierarchical Phrase-Based SMT

# Supertags as Source Language Context in Hierarchical Phrase-Based SMT

Paper · 2010 · Rejwanul Haque, Sudip Naskar, Antal van den Bosch et al.

**Authors:** [Rejwanul Haque](https://md.research.elamur.ai/free/en/authors/rejwanul-haque/), Sudip Naskar, [Antal van den Bosch](https://md.research.elamur.ai/free/en/authors/antal-van-den-bosch/) and [Andy Way](https://md.research.elamur.ai/free/en/authors/andy-way/) · **Year:** 2010 · **Venue:** Proceedings of the 9th Conference of the Association for Machine Translation in the Americas: Research Papers · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**18** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W1488076126) · Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read · [Proceedings of the 9th Conference of the Association for Machine Translation in the Americas: Research Papers](https://aclanthology.org/volumes/2010.amta-papers/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/2010.amta-papers.23/)
- [PDF](https://aclanthology.org/2010.amta-papers.23.pdf)
- [OpenAlex](https://openalex.org/W1488076126)

Citations: OpenAlex, 2026-10-14.

## Summary

The same English phrase can call for different translations depending on the sentence around it. A hierarchical system can build translations from rules that contain both words and gaps for other phrases, but an ordinary rule score pools occurrences of the same phrase across many sentences. That score can favor a translation that is common in the training data and awkward in the current sentence. Haque and colleagues ask whether a rule can be scored more reliably by looking at where its English phrase occurs, a problem of rule selection in statistical [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/).

The authors describe the surrounding words at different levels of detail. They try the words themselves, ordinary grammatical tags, and two kinds of *supertag*. A supertag can describe the arguments a word takes and the grammatical construction in which it appears. The system looks immediately outside a rule’s source phrase and at the edges of any stretches of text filling gaps inside it. A classifier compares this description with stored training examples and estimates which Dutch variants are favored in similar English contexts. Those estimates enter the existing Hiero scoring procedure alongside its usual translation and target-language evidence.

The experiment translates English movie subtitles into Dutch using Open Subtitles. On the test set, the hierarchical baseline scored 21.92 on [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/). Combining nearby words with supertags from lexicalized tree-adjoining grammar, or LTAG, raised that score to 23.30, a relative improvement of 6.3%. Combining words with supertags from combinatory categorial grammar, or CCG, produced 22.90, a relative improvement of 4.48%. Both gains were statistically significant relative to the hierarchical baseline. Supertags by themselves also improved the scores, although the individual context features met the authors’ significance criterion on METEOR and fell short of it on BLEU.

Words and LTAG tags gave the strongest result on BLEU and METEOR. The combination of words and both kinds of supertag gave the lowest translation edit rate. A closer look at selected outputs shows how the changes can arise. In one sentence, the system chose the Dutch noun *hulp* for English *help*, where the baseline chose the verb *helpen*. In another, it produced a better word order and chose the article that agrees with the noun. These examples illustrate the kinds of decisions source context can affect. The experiments establish the gains for a single translation direction on a subtitle corpus, and leave open how well the method scales to larger training sets.

## Deep dive: Supertags as Source Language Context in Hierarchical Phrase-Based SMT

The paper tests whether English words and detailed grammar tags help a hierarchical translation system choose better rules for Dutch subtitles. · about 34 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

#### Where evidence about a phrase runs out

Consider an English expression that can function as either a noun or a verb. A translation system learning from sentence pairs might find good Dutch translations for both uses. When that expression occurs in a new sentence, the system needs to decide which training occurrences resemble the present one. The possessive immediately before a noun can help, as can the grammatical role the expression takes in its clause. The translations learned from the two uses can both be useful entries in a phrase inventory. The difficulty is giving each the right amount of support when a particular sentence is being translated.

Phrase-based statistical translation learns correspondences between stretches of source and target text. A phrase in this setting is a sequence used as a translation unit. Its usefulness can come from recurring correspondences in aligned text, whether or not the words form a constituent in a grammatical analysis. Using a sequence as a unit lets the system learn translations that would be hard to recover by translating each word independently. The paper takes that approach to bilingual phrase extraction as the starting point for the hierarchical extension. [Statistical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/koehn-2003-statistical-phrase-based-translation/)

A longer source phrase can sometimes resolve an ambiguity simply by including the word that resolves it. There are also cases where the useful clue lies just outside the extracted phrase, where a large part of the full expression varies, or where the clue is the grammatical position occupied by a word. A system that depends on the identity of a longer saved phrase needs evidence for that larger unit. A separate contextual feature can make the clue available to the scoring procedure while leaving the phrase itself available for reuse. Keeping the phrase and its context as separate objects also lets the same bilingual correspondence receive different scores in different sentences.

Hiero extends phrase-based translation by learning rules with gaps. Some parts of a rule specify actual words. Other parts stand for pieces of the sentence that will be translated by smaller rules. The gaps on the English and Dutch sides are linked, which allows the material they cover to be placed in a different order in the output. Hiero can therefore express recurring translation patterns even when the text inside those patterns varies. Its rules and the decoder that combines them do not require a grammatical parse of either language. The hierarchical arrangement comes from how the rules combine, using a synchronous [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/). [Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/chiang-2007-hierarchical-phrase-based-translation/)

This ability to assemble a translation leaves the problem of choosing a rule. The ordinary translation features relate the English side of a rule to its Dutch side. A target-side feature also rewards plausible sequences of Dutch words, using a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/). A fluent Dutch phrase is valuable, but its fluency alone gives limited evidence about whether it expresses the reading intended by the English sentence. Two otherwise plausible Dutch candidates can encode different interpretations. The proposal supplies the translation score with information about which interpretation the English context favors.

The distinction matters at several scales. A rule with no gaps might have ambiguous wording just beyond its boundaries. A rule with gaps might preserve a useful pattern of fixed words while allowing long or variable expressions inside it. The words at the beginning and end of that variable material can help distinguish cases in which the same pattern behaves differently. In both situations, the static bilingual rule identifies the candidate correspondence, while the sentence supplies additional evidence about its use.

#### What earlier systems did with context

The authors situate the work alongside [word-sense disambiguation](https://md.research.elamur.ai/free/en/topics/word-sense-disambiguation/). A disambiguation system uses the context of an ambiguous expression to select among possible interpretations. For translation, the practical question can be stated in terms of the available output phrases. An early approach discussed in the paper trained classifiers to supply words missing from partly completed translations. This made it possible to test context-sensitive translation choices without making the classifier responsible for producing the full target sentence. [Word-Sense Disambiguation for Machine Translation](https://md.research.elamur.ai/free/en/papers/vickrey-2005-word-sense-disambiguation-machine-translation/)

Other work put the source evidence directly into a working phrase-based system. Stroppa and colleagues estimated context-dependent phrase translation probabilities with a decision-tree classifier and supplied them as features to the decoder. The paper reports significant improvements from that approach on Italian-to-English and Chinese-to-English tasks. The design provided a precedent for adding a learned score while keeping the established translation procedure available. The authors distinguish it from approaches such as Cowan and colleagues’ tree-to-tree work, whose discriminative approach called for changes to the training procedure. [A Discriminative Model for Tree-to-Tree Translation](https://md.research.elamur.ai/free/en/papers/cowan-2006-discriminative-model-tree-tree-translation/)

The range of source evidence explored in phrase-based translation was already broad. Some systems used nearby words in fixed positions. Others described more of the sentence or called on shallow or deeper grammatical information. Carpuat and Wu’s work is an example of integrating disambiguation with phrase-based translation using sentence context. The current authors also report that their earlier phrase-based experiments found value in grammatical dependencies and found supertags more informative than neighboring words or ordinary tags for phrase choice. These earlier results motivate tests of the same signals with rules containing gaps. [Improving Statistical Machine Translation Using Word Sense Disambiguation](https://md.research.elamur.ai/free/en/papers/carpuat-2007-improving-statistical-machine-translation-word/)

The paper discusses other points at which context had been introduced. One line of work used source features when learning word alignments, refining the lexical evidence available before phrase and rule extraction. Another used source word sequences to address lexical choice in a finite-state translation system. Reranking was another option. In the work discussed by the authors, sense predictions changed the ranking of translations that had already been generated, and were applied to a restricted set of words. A lattice-based approach described in the paper accommodated features from both languages inside a different translation framework. The method studied here places context at the point where a Hiero rule receives a score for a particular source occurrence.

Hiero itself already had several context-aware precedents. Chan and colleagues added disambiguation features for Chinese-to-English translation, focusing on phrases with one or two terminal symbols. He and colleagues used position-specific neighboring words and their grammatical tags with hierarchical rules. Shen and colleagues tried source context alongside features such as nonterminal labels and the lengths of the material those labels cover. The authors also describe a study by Chiang and colleagues that introduced neighboring word features directly into Hiero and limited the word vocabulary to the 100 most frequent words in training to control its size. The experiments in the present paper ask what becomes possible when the neighboring evidence includes richer grammatical categories. [Word Sense Disambiguation Improves Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/chan-2007-word-sense-disambiguation-improves-statistical/)

A supertag gives a word a more specific grammatical description than a conventional part-of-speech tag. It can characterize what the word combines with and how that combination fits into a larger phrase. A verb’s tag can distinguish grammatical arrangements that share the ordinary label “verb.” The description is attached to a word even when the words it combines with lie farther away. This gives the authors a way to ask whether a small set of carefully chosen positions can carry information about more than the adjacent word sequence, while keeping the context representation compact enough to use in rule selection.

### The method, step by step

#### From parallel sentences to rules

The method begins with aligned English and Dutch training text. The baseline extracts bilingual phrases and generalizes some of them into patterns with gaps. At application time, a rule can cover a source span that includes the rule’s own words and material to be dealt with by smaller rules. The decoder builds a derivation from smaller spans upward and uses the linked target sides to assemble a Dutch sentence. The context-aware system collects extra evidence while the occurrences of rules are still available in the training sentences, then uses the same kind of evidence to score rules on development and test sentences.

How English context becomes evidence for Hiero rule selection The steps in order.

The basic rule notation expresses a bilingual correspondence. A source pattern and a target pattern can each contain literal words and symbols standing for material translated by other rules. The correspondence between those symbols tells the decoder where the translated pieces belong.

```
X → ⟨α, γ, ∼⟩
```

Here `X` is the nonterminal on the left of the rule. A nonterminal represents a unit that can be expanded into words and, where applicable, further nonterminals. The arrow `→` marks the expansion. The brackets `⟨ ⟩` group `α`, the English pattern, with `γ`, its Dutch counterpart, and `∼`, the one-to-one correspondence between the nonterminal occurrences on those sides. The commas separate these parts. A literal word in either pattern is a terminal. Hiero allows at most two nonterminals on the right of a rule in the setup described, and when the source pattern has two, lexical material separates them.

A rule’s nonterminal represents a slot in the translation derivation. The grammatical analysis used for the context features is a separate description of the English words. For example, a supertag might characterize a word at the edge of the source material occupying a slot. The word receives the tag, while the slot remains a generic nonterminal in the bilingual grammar. The same translation rule can therefore apply to several contexts and acquire different additional scores in them.

The baseline attaches several features to a rule and combines them by weighting and adding their values. This puts evidence from several sources on a common scoring scale. A feature can express the usual translation preference from English to Dutch, another can express the reverse preference, and an additional one can express the compatibility of a translation with the current English context.

```
w(X → ⟨α, γ, ∼⟩) = ∑ᵢ λᵢ φᵢ
```

The function `w` gives the score of the rule inside its parentheses. The symbols `X`, `→`, `α`, `γ` and `∼` describe the expansion as above. The equality sign `=` defines the score as the sum `∑ᵢ` over the feature index `i`. For each feature, `φᵢ` is its value on the rule and `λᵢ` is its weight. Writing the two symbols side by side denotes multiplication. Across derivations, the decoder can combine rule evidence with additional scores, including its evidence about the resulting Dutch word sequence.

One of the ordinary phrase translation features is the logarithm of the estimated probability of the Dutch phrase given the English one. The baseline estimates this probability from the relative frequencies of extracted pairings. When an English pattern occurs in different sentences, the counts that underlie this feature are pooled.

```
φ(α, γ) = log P(γ | α)
```

Here `φ(α, γ)` is the direct phrase translation feature for English `α` paired with Dutch `γ`. The symbol `P` denotes a probability, and `|` means “given,” so its argument asks for the probability of `γ` given `α`. The operation `log` converts the conditional probability into its logarithm before it is used as a feature. The baseline also draws on the reverse conditional probability, with the source and target roles exchanged. It uses forward and reverse lexical probabilities as well. These provide word-level evidence for the phrase pairing. Other contributions include penalties associated with words, phrases or glue rules, which help join portions of a derivation, and scores for the target word sequence.

To search for a translation, the decoder uses CKY-style [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/), building combinations over spans of the source sentence. Beam search limits how many alternatives remain under consideration as that process runs. A post-processing step maps a source derivation to the corresponding target derivation. This means adding contextual evidence can have effects before the final comparison of complete translations. Scores can change which partial derivations survive to take part in larger combinations.

#### Where the system looks in the English sentence

A rule has an identity in the grammar and a particular occurrence in a sentence. The context representation describes the occurrence. First, it records words immediately before and after the span matched by the source pattern. Next, for every nonterminal in that pattern, it records the first and last words of the source span the nonterminal covers. The resulting representation distinguishes an adjacency outside the rule from a boundary of material inside one of its gaps.

The boundary positions are useful because a rule with gaps describes both a wider span and particular regions within it. Looking only to the left and right of the whole span would omit evidence at the edges of those regions. Looking at every word inside the gaps would give an amount of evidence that changes with each rule occurrence. The fixed boundary positions instead give the classifier comparable places to look across many examples, even when the material filling the gaps differs in length.

The lexical context formula can be written with separate superscripts for the external positions and the nonterminal boundaries. The offsets in this notation are relative to the relevant edge of the source phrase.

```
CIₗₑₓ(α) = {wᴸ₋ᵢ, …, wᴸ₋₁, wᴿ₊₁, …, wᴿ₊ᵢ, wˢ₁, wᴱ₁, …, wˢⱼ, wᴱⱼ}
```

Here `CIₗₑₓ(α)` is the lexical context of the source pattern `α` at the occurrence being scored. The symbol `w` denotes a word. Superscript `L` indicates a position to the left of the span and `R` one to its right. The offsets marked `−` and `+` count out from those respective edges. A subscript `1` denotes the nearest word on a given side, and `i` is the number of external word positions retained on each side. Superscripts `S` and `E` identify the start and end of a span covered by a nonterminal. On those terms, `1` indexes the first nonterminal and `j` the last in the listed window. The ellipses `…` stand for the intervening positions. The braces collect the features, each of which has its own positional role in the classifier’s vector.

The authors use `i` equal to 2 for context outside the span and allow up to two gaps, represented by `j` equal to 2 when giving the size of the full window. They express that size as follows.

```
2(i + j)
```

Here `i` counts positions on either side of the matched source span and `j` counts the nonterminal slots allowed in the rule pattern. The `2` accounts for the left and right sets of outside positions and for the start and end positions associated with each slot. The plus sign `+` adds the sizes of the outside and internal portions before both are doubled. The paper defines the positions and describes a fixed-length vector. It leaves the encoding of unavailable positions, such as a context position past the sentence edge, unspecified.

The alternative feature sets use the same positions. In the ordinary grammatical tagging condition, each selected word is represented by its part of speech, a category such as noun or verb. This supplies a coarser description of the sentence that can be shared by occurrences with different exact words. The tags come from [part-of-speech tagging](https://md.research.elamur.ai/free/en/topics/part-of-speech-tagging/).

```
CIₚₒₛ(α) = {pos(wₖ)}
```

Here `CIₚₒₛ(α)` is the part-of-speech context for the occurrence of `α`. The function `pos` returns the grammatical tag for `wₖ`, the word in position `k` of the lexical context defined above. The braces collect one such feature for each position indexed by `k`. The position is retained when a word is represented by its tag, so a grammatical category immediately before the phrase remains distinguishable from that same category at the edge of a gap.

#### What a supertag adds

A supertag can specify aspects of both the category of a word and the structure in which it occurs. The paper considers a tag that is rich enough to say something about a word’s arguments, such as a subject or object, and about the phrase categories in which it participates. This makes a distinction within broad groups like verbs possible. Two neighboring words can share an ordinary category and still give the rule selector different evidence because their roles or grammatical requirements differ.

The authors compare tags from two grammar formalisms. In lexicalized tree-adjoining grammar, the item assigned to a word is an elementary tree. It gives a small piece of grammatical structure anchored by the word, which can combine with other structures in the grammar. In combinatory categorial grammar, the item is a lexical category describing how the word combines with others and carrying information about relations between words. Both views describe words in terms of their grammatical behavior. They give the classifier different symbolic values with which to represent that behavior.

Manually written rules extracted the LTAG and CCG tag inventories from Penn-II Treebank’s WSJ section. The supertaggers assign their categories to words in the English sentence. The translation classifier then uses the values at the chosen positions. It can match an elementary-tree tag or a CCG category as a feature value, without having to run the grammatical operations of either formalism during bilingual decoding.

```
CIₛₜ(α) = {st(wₖ)}
```

Here `CIₛₜ(α)` gives the supertag context for the occurrence of source pattern `α`. The function `st` returns the supertag assigned to word `wₖ`, where `k` again ranges over the positions in the lexical window. The braces collect the positional values, using the LTAG or the CCG tagger for the experiment concerned. The underlying English word in each position can also be supplied as a separate feature.

```
CI = CIₛₜ ∪ CIₗₑₓ
```

In this example, `CI` denotes the contextual feature collection for a rule occurrence. The operator `∪` joins its supertag features `CIₛₜ` with its lexical features `CIₗₑₓ`. Each has its own feature type and position in the vector. Thus, the classifier can distinguish an exact word from the abstract description of the same word and can use either as a basis for finding related examples. The experiments also use words with ordinary tags and words with both supertag inventories.

This division helps explain what the experiment manipulates. The authors do not expand the lexical window for the supertag conditions. They change the description available at that window’s positions. Exact words preserve lexical identities, while the tags can assign the same value to different words that behave similarly in the grammar. Because the supertagger works on the sentence, the tag at a sampled position can indirectly reflect other parts of the sentence. The features still do not identify a specific distant word or give the classifier an explicit link to it.

#### How occurrences become probabilities

The training unit for the classifier is an occurrence collected during Hiero rule extraction. A bilingual rule may occur in many different aligned sentences. At each occurrence, the authors record the source pattern, the context features of that occurrence and the associated target pattern. The target pattern serves as the class label. Keeping the occurrences allows the same English pattern to contribute evidence for different Dutch outcomes under different contextual conditions.

The source pattern is a single feature value in this representation, even if it contains several words. Its internal makeup matters to rule extraction and matching in the decoder. At the classifier’s first test, the complete pattern serves as an identifier. This is what allows the classifier to consider the context of a known source expression without teaching it to infer translations for arbitrary new source expressions from word-by-word similarity.

Counting every exact combination of phrase and context separately would make a rare phrase occurrence look more informative than it is. The authors relate this problem to earlier work showing that relative-frequency estimates can overstate probabilities for long phrases. Adding a detailed context to the conditions for a count gives each possible combination fewer opportunities to recur. Earlier phrase translation systems used lexical evidence as a form of smoothing. For context-sensitive estimates, the authors instead turn to similarity with remembered training occurrences. [Improvements in Phrase-Based Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/zens-2004-improvements-phrase-based-statistical-machine/) [Phrasetable Smoothing for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/foster-2006-phrasetable-smoothing-statistical-machine-translation/)

The classifier is IGTree, available in the TiMBL software package. Its tree stores the labeling information from the training examples in compressed form. It approximates a nearest-neighbor search by following a sequence of exact matches on features. The order of those tests is determined by gain ratio, a criterion for how informative a feature is about the output classes. In the authors’ training, the source phrase receives the highest gain ratio. The lookup consequently begins with the identity of the English pattern, then proceeds through context values in the learned order.

At each node, the classifier tries to follow the branch for the new example’s value on the feature being tested. If that branch exists, the next node represents a subset of training occurrences sharing the values matched so far. Reaching a leaf with a single class yields the target pattern stored there. When the next feature value has no matching branch, the classifier returns the counts of the target classes associated with the current node. A mismatch on the source phrase at the root yields the overall training distribution of target phrases. These cases are different degrees of support, from a specific set of matching observations to a broad fallback.

This behavior gives “similar context” an operational meaning. The classifier follows exact matches in a particular feature order and uses the most specific part of the tree it can reach. A new occurrence can receive a contextual distribution even when its full vector never occurred in training. The approximation also means that once traversal stops, a match on a feature farther down the tree cannot make up for the failed match. The order learned from the training data affects which similarities count for each lookup.

The returned counts can be normalized across the available target classes to obtain the conditional probabilities used by the translation system. The first added feature is the logarithm of the resulting probability for a particular candidate phrase.

```
φₘᵦₗ(α, γ) = log P(γ | α, CI(α))
```

Here `φₘᵦₗ` names the feature estimated by memory-based learning. Its arguments are the source pattern `α` and target pattern `γ`. As in the baseline formula, `P` denotes a probability and `|` introduces the conditions. In this case those conditions are both `α` and `CI(α)`, the contextual features of the current occurrence of `α`. The comma on the right separates the conditions. The `log` operation converts that probability to a feature value. A common translation under the ordinary phrase score can receive weaker contextual support when the stored occurrences for this English setting favor another class.

The authors derive a second feature from the same distribution. It marks whether the current translation candidate is among those most favored by the classifier.

```
φᵦₑₛₜ = { 1   if γ maximizes P(γ | α, CI(α))
         { ≈0  otherwise
```

Here `φᵦₑₛₜ` is the feature for membership in the highest-probability group. The braces introduce its two cases. The conditional probability again measures support for candidate `γ` given source pattern `α` and occurrence context `CI(α)`. The feature takes value `1` for any candidate that attains the maximum, including candidates tied at the top. The notation `≈0` means approximately zero for the other cases, following the authors’ description. The logarithmic feature retains differences in probabilities across candidates. The top-choice feature singles out a rank in that same distribution.

#### How the new scores reach the decoder

The authors use the open-source moses-chart system for hierarchical translation. Its ordinary rule table is static. Once the counts and other features have been recorded in that table, the source sentences and occurrence contexts behind them cannot be recovered from the table entries. The classifier therefore has to be built from information captured during extraction. At development and test time, the authors use a separate calling framework to bring the context-derived features into translation. That is how the same rule can have an ordinary table score and also receive scores tied to where it applies in a specific sentence.

The contextual probability and top-choice features enter the weighted decoder score directly. The authors tune feature weights separately for each experimental configuration using minimum error-rate training, or MERT, on held-out development sentences. This stage determines the amount of influence to give the new evidence in the presence of the ordinary phrase, lexical and target-language features. The paper’s log-linear scoring follows the framework discussed in [Discriminative Training and Maximum Entropy Models for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/och-2002-discriminative-training-maximum-entropy-models/).

The stages give the data splits different jobs. The parallel training occurrences tell the classifier which target patterns have been associated with a source pattern and its contexts. The development sentences let the translation system adjust the weights used to combine contextual evidence with its existing scores. The test sentences are where the resulting translations are evaluated. The classifier’s most probable output is one contribution to the selection of a complete Dutch sentence. The full decoding decision also depends on how candidate rules combine, what their other features say and which derivations survive the search.

### Experiments and results

#### The task and the comparisons

The experiments use the English and Dutch sides of Open Subtitles, a parallel corpus in the Opus collection made from user-contributed movie subtitle translations. The paper describes the corpus as Dutch-to-English when introducing the data. Its actual experiments are reported in the English-to-Dutch direction, with English chosen as the source because English supertaggers were readily available to the authors. The training split contains 285,321 sentences. The development and test splits contain 1,000 sentences each.

The main comparison is with moses-chart without the added source-context features. This baseline already has hierarchical rule extraction and decoding, the ordinary bilingual translation features and a score for the Dutch word sequence. Comparing the contextual variants to that baseline addresses the effect of adding source-side evidence within that setup. The authors also report the phrase-based Moses system. It shows how the two conventional decoder setups fare on the same task, while moses-chart is the reference system for the contextual improvements and their significance tests.

The automatic evaluation uses BLEU, METEOR and TER. BLEU assesses matches of word sequences against a reference. METEOR uses a different way of matching candidate and reference words. Higher values are preferred on both. TER, or translation edit rate, expresses how much editing is needed to match the reference, so lower values are preferred. The paper uses bootstrap resampling for significance tests on BLEU and METEOR. In this procedure, comparisons are repeated on resampled test sentences to assess how stable a score advantage is under changes in the sentences represented. The confidence percentages in the results refer to gains over moses-chart. [Statistical Significance Tests for Machine Translation Evaluation](https://md.research.elamur.ai/free/en/papers/koehn-2004-statistical-significance-tests-machine-translation/)

The two conventional systems already illustrate why it helps to use several metrics. Phrase-based Moses obtained 21.74 BLEU and 42.79 METEOR on the subtitle test set. The corresponding moses-chart scores were 21.92 and 43.06. For TER, phrase-based Moses obtained 56.58, lower than the hierarchical baseline’s 56.72. The hierarchical system leads the phrase-based one on the first two reported measures, while the edit measure gives the opposite ranking. All comparisons of added context below use the hierarchical baseline.

#### Each type of context by itself

The authors begin with experiments in which each context representation is used on its own. The available positions are the same across these variants. Changing the representation means giving the classifier word identities, ordinary grammatical tags, LTAG tags or CCG tags at those positions. All four settings improved on the hierarchical baseline on each of the reported automatic measures. The amounts and the ordering varied with the metric.

Individual source context settings on English-to-Dutch Open Subtitles test BLEU CCG supertags give the highest score among the individual context settings.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| moses-chart baseline | 21.92 |
| Words | 22.33 |
| Part-of-speech tags | 22.39 |
| LTAG supertags | 22.55 |
| CCG supertags (this paper) | 22.65 |

On BLEU, the reported improvement from word context is 0.41 points, or 1.87% relative to moses-chart. Ordinary part-of-speech context gives a gain of 0.47 points, or 2.15% relative. For LTAG supertags the authors report 0.63 points and 2.88% relative, and for CCG supertags they report 0.73 points and 3.33% relative. This comparison places both richer grammatical descriptions ahead of the individual word and part-of-speech settings on this metric. The BLEU significance tests for these variants give confidence levels of 77% for words, 80% for ordinary tags, 91.1% for LTAG and 90.3% for CCG. The paper treats all of these individual BLEU gains as statistically nonsignificant.

The strongest individual METEOR result comes from LTAG. Its test score is 43.99, against 43.06 for moses-chart. The paper gives the gain as 0.93 points, or 2.16% relative. The CCG score is 43.83, with a reported increase of 0.77 points and a relative increase of 1.79%. Ordinary tags reach 43.66, a gain of 0.60 points or 1.4% relative. Words reach 43.23, a gain of 0.17 points or 0.4% relative. The authors treat each of these METEOR improvements as significant. The reported confidence levels are 99.1% for LTAG, 99.4% for CCG, 96.2% for ordinary tags and 96% for words.

On TER, the best individual result is 56.27 for CCG, reported as an improvement of 0.45 points on the same test set. The word context gives 56.36 and LTAG gives 56.47. Their reported reductions from moses-chart are 0.36 and 0.25 points, respectively. The ordinary tags have a much smaller reported reduction of 0.04 points, with a score of 56.68. These TER values establish the ordering on the test set. The paper reports significance tests for BLEU and METEOR, so the TER comparisons here are comparisons of observed scores.

#### What happens when words and tags are combined

A word identity and a supertag can give distinct evidence about the same context position. An exact word can identify a lexical cue that many words sharing its grammar would fail to provide. A supertag can connect several occurrences with similar grammatical behavior even when they use different words. The combined experiments give the classifier access to both sorts of evidence, using the same source pattern and the same procedure for attaching features to the decoder.

Combined source context settings on English-to-Dutch Open Subtitles test BLEU Words with LTAG supertags lead the combined settings, and both kinds of supertag improve on the baseline when paired with words.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| moses-chart baseline | 21.92 |
| Words and part-of-speech tags | 22.22 |
| Words and CCG supertags | 22.90 |
| Words and both supertag types | 23.00 |
| Words and LTAG supertags (this paper) | 23.30 |

The gain for words with LTAG is 1.38 BLEU points, reported as 6.3% relative to moses-chart. The confidence level for that improvement is 99.5%. Words with CCG improve by 0.98 points, or 4.48% relative, with confidence of 95.1%. The variant with words and both tag inventories gains 1.08 points, or 4.93% relative, with confidence of 99.8%. The latter confidence value concerns the comparison with moses-chart. The score in the chart and the reported confidence answer different questions, so a stronger score and a higher confidence need not occur in the same row.

The word and ordinary-tag combination reaches 22.22 BLEU. Its reported gain is 0.30 points, or 1.38% relative to moses-chart, with confidence of 30%. Its score falls below those of either component when used individually. By comparison, both pairings of words with a single supertag type exceed the BLEU scores of their respective individual settings. The paper therefore finds an advantage in combining the detailed tags with exact words, with evidence for the gain measured against the full hierarchical baseline.

The word and LTAG setting also leads the METEOR comparison at 44.08. The paper reports a gain of 1.02 points, or 2.37% relative, at 99.6% confidence. Words with CCG reach 44.00, with confidence of 98.2% for the gain over moses-chart. The setting that uses words and both supertag inventories reaches 43.89, with confidence of 98.5%. Words with ordinary tags obtain 43.85, with confidence of 93.4%, which the authors treat as nonsignificant. The highest-scoring feature set thus agrees across BLEU and METEOR for this comparison, even though the scores for the other combined settings do not follow exactly the same order.

Combined source context settings on English-to-Dutch Open Subtitles test TER Words with both supertag inventories give the lowest edit rate.

**The numbers**

| System or setting | TER |
| --- | --- |
| moses-chart baseline | 56.72 |
| Words and part-of-speech tags | 56.93 |
| Words and LTAG supertags | 56.37 |
| Words and CCG supertags | 56.12 |
| Words and both supertag types (this paper) | 55.87 |

The combination with both tag inventories reaches 55.87 TER, for a reported reduction of 0.85 points from the hierarchical baseline. The paper’s discussion assigns the reductions of 0.35 and 0.60 points to the single-supertag combinations in the reverse order from the scores in its table. The chart follows the table’s system labels and absolute values. Under those labels, words with CCG lead words with LTAG on TER, and both improve on the baseline. The word and ordinary-tag combination has a higher TER than the baseline, in spite of its small gain on BLEU.

#### How much training evidence the classifier stores

The paper counts distinct rule types and all extracted rule occurrences. For the hierarchical system, there are 6,761,376 distinct rules and 11,603,617 occurrences in the training data. The phrase-based system has 1,988,504 distinct phrase pairs and 3,817,252 occurrences. The difference matters to the context classifier because it uses the occurrence count. Every occurrence can supply information about a different setting in which a source pattern and its target counterpart were paired.

The static table has a place for a rule’s conventional features after extraction. The classifier needs to distinguish the settings that were combined to obtain those features, at least to the extent required to construct its tree. If the same source rule was extracted repeatedly, those repetitions may contribute to the same distribution in part of the tree or lead into different branches as contextual values diverge. The number that governs the training burden is therefore 11,603,617 examples for the hierarchical extraction on this corpus. The counts characterize the size of the work done on the training data. The paper does not report decoding speed from these counts.

### What the ablations show

#### Richer tags help, especially alongside words

The closest comparisons to ablations are the feature substitutions and combinations. There is a hierarchical baseline, an experiment for each kind of context by itself, and a set of combinations that add grammatical descriptions to lexical context. All use the same basic classification and decoding scheme, while the weights are tuned for each setting. Their results therefore compare complete translation configurations under different context representations. They give evidence about the usefulness of those representations under retuning.

The individual settings take the clearest step from simple context to richer syntax. On BLEU and METEOR, both supertag representations achieve higher observed scores than either words alone or ordinary tags alone. Ordinary tags give the classifier some capacity to match occurrences that have different words. The stronger observed supertag scores suggest that the kind of grammatical information used for the match also matters. Confidence comparisons with moses-chart establish significance for the individual settings on METEOR. A direct test of whether the supertag settings beat the ordinary-tag setting by a statistically reliable amount would be a different comparison, which the authors leave unreported.

The combinations address a further question about where the value of grammatical tags comes from. If converting words to tags retained all the relevant evidence available at the sampled positions, adding the original words would have little apparent role in the tested configuration. Here the two combinations with a single supertag inventory and words exceed the corresponding individual settings on BLEU. The same comparison favors the combinations on METEOR. Within this setup, the results support the authors’ interpretation that lexical content can contribute alongside grammatical structure. A tag can describe how a neighboring word is used, while the word itself can distinguish contexts built around different lexical cues.

The ordinary tags give a less consistent result when paired with words. That pair gains slightly on the baseline on BLEU and METEOR, falls below both individual settings on BLEU, and raises TER above the baseline. The feature comparison shows a weak combined setting for this task, even though ordinary tags by themselves show gains on the reported measures. Because the feature weights are fitted for every configuration, the evaluation applies to the combined scoring behavior. It does not locate the loss in a specific step such as the order of the classifier’s feature tests or the relative influence of the two scores contributed by the classifier.

The authors also suggest that part-of-speech information would be redundant when supertags already carry it. That claim is an interpretation of what the representations contain. The actual combined experiments compare words and ordinary tags with words and supertags, and compare the individual supertag pairings with a pairing that includes both tag inventories. They do not isolate the contribution of adding ordinary tags to a system that already uses supertags. The results give direct evidence about which of the tested combinations works better and a plausible rationale for why tags with richer information can help.

Different winners across metrics also constrain the interpretation of complementarity. LTAG is strongest on METEOR among the individual settings and CCG is strongest on BLEU. With words included, LTAG leads on both measures. Supplying both tag inventories gives the lowest TER and leaves the combined BLEU and METEOR scores below those of words and LTAG. The evidence supports the use of either supertag formalism in this setting. It gives no single ordering of the inventories across measures, and does not establish that adding more grammatical features gives a steady improvement.

#### What changes in particular translations

The authors examine the output of words with LTAG, the highest-scoring setting on BLEU and METEOR, beside output from the hierarchical baseline. Among the 1,000 test sentences, they find 56 on which the contextual system has higher sentence-level BLEU. Within those cases, they count 32 instances of better lexical choice and 17 of greater fluency, with 10 instances showing both kinds of improvement. The overlap means the categories describe changes that can occur together. The comparison characterizes a subset selected by a score improvement. It therefore explains ways in which a gain can arise, with the prevalence of those changes across the whole test set left open.

One example concerns the English noun *help* following a possessive. The Dutch noun *hulp* fits this use. The baseline chooses *helpen*, the corresponding verb. In the winning derivation from the contextual system, the possessive and noun are translated together as *je hulp*. The baseline translates an earlier stretch through the possessive in one piece and then groups the last word with the final punctuation. The latter segment uses the verb form. The difference concerns both the Dutch lexical choice and the assignment of English words to translation rules.

The example illustrates why it is useful to follow a derivation as well as inspect the final output. The incorrect verb form is part of a phrase chosen for a different segmentation of the sentence. Extra evidence about the English occurrence can favor an analysis in which the possessive and the noun stay together. The successful output agrees with the reference in this example. An explanation based solely on reading the Dutch sentence would reveal that the noun fits, but would leave the change of rule coverage invisible.

The other example involves a sentence about taking the girl. The contextual system places the Dutch subject and verb in a fluent order and selects *het* before *meisje*. The baseline instead uses *de* and has an awkward ordering. The contextual output uses *nemen* for the action, while the reference uses *halen*. The gains that the authors identify are the word order and the article. Their account makes room for a translation to improve in those respects while still making a different lexical choice from the reference.

The paper traces that change through the rule candidates as well. The contextual derivation delivers the subject and verb in the desired order and supplies a phrase with the agreeing article and noun. A baseline candidate groups the verb, subject and incorrect article together. This provides an example of how better-looking Dutch output can arise from a change to the selected bilingual rules. The analysis supports an explanation in terms of the interaction of phrase choice and sentence assembly. It does not identify a particular tag value that is sufficient by itself to cause the improvement.

#### What is searched in those cases

The traces also count candidate phrases and hypotheses. For the sentence with *help*, the baseline uses 5,354 candidate phrases. The contextual system uses 460 candidate phrases counted as IGTree classes. In the same sentence, the baseline generates 20,371 hypotheses, while the contextual system generates 9,654. The authors use these figures to describe how a more selective set of translation choices can carry through to later stages of the search.

In the example about taking the girl, the baseline uses 8,518 candidate phrases and generates 35,659 hypotheses. The contextual system uses 1,577 candidate phrases and generates 24,092 hypotheses. The reduction in hypotheses is important to the authors’ interpretation. With fewer candidates leading into the search, the system assembles fewer alternative derivations, and in these examples the alternatives it keeps suffice to yield an output that improves on the baseline in identifiable ways.

The trace and the corpus scores provide evidence at different levels. The corpus scores show the outcome of the tested context settings across the subtitle test set. The traces show how candidate coverage and output choices changed for selected sentences. The experiment does not independently vary candidate restriction and contextual feature scoring. It also does not remove the probability feature and top-choice feature in turn. The observed changes therefore illustrate the operation of the full contextual configuration, leaving the isolated contributions of candidate restriction, probability ranking and the top-choice indicator unresolved.

### Limitations

#### Limits the authors identify

The authors describe the dataset as small for evaluating the approach at scale. Hiero produces a large number of training occurrences even for this corpus, and each occurrence becomes a classifier example. They report roughly linear scaling for IGTree as the number of examples grows, while warning that training with an order of magnitude more data would be challenging on the computers available to them. They propose testing larger corpora and plotting learning curves to see how the relative value of different context representations changes as the training set grows.

The choice of English as the input was driven by the availability of English supertaggers. The reported comparison covers English-to-Dutch subtitles. Applying the same design to a different source language would require a suitable source annotation procedure. Since the tags are part of the evidence used by the classifier, the results for this setup leave open how much value a different tagger, a different inventory or a different source language would provide.

The authors also distinguish supertags from direct grammatical relations. A supertag can reflect a relationship with another word that lies some distance away. A direct dependency relation can be followed to identify the related word itself. In the tested system, a category at a sampled position serves as an indirect description of the construction. The authors propose adding direct relational information to Hiero and comparing it with the supertag approach, building on their earlier phrase-based work using evidence from [dependency parsing](https://md.research.elamur.ai/free/en/topics/dependency-parsing/).

#### Limits of the evidence

The grammar inventories come from the WSJ portion of the Penn-II Treebank, and the evaluation concerns dialogue in movie subtitles. The paper shows that these resources can support useful translation features on the tested corpus. It gives no separate tag accuracy results for the subtitle sentences. The translation gains consequently leave open how well the tags represent the source constructions, how often tag errors occur and whether one inventory is more robust to those errors in this domain.

The comparison holds the context positions fixed while changing what information those positions contain. This is useful for comparing lexical, ordinary-tag and supertag representations, but the positions themselves are tested as a group. The paper supplies no separate measurement of the contribution of the left context, the right context or the first and last words of the spans covered by gaps. It also leaves the window size unvaried in the reported experiments. The results therefore do not establish which particular selection of positions is sufficient or whether a wider window would help on the same task.

The statistical tests concern differences from the hierarchical baseline. They support the reported combined-feature gains on BLEU and METEOR where the stipulated confidence is reached. They do not establish that the strongest observed setting on either metric is statistically distinguishable from the other supertag configurations. TER provides a third view of the outputs, with no reported significance test for its differences. The local inconsistency between the prose and the result table for the single-supertag combinations on TER limits claims about the attribution of those particular reductions. The best TER setting is identified consistently as the combination with words and both tag inventories.

The qualitative comparison focuses on sentences where the words and LTAG setting already scores better by sentence-level BLEU. It supplies examples of improved lexical choice and fluency, with no systematic human judgment across the entire test set. Cases in which the systems tie or the contextual system scores worse could reveal different effects, and the paper does not give them comparable analysis. Similarly, the two traces document search behavior for the examples described. They leave open how frequently candidate counts fall across the full corpus and whether the costs of tagging, classifier lookup and decoding together make the system faster.

Finally, the decoder receives the contextual log probability and the top-choice indicator together. The paper explains how the classifier falls back when a feature has no matching branch, but does not fully specify details such as how a candidate absent from the returned distribution is handled when its logarithmic score is needed. Those details matter to an exact reconstruction of the system. The published evidence supports the reported system-level comparison, with lower-level attribution and some implementation choices outside its scope.

### What came after

Subsequent use of the method remains undocumented here. The concrete extensions discussed by the authors are prospective. One concerns the source description. In earlier phrase-based work, they had used grammatical dependencies as context, and they proposed bringing that approach into Hiero so that the decoder could use information from the words directly related to the phrase being translated. In a supertag feature, the sampled word carries a category that can indicate the sort of grammatical relationship involved. In a dependency feature, the system could also use the identity of the other word in that relationship. That distinction defines the comparison the authors proposed.

The other extension concerns the amount of evidence available to the classifier. A learning-curve study would repeat the comparison of lexical and grammatical feature sets at several training sizes. It could show whether the ordering found on subtitles holds as the number and variety of remembered occurrences increase. It would also put the engineering cost of handling more hierarchical rule occurrences beside the translation gains achieved at that scale. These are directions the paper sets out for further experiments, with subsequent implementations and results unspecified.

## Cite

Cite as Rejwanul Haque, Sudip Naskar, Antal van den Bosch and Andy Way. 2010. Supertags as Source Language Context in Hierarchical Phrase-Based SMT. Proceedings of the 9th Conference of the Association for Machine Translation in the Americas: Research Papers.

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

```bibtex
@inproceedings{haque2010supertags,
  title = {{Supertags as Source Language Context in Hierarchical Phrase-Based SMT}},
  author = {Rejwanul Haque, Sudip Naskar, Antal {van den Bosch} and Andy Way},
  booktitle = {Proceedings of the 9th Conference of the Association for Machine Translation in the Americas: Research Papers},
  year = {2010},
  url = {https://aclanthology.org/2010.amta-papers.23/}
}
```

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