---
title: "SCFG Decoding Without Binarization — Hopkins 2010"
description: "SCFG Decoding Without Binarization shows how source words constrain translation search and tests when pruning rules improves speed…"
canonical: "https://research.elamur.ai/free/en/papers/hopkins-2010-scfg-decoding-without-binarization/"
---
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/hopkins-2010-scfg-decoding-without-binarization/)

[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/) / SCFG Decoding Without Binarization

# SCFG Decoding Without Binarization

Paper · 2010 · Mark Hopkins and Greg Langmead

**Authors:** [Mark Hopkins](https://md.research.elamur.ai/free/en/authors/mark-hopkins/) and Greg Langmead · **Year:** 2010 · **Venue:** Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**28** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W1708005048) · [Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing](https://aclanthology.org/volumes/D10-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/D10-1063/)
- [PDF](https://aclanthology.org/D10-1063.pdf)
- [OpenAlex](https://openalex.org/W1708005048)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation system can use a grammar rule to build a long phrase from several shorter ones. Before it can use that rule, it has to work out which part of the input belongs to each piece. A rule that leaves many boundaries open can be expensive to try across a whole sentence. A common remedy is to break grammar rules into smaller rules that combine pieces in pairs. That controls how the work grows with sentence length, but it also gives the decoder more rules and categories to manage. Mark Hopkins and Greg Langmead ask when a decoder can keep its original rules and still control the cost of finding where they apply.

Their answer is to count the boundaries that remain free after the fixed words in a rule have been located. They call this count the rule’s *scope*. A word such as *of* can fix the end of one phrase and the start of the next. Several such anchors can make a long rule economical even when some of its phrase slots sit next to each other. The authors show that rules of scope at most 3 give a cubic bound on chart updates when input words have bounded repetition, rule patterns have bounded length, and the decoder limits how many alternatives it keeps. Exact search with additional scoring information has a separate bound.

The authors test a direct way to exploit this result in syntax-based [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). They discard rules with scope greater than 3 and keep the remaining rules in their original form. Each retained rule can still build source and target phrases together, and the decoder can still score word sequences on the target side as it assembles a translation. In the Arabic–English and Chinese–English tests, the share of potentially applicable rules containing fixed source words that met the scope cutoff was 95% and 85%, respectively, averaged over sentences.

On both test sets, the authors report a better tradeoff between decoding speed and [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) for scope pruning than for synchronous binarization. They obtain the comparison by varying how many partial alternatives the decoder explores. The result shows that, for these grammars and test sets, eliminating some rules was an effective way to streamline the search. The proof explains which rule patterns qualify for the cutoff. The experiments establish how well that cutoff worked in these particular translation systems.

## Deep dive: SCFG Decoding Without Binarization

SCFG Decoding Without Binarization shows how source words constrain translation search and tests when pruning rules improves speed and quality. · about 35 minutes to read

**In this deep dive**

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

### The problem and its context

#### Why the same rule can be expensive in many places

A grammar rule describes how to build a larger unit from smaller units. In a [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/), the rule gives a category for the result and a sequence of words or categories that must occur underneath it. A category such as noun phrase can stand for a stretch of several words. If a rule has several such categories in sequence, there may be many ways to divide an input stretch among them. The decoder has to consider divisions compatible with the grammar and with the words it sees.

In bottom-up chart [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/), the decoder first works out what it can build over short stretches of the input. It saves those results and uses them to build analyses over longer stretches. A long-span rule application can reuse an analysis that is already in the chart. Reuse saves the work of reconstructing that analysis. The decoder still has to find the boundaries of the spans it needs and check that each span has an entry of the required category.

Consider the unanchored rule in the paper that makes a sentence from a noun phrase, a verb phrase and a prepositional phrase. To place it anywhere in the input, the decoder needs the start, the end and the divisions between its children. Those boundaries have to come in order, and each child needs a nonempty span. The paper counts the possible placements by choosing a set of boundaries from the sentence. The resulting count grows with the fourth power of sentence length. Some placements will fail because suitable children cannot be built there. The combinatorial problem arises before the decoder knows which ones will succeed.

The familiar treatment is to put the grammar into Chomsky Normal Form, or CNF. Its combining rules join a pair of categories, and its lexical rules introduce a word. A combining rule needs a beginning, a split and an end. Hence the usual cubic dependence on input length for chart parsing with this grammar form. The conversion offers a uniform way to control the number of candidate placements, even when the original grammar includes rules with long sequences of categories.

The cost of conversion shows up elsewhere. Breaking a rule into stages requires intermediate categories to identify the partial structures being assembled. The converted grammar has more rules and categories for the decoder to handle, even though its exponent in sentence length is lower. An asymptotic statement treats factors tied to the grammar as fixed while sentence length varies. For a translation system that must actually load and use the grammar, those factors matter to the elapsed decoding time.

#### What changes when the grammar builds a translation

A synchronous context-free grammar, or SCFG, builds an input string and a corresponding output string in a single derivation. A slot on one side of a rule is paired with a slot on the other. A rule can use the same children in different orders on the two sides. The input determines where those children can be found, while the target side determines how their translations and any fixed target words fit together.

This creates a qualification for binarization. A decomposition into smaller rules has to respect both arrangements of the children. The [synchronous binarization method](https://md.research.elamur.ai/free/en/papers/zhang-2006-synchronous-binarization-machine-translation/) discussed in the paper first identifies a subgrammar it can binarize. It then converts that subgrammar so the smaller rules reproduce its derivation costs. The paper treats the discarded rules and the introduction of intermediate rules as separate effects. The former can change the best cost available for a sentence. The latter increases the amount of grammar machinery the decoder handles.

Translation also gives the chart a reason to distinguish partial results that occupy the same source span and have the same category. Two translations for that span can start or end with different words. When another rule attaches material to them, the new target word sequences can receive different scores. A decoder that keeps track of target-side word-sequence scoring during the search consequently needs information about the boundaries of the partial translation, in addition to the source span and the category. That information affects the number of combinations tried at a rule application.

#### What fixed words already make possible

The earlier proposal closest to scope is Lexical Normal Form, or LNF. In addition to CNF rules, it admits patterns with fixed words separating category slots. The paper illustrates the principle with a noun phrase pattern that starts with *the*, contains a slot, continues with *of*, and ends with another slot. The positions of *the* and *of* constrain where the slots can go. If those words each have a unique occurrence in the input, the decoder can locate their boundaries immediately. Some boundaries, such as the ending of the whole phrase, may still need to be searched.

The earlier LNF method was designed to limit the number of intermediate categories. Its lossless conversion applies to the paper’s *simple* grammars, where rule costs and the information passed through a derivation are constant for a given rule. In the translation setup the authors discuss, target word-sequence scores are added in a subsequent rescoring stage with a variant of cube growing. The paper points to [Forest Rescoring](https://md.research.elamur.ai/free/en/papers/huang-2007-forest-rescoring-faster-decoding-integrated/) for that technique.

Hopkins and Langmead focus on the condition behind the anchoring argument. A fixed word is useful as an anchor because it has few possible occurrences in the sentence. Once the role of that condition is explicit, there is room for patterns LNF excludes. Slots can be adjacent in one part of a rule while fixed words elsewhere keep the overall number of free boundaries small. This shifts the grammar-design question from whether particular pieces are allowed to sit together to how much freedom the entire source pattern leaves the decoder.

### The method, step by step

#### From a source pattern to candidate spans

The decoder can separate matching a rule’s shape from choosing the derivations that fill it. A rule pattern contains ordinary symbols that have to match the input and substitution markers that stand for pieces to be built by other rules. In the paper’s representation, the same marker is used for every slot. The rule separately records the category required at each slot. This means the number of ways to locate the pattern is a property of its fixed words and slots. The categories come into play when the decoder looks for children in the chart.

The example involving *the fast jet ski of mr smith* illustrates both decisions. The noun phrase pattern contains *the* and *of*, with adjacent slots between them and a final slot after *of*. The fixed words identify the region in which the adjacent slots must be found. A chart entry for the adjective can cover *fast*, and an entry for the noun can cover *jet ski*. The name can fill the last slot. The grammar applies a further rule to place a preposition in front of the resulting noun phrase. On the target side of the synchronous example, the noun and adjective are used in a different order.

The placement of a pattern is called an *application context*. It identifies the entire stretch covered by the rule and the individual stretches that each slot must cover. The chart can then look for entries with the appropriate categories over those stretches. A context is a candidate even if the chart has no compatible entry for a required child. Keeping this distinction lets the authors bound how many locations a rule can be tried in before considering the contents of the chart.

Scope pruning and chart decoding The steps in order.

Counting scope and discarding rules happen at the level of the grammar. The remaining steps concern a particular input sentence. The chart fills from shorter spans to longer ones, so a rule can draw on child entries whose costs have already been considered. In beam decoding, the chart also limits the set of entries it retains for a span. That search decision is separate from scope pruning. A discarded rule is unavailable throughout the search, whereas a chart entry can disappear because of its cost relative to entries for the same span.

#### The rule and the derivation

The paper describes the source pattern as a sequence of symbols drawn from a vocabulary with a reserved substitution symbol. A span is specified by boundaries between symbols, including the boundaries before the sentence and after it. The same span notation applies to an input sentence or a pattern.

```
s[a,b] = ⟨sₐ₊₁, …, sᵦ⟩
```

Here `s` is the sequence, `a` is the boundary before the first included symbol, and `b` is the boundary after the last. The symbol `sₐ₊₁` is the first included element and `sᵦ` is the last. The ellipsis stands for any intervening elements, and the angle brackets enclose the resulting sequence. The boundaries are non-negative integers, with `a` strictly before `b`, and `b` falls at or before the end of `s`.

A pattern’s *rank* is the number of substitution markers it contains. Substitution takes the child strings in order and places them into successive slots. The corresponding operation on the target side of a synchronous rule can follow a different ordering. The abstract rule used in the analysis has the following components.

```
r = ⟨k, s*, X, π, Γ, c⟩
```

The symbol `r` denotes the rule, `k` is its rank, and `s*` is its source pattern. The symbol `X` is the category that the rule produces, which the paper calls its postcondition. The sequence `π` lists the required child categories, called the preconditions, in source-slot order. The function `Γ` computes the information passed up from the new chart entry, and `c` computes the local cost. Both functions take the information passed up by the children. The output of `Γ` is called a carry, and the output of `c` is a real-valued cost.

A derivation is a tree of rules. Each child produces the category required for its slot in its parent. The root category of a derivation is therefore the postcondition of its root rule. Its source string is computed by substituting the children’s source strings into that rule’s pattern. This recursive definition includes rules with no substitution slots, which derive their fixed strings directly. Such rules provide entries the chart can use to begin building larger spans.

```
sent(δ) = SUB(s*, sent(δ₁), …, sent(δₖ))
```

Here `δ` is the derivation rooted at `r`, and `δ₁` through `δₖ` are its children. The function `sent` gives the source string produced by a derivation. The symbol `s*` is the root pattern, `SUB` is the left-to-right substitution operation, and `k` is the number of children. The ellipsis indicates the children between the displayed endpoints. The operation replaces the markers in `s*` with the corresponding strings and leaves its fixed symbols in place.

The authors define a carry as a sequence with no substitution markers. For a simple rule, the carry and local cost are both constant for that rule. An ordinary weighted grammar can, for instance, give each rule a fixed cost and pass an empty carry to its parent. The total cost then comes from adding the costs at the nodes of the derivation. The carry becomes important when a local scoring decision depends on the children’s target strings.

```
carry(δ) = Γ(carry(δ₁), …, carry(δₖ))
```

The function `carry` returns the information a derivation passes to its parent. The symbols `δ`, `δ₁` through `δₖ`, and `k` refer to the parent derivation, its children, and their count. The root rule’s carry function `Γ` constructs the new carry from those of the children. The ellipsis represents the intervening child carries. The rule’s structural information, including how it arranges its children on the target side, is built into that function.

```
cost(δ) = c(carry(δ₁), …, carry(δₖ)) + ∑[j=1…k] cost(δⱼ)
```

The function `cost` gives the total derivation cost. The first term is the root rule’s local contribution, evaluated by `c` on the `carry` values of its children. The summation sign `∑` adds the total costs of the children, with `j` indexing them from `1` through `k`. The symbol `δⱼ` is the child at index `j`, and the ellipses indicate intervening values. The plus sign combines the local contribution with the costs already incurred below the root.

The objective is to find the cheapest derivation of the input. In the synchronous case, each such derivation also determines a target string through the paired rule patterns. The analysis can omit the target pattern from its abstract tuple because the chart operations it counts depend on the source pattern and the cost and carry functions. An implementation reconstructing the target string needs the target pattern as well.

```
MinDCost(R, s) = min {cost(δ) : δ ∈ deriv(R), sent(δ) = s}
```

The symbol `R` denotes the grammar, `s` the input, and `deriv(R)` the set of derivation trees licensed by `R`. The membership sign `∈` says that `δ` is one of those trees. The condition `sent(δ) = s` restricts the set to trees producing the input on their source side. The colon introduces the conditions on the costs collected inside the braces, and `min` selects the smallest such cost. The resulting value is called `MinDCost`. It is a cost objective, so it can give the same answer for distinct trees with equal scores.

#### Why a child can pass up only its boundary words

Consider a target-side [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) that assigns a cost to each adjacent pair of words. When a child builds a phrase, the cost of pairs entirely inside the phrase can be accounted for within that child’s derivation. A parent that places another phrase or a fixed word next to it has to account for pairs that cross the new join. The parent can do this if it knows the child’s first and last words. The child’s full target string is more information than this scoring operation requires.

The source and target orders play different roles here. The source pattern tells the decoder which chart spans to retrieve. The target arrangement tells it which child boundary words become neighbors. In the paper’s noun phrase example, the English adjective precedes the noun. The French construction places the noun before the adjective, so the target score at their join uses the end of the noun’s translation and the beginning of the adjective’s translation. When the resulting phrase is placed under the prepositional rule, its outer boundary words are the ones needed for the next scoring decision.

The same idea extends to an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) score with a longer word history. A carry needs enough context from each end for the parent to score sequences crossing a join. The paper expresses the boundary size and the size of the resulting carry space separately. This distinction matters because the chart can contain many different carries of the same length.

```
2(j − 1)
```

The symbol `j` is the order of the target word-sequence scorer. The term in parentheses is the boundary context needed at each end, and the factor `2` counts the ends. The expression describes the boundary words carried upward for this scoring setup. The cost function scores sequences made available by the current rule application, while the carry function prepares the boundary information for the next rule up the tree.

```
O(n^(2(j − 1)))
```

Here `n` is the input sentence length, `j` is the order of the word-sequence scorer, and `O` denotes an asymptotic upper bound. The caret raises `n` to the exponent in parentheses. This is the paper’s bound on the number of possible carries when each boundary word is assumed to have `O(n)` choices. The expression counts potential distinct states, rather than the number of words stored in a single state.

#### What the chart stores and how it updates

An application context is an increasing sequence of input boundary positions, with a boundary before the pattern, after it and between each successive pair of pattern symbols. For a fixed word, the subspan between its two boundaries has to be exactly that symbol. For a slot, the subspan needs a child derivation of the required category. Once the sequence has been chosen, its first and last positions give the parent span and its slot positions give the child spans.

```
x = ⟨x₀, x₁, …, xₘ⟩
```

The symbol `x` denotes the context and `m` is the number of symbols in the pattern `s*`. Each `xᵢ` is a boundary index in the input `s`, with `i` ranging from `0` through `m`. The ellipsis represents intermediate indices. The angle brackets enclose the ordered sequence. For an input of length `n`, the indices lie between `0` and `n`, and successive indices delimit nonempty subspans.

```
s*[i−1,i] ≠ ♦  ⇒  s*[i−1,i] = s[xᵢ₋₁,xᵢ]
```

The expression `s*[i−1,i]` picks out the pattern symbol at position `i`. The marker `♦` denotes a substitution slot, and `≠` tests whether the selected symbol is a fixed word. The implication arrow says that in that case the corresponding source subspan `s[xᵢ₋₁,xᵢ]` must equal the fixed symbol. The terms `xᵢ₋₁` and `xᵢ` are the input boundaries on either side of that position. The condition is applied at each symbol of the pattern. At a slot the grammar and the chart determine whether a child is available.

```
span(x; s*, s) = [x₀, xₘ]
```

The function `span` returns the full input stretch covered by context `x` for pattern `s*` and sentence `s`. The semicolon in the notation separates the context from the sequences it relates. The endpoints `x₀` and `xₘ` are the first and final boundaries of `x`. Every pair of successive boundaries gives a subspan. The decoder selects from those subspans the ones corresponding to `♦` to obtain the sequence of spans that need child entries.

Two derivations over the same span can be substituted freely in any parent that requires their category if they also pass up the same carry. For the parent, they match the same piece of the input, satisfy the same precondition and contribute the same information to the local cost and carry functions. The cheapest derivation within that class suffices for finding the minimum cost. A more expensive derivation with the same class key would add to the inherited cost and leave future local decisions the same.

The chart records a cost for each class, indexed by the input span, the produced category and the carry. For a proposed rule application, the decoder uses its application context to retrieve possible child classes. It considers combinations that match the rule’s categories, computes the parent carry, and adds the local rule cost to the costs in those child entries. It then compares that value with the best cost stored for the parent class.

```
c(γ₁, …, γₖ) + ∑[i=1…k] chart[σᵢ, Xᵢ, γᵢ]
```

Here `c` is the local cost function of the chosen rule. The symbols `γ₁` through `γₖ` are the chosen child carries, and `k` is the rank of the rule. The ellipsis indicates the intervening carries. The summation runs over the child slots, indexed by `i`. For child `i`, `σᵢ` is its source span, `Xᵢ` is its category as required by the rule, and `γᵢ` is its carry. The expression using `chart` retrieves the current minimum cost for that class. The plus sign adds the local and inherited costs.

The destination entry is indexed by the whole application span, the rule’s postcondition and the carry returned by the rule’s carry function on the selected child carries. If the new cost is lower, it becomes the stored cost for that class. Processing spans in order of increasing length makes these smaller child costs available when the parent needs them. The paper excludes the pattern consisting solely of a substitution slot, which would let a child cover the entire parent span and require additional treatment in this ordering.

#### Counting the boundaries that remain free

The insight behind scope is that every boundary beside a fixed word can be determined by locating that word. Suppose a fixed symbol occurs in only one place in the input. If the pattern matches at all, the boundaries immediately to its left and right have prescribed positions. The remaining choices are boundaries between adjacent slots and outer boundaries at edges where the pattern starts or ends with a slot. Some choices will be incompatible with the ordering of the anchors or the requirement for nonempty child spans. Counting all the potentially free choices still gives an upper bound.

The authors express this count by padding the source pattern on both sides with the substitution symbol and counting adjacent pairs of substitution symbols. The padding is a way to count an outer boundary next to a slot. It is used only to define scope. Adjacent pairs can overlap, so a run of slots can contribute at several neighboring boundaries.

```
scope(s*) = count(♦ ♦ in ♦ · s* · ♦)
```

Here `scope` gives the free-boundary count for pattern `s*`. The symbol `♦` is the slot marker, `·` concatenates sequences, and `♦ ♦` is the adjacent pair being counted. The function `count` includes each occurrence of that pair in the padded sequence. Scope is a property of the pattern. The observed number of applications also depends on which words occur in a particular input and what ordering of spans those occurrences permit.

The patterns in the paper show how length and scope can diverge. Under unique input words, the pattern with *the*, a slot, *of* and a final slot has `O(n)` application contexts. The terminal anchors fix the interior boundaries, leaving the outer end to be chosen. In the longer example, the adjective and noun have separate adjacent slots between *the* and *of*. Their internal split is free as well, giving `O(n^2)` contexts. This is the example that falls outside LNF while staying within the authors’ scope cutoff. The paper’s symbol categories specify what can fill the slots, but the bound follows from where the slots sit in relation to the words.

By comparison, the unanchored rule with a noun phrase, a verb phrase and a prepositional phrase leaves all of its boundaries open. The paper uses ordered boundary choices to illustrate this case and the binary CNF case.

```
binom(n + 1, 4) = O(n^4)
```

Here `n` is the input length, `n + 1` is the number of input boundaries, and `binom` counts choices of `4` distinct boundaries. Their order along the input gives the order of the endpoints and divisions. The expression on the right states the asymptotic growth bound on that count, with `O` denoting an upper bound and the caret denoting exponentiation.

```
binom(n + 1, 3) = O(n^3)
```

In the binary case, `n + 1` again counts the input boundaries, and `3` is the number the rule needs. The function `binom` counts the choices, which place the start, child split and end. The expression `O(n^3)` is the cubic upper bound on the number of contexts as the input length `n` grows. The binary rule has scope 3. A single fixed word has its boundaries pinned wherever it matches, under the same uniqueness condition.

```
|cxt(s*, s)| = O(|s|^scope(s*))
```

The function `cxt` gives the set of application contexts for pattern `s*` in input `s`. The vertical bars around that set give its cardinality, and those around `s` give the length of the input. The exponent `scope(s*)` counts potentially free boundaries, and `O` suppresses fixed multiplicative factors. Under the uniqueness assumption each fixed word pins its neighboring boundaries, so the number of contexts is bounded by the number of ways to choose the remaining positions. The expression states the bound in asymptotic form.

For bounded repetition, the anchoring argument allows several choices for a fixed word. Each of its occurrences supplies a possible pair of boundaries. The authors argue that a constant upper bound on the repetition of any symbol, together with a constant upper bound on pattern length, makes the extra choices a constant factor. A missing anchor can eliminate the pattern immediately. An anchor that occurs in several places requires checking alternatives, even if its rule has a small scope.

#### From pattern matches to decoding work

A rule can trigger several chart updates at the same application context. Its child spans are known, and so are their required categories. Each span and category can still have distinct chart entries with different carries. The number of ways to choose a carry for each slot determines the second factor in the update count. At a fixed context there is no need to count parent spans independently, since the context already specifies the parent span.

```
|cxt(s*, s)| · |C|^k
```

This is an upper bound on candidate chart updates for a rule of rank `k` and source pattern `s*` in the input `s`. The first pair of vertical bars counts the contexts returned by `cxt`. The set `C` contains possible carries, and `|C|^k` bounds the choices for the `k` children. The dot multiplies the placement count by the bound on child-state combinations.

```
|cxt(s*, s)| · B^k
```

Here `B` is the maximum number of entries kept for a completed span in the beam setting analyzed by the authors. The first factor is the number of contexts for `s*` in `s`, and `B^k` bounds the number of combinations of entries from the `k` child spans. The caret indicates exponentiation and the dot indicates multiplication. The categories required by the rule may make fewer than `B` of the entries usable in any particular span.

The grammar’s scope is the maximum scope among its rules. Its rank is the maximum number of slots in one of its rules. Taking both maxima gives a convenient worst-case bound across a fixed grammar, though a rule with the highest scope can differ from the rule with the highest rank. The per-rule analysis exposes the contribution of each quantity before this simplification.

```
scope(R) = max {scope(r) : r ∈ R}
```

Here `R` is the grammar, `r` ranges over its rules, and `scope(r)` is the scope of the source pattern of `r`. The braces collect these values, the membership sign `∈` restricts `r` to the grammar, and `max` takes the largest value. The colon separates the value being collected from the condition specifying its domain.

```
rank(R) = max {rank(r) : r ∈ R}
```

The quantity `rank(r)` is the number of substitution slots in rule `r`. The function `rank(R)` reports the largest such count over the rules belonging to `R`, with `∈` denoting membership and the colon marking that condition inside the set. The `max` operation takes the highest member of the set of counts.

```
O(|s|^scope(R) · |C|^rank(R))
```

This is the grammar-wide chart-update bound with all carry classes available. The length of `s` is `|s|`, `scope(R)` is the grammar’s maximum scope, `|C|` is the number of possible carries, and `rank(R)` is the grammar’s maximum rank. The caret indicates exponentiation, the dot multiplies the factors, and `O` treats grammar-dependent constants as fixed. The formula shows how keeping many distinct target boundaries can add to the cost of matching the rules.

```
O(|s|^scope(R))
```

Here `|s|` is input length, `scope(R)` is the grammar’s greatest rule scope, and `O` denotes the asymptotic bound. In the beam case the authors hold the beam limit and the maximum rank fixed, so the factor for child combinations can be absorbed into the constant. The result is cubic for scope at most 3, subject to the input and pattern assumptions. Translating the update bound into a running-time bound also assumes the decoder can enumerate the relevant updates with work linear in their number.

#### Reducing scope while retaining the rules that pass

The authors frame grammar conversion and rule deletion as ways of solving one problem. Given an original grammar and a target scope, construct a grammar that meets the target while retaining as much of the original behavior as possible. They represent the change in behavior by a loss based on the minimum derivation costs for a fixed input.

```
Λ(R, R̂) = |MinDCost(R, s) − MinDCost(R̂, s)|
```

The symbol `Λ` is the loss, `R` is the original grammar, `R̂` is the reduced-scope grammar, and `s` is the fixed sentence. The two calls to `MinDCost` evaluate the best derivation cost for that sentence in their respective grammars. The minus sign subtracts the costs and the vertical bars take the absolute value. A loss of 0 means that the minimum costs agree for this input. The loss gives a criterion for discussing grammar reduction, separate from the BLEU score used to evaluate translation output.

CNF conversion controls scope by changing the form of rules. Synchronous binarization does so after selecting a binarizable subgrammar. Scope pruning controls scope through membership in the grammar. Once the authors have counted a rule’s source boundaries, they keep the rule if its scope is at most 3. The kept rules carry their original categories, source and target arrangements, costs and carry functions into the decoder. The method can therefore use a lexicalized rule with adjacent slots whenever its anchors control enough of the other boundaries.

Pruning can remove a rule that is needed for the cheapest derivation, or for any complete derivation of a sentence. Its merit depends on whether the extracted grammar has other useful ways to translate the input after filtering. The experiment addresses this with grammars already extracted by GHKM and target-side scorers already trained on English text. The cutoff uses the structure of each source pattern. The authors examine its practical effect through the scope distribution of rules seen by the decoder and through complete translation runs under different beam settings.

### Experiments and results

#### The translation systems and the test sets

The NIST 2008 data collection supplied the 200 million words of parallel data used to derive the Arabic–English grammar. The system used a 4-gram target scorer trained on 1 billion words of monolingual [English](https://md.research.elamur.ai/free/en/topics/english/) from LDC Gigaword. The evaluation used the NIST 2008 test corpus, with 1357 Arabic sentences drawn from newswire and web material. Each input had four English reference translations. The parallel-data volume describes grammar extraction, the monolingual volume describes target scoring, and the sentence count describes evaluation.

The Chinese–English grammar was extracted from 16 million words of parallel text in the mainland-news domain of the LDC corpora. It also used a 4-gram English target scorer, trained on the AFP and Xinhua parts of LDC Gigaword. The decoder was evaluated on NIST 2003, which contained 919 Chinese sentences with four English references per sentence. Both translation grammars came from GHKM extraction. The authors describe different parallel sources and test corpora for the two systems, so each pruning comparison is read against the baseline for its own translation task.

The quality measure was BLEU, following [Bleu: a Method for Automatic Evaluation of Machine Translation](https://md.research.elamur.ai/free/en/papers/papineni-2002-bleu-method-automatic-evaluation-machine/). It assesses overlap between the words and word sequences in a translation and the reference translations. The authors report BLEU on output after undoing the decoder’s token separation and restoring capitalization. This reporting detail specifies which form of the output the references were compared against. Decoding speed was the other quantity in the main comparison, and the paper reads speed and quality together across a sweep of search settings.

The baseline uses synchronous binarization to obtain a grammar suitable for binary decoding. The alternative applies the scope cutoff directly to the extracted grammar. This compares two ways to reduce the cost of search. The baseline works with rules produced by decomposition of the binarizable subgrammar. Scope pruning works with the original rules that satisfy the source-pattern restriction. Both strategies can use target-side scores during chart decoding, so the reported comparison concerns grammar reduction in the setting of integrated scoring.

#### How much of the applicable lexical grammar survives

The paper first asks how much of the grammar the scope cutoff would retain for an input. The authors distinguish lexical rules, whose source patterns contain a fixed symbol, from nonlexical rules, whose patterns contain only slots. They profile the lexical rules potentially applicable to each sentence and average the resulting profiles over each test set. A rule with a fixed word absent from an input cannot affect that sentence. A rule counted in its potential profile can still fail to find compatible children or contribute nothing to the final translation.

For the Arabic–English system on NIST 2008, 95% of potentially applicable lexical rules were within scope 3, on average over test sentences. The corresponding lexical share under LNF was 64%. On the Chinese–English NIST 2003 test set, the scope cutoff included 85%, and LNF included 53%. The comparison counts the original lexical rules satisfying each restriction, so the LNF figures describe how restrictive the form is for these rules. They are separate from any changes a conversion algorithm might make to a grammar.

Applicable lexical rules retained on NIST 2008, Arabic–English The scope cutoff admits more of the lexical rules potentially usable on a sentence than Lexical Normal Form.

**The numbers**

| System or setting | retained lexical rules % |
| --- | --- |
| Lexical Normal Form | 64 |
| Scope pruning (this paper) | 95 |

Applicable lexical rules retained on NIST 2003, Chinese–English The scope cutoff also retains a larger share of the applicable lexical grammar in the Chinese–English system.

**The numbers**

| System or setting | retained lexical rules % |
| --- | --- |
| Lexical Normal Form | 53 |
| Scope pruning (this paper) | 85 |

These percentages measure lexical rule coverage. A high share shows that many of the rules whose fixed words make them relevant to an input survive the filter. It leaves open how frequently the removed rules are needed, which surviving rules compete with them, and what score the resulting translation receives. It also leaves out the nonlexical portion of the grammar. The authors say the cutoff removes a large share of the nonlexical rules. The lexical percentages therefore describe a specific part of the search space that the anchoring argument was designed to preserve.

The two profiles also show why measuring only the number of entries in an entire grammar would answer a different question. Such a total would count rules for fixed words across the vocabulary, regardless of whether any one input gives the rules a chance to apply. The authors’ profile puts the emphasis on rules the decoder might need to consider. It still counts candidates independently of their cost, their number of feasible contexts, and whether they appear in the best derivation. Those distinctions are left to the full decoding experiment.

#### Speed and BLEU across the beam sweep

A beam setting controls how broadly the decoder searches among partial derivations. A tight beam can discard entries early and reduce the number of combinations sent to later chart updates. A wider search can recover combinations the tight beam would miss and can require more work. The two grammar treatments create different sets of partial derivations, so the same amount of search effort need not occur at the same beam setting. A sweep lets the comparison follow the observed relationship between speed and BLEU for each treatment.

The authors used 380 different beam settings to produce the speed–quality comparisons on the test sets. They then removed operating points for which another observed point gave both better quality and better speed. The remaining points form the reported tradeoff curves. Each point represents a complete decoding run at a given setting, and the curve retains settings that have a reason to be chosen if both speed and quality matter.

The authors report that scope pruning achieved a better tradeoff than synchronous binarization in the Arabic–English and Chinese–English experiments. This comparison is about the combinations of speed and BLEU reached in the sweep. The numerical results given for rule coverage and the number of beam settings have a different role from the plotted outcomes. The paper presents the main speed and BLEU comparison as curves, with the finding stated in terms of their overall tradeoff. It gives no tabulated values for a particular operating point from which to quote a specific BLEU gain or speedup.

The observed result combines the practical effects of changing grammar structure with the effects of searching that grammar under a beam. Pruning can spare the decoder work by removing rules outright and by avoiding added categories and intermediate combinations. It can also reduce its translation options. The reported curves show that the retained options gave a more favorable balance on these test sets. The percentages alone could not establish that outcome because they give each lexical rule equal status in the count, while a translation depends on how the particular rules used together score.

### What the ablations show

#### Which patterns account for the broader coverage

The comparison with LNF isolates a difference in what the grammar restriction admits. Both restrictions preserve binary patterns and allow fixed words to anchor positions. LNF’s restriction on adjacent slots rules out some patterns that scope pruning retains. Scope can still be low if those patterns pin enough of their other boundaries with words. The reported lexical coverage figures show that this broader class has a substantial presence among the rules potentially applicable to both test sets. The experiment therefore confirms that the extra room identified by the analysis is used in the extracted grammars.

The profile comparison addresses the availability of original rules. It does not measure a full translation run with an LNF-converted grammar. The paper’s discussion of LNF also describes a different placement of target-side scoring, with rescoring after the initial decoding stage. A BLEU comparison between complete LNF and scope-based systems would reflect those choices as well as the difference in allowed patterns. The reported rule counts answer the narrower question directly.

The lexical and nonlexical distinction helps explain why the same cutoff treats different parts of the grammar differently. Every fixed word can restrict neighboring boundaries. In a pattern made entirely of slots, the boundary between each pair of slots is free, and the outer edges contribute as well. Longer all-slot patterns thus have fewer ways to stay within the cutoff. The authors report substantial pruning in that part of the grammar without giving an exact share. The analysis identifies the reason to expect this preferential effect, while the experiment confirms its presence in the tested systems.

#### What the beam comparison controls

Sweeping the beam tests whether the ordering of the methods is tied to a particular choice of search width. It lets each method produce operating points across different amounts of search. The comparison would be harder to interpret if it rested on a single shared beam setting, since an intermediate category created by binarization can change where partial derivations compete for chart space. The retained curves compare outcomes the two decoders actually achieved rather than assuming that an identical search parameter makes their work equivalent.

This comparison does not assign the advantage to a single cause. Binarization can discard some original rules, add intermediate rules and alter the sequence of chart decisions. Scope pruning discards rules according to a different structural criterion and keeps the others whole. Either change can affect which partial derivations the beam retains. The tested contrast measures the net outcome of the two strategies. The paper provides no direct decomposition into time spent matching source patterns, updating chart entries or manipulating intermediate categories.

The authors also describe hybrid trials intended to treat lexical and nonlexical rules differently. They report that one hybrid performed similarly to pruning the whole grammar, while another performed similarly to synchronous binarization. The descriptions of the two hybrids assign the same treatment to lexical and nonlexical rules even though the paper calls the second arrangement the opposite of the first. The outcomes can be reported as stated. The wording prevents confidently assigning the contrast to one group of rules, so the hybrid comparison cannot establish which group drove the main result.

Taken together, the analyses establish different parts of the argument. The rule profiles show that changing the form restriction changes how much of the potentially applicable original lexical grammar survives. The beam sweeps show that the all-rule scope filter yielded better operating points in the reported full decoding comparisons. The hybrid note suggests that the choice of treatment by rule group may matter. A firm explanation of the relative contributions of lexical and nonlexical rules would require unambiguous variant definitions and separate results for them.

### Limitations

#### Conditions the authors put on the bound

The authors begin the proof with unique symbols in the input and then relax it to bounded repetition. They also require a fixed bound on pattern length for the relaxed argument. In a real input a word can appear many times, and a pattern with several fixed words can then have several ways to establish its anchors. The combinatorial argument treats the number of possible placements of those anchors as a constant only under the stated restrictions. The result is therefore conditional on the kinds of inputs and grammar patterns the decoder is asked to handle.

The cubic update bound for integrated scoring also uses the beam assumption and a bounded rank. If the decoder keeps all carry classes, the carry-space term remains in the bound. An exact search can distinguish many target boundary contexts on a single source span, each eligible for combinations with other children. The paper’s proof explains the part of decoding controlled by source-pattern matching. Its beam result shows how that part can govern the exponent when the number of child alternatives is held fixed. The resulting search can discard partial derivations before their full contribution is known.

The paper further assumes that relevant updates can be enumerated in time linear in the number of updates. A bound on successful or candidate chart updates alone leaves the cost of finding those updates to the implementation. The analysis abstracts away those details and treats grammar-dependent factors as fixed. This is also where the practical motivation enters. Two grammar treatments with cubic bounds can incur very different constant costs. The authors’ timing comparison is needed to assess what happens in an implementation.

The authors use a minimum-cost loss to compare grammars on a fixed input. They explicitly note that comparing the actual derivations would call for a finer criterion. Several derivations can have equal cost, and synchronous derivations can produce different target strings. Agreement on the minimum value is therefore a limited notion of equivalence. Scope pruning carries no general guarantee of reproducing the original optimum, since a deleted rule may appear on the cheapest derivation. This is part of the method’s definition as a lossy reduction.

#### What the experimental setup leaves open

The evidence comes from Arabic–English and Chinese–English translation systems with GHKM-extracted grammars and English target-side scoring. The grammar profiles are tied to the rules extracted in those systems and the sentences in their respective test corpora. The larger lexical coverage in one test can reflect differences in training data, rule distributions and input sentences. The setup does not isolate language as the cause of that difference. Nor does it establish how much lexical or nonlexical coverage a different extraction procedure would leave after applying the same cutoff.

The chosen cutoff is motivated by the cubic bound, and the experiments study the outcome of using it. The comparison with LNF supplies a stricter structural reference point for lexical rule coverage. The paper gives no sweep of scope cutoffs that would identify which threshold maximizes quality at a given speed on these datasets. Beam settings vary within the experiments, while the scope cutoff remains part of the proposed method. The results therefore establish a tradeoff for that grammar treatment and search sweep instead of an empirical optimum over possible scope thresholds.

Potential applicability in the rule profile stops short of counting actual use. A word-anchored rule can match a sentence superficially while failing to assemble compatible categories. A rare rule can also be decisive when it supplies a derivation that other rules cannot. The paper gives no frequency of sentences whose best derivation changes after pruning and no breakdown of the translation errors that follow. BLEU and decoding speed report the aggregate effect, while the minimum-cost loss framework describes a separate way to ask what the grammar has preserved.

Finally, the frontier summarizes the best observed combinations across the tried beam settings. It does not characterize all inputs, grammar variations or settings a decoder could use. The paper gives the direction of the reported speed–quality result and the size of the sweep. The absence of tabulated operating-point values limits exact numerical comparisons at a specified speed or a specified BLEU score. The hybrid descriptions also leave the stronger causal claim about which rule group accounts for the advantage unresolved.

### What came after

#### Syntax-based translation systems

Later citing work continued to investigate syntax-based translation at the level of both system design and grammatical constraints. [Agreement Constraints for Statistical Machine Translation into German](https://md.research.elamur.ai/free/en/papers/williams-2011-agreement-constraints-statistical-machine-translation/) addresses agreement as a requirement on German output. This brings a different concern to the same general search problem. Scope describes where a source rule can match and how many input boundaries the decoder has to choose. Agreement concerns compatibility in the target structure. A source pattern can be cheap to place while still participating in a target-side grammatical choice. The citation relates the work to SCFG decoding, while the later paper’s stated subject identifies agreement as its particular focus.

[Edinburgh’s Syntax-Based Machine Translation Systems](https://md.research.elamur.ai/free/en/papers/nadejde-2013-edinburgh-s-syntax-based-machine/) places syntax-based methods in the setting of complete translation systems. The connection to Hopkins and Langmead is at the system level. A choice about how a grammar is represented changes the structures a decoder must handle alongside the rest of the translation pipeline. Scope pruning gives one way to reason about that design choice through the source patterns and the chart updates they can trigger. The citation establishes the connection between the papers. It leaves the Edinburgh systems’ exact pruning configuration and the effects of any such configuration unspecified.

[Augmenting String-to-Tree Translation Models with Fuzzy Use of Source-side Syntax](https://md.research.elamur.ai/free/en/papers/zhang-2011-augmenting-string-tree-translation-models/) concerns how to bring source syntax into a translation system that produces a target tree from a source string. Its title identifies a flexible use of source syntactic information. That question is related to a distinction in the scope paper between locating a source pattern and determining whether a rule can be assembled from chart entries. Scope counts positional freedom left by the pattern. Source syntactic information concerns what evidence supports using a structural analysis. The later work cites the decoding paper, while its stated focus is the use of source syntax in string-to-tree translation.

#### Applying syntax-based translation to meaning representation

[Parsing English into Abstract Meaning Representation Using Syntax-Based Machine Translation](https://md.research.elamur.ai/free/en/papers/pust-2015-parsing-english-into-abstract-meaning/) uses syntax-based translation for a [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/) task. The input is English and the desired output is an abstract meaning representation. The connection is particularly clear at the level of the decoding problem. The scope argument counts positions in the string being analyzed. The synchronous grammar pairs that analysis with another output, so the placement question can still be meaningful when the desired output is a representation of meaning. The citation and the task named by the later work establish that connection. They leave its particular use of the scope cutoff and the effect of any pruning unspecified.

The citing works put syntax-based decoding in settings with different aims, including target agreement, translation system construction, source syntactic evidence and meaning representation. Their topics also clarify the reach of the original paper’s distinction. Finding where a rule can apply is a combinatorial problem on the source string. Judging what the rule contributes depends on the intended output and the scores or constraints of the task. Hopkins and Langmead provide a way to bound the first of these costs and show, in their translation experiments, that controlling it through rule selection can improve the options available to a decoder operating under a beam.

## Cite

Cite as Mark Hopkins and Greg Langmead. 2010. SCFG Decoding Without Binarization. Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing.

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

```bibtex
@inproceedings{hopkins2010scfg,
  title = {{SCFG Decoding Without Binarization}},
  author = {Mark Hopkins and Greg Langmead},
  booktitle = {Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
  url = {https://aclanthology.org/D10-1063/}
}
```

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