---
title: "CCG Contextual labels in Hierarchical Phrase-Based SMT (2011)"
description: "How CCG contextual labels constrain phrase substitutions in hierarchical translation, and when they improve Arabic- and Chinese-to-English results."
canonical: "https://research.elamur.ai/free/en/papers/almaghout-2011-ccg-contextual-labels-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/almaghout-2011-ccg-contextual-labels-hierarchical-phrase/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2011](https://md.research.elamur.ai/free/en/papers/2011/) / CCG Contextual labels in Hierarchical Phrase-Based SMT

# CCG Contextual labels in Hierarchical Phrase-Based SMT

Paper · 2011 · Hala Almaghout, Jie Jiang and Andy Way

**Authors:** Hala Almaghout, [Jie Jiang](https://md.research.elamur.ai/free/en/authors/jie-jiang/) and [Andy Way](https://md.research.elamur.ai/free/en/authors/andy-way/) · **Year:** 2011 · **Venue:** Proceedings of the 15th 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/)

[**13** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W75781568) · [Cited by **10** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/almaghout-2011-ccg-contextual-labels-hierarchical-phrase/cited-by/) · [Proceedings of the 15th Annual Conference of the European Association for Machine Translation](https://aclanthology.org/volumes/2011.eamt-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/2011.eamt-1.38/)
- [PDF](https://aclanthology.org/2011.eamt-1.38.pdf)
- [OpenAlex](https://openalex.org/W75781568)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation system can learn useful fragments from examples even when those fragments cut across grammatical boundaries. The difficulty comes when it joins the fragments to make a new sentence. A rule that puts a verb phrase in the right place may still give it a neighbor of the wrong grammatical kind. This paper asks how much information about a phrase’s surroundings a hierarchical system for [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) needs to make better substitutions. It studies translation from Arabic and Chinese into [English](https://md.research.elamur.ai/free/en/topics/english/), using news and travel speech.

The authors use Combinatory Categorial Grammar, or CCG, to describe what an English phrase expects to find on either side. CCG assigns words detailed categories called supertags. A verb’s supertag can describe the category produced by the verb and its arguments, along with the kind of subject or object it takes and where each belongs. The proposed label retains the left and right requirements and leaves out the result category. The authors read the requirements from the supertags at the phrase’s edges, so labeling can proceed without constructing a full sentence parse. Those labels then mark the gaps in hierarchical translation rules, controlling which translated fragments can fill them.

On the Arabic–English news test, the simplified contextual labels achieve 23.69 [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/), compared with 23.13 for the phrase-based baseline. The paper reports a 2.42% relative improvement and finds it statistically significant. The simplified contextual system also has the lowest TER on that test, while the phrase-based baseline leads on METEOR. On the full Chinese–English travel-speech test, the result table gives the highest BLEU, 51.42, to the contextual labels with category features retained. The hierarchical baseline scores 50.89. The paper reports a 1% relative gain that falls short of statistical significance. Its discussion calls the winning Chinese speech configuration simplified, but the table and the reported scores identify the feature-retaining version.

The comparisons show how sensitive the results are to the choice of label and the amount of bilingual training material. Removing category features helps contextual labels on both Arabic–English tests by BLEU and hurts them on both Chinese–English tests. When the authors reduce the Chinese–English speech training data, the hierarchical baseline takes the BLEU lead. The evidence for grammatical improvement is indirect, since the evaluation measures agreement with reference translations and the edits needed to reach them. The strongest result is the significant Arabic news gain for a label that uses only part of what CCG can say about a phrase.

## Deep dive: CCG Contextual labels in Hierarchical Phrase-Based SMT

How CCG contextual labels constrain phrase substitutions in hierarchical translation, and when they improve Arabic- and Chinese-to-English results. · about 32 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

#### Why a useful translation phrase can be a difficult grammatical unit

In statistical phrase-based translation, a phrase is a stretch of words that can be paired with a stretch in another language. Such pairs come from a parallel corpus, a collection of sentences accompanied by their translations. Word alignment supplies the correspondences within each sentence pair. When a recurring stretch has a useful translation, the system can learn it as a unit and reuse it later. The boundaries of that unit reflect the available bilingual evidence. They may fall in the middle of what a grammatical analysis would treat as a larger expression.

This distinction matters because a phrase can be a useful translation unit and still be difficult to place in a new sentence. Its translation may contain part of a verb construction, for instance, with the rest supplied by a different phrase. How well the pieces fit depends on the construction that results. Keeping the entire construction in a fixed phrase can preserve the relationship when that particular wording recurs. A translation system also needs a way to handle new combinations of familiar pieces.

The paper treats broad coverage of statistically extracted phrases as an asset. It cites earlier phrase-based work in which restricting the phrase inventory to grammatical constituents degraded translation performance. A constituent is a grouping of words that functions as a unit in a grammatical analysis. Constituency offers a way to describe a phrase that coincides with such a grouping. Requiring every aligned translation unit to coincide with a constituent can discard useful correspondences, including fragments whose value is apparent in the bilingual data. [Statistical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/koehn-2003-statistical-phrase-based-translation/)

Hierarchical phrase-based translation, abbreviated HPB, gives the system a way to reuse part of a translation pattern while varying the rest. It learns rules with gaps. A fixed piece of a rule can occur on either side of a gap, and the rule specifies how the corresponding material is arranged in the translation. A rule can therefore capture a correspondence that would be discontinuous if the variable material were removed. It can also place corresponding pieces in different orders in the source sentence and the English output.

The gaps are called nonterminals because their contents can be expanded through further rules. The source and target sides of a rule use corresponding gaps, so a choice of what fills a source gap also supplies its translation on the target side. The rule collection forms a synchronous [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/). Here, synchronous means that the linked rules define the source pattern and target pattern together. The translation system draws the hierarchy from how aligned phrase pairs can be nested inside one another.

The ordinary hierarchical grammar in the paper starts from parallel data without grammatical annotation. Its generic nonterminal can accommodate substitutions learned in many settings. That flexibility lets a rule apply to a new input even when the training corpus contains a different filling for the same pattern. It also lets the system produce English fragments whose grammatical requirements are incompatible with their new surroundings. A label on the gap offers a way to preserve some of the flexibility while narrowing the range of allowable substitutions.

#### What syntax augmentation added

Syntax Augmented Machine Translation, or SAMT, is an example of the earlier approaches reviewed in the paper. It applies [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) to the target sentences in the bilingual training data. When a phrase in an aligned pair coincides with a constituent, the corresponding category can label that pair. Once the pair is replaced by a nonterminal during rule extraction, the category gives the gap a type. A label of this sort makes a phrase’s English grammatical analysis relevant to whether it can take a particular place in a translation. [Syntax Augmented Machine Translation via Chart Parsing](https://md.research.elamur.ai/free/en/papers/zollmann-2006-syntax-augmented-machine-translation-chart/)

The alignment may also delimit an English phrase that spans material from several constituents. SAMT can assign such a phrase a composite label by combining the categories associated with those constituents. This preserves more of the aligned phrase inventory while introducing a distinction between simple constituent labels and labels assembled for other spans. The method illustrates a design problem that remains in the present paper. A category scheme has to cover the spans the phrase extractor actually produces, and the resulting categories have to recur often enough to be useful in newly encountered contexts.

The authors’ previous work used CCG categories to augment hierarchical rules. CCG is a [grammar formalism](https://md.research.elamur.ai/free/en/topics/syntax-grammar/) in which much of the information needed to combine words is attached to the words themselves. The assigned category can describe both what an expression yields and what it requires from other expressions. The authors describe this representation as flexible enough to cover phrases that are awkward to annotate from a constituent tree. It also supplies local grammatical information through the categories assigned to words, which makes a complete derivation unnecessary for their labeling procedure.

Earlier systems also used supertags outside hierarchical rule labels. One phrase-based approach incorporated them into the scoring of target sequences and into the description of translation correspondences. It used violations of CCG combination rules to help score a supertag sequence. Another line of work treated supertags as a factor, an additional piece of information associated with a word. In one configuration it generated those factors on the target side and scored their sequences. In another it supplied them on the source side to guide decoding. In each case the grammatical information can influence a translation, but it enters the system in a different place from the gap labels investigated in this paper. [Factored Translation Models](https://md.research.elamur.ai/free/en/papers/koehn-2007-factored-translation-models/)

#### Why finer distinctions can make rules harder to reuse

A detailed label can distinguish phrases that share some grammatical properties but differ in others. This is desirable when the difference matters for substitution. It also partitions the training evidence. Two examples that would otherwise support the same hierarchical rule can end up supporting distinct rules because the gap or phrase labels differ. The authors argue that the resulting inventory is larger and that its rule probabilities are spread more thinly, leaving some rules with less evidence behind them.

A practical search problem follows. A decoder looks for applicable rules and builds a translation out of them. The more specific the labels, the more specific the set of rules available to fill a particular gap. In one case a restriction can rule out a badly formed combination. In another it can exclude a good candidate because a detailed distinction prevented its rule from being learned under the required label. The paper situates this tradeoff alongside earlier efforts to soften the restrictions of labeled hierarchical grammars. [Learning to Translate with Source and Target Syntax](https://md.research.elamur.ai/free/en/papers/chiang-2010-learning-translate-source-target-syntax/)

The authors address the tradeoff by changing the content of the label itself. A complete CCG category answers a question about both the arguments an expression takes and the category that results. This paper keeps information about the arguments on the outside of the span. Phrases with different complete categories can share a contextual label if those categories make the same demands on their neighbors. The gap still has a grammatical type, but evidence previously spread over labels distinguished by the result category can contribute to a common category.

### The method, step by step

#### Reading a CCG category

A CCG supertag gives more information than an ordinary [part-of-speech tag](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/). Calling a word a verb describes its broad grammatical class. A CCG category can distinguish uses of the verb by indicating what kinds of phrases it takes as arguments and where they occur. The same written word may receive different categories in different contexts. The category used in a training sentence therefore comes from an analysis of the word in that sentence.

The paper introduces the atomic categories `S`, `N` and `NP`. They mean sentence, noun and noun phrase, respectively. An atomic category can stand on its own or appear inside a more elaborate category. A complex category behaves like a function that takes a grammatical argument. Its notation gives the result of combining with that argument and specifies which side supplies the argument.

```
X\Y
```

Here `X` is the result category and `Y` is the argument category. The backslash means that the argument `Y` occurs to the left of the expression carrying the complex category. Both `X` and `Y` can be atomic categories or complex categories.

```
X/Y
```

Here `X` again names the result and `Y` the argument. The forward slash places `Y` on the right. The directional information is part of the category. Two expressions can both combine with a noun phrase and still have different categories because they look for it on different sides.

The paper illustrates this with *read*. In *I read*, the verb receives `S\NP`. The pronoun supplies the noun phrase on the left, and the result is a sentence. In *I read a book*, the verb receives `(S\NP)/NP`. The outer forward slash indicates that the verb first combines with the object noun phrase on its right. At that point the result has category `S\NP`, with the subject requirement still in place. Combining with the noun phrase on the left then gives a sentence. The parentheses show that `S\NP` is the result of supplying the right argument.

This example captures why CCG is attractive for the translation problem. A category can register a requirement even when the words that satisfy it belong to a different extracted phrase. A target fragment that ends just before its object can carry information about what should follow it. A fragment that begins with material requiring a subject can carry information about what should precede it. The translation system can preserve those requirements at a gap without treating the whole surrounding sentence as a fixed expression.

#### From complete categories to contextual labels

For a phrase with the left and right arguments shown in the paper’s general form, the representation is as follows.

```
C = (RŁ₁)/L₂
```

`C` is the complete CCG category of the phrase. `R` is the category that results after its arguments are supplied. `L₁` stands for the category required on the left, and `L₂` for the category required on the right. The subscripts distinguish the two argument positions. The equality names the compound category as `C`. The parentheses group `RŁ₁`, the category that remains after the right argument has combined. The backslash and forward slash specify left and right argument direction, respectively.

The contextual label has the following form.

```
L₁ L₂
```

`L₁` identifies the left requirement and `L₂` the right requirement. The space separates the positions, which are ordered from left to right. If a requirement is absent, the authors write `X` in its position. This use of `X` denotes an absent argument and is distinct from the category variable `X` in the earlier slash notation. Keeping both positions makes it possible to distinguish a phrase that expects a noun phrase on the left from one that expects it on the right.

The information removed is `R`. For a phrase with category `(S\NP)/NP`, the contextual label is `NP NP`. It records the noun phrase expected on each side. The fact that the complete combination has result category `S` is absent from the label. If a different category also calls for a noun phrase on each side, it can receive the same label. This identifies the precise point at which the method allows more sharing than the complete-super­tag approach.

The paper’s running example is *I want to book a seat*, used as the English half of an aligned Arabic–English sentence pair. The discussion assigns `NP NP` to *want to*, taking the arguments from its complete category. The explanation of boundary extraction then follows the longer span *want to book*. These are different stretches of words. They illustrate how a contextual label concerns what remains to be supplied across the edges, even when the interior wording or the location of the right edge changes.

Within the longer span *want to book*, the word *want* is on the left edge. Its supertag contributes an `NP` requirement on the left. The verb *book* is on the right edge and its supertag contributes an `NP` requirement on the right. The span consequently receives `NP NP`. In the surrounding sentence, *I* is available on the left and *a seat* is available on the right. That is the kind of configuration the label is meant to capture.

For *book a seat*, the left requirement remains, while the object is already included in the span. Its label is `NP X`. For *a seat*, the contextual label is `X X`. That label records the absence of either argument requirement in this representation. The phrase still has a grammatical identity in a full analysis. The example shows that a phrase’s identity as a noun phrase and its demands on neighboring material are separate descriptions. With a contextual label, two expressions can share a symbol because neither demands an argument at an edge even when their full grammatical categories differ.

#### Why the procedure starts with word supertags

A lexicon can associate a word with several possible CCG categories. If all such possibilities are handed to a parser at once, the parser has many combinations to consider. Supertagging selects or narrows down categories using the surrounding words. The paper discusses earlier work that used the patterns in which tags co-occur to reduce the set of possibilities. It also describes a wide-coverage CCG parser that uses a log-linear supertagger before the stage that combines the categories. In the present study, the English training sentences are processed with the CCG supertagger from C&C tools. [Supertagging: An Approach to Almost Parsing](https://md.research.elamur.ai/free/en/papers/bangalore-1999-supertagging-approach-almost-parsing/) · [The Importance of Supertagging for Wide-Coverage CCG Parsing](https://md.research.elamur.ai/free/en/papers/clark-2004-importance-supertagging-wide-coverage-ccg/)

In the extraction procedure proposed here, the outer words of a phrase supply its two requirements. The authors treat the left argument of the phrase as the left argument of its leftmost word’s supertag. They obtain the right argument from the rightmost word’s supertag. The calculation looks at a particular span and chooses the relevant side from each boundary word. For a single-word span, the same word supplies information for both positions.

Selecting edge requirements matters because the alignment procedure can propose a span for which a full grammatical parse offers no single constituent. The translation system already has a reason to consider that span, namely its alignment to a possible translation unit. Supertags supply the information needed to label its boundaries. This lets the authors retain the extraction procedure based on bilingual data and use an English grammatical analysis to qualify the material it yields.

The phrase labels are thus local descriptions. They are produced for the English part of an aligned pair, and their extraction relies on categories that take word context into account. The tagger operates on the English training sentence. The label is subsequently assigned to a span in that sentence. Keeping those operations distinct helps explain how the system can use contextual information from the sentence while still assigning a compact type to an individual fragment.

Training hierarchical rules with CCG contextual labels The steps in order.

#### How a phrase label becomes a restriction on translation

A bilingual phrase pair supplies an observed correspondence between a source span and an English span. Hierarchical extraction takes a pair that contains a smaller aligned pair and can replace the smaller pair with a linked gap. The material around that gap gives the fixed part of the rule. The English span removed in making the gap supplies the contextual label. The paper illustrates this process with rules extracted from the aligned Arabic sentence and *I want to book a seat*.

A simplified way to read the rule is as a statement that the pieces around the gap can translate together when the gap is filled by a compatible subtranslation. The gap connects the smaller source span with its English counterpart. Labeling it limits which subtranslations can be used in this construction. A distinction between `NP NP` and `NP X`, for example, can keep the rule from treating a fragment that still expects an object in the same way as one with its object already included.

The label is used as a symbol in the rule grammar. Its origin in CCG gives that symbol a grammatical interpretation, and matching makes the interpretation relevant to substitution. The operation that decides whether a particular rule can fill a gap is matching in the hierarchical grammar. The English supertags are obtained during training, so the procedure uses syntactic evidence from the training translations before the decoder has to produce new ones. An English reference at test time serves evaluation, outside the process of building the translation.

This arrangement also explains what the authors mean by softening the restrictions. A contextual label is coarser than the complete category from which it is derived. Matching still matters, yet more complete categories can match after projection onto the two retained positions. The proposed change concerns which distinctions the matching procedure sees. It can merge rules whose labels formerly differed while leaving the underlying bilingual patterns available.

#### Removing a further layer of category detail

CCG atomic categories can have features that distinguish grammatical subtypes. The paper gives `S[dcl]` for a declarative sentence category and `S[wq]` for a wh-question category. The square brackets enclose the feature on `S`. With feature removal, both forms become `S`. In a complex category such as `(S[dcl]\NP)/NP`, simplification similarly leaves `(S\NP)/NP`. The slash directions and noun phrase arguments remain as they were.

When complete supertags serve as labels, features can be removed wherever they occur in the retained category. In the contextual approach, feature simplification affects the categories kept in the argument positions. Features appearing solely in information already discarded by the contextual projection have already disappeared from the label. The two simplifications therefore remove different information. Dropping the result category changes which parts of the category are represented. Stripping features changes the level of detail inside the parts that remain.

The experimental names reflect these choices. CCG uses complete supertags and CCG Context uses the ordered argument categories. The suffix `(s)` marks feature removal, giving CCG (s) and CCG Context (s). This layout lets the authors compare contextual and complete labels with their features retained, make the analogous comparison with features removed, and examine what feature removal does inside each labeling family. A grammar based on simpler distinctions can have fewer distinct labels, though an evaluation is needed to tell whether its coarser matching produces better translations.

#### The shared training and decoding procedure

Before rule extraction, the English training text is lower-cased and put through [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), which determines the units treated as words by subsequent stages. The Arabic text is processed with MADA using the D3 segmentation scheme. This places segmentation upstream of alignment and rule extraction. That placement is important to the authors’ interpretation because changing the units in the source sentence can change their links to English, and thus the phrases available for labeling. [Combination of Arabic Preprocessing Schemes for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/sadat-2006-combination-arabic-preprocessing-schemes-statistical/)

The alignment setup uses GIZA++ and the grow-diag-final refinement procedure. Its output guides the extraction of bilingual material. The phrase-based baseline uses the Moses phrase-based decoder, and the hierarchical baseline and the syntax-augmented systems use the Moses chart decoder. The latter can extract syntax-augmented rules from annotated training data. Using the same hierarchical decoder for the labeled and unlabeled grammars makes the label comparison more direct.

The maximum phrase length for the phrase-based baseline is 12. For the hierarchical systems the maximum phrase length and maximum rule span are both 12. An extracted hierarchical rule can have up to 2 nonterminals. Phrase length limits the extent of the bilingual phrases considered, while the rule span bounds how far a hierarchical rule can extend. The limit on nonterminals bounds how many parts of one rule can be left open for substitution. These representation limits apply alongside the grammatical distinctions made by the labels.

All configurations use minimum error rate training to tune their translation scores on development data. The English side of the parallel corpus also supplies the data for a 5-gram estimate of target word sequences, trained with SRILM and modified Kneser–Ney smoothing. An [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) is a sequence of neighboring tokens of a specified length. The sequence score supplies a preference over English wording, while the contextual labels regulate which rule combinations are available. A translation can therefore be shaped both by the local word sequence evidence and by the grammar used to assemble it.

### Experiments and results

#### The news and travel speech tests

The authors test Arabic–English and Chinese–English translation in news and travel speech. English is the target in every condition, so the grammatical labeling always concerns English training sentences. The bilingual training source changes across conditions. The news material comes from randomly selected sentences in the Arabic News corpus from LDC and in the Chinese–English FBIS corpus. The speech conditions use IWSLT 2010 data. The Arabic–English BTEC task contains basic travel expressions, and the Chinese–English DIALOG task contains spoken dialogues from travel situations.

The split sizes show why the authors consider data volume alongside the identity of the source language. Arabic–English news uses 48,065 sentence pairs for training, 500 for development and 500 for testing. Chinese–English news uses 51,044 for training, 500 for development and 500 for testing. The training pools are closer in size than those for the speech conditions, where the Chinese–English task has more examples available for learning its labeled rule inventory.

Arabic–English speech uses 20,376 training sentence pairs, 389 development pairs and 507 test pairs. Chinese–English speech uses 54,574 training pairs, 507 development pairs and 504 test pairs. Development data is used to tune the system. The test data is used for the reported comparisons. The paper also includes a reduced Chinese–English speech experiment described as 20k, designed to bring the amount of training material closer to that available in the Arabic–English speech condition.

According to the authors, most of the travel material takes the form of short questions, and its sentences average nine words. They give an average sentence length of 37 words for the news material. The domain comparison therefore also compares different kinds of sentences. A travel question and a long news sentence offer different opportunities for extracting phrases with a particular arrangement of arguments, as well as different opportunities for reordering material with hierarchical rules. The reported averages describe the corpora used in the study.

#### What the baselines and scores measure

The phrase-based baseline, PB, establishes how well the bilingual phrase inventory works in the ordinary phrase-based Moses setup. The hierarchical baseline, HPB, establishes how well the chart decoder performs with the generic hierarchical grammar. Comparing CCG Context with HPB is the closer test of changing the labels in a hierarchical system. Comparing it with PB asks whether the resulting system also surpasses the separate phrase-based approach on the same task.

The tables use BLEU, TER and METEOR. BLEU rewards overlap between the translation and the reference sequences. TER, or Translation Edit Rate, measures how much editing is needed to reach a reference, so lower is better. METEOR is another reference-based measure, with higher scores preferred. The paper reports these measures together, allowing a reader to see when a ranking depends on what the evaluation rewards. The scores are corpus-level results for the specified test conditions.

The paired bootstrap significance test reported for the Arabic news gain addresses a different question from the metric values themselves. Using the same resampled test items for both systems preserves the pairing between their translations of a sentence. The procedure checks how frequently the observed advantage holds under resampling. Its result concerns the comparison being tested, with the systems and test corpus held in that comparison. Statistical Significance Tests for Machine Translation Evaluation

#### Arabic–English news

On Arabic–English news, CCG Context (s) reaches 23.69 BLEU. The strongest baseline on that metric is PB at 23.13. HPB reaches 22.60. The authors report a 0.56 absolute BLEU point gain for CCG Context (s) over PB, corresponding to a 2.42% relative improvement. In paired bootstrap resampling, the simplified contextual system is better in 98% of the samples, with the paper giving a significance level of 0.05.

Rule labeling and baselines on the Arabic–English news test by BLEU Simplified contextual labels give the highest BLEU, ahead of both baselines and both complete-category variants.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| HPB | 22.60 |
| PB | 23.13 |
| CCG | 22.97 |
| CCG (s) | 20.98 |
| CCG Context | 22.68 |
| CCG Context (s) (this paper) | 23.69 |

The simplified contextual system also leads on TER, with 63.78 against 64.00 for PB and 64.32 for HPB. METEOR gives the lead to PB at 57.11. CCG Context (s) scores 55.88 on that measure, and the feature-retaining contextual system scores 56.62. Thus the configuration that leads on overlap as measured by BLEU and on edit rate gives up METEOR score relative to the strongest baseline. The significance claim is about the BLEU gain over PB.

This test also illustrates why the general claim that grammatical labels help would be too broad. Complete supertags yield 22.97 BLEU, while their simplified form yields 20.98. Contextual labels with features retained yield 22.68. The strong result belongs to a specific combination of projecting onto the two arguments and stripping features from those arguments. Arabic news is the setting in which that combination supplies the clearest advantage over the baselines.

#### Arabic–English travel speech

On the Arabic–English IWSLT test, the highest BLEU is 53.20 for HPB. CCG Context (s) reaches 53.14, a gap the paper gives as 0.06 absolute BLEU points. Feature-retaining contextual labels reach 52.86. PB scores 52.31, and every CCG variant is numerically above it on BLEU. The complete-super­tag system with features retained, at 52.32, sits very close to that baseline.

The metric leaders differ. CCG Context (s) gives the highest METEOR, 71.50, compared with 71.43 for HPB. The best TER is 30.85, achieved by CCG (s), while HPB scores 30.95 and CCG Context (s) scores 31.04. If the comparison is framed around improvement over the phrase-based baseline, the labeled systems look competitive. If it is framed around the best hierarchical BLEU score, the generic hierarchical grammar retains the lead. The result is a close comparison between the contextual method and HPB on a different type of translation material from Arabic news.

#### Chinese–English news

On the Chinese–English news test, the highest BLEU is 23.77 for CCG (s), the variant that removes features from complete supertag labels. PB reaches 23.74 and HPB reaches 23.65. The paper gives the lead over PB as 0.03 absolute BLEU points. The feature-retaining contextual system is at 23.45, and the simplified contextual system reaches 22.91.

The contextual variant with features retained has the strongest TER and METEOR in the news table. Its TER is 66.38, compared with 66.81 for HPB and 67.78 for PB. Its METEOR is 53.49, compared with 52.76 for HPB and 52.56 for PB. The simplified complete category gives the leading BLEU, while the feature-retaining contextual representation gives the leading scores on the other measures. That division is important when describing which form of CCG information is favored by the test.

#### Chinese–English travel speech

The full Chinese–English IWSLT table gives the highest BLEU to CCG Context at 51.42. HPB follows with 50.89, and CCG Context (s) reaches 50.82. The comparison between the top score and HPB corresponds to the paper’s reported 0.53 absolute BLEU points and 1% relative improvement. The authors report that this improvement falls short of statistical significance.

Rule labeling and baselines on the full Chinese–English IWSLT test by BLEU Contextual labels that retain category features lead the table, with the hierarchical baseline close behind.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| PB | 47.69 |
| HPB | 50.89 |
| CCG | 48.26 |
| CCG (s) | 48.86 |
| CCG Context (s) | 50.82 |
| CCG Context (this paper) | 51.42 |

METEOR also favors CCG Context, at 67.82, followed by CCG Context (s) at 67.59 and HPB at 66.81 among those configurations. TER favors HPB, at 32.53. CCG Context (s) gives 32.55 and CCG Context gives 33.00. The feature-retaining contextual representation has the advantage on the two higher-is-better measures, while the generic hierarchical grammar requires fewer edits according to TER.

The article’s prose attributes the leading BLEU and METEOR result to simplified contextual labels. The numerical table assigns the leading values to CCG Context, and the stated BLEU improvement over HPB corresponds to that same row. The paper’s observation that contextual simplification hurts BLEU in both Chinese–English settings also agrees with the table. The comparisons here follow the table’s system names and retain the significance judgment the authors attach to the headline gain.

#### The reduced Chinese–English speech experiment

With the reduced Chinese–English IWSLT training set, HPB leads at 38.96 BLEU and CCG Context reaches 38.40. PB reaches 38.37, and CCG Context (s) is at 38.36. HPB also leads on METEOR at 60.05, while PB leads on TER at 39.92 and HPB gives 40.07. The contextual system with features retained is now below HPB on all three reported measures.

Rule labeling and baselines for the 20k Chinese–English IWSLT training condition by test BLEU Reducing the training data puts the generic hierarchical baseline ahead, while feature-retaining contextual labels remain the strongest labeled setting.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| PB | 38.37 |
| HPB | 38.96 |
| CCG | 36.12 |
| CCG (s) | 38.12 |
| CCG Context (s) | 38.36 |
| CCG Context (this paper) | 38.40 |

The result gives the study a comparison within the Chinese–English speech task. In the full condition, CCG Context has the highest BLEU, with HPB following it. After the reduction, HPB has the highest BLEU, with CCG Context following it. The relative positions of the labeled variants are preserved. This makes it possible to ask separately why the contextual representation fares better than full categories within the labeled group and why the best labeled method changes position relative to the generic grammar.

### What the ablations show

#### Keeping argument information and dropping the result

The comparison between CCG and CCG Context is the closest experiment to an ablation of the result category. Both use CCG information in the hierarchical grammar. CCG carries complete categories into rule labeling, while CCG Context retains only the left and right argument categories. Comparing these variants with features retained shows how the change in representation affects scores when feature removal is held aside. CCG (s) and CCG Context (s) provide the companion comparison with features stripped.

In speech, the contextual variant scores higher on BLEU than the full-category variant within each feature setting for both translation directions. In Arabic–English speech, the feature-retaining comparison is 52.86 for CCG Context and 52.32 for CCG. With features stripped, CCG Context (s) gives 53.14 and CCG (s) gives 52.70. The contextual variants also have higher METEOR than their respective full-category variants. On TER, the advantage depends on the setting, since the simplified full-category system leads the Arabic speech table.

The Chinese–English speech comparison gives a similar BLEU ordering among the labeled systems. Contextual labels give 51.42 with features and 50.82 with features stripped. The full-category counterparts give 48.26 and 48.86, respectively. Both contextual versions also have higher METEOR and lower TER than the corresponding complete-category versions. The broad speech pattern is consistent with the authors’ expectation that coarser labels can reuse evidence across more phrases. Ranking the systems this way still leaves room for the simpler HPB baseline to win, as it does on Arabic speech BLEU.

The news tests are more mixed. On Arabic news, contextual projection with features retained moves from 22.97 BLEU for CCG to 22.68 for CCG Context. With features stripped, the contextual system at 23.69 comes out ahead of the complete-category counterpart at 20.98. Chinese news reverses these directions. The feature-retaining contextual system gives 23.45 against 23.30 for CCG, and the simplified contextual system gives 22.91 against 23.77 for CCG (s). Whether contextual projection improves BLEU in news therefore depends jointly on the data and on which category features remain.

There is also a limit to what the comparison isolates. Changing the label representation changes the distinctions available during extraction and decoding. A coarser label can influence how many examples support a rule, the rules available at a given gap and the scoring of the resulting candidates. The experiment observes their combined effect on translation scores. It leaves open how much each part of that chain contributes.

#### Stripping features from either kind of label

The strongest feature-removal pattern for contextual labels tracks the source-language conditions in this study. Simplifying the contextual labels improves Arabic news BLEU from 22.68 to 23.69 and Arabic speech BLEU from 52.86 to 53.14. In Chinese news, contextual simplification moves BLEU from 23.45 to 22.91. In the full Chinese speech condition it moves BLEU from 51.42 to 50.82. These are comparisons within the contextual-label family, so each pair still represents left and right requirements.

For complete supertags, feature removal has a different pattern. On Arabic news it changes BLEU from 22.97 to 20.98, whereas on Arabic speech it changes BLEU from 52.32 to 52.70. On Chinese news it changes BLEU from 23.30 to 23.77, and on full Chinese speech from 48.26 to 48.86. A distinction with little value in a full category could still matter once the label has been reduced to its argument positions. The scores show that the two operations interact, while leaving the value of any particular feature unresolved.

The individual metrics sharpen that point. For Arabic news, simplifying contextual labels improves TER along with BLEU, while METEOR favors retaining the features within that family. On full Chinese speech, stripped contextual labels have better TER than their feature-retaining counterpart, even though they have lower BLEU and METEOR. For Chinese news, the simplified complete labels improve BLEU and TER over complete labels with features, yet the feature-retaining contextual variant still leads on TER. Saying that simplification helps is meaningful only when the label family, corpus and measure are specified.

#### Reducing training material within a task

The speech experiments initially confound the translation direction with a substantial difference in training size. The contextual system leads on Chinese–English speech BLEU with the full training corpus, while HPB leads on Arabic–English speech BLEU. Either result could reflect the data available for the labeled grammar. The reduced Chinese–English run addresses this by changing the training amount while keeping the task within the same language pair and domain.

The change in BLEU order supports the authors’ concern that training size matters. In the full Chinese speech condition, feature-retaining contextual labels come first, ahead of HPB. In the reduced condition, HPB comes first. At the same time, the ordering among labeled systems stays the same by BLEU. Feature-retaining contextual labels still precede stripped contextual labels, stripped complete categories and feature-retaining complete categories, in that order. Their relative advantage within the labeled group persists even when the generic grammar becomes the stronger choice.

The comparison also helps interpret what sparsity might mean here. Labeling gives the system more distinctions to learn than the generic hierarchical inventory uses. With fewer training examples, a particular labeled configuration can have limited support, even when the contextual labels are coarser than complete supertags. The observed reversal is compatible with that explanation. The reduced-data run measures the consequence for translation scores. The intermediate changes in the distribution of rule counts and the chances of finding applicable rules remain open.

#### Comparing corpora with broadly similar training sizes

The news comparison gives the authors a different way to inspect the role of the source language. Its split sizes are broadly similar across Arabic and Chinese, and the paper describes the news sentences as having approximately similar average lengths across the two translation directions. Among the CCG variants, the Arabic news BLEU order is CCG Context (s), CCG, CCG Context and CCG (s). The Chinese news BLEU order runs in reverse. Similar training totals therefore coexist with very different preferences among the label configurations.

The authors interpret this as evidence that the source language also matters. Their system labels English in both cases, so any role of the source side has to be considered through the bilingual material available for extraction. A source-side choice can affect which words align together, which English spans become phrase pairs and how evidence accumulates for rules bearing English labels. This is how an English-only annotation scheme can respond differently to different source languages.

The news comparison also leaves several distinctions bundled together. The source language changes along with the underlying corpus and preprocessing. Broadly similar training totals and sentence lengths hold those properties roughly comparable, while the content of aligned sentence pairs and the unit boundaries still vary. The reversal is a clear result for the tested corpora. An explanation that singles out a source-side property would require changing that property within a more controlled comparison.

### Limitations

#### Limits the authors identify

The authors recognize information loss as a cost of their representation. Once the result category is removed, phrases with the same argument labels can be treated alike at a gap even when they behave differently after their arguments have been supplied. Feature removal can merge further distinctions. The authors explicitly allow for the possibility that the resulting grammar produces ill-formed combinations. Their experiments assess the net translation effect of a more compact grammar, where wider reuse of rules and loss of grammatical detail can happen together.

The Chinese–English speech gain has a statistical limit that the paper makes explicit. The top BLEU score is above the hierarchical baseline, but the reported test fails to establish significance for the gain. The Arabic news result includes a positive significance finding for the comparison with PB. Those statements carry different weight, even though both comparisons place a contextual variant at the top by BLEU. The Chinese news lead registered for CCG (s) is slight, and the paper reports it as a numerical comparison.

The authors also identify training size as an open question and propose larger-data experiments. The reduced corpus demonstrates sensitivity to one change in the training amount under the Chinese speech setup. How the comparison would develop with still more data remains open. More training examples could support finer categories, or they could strengthen a simpler grammar enough to change the ranking again. The observed results supply a reason to investigate scale without determining the direction of any future change.

Segmentation is a second line of future work. The authors suggest that differences in Arabic and Chinese segmentation could help explain the contrasting outcomes when corpora have similar training sizes and come from the same broad domain. Segmentation changes the word units submitted to alignment. Alignment affects the phrase inventory, which affects rule extraction and scoring. The authors also propose combining systems, a possibility motivated by the different rankings across settings. Both proposals belong to the paper’s account of what remains to be tested.

#### Limits of the evidence in the setup

The evaluation gives indirect evidence about grammaticality. BLEU and METEOR measure aspects of agreement with a reference translation, and TER measures the edits needed to reach one. A favorable score can reflect better word choice, closer phrasing or a more suitable word order, among other changes. The reported evaluation leaves the frequency of grammatical errors and the specific behavior of left and right argument matches unmeasured. Examples of extracted rules explain how the restrictions work, while the corpus-level scores tell how the systems perform in aggregate.

Agreement among metrics is partial. Arabic news gives CCG Context (s) the best BLEU and TER, and PB the best METEOR. Full Chinese speech puts CCG Context first in BLEU and METEOR and puts HPB first in TER. Arabic speech distributes the metric leads among different configurations. A claim of better translation quality can therefore be made more exact by keeping the metric and test condition attached to it. The reported differences also leave the significance of most individual variant comparisons open.

The sparsity explanation is plausible given the mechanics of rule extraction. A detailed label can divide examples that would otherwise count toward the same grammar rule. The paper describes its contextual inventory as less sparse and says that feature removal reduces the number of labels and the grammar size further. The reported results leave the magnitude of those reductions unspecified. They also leave open how rule frequency, label coverage and search behavior changed across corpora. Those intermediate measurements would help distinguish the effect of having more evidence per rule from the effect of admitting a wider set of combinations during decoding.

The extraction shortcut also rests on the boundary supertags as representations of phrase context. The study uses them directly and gives examples where the resulting categories have the intended interpretation. It leaves open how frequently they agree with the requirements one would identify from a complete derivation, especially for difficult spans or for sentences with tagging errors. A mistaken boundary tag can change the label used for a phrase pair and the gap that replaces it. Its impact on the final translation depends on the grammar learned from all the training sentences.

The direction of transfer is another boundary on the findings. The two source languages differ, but every system translates into English and obtains its CCG information from English training sentences. The results concern a particular target language, grammatical analysis and decoder setup. Applying the idea to another target language would require categories and a tagging procedure for that target, as well as evidence that their distinctions remain helpful when projected onto phrase boundaries.

The reduced-data experiment changes training volume within one speech task, while the news and speech comparisons join domain differences with other corpus properties. The paper points to sentence length as one such property. Vocabulary, aligned phrases and the prevalence of particular constructions can also differ across datasets, so the evidence leaves the independent effect of domain open. The same caution applies to the identity of the source language. The experiments show that the value of a label changes across the tested conditions, while the hypothesis about segmentation remains a proposed explanation.

### What came after

[Using Syntactic Head Information in Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/li-2012-syntactic-head-information-hierarchical-phrase/) (2012) continues the investigation of what grammatical information a hierarchical translation system can use. Its stated focus is syntactic heads, the words that determine the grammatical character of a phrase. This shifts the focus from the relations expressed at the phrase boundary to information associated with a structurally central word inside the phrase. Both questions arise because a span learned from bilingual alignment can take part in a larger construction whose behavior depends on more than its surface boundaries.

The distinction is easiest to see in the paper’s English example. In *book a seat*, the contextual label `NP X` records the remaining expectation to the left after the object is included. A question about syntactic heads instead directs attention to the verb *book*, around which the phrase is organized. This illustrates the difference between the two kinds of information. It is an illustration from the CCG paper’s example, while the later work’s title establishes its focus on head information in hierarchical phrase-based translation.

The citation connects the papers through their choice to bring selected grammatical information into rules learned from parallel text. The later work’s title establishes the move towards heads. Its extraction procedure, evaluation and relationship to individual CCG label variants remain unspecified here. The result established by the contextual-label experiments is narrower and concrete. English argument categories at phrase edges can improve a hierarchical system under some conditions, with the clearest evidence coming from simplified labels on Arabic–English news. Across the other tests, how much syntax to retain remains a question the translation data and evaluation have to answer.

## Cite

Cite as Hala Almaghout, Jie Jiang and Andy Way. 2011. CCG Contextual labels in Hierarchical Phrase-Based SMT. Proceedings of the 15th 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{almaghout2011ccg,
  title = {{CCG Contextual labels in Hierarchical Phrase-Based SMT}},
  author = {Hala Almaghout, Jie Jiang and Andy Way},
  booktitle = {Proceedings of the 15th Annual Conference of the European Association for Machine Translation},
  year = {2011},
  url = {https://aclanthology.org/2011.eamt-1.38/}
}
```

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